Problem: using the mkyaffs2imageroot-combo-422rootfs-combo.yaffs2 to make the root file system rootfs-combo.yaffs2, copy the rootfs-combo.yaffs2 to the tftp directory of the host server; then, the following error occurs when loading the root file system to the memory in U-Boot: dingQingtftp22000000rootfs-comb
Problem: Use the mkyaffs2image root-combo-422 rootfs-combo.yaffs2 to make the root file system rootfs-combo.yaffs2, copy the rootfs-combo.yaffs2 to the tftp directory of the host server; then, the following error occurs when the root file system is loaded to the memory in U-Boot: DingQing tftp 22000000 rootfs-comb
Problem:
Use the mkyaffs2image root-combo-422 rootfs-combo.yaffs2 to make the root file system rootfs-combo.yaffs2 and copy the rootfs-combo.yaffs2 to the tftp directory of the host server;
The following error occurs when the root file system is loaded to the memory in U-Boot:
DingQing> tftp 22000000 rootfs-combo.yaffs2macb0: link up, 100Mbps full-duplex (lpa: 0x45e1)Using macb0 deviceTFTP from server 192.168.1.200; our IP address is 192.168.1.244Filename 'rootfs-combo.yaffs2'.Load address: 0x22000000Loading: *TFTP error: 'Access violation' (2)Starting again
But there is no problem with downloading the original root file system.
Solution:
1. confirm that the production tool mkyaffs2image is using the same tool as before and has been compared by byte;
2. From the error type, TFTP error: 'Access violation' (2), it is assumed that the Access permission may be a problem;
3. view the properties of the rootfs-combo.yaffs2 in/tftpboot, It is 600, do not know why mkyaffs2image will generate a file with the property of 600;
4. Change the properties of the rootfs-combo.yaffs2 to 666 and load the root file system to the memory in U-Boot.
Solve the problem.