Hi!
I just got my Radxa zero with 8Gb eMMC. I was able to boot the ubuntu server image from emmc
radxa-zero-ubuntu-focal-server-arm64-20220221-0514-mbr.img.
But now it stopped working, it cannot boot.
During the installation i did the following
- run boot-g12.py radxa-zero-erase-emmc.bin to erase emmc
- run rz-udisk-loader.bin
- then used dd to write the img to the disk.
Am i missing something or is the emmc corrupt?
The debug output
[08:34:18:228] bl2_stage_init 0x01
[08:34:18:228] bl2_stage_init 0x81
[08:34:18:228] hw id: 0x0001 - pwm id 0x00
[08:34:18:228] bl2_stage_init 0xc0
[08:34:18:228] bl2_stage_init 0x02
[08:34:18:228]
[08:34:18:228] L0:00000000
[08:34:18:228] L1:00000703
[08:34:18:228] L2:00008067
[08:34:18:228] L3:04000000
[08:34:18:228] S1:00000000
[08:34:18:228] B2:00002000
[08:34:18:228] B1:e0f83180
[08:34:18:228]
[08:34:18:228] TE: 127234
[08:34:18:228]
[08:34:18:228] BL2 Built : 15:21:48, Aug 28 2019. g12a g1bf2b53 - luan.yuan@droid15-sz
[08:34:18:228]
[08:34:18:228] Board ID = 2
[08:34:18:228] Set cpu clk to 24M
[08:34:18:228] Set clk81 to 24M
[08:34:18:228] CPU clk: 1200 MHz
[08:34:18:228] Set clk81 to 166.6M
[08:34:18:228] eMMC boot @ 0
[08:34:18:228] sw8 s
[08:34:18:228] DDR driver_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 15:21:45
[08:34:18:228] board id: 2
[08:34:18:249] Load FIP HDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0
[08:34:18:249] fw parse done
[08:34:18:249] Load ddrfw from eMMC, src: 0x00060200, des: 0xfffd0000, size: 0x0000c000, part: 0
[08:34:18:302] Load ddrfw from eMMC, src: 0x00038200, des: 0xfffd0000, size: 0x00004000, part: 0
[08:34:18:323] PIEI prepare done
[08:34:18:323] fastboot data load
[08:34:18:323] 00000000
[08:34:18:339] emmc switch 1 ok
[08:34:18:339] ddr saved addr:00016000
[08:34:18:339] Load ddr parameter from eMMC, src: 0x02c00000, des: 0xfffd0000, size: 0x00001000, part: 0
[08:34:18:382] 00000000
[08:34:18:382] emmc switch 0 ok
[08:34:18:382] fastboot data verify
[08:34:18:382] verify result: 267
[08:34:18:382] Cfg max: 2, cur: 1. Board id: 255. Force loop cfg
[08:34:18:382] LPDDR4 probe
[08:34:18:382] ddr clk to 792MHz
[08:34:18:382] Load ddrfw from eMMC, src: 0x0003c200, des: 0xfffd0000, size: 0x0000c000, part: 0
[08:34:18:414]
[08:34:18:414] dmc_version 0000
[08:34:18:457] Check phy result
[08:34:18:457] INFO : ERROR : Training has failed!
[08:34:18:457] 1D training failed
[08:34:18:457] Cfg max: 2, cur: 2. Board id: 255. Force loop cfg
[08:34:18:457] LPDDR4 probe
[08:34:18:457] ddr clk to 792MHz
[08:34:18:457] Load ddrfw from eMMC, src: 0x0003c200, des: 0xfffd0000, size: 0x0000c000, part: 0
[08:34:18:504]
[08:34:18:504] dmc_version 0000
[08:34:18:504] Check phy result
[08:34:18:504] INFO : End of CA training
[08:34:18:548] INFO : End of initialization
[08:34:18:548] INFO : Training has run successfully!
[08:34:18:548] Check phy result
[08:34:18:548] INFO : End of initialization
[08:34:18:548] INFO : End of read enable training
[08:34:18:548] INFO : End of fine write leveling
[08:34:18:548] INFO : End of Write leveling coarse delay
[08:34:18:548] INFO : Training has run successfully!
[08:34:18:548] Check phy result
[08:34:18:548] INFO : End of initialization
[08:34:18:548] INFO : End of read dq deskew training
[08:34:18:548] INFO : End of MPR read delay center optimization
[08:34:18:548] INFO : End of write delay center optimization
[08:34:18:548] INFO : End of read delay center optimization
[08:34:18:579] INFO : End of max read latency training
[08:34:18:579] INFO : Training has run successfully!
[08:34:18:579] 1D training succeed
[08:34:18:579] Load ddrfw from eMMC, src: 0x00048200, des: 0xfffd0000, size: 0x0000c000, part: 0
[08:34:18:627] Check phy result
[08:34:18:627] INFO : End of initialization
[08:34:18:643] INFO : End of 2D read delay Voltage center optimization
[08:34:18:659] INFO : End of 2D read delay Voltage center optimization
[08:34:18:707] INFO : End of 2D write delay Voltage center optimization
[08:34:18:799] INFO : End of 2D write delay Voltage center optimization
[08:34:18:799] INFO : Training has run successfully!
[08:34:18:799]
[08:34:18:799] channel==0
[08:34:18:799] RxClkDly_Margin_A0==256 ps 13
[08:34:18:799] TxDqDly_Margin_A0==236 ps 12
[08:34:18:799] RxClkDly_Margin_A1==0 ps 0
[08:34:18:799] TxDqDly_Margin_A1==0 ps 0
[08:34:18:799] TrainedVREFDQ_A0==75
[08:34:18:799] TrainedVREFDQ_A1==0
[08:34:18:799] VrefDac_Margin_A0==30
[08:34:18:799] DeviceVref_Margin_A0==39
[08:34:18:799] VrefDac_Margin_A1==0
[08:34:18:799] DeviceVref_Margin_A1==0
[08:34:18:799]
[08:34:18:799]
[08:34:18:799] channel==1
[08:34:18:799] RxClkDly_Margin_A0==236 ps 12
[08:34:18:799] TxDqDly_Margin_A0==256 ps 13
[08:34:18:799] RxClkDly_Margin_A1==0 ps 0
[08:34:18:799] TxDqDly_Margin_A1==0 ps 0
[08:34:18:842] TrainedVREFDQ_A0==74
[08:34:18:842] TrainedVREFDQ_A1==0
[08:34:18:842] VrefDac_Margin_A0==31
[08:34:18:842] DeviceVref_Margin_A0==40
[08:34:18:842] VrefDac_Margin_A1==0
[08:34:18:842] DeviceVref_Margin_A1==0
[08:34:18:842]
[08:34:18:842] dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0004
[08:34:18:842]
[08:34:18:842] soc_vref_reg_value 0x 0000001b 0000001c 0000001b 0000001c 0000001b 0000001a 0000001b 00000019 0000001b 0000001a 00000019 0000001a 0000001b 0000001c 0000001b 0000001b 0000001b 0000001d 0000001b 0000001a 0000001a 00000019 0000001a 0000001b 0000001a 0000001a 0000001a 0000001b 0000001b 00000019 00000019 0000001a dram_vref_reg_value 0x 00000057
[08:34:18:886] 2D training succeed
[08:34:18:886] aml_ddr_fw_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 13:53:31
[08:34:18:886] auto size-- 65535DDR cs0 size: 2048MB
[08:34:18:886] DDR cs1 size: 0MB
[08:34:18:886] DMC_DDR_CTRL: 00c0002cDDR size: 2048MB
[08:34:18:886] cs0 DataBus test pass
[08:34:18:886] cs0 AddrBus test pass
[08:34:18:886]
[08:34:18:886] 100bdlr_step_size ps== 450
[08:34:18:886] result report
[08:34:18:886] boot times 0Enable ddr reg access
[08:34:18:886] 00000000
[08:34:18:886] emmc switch 3 ok
[08:34:18:886] Authentication key not yet programmed
[08:34:18:886] get rpmb counter error 0x00000007
[08:34:18:886] 00000000
[08:34:18:886] emmc switch 0 ok
[08:34:18:912] Load FIP HDR from eMMC, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0
[08:34:18:912] Load BL3X from eMMC, src: 0x0006c200, des: 0x0175c000, size: 0x000ec000, part: 0
[08:34:19:189] bl2z: ptr: 05129330, size: 00001e40
[08:34:19:189] 0.0;M3 CHK:0;cm4_sp_mode 0␍
[08:34:19:189] MVN_1=0x00000000␍
[08:34:19:189] MVN_2=0x00000000␍
[08:34:19:189] [Image: g12a_v1.1.3390-6ac5299 2019-09-26 14:09:46 luan.yuan@droid15-sz]␍
[08:34:19:189] OPS=0x30␍
[08:34:19:189] ring efuse init␍
[08:34:19:189] 28 0b 30 00 01 0e 10 00 00 09 38 38 34 55 30 50 ␍
[08:34:19:189] [0.017150 Inits done]␍
[08:34:19:189] secure task start!
[08:34:19:189] high task start!
[08:34:19:189] low task start!
[08:34:19:189] run into bl31
[08:34:19:189] NOTICE: BL31: v1.3(release):4fc40b1
[08:34:19:189] NOTICE: BL31: Built : 15:57:33, May 22 2019
[08:34:19:189] NOTICE: BL31: G12A normal boot!
[08:34:19:189] ERROR: Error initializing runtime service opteed_fast
[08:34:19:860]
[08:34:19:860]
[08:34:19:860] U-Boot 2021.07-24129-g105a2deb65 (Dec 14 2021 - 14:20:39 +0800) radxa-zero
[08:34:19:881]
[08:34:19:881] Model: Radxa Zero
[08:34:20:211] SoC: Amlogic Meson G12A (S905Y2) Revision 28:b (30:2)
[08:34:20:211] DRAM: 2 GiB
[08:34:20:323] MMC: sd@ffe03000: 0, sd@ffe05000: 1, mmc@ffe07000: 2
[08:34:20:389] Loading Environment from nowhere… OK
[08:34:20:389] In: serial
[08:34:20:389] Out: serial
[08:34:20:389] Err: serial
[08:34:20:389] Net: Net Initialization Skipped
[08:34:20:389] No ethernet found.
[08:34:20:389] Hit any key to stop autoboot: 2 <0x08><0x08><0x08> 1 <0x08><0x08><0x08> 0
[08:34:22:387] Card did not respond to voltage select! : -110
[08:34:22:403] Card did not respond to voltage select! : -110
[08:34:22:480] unable to select a mode : -5
[08:34:22:480] starting USB…
[08:34:22:480] Bus usb@ff500000: Register 3000140 NbrPorts 3
[08:34:22:724] Starting the controller
[08:34:22:724] USB XHCI 1.10
[08:34:22:724] scanning bus usb@ff500000 for devices… 1 USB Device(s) found
[08:34:23:871] scanning usb for storage devices… 0 Storage Device(s) found
[08:34:23:871]
[08:34:23:871] Device 0: unknown device
[08:34:23:871] No ethernet found.
[08:34:23:871] missing environment variable: pxeuuid
[08:34:23:871] missing environment variable: bootfile
[08:34:23:871] Retrieving file: pxelinux.cfg/00000000
[08:34:23:871] No ethernet found.
[08:34:23:871] missing environment variable: bootfile
[08:34:23:871] Retrieving file: pxelinux.cfg/0000000
[08:34:23:871] No ethernet found.
[08:34:23:871] missing environment variable: bootfile
[08:34:23:871] Retrieving file: pxelinux.cfg/000000
[08:34:23:871] No ethernet found.
[08:34:23:871] missing environment variable: bootfile
[08:34:23:914] Retrieving file: pxelinux.cfg/00000
[08:34:23:914] No ethernet found.
[08:34:23:914] missing environment variable: bootfile
[08:34:23:914] Retrieving file: pxelinux.cfg/0000
[08:34:23:914] No ethernet found.
[08:34:23:914] missing environment variable: bootfile
[08:34:23:914] Retrieving file: pxelinux.cfg/000
[08:34:23:914] No ethernet found.
[08:34:23:914] missing environment variable: bootfile
[08:34:23:914] Retrieving file: pxelinux.cfg/00
[08:34:23:914] No ethernet found.
[08:34:23:914] missing environment variable: bootfile
[08:34:23:914] Retrieving file: pxelinux.cfg/0
[08:34:23:914] No ethernet found.
[08:34:23:914] missing environment variable: bootfile
[08:34:23:914] Retrieving file: pxelinux.cfg/default-arm-meson-u200
[08:34:23:967] No ethernet found.
[08:34:23:967] missing environment variable: bootfile
[08:34:23:967] Retrieving file: pxelinux.cfg/default-arm-meson
[08:34:23:967] No ethernet found.
[08:34:23:967] missing environment variable: bootfile
[08:34:23:967] Retrieving file: pxelinux.cfg/default-arm
[08:34:23:967] No ethernet found.
[08:34:23:967] missing environment variable: bootfile
[08:34:23:967] Retrieving file: pxelinux.cfg/default
[08:34:23:967] No ethernet found.
[08:34:23:967] Config file not found
[08:34:23:967] No ethernet found.
[08:34:23:967] No ethernet found.
[08:34:23:967] => mmc info
[08:38:37:107] Card did not respond to voltage select! : -110
[08:38:37:107] =>
Best regards
Martin