Jump to content

Unable to boot Armbian from Radxa zero SD card


Go to solution Solved by Yakov,

Recommended Posts

Posted

Hey all,

I'm unable to boot Armbian from the SD card of my Radxa Zero 1 GB. When I download one of the official Armbian Radxa Zero images I always get the message "ALERT! UUID=eba52b2e-b77a-47b9-9619-ebda85946883
 does not exists. Dropping to a shell!"
Previously I ask the Radxa community on Discord, were I received the suggestion that the CMA memory maybe was configured too high. I tried to make an image from master (4b21499534, after https://github.com/armbian/build/pull/4151 was merged) but that didn't help.

When I run `dmesg` I get the following repeating error "mmc1: error -84 whilst initialising SD card"
When I run `blkid` I do not get any output
But when I insert the SD card in my laptop and run `blkid` I get: "/dev/sda1: LABEL="armbian_root" UUID="eba52b2e-b77a-47b9-9619-ebda85946883" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="9a366be2-01"
So the uuid seems to be correct.

I'm not able to boot into Armbian, but the official non-Armbian images from the Radxa site work just fine on this device with the same SD card.

Does anybody know what could be the problem, or any ideas how it can be solved?

(The file upload was not working for me, so this is a link to the screenshot image: https://imgur.com/a/UPakZPm)

  • Solution
Posted

I was able to boot Armbian on Radxa Zero only with built-in flash memory (2 and 4 GB versions). 1 GB and 512 MB versions constantly reload on boot. I tried several SD cards (SanDisk, Adata, Samsung and noname), cards running on 2 and 4 GB versions do not run on 0.512 and 1 GB boards. I have on hand 512 MB, 2 and 4 GB versions of the boards. How can I help?

https://armbian.atlassian.net/browse/AR-1148

Posted

The last image that normally boots on the 512 MB version of the boards is: Armbian_21.08.0-trunk_Radxa-zero_focal_current_5.10.58_xfce_desktop.img

Posted

dear sir,

I tried this image but keeps on rebooting on radxa zero 512mb non emcc version.  currently only manjaro Gnome is the only one that partially works. always freezes on manjaro. Is there a known fix

Regards

Sajeev

Posted

This is unfortunate thing for 512MB versions of Radxa Zero and latest Armbians. Mine is doing this:

 

bl2_stage_init 0x81:00000000
BPDDR4_PHY_V_0_1_18 buil21:45
board id: 2
Load FIP HDR farse done
Load ddrfw from SD, src: 0x00060200, des: 0xfffd0000, size: 0x0000c000, part: 0
Loa000, size: 0x00004000, part: 0
Pa verify
ve: 266
Cfg max: 2, cur: 1. Board id: 255. Force loop cfg
LPDDR4 probe
ddr clk to 792MHz
Load ddrfw from SD, src: 0x0003c200, des: 0xfffd0000, size: 0x0000c000, part: 0

dmc_version 0000
Ct
INFO : ERROR : Training has failed!
1D traioard id: 255. Force loop cfg
LPDDRully!
Checad delay center optimization
INFOO : End of read delay center optim00048200, ded of 2D writ=1
RxClkDl01a 00000018 0000001a 00000017 00000019 000000000018 0000reg_value 0x 00000059
2D training succeed
aml_ddr_fw_veB
DMC_DDR_Ct pass

1081
result raccess
LoaL3X from SD, src: 0x000se):4fc40b1

U-Boot 2021.07-24139-gdb6738fed92 (Jun 17 2024 - 21:13:15 +0100) radxa-zero

Model: Radxa Zero
5
Skipped
No140 NbrPorts 3
Starting the controller
USB XHCI 1.10
scanning bus 0 for devices... 1 USB Dscanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  2 did not resp: -110

Scanning mmc 1:1...
Found U-Boot script /boot.scr
8147 bytes read in 2 ms (3.9 MiB/s)
## Executing script at 08000000
U-boot default fdtfile: /meson-g12a-radxa-zero.dtb
Current variant: 
** Reading file would overwrite reserved memory **
Failed to load '/armbianEnv.txt'
"Synchronous Abort" handler, esr 0x96000010
elr: 000000000105f154 lr : 000000000105d34c (reloc)
elr: 000000001dfb3154 lr : 00000000100402 x7 : 0000000000000000
x8 : 0000000000000008 x9 : 0000000000000008
x10: 00000001bf3e2c x17: 0000000000000000
x18: 000000001bf51dd0x21: 000000001bf7a4a0
x22: 0000000000000000 x23: 000000001dfd89a8
x24: 0000000000000000 x25: 0000000000000001
x26: 000000000000000a x27: 0000000000000000
x28: 0000000000001fd3 x29: 000000001bf3e330

oot reason: 0xd
bl31 reboot reason: 0x0
system cmd  1.
G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:800;NAND:81;SD?:0;SD:0;:0;x01
bl2_stage_init 0x81
hw id: 0stage_init 0x02

no sdio debug bed 
L0:00000000
L1:00000703
L2:00008067
L3:04000000
S1:00000000
NFO : End of 2D read delay Voltage center optimizationn
INFO : End 0==216 ps 11
TxDqDly_MClkDly_Margin_A1==0 ps 0
TxDqDly_Margin_A1==Dly_Margin_Agin_A1==0 ps
                                           VrefDac_Margin_A0==30
DeviceVref_Margin_A0=1==0

 dwc_ddrphy_apb|(2<<16)|(0<<12)|(0xb0):0004 

soc_vref_reg_value 0x 00000017 00000019 000000100017 00000000018 00000019 00000019 00000014 dram_vref_r
                                                                                                       DMC_DDR_CTdrBus test pass

100bdlr_step_size ps== 493
result rep ddr reg ac SD, src: 0size: 0x000ec000, part: 0
ze: 00001e4K:0;cm4_sp_mode 0
MV35 36 32 43 46 50 
[1.193808 Inits done]
secure task start!
high task start!
low task start!
run intmal boot!
ERROR:   Error initializing runtime service opteed_fast
2A (S905Y2) Revision 28:c (30:2)
DRAM:  00: 2
In:    serialonment from nowhere... OK
Out:   serial
Err:   ller
USB X for device1 USB Dev Storage 1 

 

Posted (edited)

or when I copied content of boot partition to /boot folder of same partition:

 

INFO : End of read dq deskew training
INFO : End of MPR read delay center optimization
INFO : End of write delay center optimization
INFO : End of read delay center optimization
INFO : End of max read latency training
INFO : Training has run successfully!
1D training succeed
Load ddrfw from SD, src: 0x00048200, des: 0xfffd0000, size: 0x0000c000, part: 0
Check phy result
INFO : End of initialization
INFO : End of 2D read delay Voltage center optimization
INFO : End of 2D read delay Voltage center optimization
INFO : End of 2D write delay Voltage center optimization
INFO : End of 2D write delay Voltage center optimization
INFO : Training has run successfully!

channel==0
RxClkDly_Margin_A0==216 ps 11
TxDqDly_Margin_A0==256 ps 13
RxClkDly_Margin_A1==0 ps 0
TxDqDly_Margin_A1==0 ps 0
TrainedVREFDQ_A0==74
TrainedVREFDQ_A1==0
VrefDac_Margin_A0==31
DeviceVref_Margin_A0==40
VrefDac_Margin_A1==0
DeviceVref_Margin_A1==0


channel==1
RxClkDly_Margin_A0==216 ps 11
TxDqDly_Margin_A0==256 ps 13
RxClkDly_Margin_A1==0 ps 0
TxDqDly_Margin_A1==0 ps 0
TrainedVREFDQ_A0==74
TrainedVREFDQ_A1==0
VrefDac_Margin_A0==30
DeviceVref_Margin_A0==40
VrefDac_Margin_A1==0
DeviceVref_Margin_A1==0

 dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0004 

soc_vref_reg_value 0x 00000017 0000001a 0000001a 00000017 0000001a 00000017 00000019 00000017 00000018 0000001b 00000019 00000017 0000001a 00000019 0000001a 00000015 00000017 00000019 0000001b 00000018 00000017 00000019 00000019 00000018 00000018 00000017 00000017 00000017 00000017 00000018 00000019 00000014 dram_vref_reg_value 0x 00000056
2D training succeed
aml_ddr_fw_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 13:53:31
auto size-- 65535DDR cs0 size: 512MB
DDR cs1 size: 0MB
DMC_DDR_CTRL: 00c0002aDDR size: 512MB
cs0 DataBus test pass
cs0 AddrBus test pass

100bdlr_step_size ps== 493
result report
boot times 0Enable ddr reg access
Load FIP HDR from SD, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0
Load BL3X from SD, src: 0x0006c200, des: 0x0175c000, size: 0x000ec000, part: 0
bl2z: ptr: 05129330, size: 00001e40
0.0;M3 CHK:0;cm4_sp_mode 0
MVN_1=0x00000000
MVN_2=0x00000000
[Image: g12a_v1.1.3390-6ac5299 2019-09-26 14:09:46 luan.yuan@droid15-sz]
OPS=0x30
ring efuse init
28 0c 30 00 01 1f 25 00 00 17 35 36 32 43 46 50 
[1.196461 Inits done]
secure task start!
high task start!
low task start!
run into bl31
NOTICE:  BL31: v1.3(release):4fc40b1
NOTICE:  BL31: Built : 15:57:33, May 22 2019
NOTICE:  BL31: G12A normal boot!
ERROR:   Error initializing runtime service opteed_fast


U-Boot 2021.07-24139-gdb6738fed92 (Jun 17 2024 - 21:13:15 +0100) radxa-zero

Model: Radxa Zero
SoC:   Amlogic Meson G12A (S905Y2) Revision 28:c (30:2)
DRAM:  512 MiB
MMC:   sd@ffe03000: 0, sd@ffe05000: 1, mmc@ffe07000: 2
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
Net:   Net Initialization Skipped
No ethernet found.
starting USB...
Bus usb@ff500000: Register 3000140 NbrPorts 3
Starting the controller
USB XHCI 1.10
scanning bus usb@ff500000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0 
 

Edited by technik007_cz

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines