by smaxer » Fri May 23, 2014 8:31 am
Thanks for your answer moonman!
FinIly had some time testing it... haven't built a ramdisk by my self since years so I'm not sure if I'm doing this right:
$this->bbcode_second_pass_code('', '
# cd /boot
# mkinitcpio -g initrd_test.img
# mkimage -A arm -C none -O linux -T ramdisk -d initrd_test.img rootfs.uimg
# reboot
Marvell>> setenv bootargs_linux console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) root=/dev/sda2 rw rootwait loglevel=8 initrd=/rootfs.uimg
Marvell>> boot
')
The problem is it doesn't work I don't even get an error message - so I'm probably doing something terribly wrong :/
As always any help is appreciated!
Thanks
smax