[U-Boot-Users] Re: What does the Kernel get from U-boot ?

Hello Booters, Just a quick newbie-style question: what is passed between U-boot and the kernel? Just the bootargs env variable or is there any other (more intimate :-) relationship between the two? What I am asking is, what does the kernel get from U-boot aside from the location of the root filesystem? I guess the answer is 'nothing', but if it turns out there is more, I'd like to know =)
-Federico
_________________________________________ -- "'Problem' is a bleak word for challenge" - Richard Fish
Muad'Dib of Caladan (Federico L. Lucifredi)- Harvard University & BU http://metcs.bu.edu/~lucifred

Federico Lucifredi <flucifredi <at> acm.org> writes:
Hello Booters, Just a quick newbie-style question: what is passed between U-boot and the kernel? Just the bootargs env variable or is there any other (more intimate http://news.gmane.org/img/smilies/smile.png%22%3E relationship
between the two? What I am asking is,
what does the kernel get from U-boot aside from the location of the root filesystem? I guess the answer is 'nothing', but if it turns out there is more, I'd like to know =)
-Federico
Hello Federico,
I think I can answer your question, but I need a bit more information first.
What U-boot passes to the linux kernel is architecture-dependent, as so many things are in this world. What kind of system are you working with?

On Tue, Dec 21, 2004 at 08:06:32PM -0500, Federico Lucifredi wrote:
Hello Booters, Just a quick newbie-style question: what is passed between U-boot and the kernel? Just the bootargs env variable or is there any other (more intimate :-) relationship between the two? What I am asking is, what does the kernel get from U-boot aside from the location of the root filesystem? I guess the answer is 'nothing', but if it turns out there is more, I'd like to know =)
If it gets nothing more than the cmdline, that alone is a lot since it allows flexibility of booting the kernel in a variety of different ways, e.g. what to exec as init; MTD flash, NFS; ramdisk based root among others; what to use as console device; changing MTD flash partition layouts; memory size; etc.,. Other parameters passed into the Linux kernel from U-Boot vary by architecture and board. For that, see the README, source and, perhaps, http://www.denx.de/twiki/bin/view/DULG/WebHome.
-- Regards, George
-Federico
-- "'Problem' is a bleak word for challenge" - Richard Fish
Muad'Dib of Caladan (Federico L. Lucifredi)- Harvard University & BU http://metcs.bu.edu/~lucifred
SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
participants (3)
-
craig vanderborgh
-
Federico Lucifredi
-
George G. Davis