Hello All, I have a question using initrd(ramdisk.gz) on Davinci. Custom board.
I have copied the kernel at location 0x2060000 in NAND. Also I have copied ramdisk.gz file in DDR at location 0x82000000. My bootarg settings are as follows bootargs=mem=120M console=ttyS0,115200n8 root=/dev/ram0 rw init=/bin/ash initrd=0x82000000,4M Then I have copied the ramdisk in to NAND just after the Linux kernel at location 0x215c000. By issuing the setenv bootcmd 'nboot 80700000 0 2060000; bootm' followed by "boot" -- I can get the kernel loaded correctly because my NAND has kernel loaded at address 0x2060000 location and my ramdisk is at 0x82000000. But when I power down & reset my custom board, it looses the ramdisk Image at DDR location 0x82000000. I can reload it through UART, but I like to use the ramdisk image I have stored in NAND at location 0x215c000. My question is Is there a way to issue a particular "setenv bootcmd" which will copy the ramdisk Image from NAND to DDR memory location and also copy the kernel from NAND location 0x2060000 to 0x80700000? If I can do this, then I do not need to load the ramdisk image again from UART. Regards, Naresh Kansara Irvine Sensors Corporation phone: (714)-435-8928 email: [email protected]
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
