Hi,
I plugin a USB memory on i.MX257-based board. It is detected and seems to work.
After mount USB to /mnt/usb,I start to test by loop copy a testfile from /mnt/usb folder
to /mnt/usb/temp folder.when the testfile size is over than 1M bytes,I/O error occurs
and it stops working(unmounts itself) after a while.
by the way,the linux kernel version is 2.6.28.
See the attached error log for more information. Appreciate any help to solve this trouble
Best Regards
Hi chen
first I would highly suggest to move to more new kernel,
since it has better memory management
L2.6.31_09.12.00_SDK_SOURCE : Linux 2.6.31 Source Code
Second from log seems that this may be caused also by hardware, since
big size data transfer causes big noise on system, so additionally I would suggest to
test memory. Just for testing you may wish to decrease operating frequency (procesor and
memory) and test if issue will persist. Probably you can change memory stick, use
well known vendor.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igorpadykov
thank you for the reply.
In this project ,we have finished a lot of interface test except USB.
so recompile kernel is not the best way.
in order to find out the reason,i'll try to test by using a more recent kernel