I need help and pointers, to get rootfs on ramdisk. I've build kernel and ram image and when the kernel try to boot, the kernel always want to load rootfs from NFS. Please see attached output. And I'm not sure how kernel know here to find ramdisk etc.. Please help with the following:
1. A list of kernel configuration options need to set, to be able to use ramdisk as rootfs. 2. Definative u-boot command line to let kernel know where the ramdisk image is and to use it as rootfs. 3. How to disable kernel from trying to mount rootfs via NFS.
Thanks so much in advance.
Ayewin
uboot> run bootcmd HW MAC address: A0:70:64:6B:58:C7 Link Active Port 0 Speed 100Mbits, FullDuplex. TFTP from server 192.168.2.4; our IP address is 192.168.2.6
Filename 'uImage'. Load address: 0x80000000 Loading: ################################################################# ################################# done Bytes transferred = 1426684 (15c4fc hex)
HW MAC address: A0:70:64:6B:58:C7 Link Active Port 0 Speed 100Mbits, FullDuplex. TFTP from server 192.168.2.4; our IP address is 192.168.2.6 Filename 'rootfs.ext2.gz.uboot'. Load address: 0x81000000
Loading: ################################################################# ################################################################# #################################################################
################################################################# ################################################################# #################################################################
## done Bytes transferred = 5745981 (57ad3d hex) ## Booting kernel from Legacy Image at 80000000 ... Image Name: Linux-2.6.27.8 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1426620 Bytes = 1.4 MB
Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 81000000 ... Image Name: uboot ext2 ramdisk rootfs Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5745917 Bytes = 5.5 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK OK