Forum Discussion
Altera_Forum
Honored Contributor
20 years agoCheer!!
About the root fs, it should be better to build it by hand. It is simple and clean. I would prefer doing all the works in a shell console, instead of the IDE. The IDE may add something unpredictable. You should build everything in console, and back to IDE when you download and test. You can borrow a lot from Slackware/initrd, in tranditional Linux life style. Setup all the dirs, bin,sbin,etc,dev,usr,usr/bin,var,tmp,proc,sys ... Check if you have all the devices you will use, zero,null,console ( and hda,hda1... etc) It maybe missing /dev/console that give you the warning. Setup the install path to your root fs in Busybox menuconfig. And make install, it will copy and setup the symlinks. Add a symlink /init to /sbin/init for initramfs to work. And a very simple inittab, # Startup the file system null::sysinit:/bin/mount -t proc proc /proc null::sysinit:/bin/mount -t sysfs sysfs /sys # busybox console ::askfirst:/bin/sh You should be sitting in front of busybox prompt now. About the apps, I would prefer add them to busybox. It saves space and troubles.