Hay thanks Jtd,
I able to generate the initramfs for my kernel but though its compile properly its not reaching shell.
So I reconfigured the kernel with what you have suggested and with the options that I have in my working 2.6.28 kernel provided by RMI.
Its giving me following errors.
CC drivers/mtd/nand/au1550nd.o drivers/mtd/nand/au1550nd.c: In function `au1550_hwcontrol': drivers/mtd/nand/au1550nd.c: 285: error: `NAND_CS' undeclared (first use in this function) drivers/mtd/nand/au1550nd.c:285: error: (Each undeclared identifier is reported only once drivers/mtd/nand/au1550nd.c:285: error: for each function it appears in.) drivers/mtd/nand/au1550nd.c: In function `au1xxx_nand_init': drivers/mtd/nand/au1550nd.c:527: error: `NAND_CS' undeclared (first use in this function) drivers/mtd/nand/au1550nd.c:448: warning: unused variable `boot_swapboot' drivers/mtd/nand/au1550nd.c:590: warning: label `outmem' defined but not used make[3]: *** [drivers/mtd/nand/au1550nd.o] Error 1 make[2]: *** [drivers/mtd/nand] Error 2 make[1]: *** [drivers/mtd] Error 2 make: *** [drivers] Error 2
I think for this I might need to patch Kernel.. By disabling this option in menuconfig I tried it land up with another error..
CC drivers/video/au1200fb.o drivers/video/au1200fb.c:50:39: asm/mach-au1x00/au1xxx_pm.h: No such file or directory make[2]: *** [drivers/video/au1200fb.o] Error 1 make[1]: *** [drivers/video] Error 2 make: *** [drivers] Error 2
I think for this also patch file is needed.
I am kernel newbies. I might be wrong. Can you please tell me what wrong things I did ?
I found out the patches on line (I am not able to get meaning of this ex. @@ -45,10 +45,6 @@ what it means).
On 29 October 2011 18:53, jtd@mtnl.net.in wrote:
either use a chroot or roll your own. http://www.landley.net/writing/rootfs-howto.html http://getglitched.com/?page_id=612