It looks like that you use ext2 RAMDISK image of rootfs. Therefore the MPC8323 cannot change RAMDISK image in the Flash.
Try to use JFFS2 file system on your board.
You can also add required file to the roofs on your PC and create new ext2 RAMDISK image of the rootfs.
Use the following command sequence for adding file to RAM disk image.
- rename your RAM disk image to rootfs.ext2.gz.uboot
- sudo apt-get install u-boot-tools
Following are the steps for adding files into rootfilesystem:
- dd if=rootfs.ext2.gz.uboot of=rootfs.ext2.gz bs=64 skip=1
- gunzip rootfs.ext2.gz
- mkdir /mnt/iso_1
- sudo mount -oloop rootfs.ext2 /mnt/iso_1
- Now, one can copy files into appropriate location under “./mnt/iso_1” directory.
- sudo umount /mnt/iso_1
- gzip -9 rootfs.ext2
- mkimage -A ppc -O linux -T ramdisk -C gzip -n 'rootfs.ext2.gz.uboot' -d rootfs.ext2.gz rootfs.ext2.gz.uboot
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------