[U-Boot-Users] Passing Linux kernel arguments

Hello, When passing Kernel arguments, is it necassary to populate the bootargs environment variable with the information found by using command ,
5.9.1.1. bdinfo - print Board Info structure => help bdinfo bdinfo - No help available.
=> The bdinfo command (short: bdi) prints the information that U-Boot passes information about the board like memory addresses and sizes, clock frequencies, MAC address etc. This information is mainly needed to be passed to the Linux kernel. => bdi memstart = 0x00000000 memsize = 0x04000000 flashstart = 0x40000000 flashsize = 0x00800000 flashoffset = 0x00030000 sramstart = 0x00000000 sramsize = 0x00000000 immr_base = 0xFFF00000 bootflags = 0x00000001 intfreq = 50 MHz busfreq = 50 MHz ethaddr = 00:D0:93:00:28:81 IP addr = 10.0.0.99 baudrate = 115200 bps
If I want these to be passed to the Linux kernel?
Cheers // Matias
<<Matias Sundman (EAB).vcf>>

In message 37FB7AA6F5F9814FB634A7BF4C35A6F501213C76@ESEALNT442.al.sw.ericsson.se you wrote:
When passing Kernel arguments, is it necassary to populate the bootargs environment variable with the information found by using command ,
No, in general it is not necessary. Bootargs is used for boot arguments only. [Well, sometimes it _is_ - like when passing something like "console=ttyS0,$(baudrate)" or when using special features like protected RAM and passing "mem=$(mem)k" etc.]
5.9.1.1. bdinfo - print Board Info structure
...
If I want these to be passed to the Linux kernel?
This is somewhat architecture dependend, but in general this information already gets passed top the Linux kernel - for example on PowerPC using the bd_info structure, on ARM using approproiate tags, etc.
Best regards,
Wolfgang Denk
participants (2)
-
Matias Sundman (AL/EAB)
-
Wolfgang Denk