- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The uClinux-dist has a lots of apps ported to uClinux, such as BOA(httpd), dhcpd, net-snmap... etc.
Now included in the buildroot guide, http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosforum.com/forum/index.php?showtopic=3174)Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi hippo:
You added boa, net-snmp, dhcp in your new toolschain.It is very helpful. Thank you.I will try it in my cyclone1c20 dvb later.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi hippo,
First, many thanks for your excellent buildroot guide. My toolchain built just fine, so I compiled a (minimal) uClinux kernel. Unfortunately it fails to boot.... <div class='quotetop'>QUOTE </div> --- Quote Start --- Linux version 2.6.11-uc0 (hootsmon@ce00205) (gcc version 3.4.5)# 3 Thu Feb 16 17:2 9:58 EST 2006 uClinux/Nios II Altera Nios II support © 2004 Microtronix Datacom Ltd. Built 1 zonelists Kernel command line: PID hash table entries: 128 (order: 7, 2048 bytes) Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory available: 15232k/16384k RAM, 0k/0k ROM (836k kernel code, 139k data) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) NET: Registered protocol family 16 Serial: JTAG UART driver $Revision: 1.4 $ ttyJ0 at MMIO 0x821208b0 (irq = 1) is a jtag_uart io scheduler noop registered io scheduler deadline registered Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)[/b] --- Quote End --- Looks like I haven't got a filesystem yet? Can anyone help pls?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi hootsmon, please check post#27 of the buildroot guide.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your problem is definitely lack of initramfs... check out the post, and make sure you generate your filesystem correctly, with the appropriate device nodes in /dev (you need to be root to do this)!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by jdhar@Feb 17 2006, 11:44 PM your problem is definitely lack of initramfs... check out the post, and make sure you generate your filesystem correctly, with the appropriate device nodes in /dev (you need to be root to do this)!
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=12772)
--- quote end ---
--- Quote End --- Hi Jdhar, I updated the initamfs config, add a text file ~/download/rootfs_list for the list of /dev nodes and the /init link, so that a root login is not required now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I struggled to get uClinux working with INITRAMFS, but eventually I had to admit defeat :-( A pity, because initramfs sounds good.
But some good news is I have managed to boot uClinux with ROMFS, so at least I have a useable development platform now. And it proves the toolchain is OK. Many thanks to hippo and jdhar for your help.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Never give up. I did struggle a lots before I sucessed with initramfs, because it was new to uClinux.
Check your kernel's .config, it should have,CONFIG_INITRAMFS_SOURCE="~/rootfs ~/download/rootfs_list"
Build the kernel, and show me the file, ~/linux-2.6.x/usr/initramfs_list . The file contains a list of what are built into initramfs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yeehaa! I have a minimal uClinux working nicely now, complete with initramfs and busybox. Persistence pays off. For the record, I used buildroot snapshot 20060208 this time, and this worked better for me.
Thanks hippo for your generous help.- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page