Hello, I cant seem to boot openwrt "Attitude Adjustment" or trunk checked out on 2/6/2011.
The boot process stops with <log> [ 0.530000] Generic platform RAM MTD, (c) 2004 Simtec Electronics [ 0.550000] TCP westwood registered [ 0.550000] NET: Registered protocol family 17 [ 0.560000] 802.1Q VLAN Support v1.8 Ben Greear <[email protected]> [ 0.580000] All bugs added by David S. Miller <[email protected]> [ 0.590000] VFS: Cannot open root device "(null)" or unknown-block(0,0) [ 0.600000] Please append a correct "root=" boot option; here are the available partitions: [ 0.620000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) </log> root=/dev/foo or root=31:4 is of no use. I came to the conclusion that it was because of the absence of the file drivers/mtd/maps/ralink-flash.c, which was present in an archived version of openwrt fenora build that i can access (I dont know if any 3rd party deltas were added to the repo). The file itself contained no licensing information. when i try to compile that file (after copying some more files from the archive in question) i am left with the following error <Error> drivers/mtd/maps/ralink-flash.c:34:15: error: 'CONFIG_MTD_PHYSMAP_BUSWIDTH' undeclared here (not in a function) drivers/mtd/maps/ralink-flash.c:35:10: error: 'CONFIG_MTD_PHYSMAP_LEN' undeclared here (not in a function) drivers/mtd/maps/ralink-flash.c:36:10: error: 'CONFIG_MTD_PHYSMAP_START' undeclared here (not in a function) drivers/mtd/maps/ralink-flash.c:60:9: error: 'CONFIG_MTD_KERNEL_PART_SIZ' undeclared here (not in a function) drivers/mtd/maps/ralink-flash.c: In function 'ramips_mtd_init': drivers/mtd/maps/ralink-flash.c:119:19: warning: assignment from incompatible pointer type drivers/mtd/maps/ralink-flash.c:120:21: warning: assignment from incompatible pointer type drivers/mtd/maps/ralink-flash.c: In function 'ra_mtd_write': drivers/mtd/maps/ralink-flash.c:180:2: error: implicit declaration of function 'kmalloc' drivers/mtd/maps/ralink-flash.c:180:6: warning: assignment makes pointer from integer without a cast drivers/mtd/maps/ralink-flash.c:189:3: error: implicit declaration of function 'kfree' drivers/mtd/maps/ralink-flash.c: In function 'ra_mtd_write_nm': drivers/mtd/maps/ralink-flash.c:232:6: warning: assignment makes pointer from integer without a cast </Error> Google pointed me to sources in the mailing list that are ~11 years old. Please help. Regards, Harish Badrinath _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
