This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Linux
Dear sir,
Currently I have a problem to make a right system file . After booting up from the MMC mode, I got the message of ** File not found /boot/zImage **.
So I made a test to decompress the original file, which can correctly boot up from the chip , by typing the command "tar zxvf rootfs.tar.gz".
In the mean time, the file was compressed back to rootfs.tar.gz whithout any change to its original contents by typing the command "tar zcvf rootfs.tar.gz rootfs"
It is found that the size of the new rootfs.tar.gz is a little bit different from its original rootfs.tar.gz (whcih is supposed to be the same, but not).
The original rootfs.tar.gz was then replaced by the new rootfs.tar.gz and made a complete update by typing "./updatesys.sh".
Then the problem of ** File not found /boot/zImage ** was found after booting up from the MMC.
So the problem can be duplicated by decompressing and compressing the system file. Do you have any idea what the problem it is ?
Hello sr,
When you use "tar zcvf rootfs.tar.gz rootfs" command, you are putting extra rootfs directory within the archive, so that later the /boot/zImage is not found. To drop the extra rootfs directory please enter the directory first and create the archive from there.
cd rootfs
sudo tar zcvf ../rootfs.tar.gz *
Best regards,
Kemal