Problem burn eMMC to vim3

I try to install ubuntu in my old VIM3. I have ddr KO. I don’t know why ?
It is a good VIM3 and it isn’t other package.

root@ron:/home/ron/khadas/utils# burn-tool -v aml -b VIM3 -i /home/ron/Téléchargements/vim3-ubuntu-22.04-server-linux-5.15-fenix-1.6.3-240112-emmc.img
Try to burn Amlogic image…
Burning image ‘/home/ron/Téléchargements/vim3-ubuntu-22.04-server-linux-5.15-fenix-1.6.3-240112-emmc.img’ for ‘VIM3/VIM3L’ to eMMC…
Unpacking image [OK]
Initializing ddr [KO]

The flash tool on Linux sometimes may fail, please try other USB cable or USB port and try again. Anfd if possiable, please provide the serial log.

https://docs.khadas.com/products/sbc/vim3/development/setup-serial-tool

Of couse, I had changed port cable + PC, you never know.
I’m going to see if I have the equipment available to make the serial.

Hello,
I went a little further, it is the creation of the partitions which is not done.
Do you think I have a problem with EMMC or USB power, @numbqq ? I changed the cable but not the PC.

Try to burn Amlogic image...
Burning image '/home/ron/Téléchargements/vim3-ubuntu-22.04-server-linux-5.15-fenix-1.6.3-240112-emmc.img' for 'VIM3' to eMMC...
Unpacking image [OK]
Initializing ddr ........[OK]
Running u-boot ........[OK]
Create partitions [KO]


----------------------------------------------------------------------------------------------
Bienvenue dans minicom 2.8                                                                                                       
                                                                                                                                 
OPTIONS: I18n                                                                                                                    
Port /dev/ttyUSB0, 09:19:14                                                                                                      
                                                                                                                                                                                     
                                                                                                                                 
G12B:BL:6e7c85:2a3b91;FEAT:E0F83180:402000;POC:F;RCY:0;EMMC:0;READ:0;0.                                                          
bl2_stage_init 0x01                                                                                                              
bl2_stage_init 0x81                                                                                                              
hw id: 0x0000 - pwm id 0x01                                                                                                      
bl2_stage_init 0xc1                                                                                                              
bl2_stage_init 0x02                                                                                                              
                                                                                                                                 
L0:00000000                                                                                                                      
L1:20000703                                                                                                                      
L2:00008067                                                                                                                      
L3:14000000                                                                                                                      
B2:00402000                                                                                                                      
B1:e0f83180                                                                  

TE: 193931

BL2 Built : 15:22:05, Aug 28 2019. g12b g1bf2b53 - luan.yuan@droid15-sz

Board ID = 8
Set A53 clk to 24M
Set A73 clk to 24M
Set clk81 to 24M
A53 clk: 1200 MHz
A73 clk: 1200 MHz
CLK81: 166.6M
smccc: 00033d68
eMMC boot @ 0
sw8 s
DDR driver_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 15:22:01
board id: 8
Load FIP HDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0
fw parse done
Load ddrfw from eMMC, src: 0x00060200, des: 0xfffd0000, size: 0x0000c000, part: 0
Load ddrfw from eMMC, src: 0x00038200, des: 0xfffd0000, size: 0x00004000, part: 0
PIEI prepare done
fastboot data load
00000000
emmc switch 1 ok
ddr saved addr:00016000
Load ddr parameter from eMMC, src: 0x02c00000, des: 0xfffd0000, size: 0x00001000, part: 0
00000000
emmc switch 0 ok
fastboot data verify
verify result: 265
Cfg max: 4, cur: 1. Board id: 255. Force loop cfg
LPDDR4 probe
ddr clk to 1608MHz
Load ddrfw from eMMC, src: 0x0003c200, des: 0xfffd0000, size: 0x0000c000, part: 0

dmc_version 0001
Check phy result
INFO : End of CA training
INFO : End of initialization
INFO : Training has run successfully!
Check phy result
INFO : End of initialization
INFO : End of read enable training
INFO : End of fine write leveling
INFO : End of Write leveling coarse delay
INFO : Training has run successfully!
Check phy result
INFO : End of initialization
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 eMMC, 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==97 ps 10
TxDqDly_Margin_A0==106 ps 11
RxClkDly_Margin_A1==87 ps 9
TxDqDly_Margin_A1==106 ps 11
TrainedVREFDQ_A0==26
TrainedVREFDQ_A1==27
VrefDac_Margin_A0==30
DeviceVref_Margin_A0==26
VrefDac_Margin_A1==30
DeviceVref_Margin_A1==26


channel==1
RxClkDly_Margin_A0==106 ps 11
TxDqDly_Margin_A0==106 ps 11
RxClkDly_Margin_A1==87 ps 9
TxDqDly_Margin_A1==106 ps 11
TrainedVREFDQ_A0==24
TrainedVREFDQ_A1==26
VrefDac_Margin_A0==27
DeviceVref_Margin_A0==24
VrefDac_Margin_A1==27
DeviceVref_Margin_A1==25

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

soc_vref_reg_value 0x 00000027 00000027 00000027 00000027 00000027 00000025 00000026 00000026 00000028 00000026 00000024 00000026 00000028 00000026 00000026 00000026 00000028 00000026 000003
2D training succeed
aml_ddr_fw_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 13:54:19
auto size-- 65535DDR cs0 size: 2048MB
DDR cs1 size: 2048MB
DMC_DDR_CTRL: 00e00024DDR size: 3928MB
cs0 DataBus test pass
cs1 DataBus test pass
cs0 AddrBus test pass
cs1 AddrBus test pass

100bdlr_step_size ps== 403
result report
boot times 0Enable ddr reg access
00000000
emmc switch 3 ok
Authentication key not yet programmed
get rpmb counter error 0x00000007
00000000
emmc switch 0 ok
Load FIP HDR from eMMC, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0
Load BL3X from eMMC, src: 0x00078200, des: 0x01768000, size: 0x000d0000, part: 0
0.0;M3 CHK:0;cm4_sp_mode 0
MVN_1=0x00000000
MVN_2=0x00000000
[Image: g12b_v1.1.3390-6ac5299 2019-09-26 14:10:05 luan.yuan@droid15-sz]
OPS=0x10
ring efuse init
chipver efuse init
29 0b 10 00 01 25 0d 00 00 0b 39 34 43 59 53 50 
[0.018960 Inits done]
secure task start!
high task start!
low task start!
run into bl31
NOTICE:  BL31: v1.3(release):4fc40b1
NOTICE:  BL31: Built : 15:58:17, May 22 2019
NOTICE:  BL31: G12A normal boot!
NOTICE:  BL31: BL33 decompress pass
ERROR:   Error initializing runtime service opteed_fast


U-Boot 2015.01 (Jun 25 2021 - 09:43:06)

DRAM:  3.8 GiB
Relocation Offset is: d6e42000
spi_post_bind(spifc): req_seq = 0
register usb cfg[0][1] = 00000000d7f39210
aml_i2c_init_port init regs for 0
MCU version: 0x00 0x03
MCU version is to low! Doesn't support froce boot from SD card.
MMC:   aml_priv->desc_buf = 0x00000000d3e32a70
aml_priv->desc_buf = 0x00000000d3e34db0
SDIO Port B: 0, SDIO Port C: 1
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, status=0x3ff2800
emmc/sd response timeout, cmd55, status=0x3ff2800
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x1, tx-dly 0, clock 40000000
aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x2000
[mmc_startup] mmc refix success
init_part() 282: PART_TYPE_DOS
[mmc_init] mmc init success
start dts,buffer=00000000d3e37620,dt_addr=00000000d3e37620
get_partition_from_dts() 91: ret 0
parts: 3
00:      logo   0000000000800000 1
01:   ramdisk   0000000002000000 1
02:    rootfs   ffffffffffffffff 4
init_part() 282: PART_TYPE_DOS
eMMC/TSD partition table have been checked OK!
crc32_s:0x1577dad == storage crc_pattern:0x1577dad!!!
crc32_s:0xee152b83 == storage crc_pattern:0xee152b83!!!
crc32_s:0x79f50f07 == storage crc_pattern:0x79f50f07!!!
mmc env offset: 0x6c00000 
In:    serial
Out:   serial
Err:   serial
reboot_mode=cold_boot
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-3477: calc d3c2dc6f, store d3c2dc6f
_verify_dtb_checksum()-3477: calc d3c2dc6f, store d3c2dc6f
dtb_read()-3694: total valid 2
update_old_dtb()-3675: do nothing
aml_i2c_init_port init regs for 0
fusb302_init: Device ID: 0x91
CC connected in 1 as UFP
fusb302 detect chip.port_num = 0

amlkey_init() enter!
[EFUSE_MSG]keynum is 1
vpu: clk_level in dts: 7
vpu: vpu_power_on
vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
vpu: vpu_module_init_config
vpp: vpp_init
vpp: vpp osd2 matrix rgb2yuv..............
cvbs: cpuid:0x29
LCD_RESET PIN: 0
lcd: detect mode: tablet, key_valid: 0
lcd: detect lcd_clk_path: 1
lcd: load config from dts
lcd: pinctrl_version: 2
lcd: use panel_type=lcd_0
lcd: bl: pinctrl_version: 2
lcd: bl: name: backlight_pwm, method: 1
lcd: bl: aml_bl_power_ctrl: 0
Net:   dwmac.ff3f0000
amlkey_init() enter!
amlkey_init() 71: already init!
[EFUSE_MSG]keynum is 1
MACADDR:02:00:00:0d:25:01(from chipid)

upgrade_step=0
reboot_mode:::: cold_boot

amlkey_init() enter!
amlkey_init() 71: already init!
[EFUSE_MSG]keynum is 1
[KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet

mac address: c8:63:14:71:3f:bf
[KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet
edid preferred_mode is <NULL>[0]
hdr mode is 0
dv  mode is ver:0  len: 0
hdr10+ mode is 0
HDMI cable is NOT connected
hpd_state=0
[OSD]load fb addr from dts:/meson-fb
[OSD]set initrd_high: 0x7f800000
[OSD]fb_addr for logo: 0x7f800000
[OSD]load fb addr from dts:/meson-fb
[OSD]fb_addr for logo: 0x7f800000
[OSD]VPP_OFIFO_SIZE:0xfff01fff
[CANVAS]canvas init
[CANVAS]addr=0x7f800000 width=5760, height=2160
card in
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 40000000
aml_sd_retry_refix[983]:delay = 0x0,gadjust =0xc2000
[mmc_startup] mmc refix success
init_part() 282: PART_TYPE_DOS
[mmc_init] mmc init success
** Invalid partition 2 **
** Invalid partition 2 **
** Invalid partition 5 **
cvbs: outputmode[panel] is invalid
hdmitx: outputmode[panel] is invalid
vpp: vpp_matrix_update: 0
vpp: g12a/b post2(bit12) matrix: YUV limit -> RGB ..............
lcd: enable: TS050, mipi, 1080x1920@47.6Hz
lcd: tablet driver init(ver 20180718): mipi
lcd: lcd_pll_wait_lock: pll_lock=1, wait_loop=1
vpp: vpp_init_lcd_gamma_table
lcd: pixel_clk = 120.000MHz, bit_rate = 960.000MHz, lanebyteclk = 120.000MHz
lcd:  Waiting STOP STATE LANE
lcd: dsi init on
lcd: bl: set level: 100, last level: 0
lcd: bl: aml_bl_power_ctrl: 1
lcd: clear mute
vpp: Rx hdr_info.hdr_sup_eotf_smpte_st_2084 = 0

amlkey_init() enter!
amlkey_init() 71: already init!
[EFUSE_MSG]keynum is 1
[KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet

mac address: c8:63:14:71:3f:bf
[KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet
gpio: pin GPIOAO_7 (gpio 7) value is 1
saradc: 0x28b, hw_ver: 0x32 (VIM3.V12)
Product checking: pass! Hardware version: VIM3.V12
normal power on
boot wol: disable
port mode is pcie
Hit Enter or space or Ctrl+C key to stop autoboot -- :  0 
�G12B:BL:6e7c85:2a3b91;FEAT:E0F83180:402000;POC:D;RCY:0;USB:0;0.
                                                                bl2_stage_init 0x0b
bl2_stage_init 0x01
bl2_stage_init 0x81
hw id: 0x0000 - pwm id 0x01
bl2_stage_init 0xc1
bl2_stage_init 0x02

L0:00000000
L1:20000703
L2:00008067
L3:14000000
B2:00402000
B1:e0f83180

TE: 1140093878

BL2 Built : 13:06:49, Oct 31 2023. g12b origin/master gde3faa4b - jenkins@walle02-sh

Board ID = 8
Set A53 clk to 24M
Set A73 clk to 24M
Set clk81 to 24M
A53 clk: 1200 MHz
A73 clk: 1200 MHz
CLK81: 166.6M
smccc: 43f4c168
storage init finish
board id: 8
Cfg max: 12, cur: 1. Board id: 255. Force loop cfg
DATA transfer complete...
Get wrong ddr fw magic! Error!!
fw parse done
DATA transfer complete...
AML DDR FW load done
DATA transfer complete...
PIEI prepare done
LPDDR4 probe

LPDDR4_PHY_V_0_1_22-Built : 18:05:07, Oct 31 2020. g12b g2165977 - zhiguang.ouyang@droid07-sz
ddr clk to 1608MHz
DATA transfer complete...

dmc_version 0001
Check phy result
INFO : End of CA training
INFO : End of initialization
INFO : Training has run successfully!
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 read delay center optimization
INFO : Training has run successfully!
Check phy result
INFO : End of initialization
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 init succeed
DATA transfer complete...
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!

soc_vref_reg_value 0x 00000027 00000027 00000027 00000027 00000027 00000026 00000026 00000026 00000028 00000026 00000024 00000026 00000027 00000026 00000026 00000026 00000028 00000026 00000 
 dram_vref_reg_value 0x 00000013
2D init succeed
ddr init done, boot next stage
result report
auto size-- 65535DDR cs0 size: 2048MB
DDR cs1 size: 2048MB
DMC_DDR_CTRL: 00e00024DDR size: 3920MB
cs0 DataBus test pass
cs1 DataBus test pass
cs0 AddrBus test pass
cs1 AddrBus test pass
DATA transfer complete...
DATA transfer complete...
Data req end
DATA transfer complete...
RUN bl2 usb boot
0.0;M3 CHK:0;cm4_sp_mode 0
OPS=0x10
ring efuse init
chipver efuse init
[Image: g12b_v1.1.3539-1742b9701d 2023-07-14 08:54:08 jenkins@walle02-sh]
29 0b 10 00 01 25 0d 00 00 0b 39 34 43 59 53 50 
[0.015752 Inits done]
secure task start!
high task start!
low task start!
run into bl31
NOTICE:  BL31: v1.3(release):fafc2808a6
NOTICE:  BL31: Built : 09:41:38, Nov  2 2023. g12b origin/master gfafc2808a6 - jenkins@walle02-sh
NOTICE:  BL31: G12A normal boot!
NOTICE:  BL31: BL33 decompress pass
ERROR:   Error initializing runtime service opteed_fast


U-Boot 2015.01 (Jan 12 2024 - 09:41:01)

DRAM:  3.8 GiB
Relocation Offset is: d6ddf000
spi_post_bind(spifc): req_seq = 0
[MSG]MMC init in usb
aml_priv->desc_buf = 0x00000000d1dcfa70
aml_priv->desc_buf = 0x00000000d1dd1dc0
SDIO Port B: 0, SDIO Port C: 1
InUsbBurn
wait for phy ready count is 0
[MSG]sof
Set Addr 17
Get DT cfg
Get DT cfg
BULKcmd[     echo 12345]
12345
[MSG]ret = 0
[info]success
tplcmd[download mem dtb normal 0x1A460]
[MSG]Down(mem) part(dtb) sz(0x1a460) fmt(normal)
[MSG]totalSlotNum = 0, nextWriteBackSlot 2
[info]success
Set Addr 18
Get DT cfg
Get DT cfg
BULKcmd[     disk_initial 1]
[WRN]dtb is not loaded yet
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, cmd->cmdarg=0x1aa, status=0x3ff2800
emmc/sd response timeout, cmd55, cmd->cmdarg=0x0, status=0x3ff2800
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x1, tx-dly 0, clock 40000000
[set_emmc_calc_fixed_adj][860]find fixed adj_delay=20
init_part() 282: PART_TYPE_DOS
[mmc_init] mmc init success
start dts,buffer=00000000d1dd57d0,dt_addr=00000000d1dd57d0
get_partition_from_dts() 82: ret 0
parts: 3
00:      logo   0000000000800000 1
01:   ramdisk   0000000002000000 1
02:    rootfs   ffffffffffffffff 4
_cmp_iptbl()-635: partition count is not same 1:6
_check_ptbl_mbr()-878: MBR is Improper!
mmc_device_init()-1718: MBR Updated!
init_part() 282: PART_TYPE_DOS
eMMC/TSD partition table have been checked OK!
crc32_s:0x1577dad == storage crc_pattern:0x1577dad!!!
crc32_s:0xee152b83 == storage crc_pattern:0xee152b83!!!
crc32_s:0x79f50f07 == storage crc_pattern:0x79f50f07!!!
XXXXXXX======enter EMMC boot======XXXXXX
co-phase 0x1, tx-dly 0, clock 40000000
co-phase 0x1, tx-dly 0, clock 40000000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, cmd->cmdarg=0x1aa, status=0x3ff2800
emmc/sd response timeout, cmd55, cmd->cmdarg=0x0, status=0x3ff2800
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x1, tx-dly 0, clock 40000000
[set_emmc_calc_fixed_adj][860]find fixed adj_delay=20
init_part() 282: PART_TYPE_DOS
[mmc_init] mmc init success
switch to partitions #0, OK
mmc1(part 0) is current device
Device: SDIO Port C
Manufacturer ID: 15
OEM: 100
Name: BJTD4 
Tran Speed: 52000000
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: (0x747c00000 Bytes) 29.1 GiB
mmc clock: 40000000
Bus Width: 8-bit
[store]amlmmc erase 1emmckey_is_protected(): protect
bootloader partition is erased: start = 0x0,end = 0x1fff
reserved   partition is protected
env        partition is erased: start = 0x36000,end = 0x39fff
logo       partition is erased: start = 0x3e000,end = 0x41fff
ramdisk    partition is erased: start = 0x46000,end = 0x55fff
rootfs     partition is erased: start = 0x5a000,end = 0x3a3dfff
Erasing blocks 0 to 8192 @ boot0
start = 0x0,end = 0x1fff
Erasing blocks 0 to 8192 @ boot1
start = 0x0,end = 0x1fff
[MSG]usb producing env_relocate
mmc env offset: 0x6c00000 
*** Warning - bad CRC, using default environment

Saving Environment to aml-storage...
mmc env offset: 0x6c00000 
Writing to MMC(1)... done
[info]success
Try connect time out 20001, 20000, 50409
register usb cfg[0][1] = 00000000d7f277b0
aml_i2c_init_port init regs for 0
MCU version: 0x00 0x03
MCU version is to low! Doesn't support froce boot from SD card.
MMC:   aml_priv->desc_buf = 0x00000000d1de0550
aml_priv->desc_buf = 0x00000000d1de28a0
SDIO Port B: 0, SDIO Port C: 1
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, cmd->cmdarg=0x1aa, status=0x3ff2800
emmc/sd response timeout, cmd55, cmd->cmdarg=0x0, status=0x3ff2800
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x1, tx-dly 0, clock 40000000
[set_emmc_calc_fixed_adj][860]find fixed adj_delay=20
init_part() 297: PART_TYPE_AML
[mmc_init] mmc init success
mmc env offset: 0x6c00000 
In:    serial
Out:   serial
Err:   serial
board common misc_init
aml log : internal sys error!
reboot_mode=cold_boot
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-3524: calc d3c2dc6f, store d3c2dc6f
_verify_dtb_checksum()-3524: calc d3c2dc6f, store d3c2dc6f
dtb_read()-3739: total valid 2
update_old_dtb()-3720: do nothing
aml_i2c_init_port init regs for 0
fusb302_init: Device ID: 0x91
CC connected in 1 as UFP
fusb302 detect chip.port_num = 0
gpio: pin GPIOA_13 (gpio 77) value is 1
gpio: pin GPIOA_13 (gpio 77) value is 0
gpio: pin GPIOA_8 (gpio 72) value is 0

amlkey_init() enter!
calc 5ed17323e1, store 0
cpy 1 is not valid
calc 5ed17323e1, store 0
cpy 0 is not valid
[EFUSE_MSG]keynum is 1
board_set_boot_source, boot_source: usb
vpu: clk_level in dts: 7
vpu: vpu_power_on
vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
vpu: vpu_module_init_config
vpp: vpp_init
vpp: vpp osd2 matrix rgb2yuv..............
hdr_func 4, hdr_process_select 0x20000001
hdr_func 1, hdr_process_select 0x1
hdr_func 2, hdr_process_select 0x1
cvbs: cpuid:0x29
vdac_gsw_init: 0x0
cvbs: find performance_pal config
LCD_RESET PIN: 0
lcd: lcd_debug_print flag: 0
lcd: detect mode: tablet, key_valid: 0
lcd: detect lcd_clk_path: 1
lcd: load config from dts
lcd_phy_probe
lcd: pinctrl_version: 2
lcd: use panel_type=mipi_0
lcd: error: not find /lcd/mipi_0 node: FDT_ERR_NOTFOUND
lcd: error: lcd_pinmux_load_from_bsp: invalid lcd type
lcd: error: Out of clock range, reset to default setting!
lcd: error: bl: failed to get bl_power_attr
lcd: bl: pinctrl_version: 2
lcd: bl: name: backlight_pwm, method: 1
lcd: bl: aml_bl_power_ctrl: 0
buff: 5053594334390b0d2501
Net:   sysnopsys gmac3.7
dwmac.ff3f0000
amlkey_init() enter!
amlkey_init() 59: already init!
[EFUSE_MSG]keynum is 1
MACADDR:02:00:00:0d:25:01(from chipid)

ramdump_init, add:0, size:0
upgrade_step=0
aml log : internal sys error!
reboot_mode:::: cold_boot
s_version: 01.01.240112.094101
U-Boot 2015.01 (Jan 12 2024 - 09:41:01)

amlkey_init() enter!
amlkey_init() 59: already init!
[EFUSE_MSG]keynum is 1
[KM]Error:f[key_manage_query_size]L528:key[usid] not programed yet

mac address: c8:63:14:71:3f:bf
[KM]Error:f[key_manage_query_size]L528:key[deviceid] not programed yet
hpd_state=0
do_hpd_detect: hdmimode=1080p60hz
do_hpd_detect: colorattribute=444,8bit
no sink, fallback to 720p60hz[4]
hdr mode is 0
dv  mode is ver:0  len: 0
hdr10+ mode is 0
HDMI HPD low, no need parse EDID
dolby_status 0 1
dolby_vision_process: no tv and dv disabled
osd: hpd_state=0
[OSD]using fb_for_4k2k 0
[OSD]load fb addr from dts:/meson-fb
[OSD]set initrd_high: 0x7f800000
[OSD]fb_addr for logo: 0x7f800000
[OSD]load fb addr from dts:/meson-fb
[OSD]fb_addr for logo: 0x7f800000
[OSD]VPP_OFIFO_SIZE:0xfff01fff
[CANVAS]canvas init
[CANVAS]addr=0x7f800000 width=5760, height=2160
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
[OSD]osd_hw.free_dst_data: 0,719,0,575
[OSD]osd1_update_disp_freescale_enable
vpp: vpp_matrix_update: 2
cvbs_performance_enhancement
cvbs_config_hdmipll_g12a
cvbs_set_vid2_clk
vdac_enable: 1, module_sel:0x8
dolby_status 0 1
dolby_status 0 1
hdr_packet
vpp: hdr_policy = 0
vpp: Rx hdr_info.hdr_sup_eotf_smpte_st_2084 = 0
s_version: 01.01.240112.094101
U-Boot 2015.01 (Jan 12 2024 - 09:41:01)

amlkey_init() enter!
amlkey_init() 59: already init!
[EFUSE_MSG]keynum is 1
[KM]Error:f[key_manage_query_size]L528:key[usid] not programed yet

mac address: c8:63:14:71:3f:bf
[KM]Error:f[key_manage_query_size]L528:key[deviceid] not programed yet
gpio: pin GPIOAO_7 (gpio 7) value is 1
saradc: 0x28b, hw_ver: 0x32 (VIM3.V12)
Hardware version: VIM3.V12
normal power on
boot wol: disable
port mode is pcie
Hit Enter or space or Ctrl+C key to stop autoboot -- :  0 
## Error: "bootcmd_spi" not defined
(Re)start USB...
USB0:   USB3.0 XHCI init start
Register 3000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

USB device 0: unknown device
card in
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 40000000
init_part() 282: PART_TYPE_DOS
[mmc_init] mmc init success
switch to partitions #0, OK
mmc0 is current device
1
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
co-phase 0x1, tx-dly 0, clock 40000000
co-phase 0x1, tx-dly 0, clock 40000000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, cmd->cmdarg=0x1aa, status=0x3ff2800
emmc/sd response timeout, cmd55, cmd->cmdarg=0x0, status=0x3ff2800
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x1, tx-dly 0, clock 40000000
[set_emmc_calc_fixed_adj][860]find fixed adj_delay=20
init_part() 297: PART_TYPE_AML
[mmc_init] mmc init success
switch to partitions #0, OK
mmc1(part 0) is current device
** Partition 6 not found on device 1 **
** Partition 7 not found on device 1 **
** Partition 8 not found on device 1 **
** Partition 9 not found on device 1 **
....
** Partition 40 not found on device 1 **
** Partition 41 not found on device 1 **
...
** Partition 62 not found on device 1 **
** Partition 63 not found on device 1 **
1 2 3 4 5
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
pll tsensor avg: 0x1eb7, u_efuse: 0x80cf
temp1: 25
ddr tsensor avg: 0x1f2d, u_efuse: 0x8140
temp2: 27
device cool done
cfgload: start ...
cfgload: reading /boot.ini from mmc 0:1 ...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
cfgload: no /boot.ini or empty file on mmc 0:1
cfgload: reading /boot/boot.ini from mmc 0:1 ...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
cfgload: no /boot/boot.ini or empty file on mmc 0:1
cfgload: reading /boot.ini from mmc 1:1 ...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
cfgload: no /boot.ini or empty file on mmc 1:1
cfgload: reading /boot/boot.ini from mmc 1:1 ...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
cfgload: no /boot/boot.ini or empty file on mmc 1:1
cfgload: reading /boot/boot.ini from mmc 1:5 ...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
cfgload: no /boot/boot.ini or empty file on mmc 1:5
cfgload: failed to read boot.ini on all partitions!
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Partition 6 not found on device 1 **
** Invalid partition 6 **
** Partition 7 not found on device 1 **
** Invalid partition 7 **
** Partition 8 not found on device 1 **
** Invalid partition 8 **
** Partition 9 not found on device 1 **
** Invalid partition 9 **
** Partition 10 not found on device 1 **
** Invalid partition 10 **
** Partition 11 not found on device 1 **
** Invalid partition 11 **
** Partition 12 not found on device 1 **
** Invalid partition 12 **
** Partition 13 not found on device 1 **
** Invalid partition 13 **
** Partition 14 not found on device 1 **
** Invalid partition 14 **
** Partition 15 not found on device 1 **
** Invalid partition 15 **
** Partition 16 not found on device 1 **
** Invalid partition 16 **
** Partition 17 not found on device 1 **
** Invalid partition 17 **
** Partition 18 not found on device 1 **
** Invalid partition 18 **
** Partition 19 not found on device 1 **
** Invalid partition 19 **
** Partition 20 not found on device 1 **
** Invalid partition 20 **
** Partition 21 not found on device 1 **
** Invalid partition 21 **
** Partition 22 not found on device 1 **
** Invalid partition 22 **
** Partition 23 not found on device 1 **
** Invalid partition 23 **
** Partition 24 not found on device 1 **
** Invalid partition 24 **
InUsbBurn
wait for phy ready count is 0
sof timeout, reset usb phy tuning
[MSG]sof
Set Addr 19
Get DT cfg
Get DT cfg
Try connect time out 1001, 1000, 78051
Device: SDIO Port C
Manufacturer ID: 15
OEM: 100
Name: BJTD4 
Tran Speed: 52000000
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: (0x747c00000 Bytes) 29.1 GiB
mmc clock: 40000000
Bus Width: 8-bit
** Unrecognized filesystem type **
Device: SDIO Port C
Manufacturer ID: 15
OEM: 100
Name: BJTD4 
Tran Speed: 52000000
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: (0x747c00000 Bytes) 29.1 GiB
mmc clock: 40000000
Bus Width: 8-bit
** Unrecognized filesystem type **
** Unrecognized filesystem type **
(Re)start USB...
USB0:   USB3.0 XHCI init start
Register 3000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 0 **
aml log : internal sys error!
Start read misc partition datas!
get partition info failed !!
Magic  is incorrect.
boot-info is invalid. Try VAB.
Magic 0x0 is incorrect.
boot-info is invalid. Resetting.
save boot-info
Cannot find dev.
amlmmc cmd failed 

store - STORE sub-system

Usage:
store init flag
store read name addr off|partition size
    read 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store write name addr off|partition size
......
store bootlog
   show boot logs

[burnup]Err:store_write_ops,L153:cmd [store  write misc 0xd1dccc30  0x0  0x820] failed active slot = 0
set vendor_boot_mode false
active_slot: normal
[imgread]read from part: recovery
get partition info failed !!
get partition info failed !!
amlmmc - AMLMMC sub system

Usage:
amlmmc read  <partition_name> ram_addr addr_byte# cnt_byte
...
amlmmc boot_wp_status send boot write protect status
amlmmc ds <dev_num> <val> set driver strength
amlmmc key - disprotect key partition

amlmmc cmd failed
store - STORE sub-system

Usage:
store init flag
store read name addr off|partition size
    read 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store write name addr off|partition size
    write 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store rom_write add off size.
        write uboot to the boot device
store erase boot/data: 
        erase the area which is uboot or data 
store erase partition <partition_name>: 
        erase the area which partition in u-boot 
store erase dtb 
store erase key 
store disprotect key 
store rom_protect on/off 
store scrub off|partition size
        scrub the area from offset and size 
store dtb iread/read/write addr <size>
        read/write dtb, size is optional 
store key read/write addr <size>
        read/write key, size is optional 
store ddr_parameter read/write addr <size>
        read/write ddr parameter, size is optional 
store mbr addr
   update mbr/partition table by dtb
store bootlog
   show boot logs

[burnup]Err:store_get_partition_size,L202:cmd [store  size init_boot 0x00000000d1dcd088 ] size failed Err imgread(L538):Fmt unsupported!genFmt 0x0 != 0x3
dwmac.ff3f0000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
dwmac.ff3f0000: No link.
Retrieving file: pxelinux.cfg/00000000-0000-0000-0000-000000000000
dwmac.ff3f0000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
dwmac.ff3f0000: No link.
Retrieving file: pxelinux.cfg/01-02-00-00-0d-25-01
dwmac.ff3f0000 Waiting for PHY auto negotiation to complete...�G12B:BL:6e7c85:2a3b91;FEAT:E0F83180:402000;POC:D;RCY:0;USB:0;

This is the first time I’ve done it not via USB.
Usually I do it via an SD-card setup but I don’t know where my card :confused:

@ronron

Try this firmware,I suspect it is caused by unstable connection.
https://dl.khadas.com/products/vim3/firmware/ubuntu/emmc/vim3-ubuntu-22.04-gnome-linux-5.15-fenix-1.6.3-240112-emmc.img.xz

I tried with a Dell Dock and with a Khadas edge V1. It didn’t go well.

But I think I found my little ones. I downloaded the Krescue (dl.khadas.com - Index of /firmware/Krescue/dump/). From memory, I didn’t have any problems.

I see that as soon as I have internet connection but it seems good to me.