The error "TFTPerror: & amp; #39; Accessviol" occurs when tftp is used in U-Boot.

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.