- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
we are experiencing an issue with some of our boards that use the Cyclone V device.
On certain boards, the system crashes during a cold boot (first boot).
However, after performing a soft reset, everything seems to work as expected.
I can reliably reproduce the crash by booting into U-Boot and entering the following commands:
fpgaload=ext4load mmc 0:2 ${loadaddr} ${fpgafile}; run checkfpgafw;
checkfpgafw=if test ${filesize} -le 0; then echo cant load fpga firmare $fpgafile;else run fpgaloadandenable;fi;
fpgaloadandenable=fpga load 0 ${loadaddr} ${filesize};echo firmware $fpgafile written to fpga;bridge enable; echo bridges enabled;
mw 0xFFC25080 0x0
run fpgaload
mw 0xFFC2505C 0xA
mw 0xFFC25080 0xFFFF
mw 0xff200000 w
After an reboot the u-boot cmds are working, without an issue.
The issue is also in linux at the first cold boot, after accessing the bridge linux crash.
After the first cold boot into linux:
./devmem2 0xff200000 w
/dev/mem opened.
After an soft reset
./devmem2 0xff200000 w
/dev/mem opened.
Memory mapped at address 0xb6f17000.
Value at address 0xFF200000 (0xb6f17000): 0x62656320
Can please someone help me, or assist howto debug?
thanks a lot
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
i try it again, and this time u-boot crash, no interrupt nothing.
i test it this way
bridge disable;ext4load mmc 0:2 ${loadaddr} ${fpgafile};fpga load 0 ${loadaddr} ${filesize};bridge enable;
mw 0xff200000 0x00
-> dead, crash

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page