* Re: Rockchip RK3288 u-boot with mainline kernel
[not found] <476576ec2671ff75030249e453491add.squirrel@webmail.efn.org>
@ 2016-11-28 22:09 ` Simon Glass
[not found] ` <CAPnjgZ3-ugQ_tmYsvg_cpxwv-aHzcKncn0BXD_R8C=Y7qjySFw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Simon Glass @ 2016-11-28 22:09 UTC (permalink / raw)
To: Rick Bronson; +Cc: U-Boot Mailing List, eddie.cai, linux-rockchip
+ A few rockchip people and linux-rockchip
Hi Rick,
On 25 November 2016 at 11:20, Rick Bronson <rick@efn.org> wrote:
> Hi All,
>
> I've got unsupported RK3288 hardware running the latest git u-boot to
> SPL as explained in
> http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.rockchip. My goal
> is to run the mainline (ie. not Android) Linux kernel on this hardware
> and wondered:
>
> - Do I need to get the latest git u-boot to run before I can run the
> mainline kernel? Or can I use
> github.com/linux-rockchip/u-boot-rockchip.git, which I have running
> u-boot fully.
It's up to you - obviously mainline is where the development should
be, but there is no requirement that I know of.
Does mainline run on your board?
>
> - The device tree seems to be in two places, once via:
>
> resource_tool --image=resource2.img --pack linux/logo.bmp ${DTS}.dtb
>
> that gets put into the resource file and then again at the end of the
> kernel via CONFIG_ARM_APPENDED_DTB. Do I need both? When I do both
> I get things like:
>
> ....
> Unknow param: MACHINE_MODEL:rk30sdk!
> Unknow param: MACHINE_ID:007!
I don't know much about that. Hopefully someone on the linux-rockchip
list knows. But for mainline U-Boot I'm not sure why you would need
this?
> ....
>
> Thanks much for any help.
>
> Rick Bronson
>
>
Regards,
Simon
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [U-Boot] Rockchip RK3288 u-boot with mainline kernel
[not found] ` <CAPnjgZ3-ugQ_tmYsvg_cpxwv-aHzcKncn0BXD_R8C=Y7qjySFw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2016-11-29 10:20 ` Heiko Stübner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stübner @ 2016-11-29 10:20 UTC (permalink / raw)
To: u-boot-0aAXYlwwYIKGBzrmiIFOJg
Cc: eddie.cai, Simon Glass, Rick Bronson,
linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Hi Rick,
Am Montag, 28. November 2016, 15:09:05 schrieb Simon Glass:
> + A few rockchip people and linux-rockchip
>
> Hi Rick,
>
> On 25 November 2016 at 11:20, Rick Bronson <rick-YvnXKLUTzOA@public.gmane.org> wrote:
> > Hi All,
> >
> > I've got unsupported RK3288 hardware running the latest git u-boot to
> >
> > SPL as explained in
> > http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.rockchip. My goal
> > is to run the mainline (ie. not Android) Linux kernel on this hardware
> >
> > and wondered:
> > - Do I need to get the latest git u-boot to run before I can run the
> >
> > mainline kernel? Or can I use
> > github.com/linux-rockchip/u-boot-rockchip.git, which I have running
> > u-boot fully.
>
> It's up to you - obviously mainline is where the development should
> be, but there is no requirement that I know of.
correct, the (mainline-)kernel runs just fine on both the vendor-fork of uboot
as well as on mainline.
> Does mainline run on your board?
>
> > - The device tree seems to be in two places, once via:
> > resource_tool --image=resource2.img --pack linux/logo.bmp
> > ${DTS}.dtb
> >
> > that gets put into the resource file and then again at the end of the
> >
> > kernel via CONFIG_ARM_APPENDED_DTB. Do I need both? When I do both
> > I get things like:
>
> > Unknow param: MACHINE_MODEL:rk30sdk!
> > Unknow param: MACHINE_ID:007!
ARM_APPEND_DTB is meant for boards where the bootloader cannot load the
devicetree (to old or so) and also cannot be reasonably exchanged. So the
append-mechanism was invented to allow bundling the devicetree with the actual
kernel image, so that to the bootloader it looks like just any other kernel
image.
So you essentially only need one or the other. Also at least mainline uboot
also supports the FIT image type, where you can bundle the devicetree in a
more generalized way.
For your message I would guess the kernel didn't find a usable devicetree
somehow and was falling back to ATAGS-based board selection?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-29 10:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <476576ec2671ff75030249e453491add.squirrel@webmail.efn.org>
2016-11-28 22:09 ` Rockchip RK3288 u-boot with mainline kernel Simon Glass
[not found] ` <CAPnjgZ3-ugQ_tmYsvg_cpxwv-aHzcKncn0BXD_R8C=Y7qjySFw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-11-29 10:20 ` [U-Boot] " Heiko Stübner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox