Forum Discussion
Hi
For now there is a workaround you need to change the boot command.
In the boot command, instead of "bridge enable" could you change it to "bridge enable 0x3b".
Instead of enabling all the bridge we skip enabling the F2H bridge.
Regards
Jingyang, Teh
- MM-ATH11 months ago
Occasional Contributor
Thank you,
I have changed fitfpga command to load mmc 0:1 $loadaddr d/design.core.rbf ; dcache flush ; bridge disable ; fpga load 0 $loadaddr $filesize ; bridge enable 0x3b;
but problem persists. I tried also command with removed bridge disable.
I have found that also fpga design has problems every second FPGA.core fit - we have design, where FPGA should blink with LEDs, if I fit fpga first time, LEDs are blinking, second time LEDs are not blinking, third time are blinking...
If I fit fpga three times, u-boot will not stuck, but linux system will not boot (stucks) with errors below, in this case NCONFIG button on the board (which I am used to reset thhe board) is not working and I have to proceed power-down, power-up procedure.
[ 3.632132] Waiting for root device /dev/mmcblk0p2... [ 13.795720] sdhci-cdns 10808000.mmc0: deferred probe timeout, ignoring dependency [ 13.795726] Stratix10 SoC FPGA manager soc@0:firmware:svc:fpga-mgr: couldn't get service channel (fpga) [ 13.812530] stratix10-svc soc@0:firmware:svc: deferred probe timeout, ignoring dependency [ 13.822748] dw_axi_dmac_platform 10db0000.dma-controller: deferred probe timeout, ignoring dependency [ 13.832289] dw_axi_dmac_platform 10db0000.dma-controller: DesignWare AXI DMA Controller, 4 channels [ 13.841392] dw_axi_dmac_platform 10dc0000.dma-controller: deferred probe timeout, ignoring dependency [ 13.843441] mmc0: SDHCI controller on 10808000.mmc0 [10808000.mmc0] using ADMA 64-bit [ 13.850715] dw_axi_dmac_platform 10dc0000.dma-controller: DesignWare AXI DMA Controller, 4 channels [ 13.867445] socfpga-dwmac 10830000.ethernet: deferred probe timeout, ignoring dependency [ 13.875792] socfpga-dwmac 10830000.ethernet: IRQ eth_wake_irq not found [ 13.882378] socfpga-dwmac 10830000.ethernet: IRQ eth_lpi not found [ 13.882929] mmc0: ADMA error: 0x02000000 [ 13.888580] socfpga-dwmac 10830000.ethernet: RX VLAN HW Stripping [ 13.892428] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [ 13.898579] socfpga-dwmac 10830000.ethernet: SMTG Hub Cross Timestamp supported [ 13.904894] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00000005 [ 13.918572] mmc0: sdhci: Blk size: 0x00007008 | Blk cnt: 0x00000001 [ 13.924982] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013 [ 13.931392] mmc0: sdhci: Present: 0x01f702f6 | Host ctl: 0x00000011 [ 13.937801] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000000 [ 13.944213] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000fa07 [ 13.950623] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000001 [ 13.957032] mmc0: sdhci: Int enab: 0x03ff008b | Sig enab: 0x03ff008b [ 13.963441] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000001 [ 13.969850] mmc0: sdhci: Caps: 0x1d2a32b2 | Caps_1: 0x88000077 [ 13.976259] mmc0: sdhci: Cmd: 0x0000333a | Max curr: 0x00202020 [ 13.982669] mmc0: sdhci: Resp[0]: 0x00000920 | Resp[1]: 0x00eebf7f [ 13.989078] mmc0: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x00400e00 [ 13.995487] mmc0: sdhci: Host ctl2: 0x00003000 [ 13.999910] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000082f08200 [ 14.007010] mmc0: sdhci: ============================================ [ 14.013419] mmc0: sdhci: 82f08200: DMA 0x00000000ae034000, LEN 0x0008, Attr=0x21 [ 14.020782] mmc0: sdhci: 82f08210: DMA 0x0000000000000000, LEN 0x0000, Attr=0x03 [ 14.028224] mmc0: error -5 whilst initialising SD card [ 14.028263] socfpga-dwmac 10830000.ethernet: User ID: 0x76, Synopsys ID: 0x31 [ 14.040459] socfpga-dwmac 10830000.ethernet: XGMAC2 [ 14.045403] socfpga-dwmac 10830000.ethernet: DMA HW capability register supported [ 14.052850] socfpga-dwmac 10830000.ethernet: RX Checksum Offload Engine supported [ 14.060296] socfpga-dwmac 10830000.ethernet: COE Type 1 [ 14.065495] socfpga-dwmac 10830000.ethernet: TX Checksum insertion supported [ 14.072509] socfpga-dwmac 10830000.ethernet: TSO supported [ 14.077967] socfpga-dwmac 10830000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 14.085933] socfpga-dwmac 10830000.ethernet: Enabled L3L4 Flow TC (entries=16) [ 14.089711] mmc0: ADMA error: 0x02000000 [ 14.093120] socfpga-dwmac 10830000.ethernet: Enabled RFS Flow TC (entries=10) [ 14.097018] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [ 14.104120] socfpga-dwmac 10830000.ethernet: TSO feature enabled [ 14.110523] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00000005 [ 14.116501] socfpga-dwmac 10830000.ethernet: SPH feature enabled [ 14.122903] mmc0: sdhci: Blk size: 0x00007008 | Blk cnt: 0x00000001 [ 14.128880] socfpga-dwmac 10830000.ethernet: Using 40/40 bits DMA host/device width [ 14.135282] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013 [ 14.146045] dwc3 11000000.usb: deferred probe timeout, ignoring dependency [ 14.149307] mmc0: sdhci: Present: 0x01f702f6 | Host ctl: 0x00000011 [ 14.149313] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000000 [ 14.168965] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00004e47 [ 14.175375] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000001 [ 14.177681] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 14.181785] mmc0: sdhci: Int enab: 0x03ff008b | Sig enab: 0x03ff008b [ 14.181792] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000001 [ 14.187270] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 14.193655] mmc0: sdhci: Caps: 0x1d2a32b2 | Caps_1: 0x88000077 [ 14.200219] xhci-hcd xhci-hcd.0.auto: hcc params 0x0110ffcc hci version 0x110 quirks 0x0000008000000010 [ 14.207680] mmc0: sdhci: Cmd: 0x0000333a | Max curr: 0x00202020 [ 14.207684] mmc0: sdhci: Resp[0]: 0x00000920 | Resp[1]: 0x00eebf7f [ 14.214113] xhci-hcd xhci-hcd.0.auto: irq 58, io mem 0x11000000 [ 14.223432] mmc0: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x00400e00 [ 14.229858] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 14.236244] mmc0: sdhci: Host ctl2: 0x00003000 [ 14.242136] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [ 14.248539] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000082f08200 [ 14.254007] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.1 Enhanced SuperSpeed [ 14.258413] mmc0: sdhci: ============================================ [ 14.258417] mmc0: sdhci: 82f08200: DMA 0x00000000ae034800, LEN 0x0008, Attr=0x21 [ 14.266811] hub 1-0:1.0: USB hub found [ 14.273128] mmc0: sdhci: 82f08210: DMA 0x0000000000000000, LEN 0x0000, Attr=0x03 [ 14.280451] hub 1-0:1.0: 1 port detected [ 14.286824] mmc0: Got data interrupt 0x00100000 even though no data operation was in progress. [ 14.294435] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 14.297898] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [ 14.297902] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00000005 [ 14.305463] hub 2-0:1.0: USB hub found [ 14.309157] mmc0: sdhci: Blk size: 0x00007008 | Blk cnt: 0x00000001 [ 14.317745] hub 2-0:1.0: 1 port detected [ 14.325771] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013 [ 14.332513] soc64-hwmon soc@0:firmware:svc:hwmon: Initialized 4 temperature and 6 voltage channels [ 14.338584] mmc0: sdhci: Present: 0x01f700f0 | Host ctl: 0x00000011 [ 14.342424] soc64-hwmon soc@0:firmware:svc:hwmon: couldn't get service channel rsu [ 14.348719] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000000 [ 14.352827] Stratix10 SoC FPGA manager soc@0:firmware:svc:fpga-mgr: couldn't get service channel (fpga) [ 14.359025] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00004e47 [ 14.359030] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000000 [ 14.368017] platform soc@0:firmware:svc:hwmon: deferred probe pending [ 14.374346] mmc0: sdhci: Int enab: 0x03ff008b | Sig enab: 0x03ff008b [ 14.374352] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [ 14.381883] platform soc@0:firmware:svc:fpga-mgr: deferred probe pending [ 14.388284] mmc0: sdhci: Caps: 0x1d2a32b2 | Caps_1: 0x88000077 [ 14.397629] platform soc@0:base_fpga_region: deferred probe pending [ 14.404033] mmc0: sdhci: Cmd: 0x0000333a | Max curr: 0x00202020 [ 14.455362] mmc0: sdhci: Resp[0]: 0x00000920 | Resp[1]: 0x00eebf7f [ 14.461771] mmc0: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x00400e00 [ 14.468181] mmc0: sdhci: Host ctl2: 0x00003000 [ 14.472603] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000082f08200 [ 14.479704] mmc0: sdhci: ============================================ [ 14.486183] mmc0: error -5 whilst initialising SD card [ 14.552363] mmc0: ADMA error: 0x02000000 [ 14.556273] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [ 14.562682] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00000005 [ 14.569092] mmc0: sdhci: Blk size: 0x00007008 | Blk cnt: 0x00000001 [ 14.575502] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013 [ 14.581912] mmc0: sdhci: Present: 0x01f702f6 | Host ctl: 0x00000011 [ 14.588322] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000000 [ 14.594731] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [ 14.601141] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000001 [ 14.607550] mmc0: sdhci: Int enab: 0x03ff008b | Sig enab: 0x03ff008b [ 14.613959] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000001 [ 14.620368] mmc0: sdhci: Caps: 0x1d2a32b2 | Caps_1: 0x88000077 [ 14.626778] mmc0: sdhci: Cmd: 0x0000333a | Max curr: 0x00202020 [ 14.633187] mmc0: sdhci: Resp[0]: 0x00000920 | Resp[1]: 0x00eebf7f [ 14.639597] mmc0: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x00400e00 [ 14.646006] mmc0: sdhci: Host ctl2: 0x00003000 [ 14.650428] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000082f08200 [ 14.657529] mmc0: sdhci: ============================================ [ 14.663938] mmc0: sdhci: 82f08200: DMA 0x00000000ae035000, LEN 0x0008, Attr=0x21 [ 14.671301] mmc0: sdhci: 82f08210: DMA 0x0000000000000000, LEN 0x0000, Attr=0x03 [ 14.678694] mmc0: error -5 whilst initialising SD card [ 14.754281] mmc0: ADMA error: 0x02000000 [ 14.758187] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [ 14.764596] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00000005 [ 14.771005] mmc0: sdhci: Blk size: 0x00007008 | Blk cnt: 0x00000001 [ 14.777415] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013 [ 14.783825] mmc0: sdhci: Present: 0x01f702f6 | Host ctl: 0x00000011 [ 14.790235] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000000 [ 14.796645] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000e8c7 [ 14.803054] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000001 [ 14.809464] mmc0: sdhci: Int enab: 0x03ff008b | Sig enab: 0x03ff008b [ 14.815874] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000001 [ 14.822283] mmc0: sdhci: Caps: 0x1d2a32b2 | Caps_1: 0x88000077 [ 14.828693] mmc0: sdhci: Cmd: 0x0000333a | Max curr: 0x00202020 [ 14.835102] mmc0: sdhci: Resp[0]: 0x00000920 | Resp[1]: 0x00eebf7f [ 14.841512] mmc0: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x00400e00 [ 14.847921] mmc0: sdhci: Host ctl2: 0x00003000 [ 14.852343] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000082f08200 [ 14.859444] mmc0: sdhci: ============================================ [ 14.865853] mmc0: sdhci: 82f08200: DMA 0x00000000ae035800, LEN 0x0008, Attr=0x21 [ 14.873216] mmc0: sdhci: 82f08210: DMA 0x0000000000000000, LEN 0x0000, Attr=0x03 [ 14.880614] mmc0: error -5 whilst initialising SD cardWe are booting jic.rpd(FSBL) from QSPI NOR flash and the rest (SSBL,core.rbf, linux) from SD card now.
- MM-ATH11 months ago
Occasional Contributor
Thank you,
I have changed fitfpga command to load mmc 0:1 $loadaddr d/design.core.rbf ; dcache flush ; bridge disable ; fpga load 0 $loadaddr $filesize ; bridge enable 0x3b;
but problem persists. I tried also command with removed bridge disable.
I have found that also fpga design has problems every second FPGA.core fit - we have design, where FPGA should blink with LEDs, if I fit fpga first time, LEDs are blinking, second time LEDs are not blinking, third time are blinking...
If I fit fpga three times, u-boot will not stuck, but linux system will not boot (stucks) with errors below, in this case NCONFIG button on the board (which I am used to reset thhe board) is not working and I have to proceed power-down, power-up procedure.
[ 3.632132] Waiting for root device /dev/mmcblk0p2... [ 13.795720] sdhci-cdns 10808000.mmc0: deferred probe timeout, ignoring dependency [ 13.795726] Stratix10 SoC FPGA manager soc@0:firmware:svc:fpga-mgr: couldn't get service channel (fpga) [ 13.812530] stratix10-svc soc@0:firmware:svc: deferred probe timeout, ignoring dependency [ 13.822748] dw_axi_dmac_platform 10db0000.dma-controller: deferred probe timeout, ignoring dependency [ 13.832289] dw_axi_dmac_platform 10db0000.dma-controller: DesignWare AXI DMA Controller, 4 channels [ 13.841392] dw_axi_dmac_platform 10dc0000.dma-controller: deferred probe timeout, ignoring dependency [ 13.843441] mmc0: SDHCI controller on 10808000.mmc0 [10808000.mmc0] using ADMA 64-bit [ 13.850715] dw_axi_dmac_platform 10dc0000.dma-controller: DesignWare AXI DMA Controller, 4 channels [ 13.867445] socfpga-dwmac 10830000.ethernet: deferred probe timeout, ignoring dependency [ 13.875792] socfpga-dwmac 10830000.ethernet: IRQ eth_wake_irq not found [ 13.882378] socfpga-dwmac 10830000.ethernet: IRQ eth_lpi not found [ 13.882929] mmc0: ADMA error: 0x02000000 [ 13.888580] socfpga-dwmac 10830000.ethernet: RX VLAN HW Stripping [ 13.892428] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [ 13.898579] socfpga-dwmac 10830000.ethernet: SMTG Hub Cross Timestamp supported [ 13.904894] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00000005 [ 13.918572] mmc0: sdhci: Blk size: 0x00007008 | Blk cnt: 0x00000001 [ 13.924982] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013 [ 13.931392] mmc0: sdhci: Present: 0x01f702f6 | Host ctl: 0x00000011 [ 13.937801] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000000 [ 13.944213] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000fa07 [ 13.950623] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000001 [ 13.957032] mmc0: sdhci: Int enab: 0x03ff008b | Sig enab: 0x03ff008b [ 13.963441] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000001 [ 13.969850] mmc0: sdhci: Caps: 0x1d2a32b2 | Caps_1: 0x88000077 [ 13.976259] mmc0: sdhci: Cmd: 0x0000333a | Max curr: 0x00202020 [ 13.982669] mmc0: sdhci: Resp[0]: 0x00000920 | Resp[1]: 0x00eebf7f [ 13.989078] mmc0: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x00400e00 [ 13.995487] mmc0: sdhci: Host ctl2: 0x00003000 [ 13.999910] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000082f08200 [ 14.007010] mmc0: sdhci: ============================================ [ 14.013419] mmc0: sdhci: 82f08200: DMA 0x00000000ae034000, LEN 0x0008, Attr=0x21 [ 14.020782] mmc0: sdhci: 82f08210: DMA 0x0000000000000000, LEN 0x0000, Attr=0x03 [ 14.028224] mmc0: error -5 whilst initialising SD card [ 14.028263] socfpga-dwmac 10830000.ethernet: User ID: 0x76, Synopsys ID: 0x31 [ 14.040459] socfpga-dwmac 10830000.ethernet: XGMAC2 [ 14.045403] socfpga-dwmac 10830000.ethernet: DMA HW capability register supported [ 14.052850] socfpga-dwmac 10830000.ethernet: RX Checksum Offload Engine supported [ 14.060296] socfpga-dwmac 10830000.ethernet: COE Type 1 [ 14.065495] socfpga-dwmac 10830000.ethernet: TX Checksum insertion supported [ 14.072509] socfpga-dwmac 10830000.ethernet: TSO supported [ 14.077967] socfpga-dwmac 10830000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 14.085933] socfpga-dwmac 10830000.ethernet: Enabled L3L4 Flow TC (entries=16) [ 14.089711] mmc0: ADMA error: 0x02000000 [ 14.093120] socfpga-dwmac 10830000.ethernet: Enabled RFS Flow TC (entries=10) [ 14.097018] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [ 14.104120] socfpga-dwmac 10830000.ethernet: TSO feature enabled [ 14.110523] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00000005 [ 14.116501] socfpga-dwmac 10830000.ethernet: SPH feature enabled [ 14.122903] mmc0: sdhci: Blk size: 0x00007008 | Blk cnt: 0x00000001 [ 14.128880] socfpga-dwmac 10830000.ethernet: Using 40/40 bits DMA host/device width [ 14.135282] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013 [ 14.146045] dwc3 11000000.usb: deferred probe timeout, ignoring dependency [ 14.149307] mmc0: sdhci: Present: 0x01f702f6 | Host ctl: 0x00000011 [ 14.149313] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000000 [ 14.168965] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00004e47 [ 14.175375] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000001 [ 14.177681] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 14.181785] mmc0: sdhci: Int enab: 0x03ff008b | Sig enab: 0x03ff008b [ 14.181792] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000001 [ 14.187270] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 14.193655] mmc0: sdhci: Caps: 0x1d2a32b2 | Caps_1: 0x88000077 [ 14.200219] xhci-hcd xhci-hcd.0.auto: hcc params 0x0110ffcc hci version 0x110 quirks 0x0000008000000010 [ 14.207680] mmc0: sdhci: Cmd: 0x0000333a | Max curr: 0x00202020 [ 14.207684] mmc0: sdhci: Resp[0]: 0x00000920 | Resp[1]: 0x00eebf7f [ 14.214113] xhci-hcd xhci-hcd.0.auto: irq 58, io mem 0x11000000 [ 14.223432] mmc0: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x00400e00 [ 14.229858] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 14.236244] mmc0: sdhci: Host ctl2: 0x00003000 [ 14.242136] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [ 14.248539] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000082f08200 [ 14.254007] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.1 Enhanced SuperSpeed [ 14.258413] mmc0: sdhci: ============================================ [ 14.258417] mmc0: sdhci: 82f08200: DMA 0x00000000ae034800, LEN 0x0008, Attr=0x21 [ 14.266811] hub 1-0:1.0: USB hub found [ 14.273128] mmc0: sdhci: 82f08210: DMA 0x0000000000000000, LEN 0x0000, Attr=0x03 [ 14.280451] hub 1-0:1.0: 1 port detected [ 14.286824] mmc0: Got data interrupt 0x00100000 even though no data operation was in progress. [ 14.294435] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 14.297898] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [ 14.297902] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00000005 [ 14.305463] hub 2-0:1.0: USB hub found [ 14.309157] mmc0: sdhci: Blk size: 0x00007008 | Blk cnt: 0x00000001 [ 14.317745] hub 2-0:1.0: 1 port detected [ 14.325771] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013 [ 14.332513] soc64-hwmon soc@0:firmware:svc:hwmon: Initialized 4 temperature and 6 voltage channels [ 14.338584] mmc0: sdhci: Present: 0x01f700f0 | Host ctl: 0x00000011 [ 14.342424] soc64-hwmon soc@0:firmware:svc:hwmon: couldn't get service channel rsu [ 14.348719] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000000 [ 14.352827] Stratix10 SoC FPGA manager soc@0:firmware:svc:fpga-mgr: couldn't get service channel (fpga) [ 14.359025] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00004e47 [ 14.359030] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000000 [ 14.368017] platform soc@0:firmware:svc:hwmon: deferred probe pending [ 14.374346] mmc0: sdhci: Int enab: 0x03ff008b | Sig enab: 0x03ff008b [ 14.374352] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [ 14.381883] platform soc@0:firmware:svc:fpga-mgr: deferred probe pending [ 14.388284] mmc0: sdhci: Caps: 0x1d2a32b2 | Caps_1: 0x88000077 [ 14.397629] platform soc@0:base_fpga_region: deferred probe pending [ 14.404033] mmc0: sdhci: Cmd: 0x0000333a | Max curr: 0x00202020 [ 14.455362] mmc0: sdhci: Resp[0]: 0x00000920 | Resp[1]: 0x00eebf7f [ 14.461771] mmc0: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x00400e00 [ 14.468181] mmc0: sdhci: Host ctl2: 0x00003000 [ 14.472603] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000082f08200 [ 14.479704] mmc0: sdhci: ============================================ [ 14.486183] mmc0: error -5 whilst initialising SD card [ 14.552363] mmc0: ADMA error: 0x02000000 [ 14.556273] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [ 14.562682] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00000005 [ 14.569092] mmc0: sdhci: Blk size: 0x00007008 | Blk cnt: 0x00000001 [ 14.575502] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013 [ 14.581912] mmc0: sdhci: Present: 0x01f702f6 | Host ctl: 0x00000011 [ 14.588322] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000000 [ 14.594731] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [ 14.601141] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000001 [ 14.607550] mmc0: sdhci: Int enab: 0x03ff008b | Sig enab: 0x03ff008b [ 14.613959] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000001 [ 14.620368] mmc0: sdhci: Caps: 0x1d2a32b2 | Caps_1: 0x88000077 [ 14.626778] mmc0: sdhci: Cmd: 0x0000333a | Max curr: 0x00202020 [ 14.633187] mmc0: sdhci: Resp[0]: 0x00000920 | Resp[1]: 0x00eebf7f [ 14.639597] mmc0: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x00400e00 [ 14.646006] mmc0: sdhci: Host ctl2: 0x00003000 [ 14.650428] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000082f08200 [ 14.657529] mmc0: sdhci: ============================================ [ 14.663938] mmc0: sdhci: 82f08200: DMA 0x00000000ae035000, LEN 0x0008, Attr=0x21 [ 14.671301] mmc0: sdhci: 82f08210: DMA 0x0000000000000000, LEN 0x0000, Attr=0x03 [ 14.678694] mmc0: error -5 whilst initialising SD card [ 14.754281] mmc0: ADMA error: 0x02000000 [ 14.758187] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [ 14.764596] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00000005 [ 14.771005] mmc0: sdhci: Blk size: 0x00007008 | Blk cnt: 0x00000001 [ 14.777415] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013 [ 14.783825] mmc0: sdhci: Present: 0x01f702f6 | Host ctl: 0x00000011 [ 14.790235] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000000 [ 14.796645] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000e8c7 [ 14.803054] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000001 [ 14.809464] mmc0: sdhci: Int enab: 0x03ff008b | Sig enab: 0x03ff008b [ 14.815874] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000001 [ 14.822283] mmc0: sdhci: Caps: 0x1d2a32b2 | Caps_1: 0x88000077 [ 14.828693] mmc0: sdhci: Cmd: 0x0000333a | Max curr: 0x00202020 [ 14.835102] mmc0: sdhci: Resp[0]: 0x00000920 | Resp[1]: 0x00eebf7f [ 14.841512] mmc0: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x00400e00 [ 14.847921] mmc0: sdhci: Host ctl2: 0x00003000 [ 14.852343] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000082f08200 [ 14.859444] mmc0: sdhci: ============================================ [ 14.865853] mmc0: sdhci: 82f08200: DMA 0x00000000ae035800, LEN 0x0008, Attr=0x21 [ 14.873216] mmc0: sdhci: 82f08210: DMA 0x0000000000000000, LEN 0x0000, Attr=0x03 [ 14.880614] mmc0: error -5 whilst initialising SD cardWe are booting jic.rpd(FSBL) from QSPI NOR flash and the rest (SSBL,core.rbf, linux) from SD card now.
- MM-ATH11 months ago
Occasional Contributor
Unfortunatelly it does not work. I have changed fitfpga command to:
fitfpga=load mmc 0:1 $loadaddr d/design.core.rbf ; dcache flush ; bridge disable ; fpga load 0 $loadaddr $filesize ; bridge enable 0x3b;but behavior is same (i have tried also not disable bridges before fpga load).
I figured out that also FPGA design or gpio outputs have some problem. FPGA blinks with the leds, if I fit core.rbf twice, LEDs are not blinking, if I fit three times, LEDs are blinking (four times sometimes not blinking).
If I fit FPGA three times (so LEDs are blinking), uboot now also stuck, before there was also situation, that uboot did not stuck, but boot was not succesfull, there was some problem with emmc (irq?) during linux system boot.