Hi CSDN,
I do zynq AMP (Linux on cpu0 + bare SDK program on cpu1).
Naked nuclear program is to read and write in sd card shell utility (implementation ls/rm/cat/write file/PWD several basic functions),
I can read and write in the Linux sdcard, bare and nuclear program was also not conflict...
# mount/dev/mmcblk0p1/MNT/
# ls
But the bad thing is that on the cpu1 add new files, cpu0 in Linux to see
Seven original files on sd card, for example, increased 1 cpu1 file (the name aaa. 1234), then the cpu1 ls show eight file
Then mount sdcard cpu0 Linux, but cpu0 Linux can only see the original seven files,
Then I also add 1 files in the cpu0 (name BBB. 5678, in the ls cpu0 shows eight files), and then on the cpu1 ls a dozen times, still shows eight files, but triple-a. 1234 has been replaced by BBB. 5678. That is to say cpu1 refresh file system and cpu0 synchronization, but file aaa. 1234 lost.
My question is how to make cpu0 Linux refresh file system, with cpu1 synchronization, displaying the aaa generated by the cpu1. 1234
According to the online tips, try the CD to other directories back again, useless
Please advise. Thank you