VIM2 Cannot Boot to Sd / Oowow

Which system do you use? Android, Ubuntu, OOWOW or others?

Oowow

Please describe your issue below:

I tried to boot VIM2 to Oowow using Serial, TFT, Power+Reset key but it seems that my VIM2 cannot boot to sdcard.

This is what I’ve tried so far:

Post a console log of your issue below:

Serial TTL bootloop and shows log below log error in repeat

GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:80;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 118306

BL2 Built : 16:32:58, Nov  3 2017.
gxl gb5491d8 - xiaobo.gu@droid12

set vdd cpu_a to 1120 mv
set vdd cpu_b to 1050 mv
set vddee to 1000 mv
Board ID = 8
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR4 chl: Rank0+1 @ 1008MHz
Rank0: 1024MB(auto)-2T-18
Rank1: 1024MB(auto)-2T-18
DataBus test pass!
  ADDR-W[0x00008000]:0xaaaaaaaa,R:0xe8b28518
  ADDR3-W[0x00000004]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000008]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000010]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000020]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000040]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000080]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000100]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000200]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000400]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000800]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00001000]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00002000]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00004000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x00008000]:0x55555555,R:0xe8b28518
  ADDR2-W[0x00010000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x00020000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x00040000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x00080000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x00100000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x00200000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x00400000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x00800000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x01000000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x02000000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x04000000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x08000000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x10000000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x20000000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x40000000]:0x55555555,R:0x174d7ae7
AddrBus test failed!!!
GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:80;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 118312

BL2 Built : 16:32:58, Nov  3 2017.
gxl gb5491d8 - xiaobo.gu@droid12

set vdd cpu_a to 1120 mv
set vdd cpu_b to 1050 mv
set vddee to 1000 mv
Board ID = 8
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR4 chl: Rank0+1 @ 1008MHz
Rank0: 1024MB(auto)-2T-18
Rank1: 1024MB(auto)-2T-18
DataBus test pass!
  ADDR-W[0x00008000]:0xaaaaaaaa,R:0xe8b28518
  ADDR3-W[0x00000004]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000008]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000010]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000020]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000040]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000080]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000100]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000200]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000400]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00000800]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00001000]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00002000]:0x55555555,R:0x174d7ae7
  ADDR3-W[0x00004000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x00008000]:0x55555555,R:0xe8b28518
  ADDR2-W[0x00010000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x00020000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x00040000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x00080000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x00100000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x00200000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x00400000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x00800000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x01000000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x02000000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x04000000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x08000000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x10000000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x20000000]:0x55555555,R:0x174d7ae7
  ADDR2-W[0x40000000]:0x55555555,R:0x174d7ae7
AddrBus test failed!!!

Can anyone help?

Hello @azureru

Does your board is VIM2? It seems that the DDR initialized failed.

Yes it’s a VIM2 board. DDR init fails sound like something that cannot be solved in software space huh?

I have one other VIM2 - it has the same issue cannot boot to SDcard - but log output is different - it stop there and stuck (white LED on - no output on screen)

Below is the debug serial output

GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:80;POC:3;RCY:0;EMMC:800;NAND:81;SD:0;READ:0;0.0;CHK:0;
no sdio debug board detected 
TE: 211155

BL2 Built : 14:59:36, Aug  9 2017. 
gxl ge8c6a83 - xiaobo.gu@droid12

set vdd cpu_a to 1120 mv
set vdd cpu_b to 1050 mv
set vddee to 1000 mv
Board ID = 8
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR3 chl: Rank0+1 @ 912MHz - FAIL
DDR4 chl: Rank0+1 @ 1008MHz - PASS
Rank0: 1024MB(auto)-2T-18
Rank1: 1024MB(auto)-2T-18
DataBus test pass!
AddrBus test pass!
Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from SD, src: 0x00010200, des: 0x01100000, size: 0x0000d600
Load bl31 from SD, src: 0x00020200, des: 0x05100000, size: 0x0002c600
Load bl33 from SD, src: 0x00050200, des: 0x01000000, size: 0x000c6000
NOTICE:  BL3-1: v1.0(release):801e730
NOTICE:  BL3-1: Built : 22:09:38, Aug 10 2017
mpu_config_enable:ok
[Image: gxl_v1.1.3244-a3237e2 2017-08-16 14:01:18 hong.guo@droid04]
OPS=0x82
wdt: reset registers!
41 52 8a 3c 54 4a 8e ac eb 51 fd 1f [0.798504 Inits done]
secure task start!
high task start!
low task start!
ERROR:   Error initializing runtime service opteed_fast


U-Boot 2021.07 (Sep 28 2022 - 14:54:52 +0800) khadas-vim2

Model: Khadas VIM2
SoC:   Amlogic Meson GXM (S912) Revision 22:a (82:2)
DRAM:  2 GiB

Have you checked other eMMC images?