Hi there I build uImage and modules from friendlyarm Then I build my rootfs by buildroot seprately from kernel When I boot the kernel it says cannot open initial console and when I use this tutorial I get terminal: http://wiki.iface.ch/index.php/Basic_rootfs_for_Mini2440 But I don't have access to lcd and other devices I think it should be from making node devices by kernel because I just have console and tty nodes in /dev How should I tell the kernel to build the node files? How we should connect the kernel to the rootfs? Thanks and sorry for my very bad Eng
connecting kernel to rootfs
thanks for the reply I'm very new to embedded systems and linux stuffs so how should i know which node file must be created? Does the kernel give us some kind of output for solving this problem? is that any thing else must be done to have a complete rootfs?
google udev and start reading about how it works, *all* of the information that you need will either be in a txt file in the documentation folder or you will find it very easily on google.
After I copied files from sample rootfs which comes from dvd I was able to do a "cat /dev/urandom>/dev/fb0" and it worked those files were: bin/hotplug(from sample Qtopia rootfs) bin/hotplug.sh(from sample Qtopia rootfs) /etc/mdev.conf(from sample Qtopia rootfs) /lib/modules(from my kernel output) /lib/firmware(from my kernel output) and I use add this part to first of rcS(from sample Qtopia rootfs): +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #! /bin/sh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin: runlevel=S prevlevel=N umask 022 export PATH runlevel prevlevel # # Trap CTRL-C &c only in this shell so we can interrupt subprocesses. # trap ":" INT QUIT TSTP /bin/hostname Shahryar /bin/mount -n -t proc none /proc /bin/mount -n -t sysfs none /sys /bin/mount -n -t usbfs none /proc/bus/usb /bin/mount -t ramfs none /dev echo /sbin/mdev > /proc/sys/kernel/hotplug /sbin/mdev -s /bin/hotplug # mounting file system specified in /etc/fstab mkdir -p /dev/pts mkdir -p /dev/shm /bin/mount -n -t devpts none /dev/pts -o mode=0622 /bin/mount -n -t tmpfs tmpfs /dev/shm /bin/mount -n -t ramfs none /tmp /bin/mount -n -t ramfs none /var mkdir -p /var/empty mkdir -p /var/log mkdir -p /var/lock mkdir -p /var/run mkdir -p /var/tmp /sbin/hwclock -s syslogd echo " " > /dev/tty1 echo "Starting system, please waiting..." > /dev/tty1 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ these changes were added to rootfs from buildroot I don't even know which one of the changes are unnecessary because it worked by one shot now my question is where is the qt which I enabled when I was configuring buildroot? and those working node files are made by buildroot or startup did that? thanks for answering me