Jump to content

Unable to boot Odroid C4


rkosegi

Recommended Posts

How to run Armbian on Odroid C4?

 

I followed official guide (https://docs.armbian.com/User-Guide_Getting-Started), but I always ends up with following:

 

Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  UUID=e614931e-7b37-40f0-8d34-c3ca836004e8 does not exist.  Dropping to a shell!

 

SD-Card is working fine when other OS is used (such as Ubuntu provided by Hardkernel)

 

Am I missing something?

Link to comment
Share on other sites

1, yes on exactly same board - It worked fine with this one https://wiki.odroid.com/odroid-c4/os_images/ubuntu/minimal/20220705

2, I tried

- Armbian_22.11.1_Odroidc4_jammy_current_5.19.17_minimal.img

- Armbian_22.11.1_Odroidc4_jammy_current_5.19.17.img

from https://www.armbian.com/odroid-c4/

as well as

Armbian_23.02.0-trunk_Odroidc4_sid_edge_6.1.0_minimal.img from

from https://github.com/armbian/build/releases

 

If that helps, here is output from UART

Welcome to minicom 2.8

OPTIONS: I18n
Compiled on Jul 21 2022, 00:00:00.
Port /dev/ttyUSB0, 17:39:20

Press CTRL-A Z for help on special keys

SM1:BL:511f6b:81ca2f;FEAT:A0F83180:20282000;POC:F;RCY:0;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;0.0;CHK:0;
bl2_stage_init 0x01
bl2_stage_init 0x81
hw id: 0x0000 - pwm id 0x01
bl2_stage_init 0xc1
bl2_stage_init 0x02

no sdio debug board detected
L0:00000000
L1:00000703
L2:00008067
L3:15000020
S1:00000000
B2:20282000
B1:a0f83180

TE: 773632

BL2 Built : 20:29:41, Jun 18 2019. g12a ga659aac - luan.yuan@droid15-sz

Board ID = 1
Set cpu clk to 24M
Set clk81 to 24M
Use GP1_pll as DSU clk.
DSU clk: 1200 Mhz
CPU clk: 1200 MHz
Set clk81 to 166.6M
DDR driver_vesion: LPDDR4_PHY_V_0_1_15 build time: Jun 18 2019 20:29:37
board id: 1
Load FIP HDR from SD, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0
fw parse done
Load ddrfw from SD, src: 0x00060200, des: 0xfffd0000, size: 0x0000c000, part: 0
Load ddrfw from SD, src: 0x00038200, des: 0xfffd0000, size: 0x00004000, part: 0
PIEI prepare done
fastboot data load
fastboot data verify
verify result: 255
Cfg max: 2, cur: 1. Board id: 255. Force loop cfg
DDR4 probe
ddr clk to 1320MHz
Load ddrfw from SD, src: 0x00014200, des: 0xfffd0000, size: 0x0000c000, part: 0

dmc_version 0001
Check phy result
INFO : End of initialization
INFO : End of read enable training
INFO : End of fine write leveling
INFO : End of read dq deskew training
INFO : End of MPR read delay center optimization
INFO : End of Write leveling coarse delay
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: 0x00020200, 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 write delay Voltage center optimization
INFO : Training has run successfully!

R0_RxClkDly_Margin==106 ps 9
R0_TxDqDly_Margi==118 ps 10


R1_RxClkDly_Margin==0 ps 0
R1_TxDqDly_Margi==0 ps 0

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

soc_vref_reg_value 0x 00000050 0000004e 0000004f 0000004f 00000050 0000004f 00000052 00000052 0000004f 0000004e 0000004f 0000004f 00000051 00000050 0000004f 0000004f 0000004f 0000004e 0000004e 0000004f 0000004f 0000004d 0000004e 00000041
2D training succeed
aml_ddr_fw_vesion: LPDDR4_PHY_V_0_1_15 build time: Jun 18 2019 20:29:43
auto size-- 65535DDR cs0 size: 2048MB
DDR cs1 size: 2048MB
DMC_DDR_CTRL: 00700024DDR size: 3928MB
cs0 DataBus test pass
cs1 DataBus test pass
cs0 AddrBus test pass
cs1 AddrBus test pass

non-sec scramble use zero key
ddr scramble enabled

100bdlr_step_size ps== 425
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: 0x00078200, des: 0x01768000, size: 0x0009c000, 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.3386-3b31431 2019-05-21 10:41:54 luan.yuan@droid15-sz]
OPS=0x10
ring efuse init
2b 0c 10 00 01 05 1a 00 00 15 34 37 34 46 4d 50
[0.017319 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
1;-1fdone.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)                                                 
   - Check rootdelay= (did the system wait long enough?)                        
 - Missing modules (cat /proc/modules; ls /dev)                       
ALERT!  UUID=67ebc57a-6591-4790-9565-63aef96e4c2c does not exist.  Dropping to a shell!       


                                                                                                  

Edited by rkosegi
Link to comment
Share on other sites

I also have an hc4, and after messing with this for a few hours have been unable to get any of 3 sd cards to boot armbian, although each work fine with the Odroid Ubuntu image. Unfortunately, I don't have a serial cable so all I can tell is that the blue LED flashes, but I get no video from HDMI, nor does the MAC address come up ever on anything but the factory Ubuntu image. I've tried every 22.11.1 image, CLI and desktop, same with every single one of them. Is there any image available that has a version 5.X kernel that works anywhere??

Link to comment
Share on other sites

Disregard mine. I was somehow thinking that Armbian would act like the OEM images, but it doesn't prioritize plumbing a headless system. I was expecting a sshd and thought the system was down when it was just throwing an unsupported video stream to the console waiting for input. I know, dumb.

Edited by frontrange
Link to comment
Share on other sites

I replied to an older thread from last year regarding this same problem after I stumbled across this problem with the 23.02.2 Jammy XFCE image. I did some experimentation with various parameters and responded to that old post. In any case, I got it working using a different SD card. If you are interested in what I did, check out the post titled [Odroid-C4] Alert! Root UUID does not exist. Dropping to a shell!

 

 

Link to comment
Share on other sites

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