Forum Discussion
MM-ATH
Occasional Contributor
1 year agoI have debug it deeper...
this is u-boot script, where it stucks - I have added some echo "" debug lines...
echo "Found kernel in mmc0"; mmc rescan; echo "rescan"; mw.l 10d13224 14; mw.l 10d13228 14; mw.l 10d1323c 14; mw.l 10d13234 14; mw.l 10d13248 14; mw.l 10d1324C 14; echo "mw.l 10d1324C 14"; mw.l 0x10D11028 0x01027fb0 1; mw.l 0x10c03304 0x410 1; mw.l 0x10c03300 0x00000410; mw.l 0x10c03300 0x00000000; mw.l 0x10c03300 0x00000410; echo "mw.l 0x10c03300 0x00000410"; bridge enable; echo "bridge enable"; mw.l 0x028000070 0x00000000; echo "mw.l 0x28000070 0x00000000"; mw.l 0x28000070 0x00000001; echo "mw.l 0x28000070 0x00000001"; fatload mmc 0:1 ${loadaddr} ${bootfile}; setenv bootargs "bootargs console=ttyS0,115200 root=${mmcroot} rw rootwait"; bootm ${loadaddr};
echo "mw.l 0x28000070 0x00000000";
is not displayed, so 'mw.l 0x28000070 0x00000000' command does not work - only if I fit fpga twice or if reboot...
Unfortunatelly I don't know, what exactly this write to memeory does...
I have tried to disable bridges before next fpga fit, disable bridges before enabling them, but problem persists.
MM-ATH
Occasional Contributor
1 year agoSo the simplest example
AXE5_EAGLE # run fitfpga 2568192 bytes read in 125 ms (19.6 MiB/s) ...FPGA reconfiguration OK! AXE5_EAGLE # md.l 0x028000070 1 28000070: 00000000 .... AXE5_EAGLE # run fitfpga 2568192 bytes read in 124 ms (19.8 MiB/s) ...FPGA reconfiguration OK! AXE5_EAGLE # md.l 0x028000070 1 <here it freezes>
fitfpga is defined as:
fitfpga=load mmc 0:1 $loadaddr d/design.core.rbf ; dcache flush ; fpga load 0 $loadaddr $filesize ; bridge enable;
- MM-ATH1 year ago
Occasional Contributor
at 0x02800070 should be FPGA register - USB switch reset register.
So it seems that LWH2F bridge not work, if fpga.core is fitted twice.
Other addresses from LWH2F bridge address pool does not work too (also stucks uboot).