How to increase the size of your ramdisk -
1. Rename your RAM disk image to rootfs.ext2.gz.uboot and keep it under say '/home/ram/ramdisk_work'
2. Run 'sudo apt-get install u-boot-tools'
3. Run 'dd if=rootfs.ext2.gz.uboot of=rootfs.ext2.gz bs=64 skip=1'
4. Run 'gunzip rootfs.ext2.gz'
5. Run 'mkdir /mnt/iso_1'
6. Run 'sudo mount -o loop rootfs.ext2 /mnt/iso_1'
7. Now resize(increase) the size of ramdisk using the following steps -
7.1 Run 'sudo umount /mnt/iso_1'
7.2 Run 'sudo e2fsck -f /home/ram/ramdisk_work/rootfs.ext2'
7.3 Run 'resize2fs /home/ram/ramdisk_work/rootfs.ext2 50M' ## to increase the size to 30M from prev. smaller size
7.4 Run 'sudo mount -o loop rootfs.ext2 /mnt/iso_1'
8. Now, one can copy files into appropriate location under “/mnt/iso_1” directory. e.g.
8.1 Run 'sudo cp -af ~/xyz.bin .'
8.2 Run 'sudo cp -af ~/abc.ko .'
9. Run 'sudo umount /mnt/iso_1'
10. Run 'gzip -9 rootfs.ext2'
11. Run 'mkimage -A ppc -O linux -T ramdisk -C gzip -n 'rootfs.ext2.gz.uboot' -d rootfs.ext2.gz rootfs.ext2.gz.uboot'
12. rootfs.ext2.gz.uboot thus created under '/home/ram/ramdisk_work' may be programmed on the target, that will contain the required executables.
Regards
Ram