- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Does anyone have any pointers, patch or suggestions? RegardsLink Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by cypher@Nov 1 2006, 05:53 AM 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.
does anyone have any pointers, patch or suggestions?
regards
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19057)
--- quote end ---
--- Quote End --- Please look for "command_line" in arch/nios2nommu/kernel/setup.c .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Patches added.
Please check DasUBoot and UclinuxDist on nios wiki . I didn't try out, yet.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by hippo@Nov 2 2006, 01:56 AM patches added.
please check dasuboot and uclinuxdist on nios wiki .
i didn't try out, yet.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19087)
--- quote end ---
--- Quote End --- Hippo, Thank you very much. I was about half way through very similar changes, I was getting stumbled up with the SP movement. I very much appreciate your work. Thanks again..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by cypher+nov 3 2006, 04:32 am--><div class='quotetop'>quote (cypher @ nov 3 2006, 04:32 am)</div>
--- quote start ---
<!--quotebegin-hippo@Nov 2 2006, 01:56 AM patches added.
please check dasuboot and uclinuxdist on nios wiki .
i didn't try out, yet.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19087)
--- quote end ---
--- Quote End --- Hippo, Thank you very much. I was about half way through very similar changes, I was getting stumbled up with the SP movement. I very much appreciate your work. Thanks again.. <div align='right'><{post_snapback}> (index.php?act=findpost&pid=19113)</div> [/b] --- Quote End --- update again patch ver 12, relocate stack of zimage to 64K above _end instead of at the top of sdram. now the u-boot,zimage and vmlinux should not cluster each other.
![](/skins/images/48A1642489FEF8D34D940AC6791CBDC2/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page