[ELDK] From which version does u-boot support Open Firmware?
Wolfgang Denk
wd at denx.de
Mon Nov 2 09:13:08 CET 2009
Dear =?GB2312?B?wdbWvsa9?=,
please post U-Boot related questions on the U-Boot mailing list.
In message <8148211e0911012034q72b3b9e2tec1b09cd98f7fa9f at mail.gmail.com> you wrote:
>
> I found that uboot which supports Open Frimware use R3 and R4 to pass dtb
> and kernel address to the kernel.
Please be careful with your terms. U-Boot does NOT support Open
Firmware - what sort of support should that be, by the way?
What U-Boot does is to support flattened device trees as a means of
passing hardware information to the Linux kernel. Note that this is
an architecture dependent feature.
> while the uboot which donot support Open Firmware use
> /*
> * Linux Kernel Parameters (passing board info data):
> * r3: ptr to board info data
> * r4: initrd_start or 0 if no initrd
> * r5: initrd_end - unused if r4 is 0
> * r6: Start of command line string
> * r7: End of command line string
Current versions of U-Boot support both booting with (for recent
kernels) or without (for older kernels) device tree image.
> And I find the source code of uboot1.3.1 and uboot 2009.08 have great
> difference.
Indeed. This is to be expected - there are more than 2 years of
development between these two versions, so you can indeed expect a
LOT of changes (to be precise: this period covers 5032 commits from
284 developers; a total of 685862 lines were added, 306543 removed
and 379319 changed).
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I can't understand it. I can't even understand the people who can
understand it. - Queen Juliana of the Netherlands.
More information about the eldk
mailing list