Forum Discussion
Altera_Forum
Honored Contributor
19 years agoBootargs from U-Boot for NIOS2
I had a NIOS2 based custom board running uClinux Kernel v2.6.16. This board also uses u-Boot as it's boot loader and I'm trying to get the "bootargs" within u-Boot passed down to the Kernel. ...
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by hippo@Oct 31 2006, 10:22 PM please look for "command_line" in arch/nios2nommu/kernel/setup.c .
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19058)
--- quote end ---
--- Quote End --- Hippo, The code I see there uses the compiled in command line. I want to be able to pass in a command line from U-Boot using the bootargs environment variable. In the version of the setup.c I have, there is some code to read this command line information directly from flash, but it has been commented out. Any other thoughts? Regards