Hi Thomas, David, On Tue, Nov 27, 2007 at 09:03:21AM +0800, Thomas Chou wrote: > Hi Wolfgang, > > Please check your linux-2.6.x/usr/.initramfs_data.cpio.gz.d, which > should contain the list of files to be included in initramfs. If it does > not contain correct files, then the initramfs should be regenerated.
the file list is correct, and the size change of the kernel image seems to reflect that the initramfs image is really included there. I will have a look at the Makefile later - what is not clear to me now is that normally the kernel is generated quite early in the build process, while in this case it has to be re-generated at the end, after all the applications have been built and installed into romfs. I helped myself by simply calling make twice, but maybe looking into your Makefile gives a more elegant solution. As David asked for it, here is the complete boot log of the failed try: (There is nothing before because ttyS2 is my console) ttyS2 at 0xfc068000 (irq = 92) is a builtin ColdFire UART RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: module loaded nbd: registered device at major 43 ASTRO5373L flash device: 2000000 at 0 ASTRO5373LFlash: Found 1 x16 devices at 0x0 in 16-bit bank Intel/Sharp Extended Query Table at 0x010A Intel/Sharp Extended Query Table at 0x010A Intel/Sharp Extended Query Table at 0x010A Intel/Sharp Extended Query Table at 0x010A Intel/Sharp Extended Query Table at 0x010A Using buffer write method cfi_cmdset_0001: Erase suspend on write enabled Creating 7 MTD partitions on "ASTRO5373LFlash": 0x00000000-0x02000000 : "Complete Flash" 0x00000000-0x00080000 : "bootloader" 0x00080000-0x00280000 : "kernel" 0x00280000-0x00540000 : "root" 0x00540000-0x00800000 : "FPGA" 0x00800000-0x01fc0000 : "data" 0x01fc0000-0x02000000 : "Parameters" i2c /dev entries driver TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 VFS: Cannot open root device "<NULL>" or unknown-block(0,0) Please append a correct "root=" boot option; here are the available partitions: 1f00 32768 mtdblock0 (driver?) 1f01 512 mtdblock1 (driver?) 1f02 2048 mtdblock2 (driver?) 1f03 2816 mtdblock3 (driver?) 1f04 2816 mtdblock4 (driver?) 1f05 24320 mtdblock5 (driver?) 1f06 256 mtdblock6 (driver?) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) This was the boot param line for this attempt: CONFIG_BOOTPARAM=y CONFIG_BOOTPARAM_STRING="console=ttyS2,115200,earlyprintk rootfstype=romfs" (I can not see any difference whether I include rootfstype=romfs or not) [BTW, your arguments for initramfs are exactly why I would like to use it, especially the faster load cycles when trying something in the application.] Best regards, Wolfgang _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
