VIM4 Stuck in a bootloop

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

Ubuntu

Which version of system do you use? Khadas official images, self built images, or others?

Khadas Official Images

Please describe your issue below:

My VIM4 has been stuck in a bootloop (attached the serial console logs below). I have tried booting into oowow and reflashing, but that did not help. The new OS boots the first time, but never boots again. I have also tried flashing the VIM4 via USB-C but that resulted into the same errors. I have also tried other ubuntu images without a good result.

I have an attached NVME drive – I also tried removing it and retrying the whole process, that did not help either.

Post a console log of your issue below:

Bl2_early_platform_setup: indicates bl2ex flow!

OTP_LIC00 : 0f0300000000ff1f2f000b0000000000
OTP_LIC10 : 008207000001fc000c00001000000300
OTP_LIC20 : ffffffbfffff0700ff80008003000003
OTP_LIC30 : 00000002010000008f03000203000000

TE: 328433

BL2 Built : 09:58:05, Nov 19 2021. t7 griscure-review-sc2-bl2-10272020-2-102-g199647c - jenkins@walle02-sh

Board ID = 5
Set sys clock to 24Mhz
syspll is 1512Mhz. Locked
sys1pll is 1608Mhz. Locked
Set sys clock to 167Mhz
gp0pll is 0Mhz. Locked
bl2_platform_setup
boot area list: 
1STBLOB	00000200	00040000
BL2E	00040200	00013000
BL2X	00053200	00011000
DDRFIP	00064200	00040000
DEVFIP	000a4200	00300000
s_setup from rom:00010081
dma mode
derive RSPK OK
DDR driver_vesion: AML_S_PHY_T7_1_10 build time: Nov 19 2021 09:57:58
ddr id: 0
ddr clk to 2016MHz
PIEI done
Cfg max: 2, cur: 1. Board id: 255. Force loop cfg
LPDDR4 probe
ddr clk to 2016MHz
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 write delay center optimization
INFO : End of read delay center optimization
INFO : End of max read latency training
INFO : Training has run successfully!
ch0 1D training succeed
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 write delay center optimization
INFO : End of read delay center optimization
INFO : End of max read latency training
INFO : Training has run successfully!
ch1 1D training succeed
Check phy result
INFO : End of initialization
INFO : End of 2D write delay Voltage center optimization
INFO : End of 2D write delay Voltage center optimization
INFO : End of 2D read delay Voltage center optimization
INFO : End of 2D read delay Voltage center optimization
INFO : Training has run successfully!
2d_training Time: 359621 us

R0_Rx=9 steps R0_Tx=10 steps Vref_Margin_R0=18 Dramvref_Margin_R0=21
R0_Rx=11 steps R0_Tx=10 steps Vref_Margin_R0=19 Dramvref_Margin_R0=21
soc_vref_reg_value 0x 00000020 00000020 00000020 00000020 00000020 00000020 00000020 00000020 00000020 00000020 00000021 00000021 00000022 00000021 00000021 00000021 0000001f 00000020 00000022 0000001f 00000020 00000020 00000022 00000020 00000021 00000021 00000020 00000021 00000020 00000021 00000021 00000020
dram_verdor_id=00000006 dram_vref_reg_value 0x 00000008
Ch0 2D training succeed
Check phy result
INFO : End of initialization
INFO : End of 2D write delay Voltage center optimization
INFO : End of 2D write delay Voltage center optimization
INFO : End of 2D read delay Voltage center optimization
INFO : End of 2D read delay Voltage center optimization
INFO : Training has run successfully!
2d_training Time: 359653 us

R0_Rx=10 steps R0_Tx=9 steps Vref_Margin_R0=17 Dramvref_Margin_R0=18
R0_Rx=11 steps R0_Tx=10 steps Vref_Margin_R0=19 Dramvref_Margin_R0=21
soc_vref_reg_value 0x 0000001f 00000020 00000020 00000020 00000021 00000020 00000020 00000020 00000021 00000021 00000022 00000021 00000022 00000020 00000020 0000001f 0000001f 00000020 00000020 00000020 0000001f 0000001f 00000022 00000020 00000020 0000001f 00000020 00000021 00000021 00000021 00000022 00000020
dram_verdor_id=00000006 dram_vref_reg_value 0x 00000008
ch1 2D training succeed

100bdlr_step_size ps== 420

100bdlr_step_size ps== 420

finnal_config_axi
finnal_config_axiset_cci_config:
cpu0_gic_init done
start ao cpu:
Wait AO...done.
debug_read..
SYSCTRL_CCI_CFG1==ffff3fff
SYSCTRL_CCI_CFG9==aaaaaaaa
SYSCTRL_NOC_CFG0==00000000
dram_size_config==10001000ap ao cmd ok
DDR cs0 size: 2048MB
DDR cs1 size: 2048MB
DMC_DDR_CTRL: 00e00044DDR size: 3584MB
DDR cs0 size: 2048MB
DDR cs1 size: 2048MB
DMC_DDR_CTRL: 00e00044DDR size: 3584MB
result report
boot times 0
non-sec scramble use random key
scramble use random key
ddr scramble enabled

INFO: bl2_load_bl2ex start!
INFO: load ...
Load: BL2E From: eMMC - 3.0 src: 00002000, dst: 00fffff0, size: 00011000
sdemmc src: ;
INFO: check ...
SHA CHK OK!

aml log : dump from buffer 01000000
63 74 b5 ac 84 2d a1 63 4a b6 52 4c 70 57 9e 48
1a ee 69 55 a5 ad 4d ba 84 8b a7 20 b6 47 92 a6

INFO: load ...
Load: BL2X From: eMMC - 3.0 src: 00000000, dst: 007ffff0, size: 00011000
sdemmc src: ;
INFO: check ...
SHA CHK OK!

aml log : dump from buffer 00800000
f6 9e 91 f8 47 52 9b 19 51 2d bb 65 63 02 75 82
05 46 4b ea de 84 32 f9 de 4c 9d 37 8f 1f 8d 1c

run into bl2e
info: get valid params from BL2 !
BL2E: do things as vendor specific ... 
Hello world, now in BL2E

TE: 1229043

BL2E Built : 16:12:42, Nov 18 2021. t7 g6c37c5b - jenkins@walle02-sh


 Start to do bl2e platform setup !
boot area list: 
1STBLOB	00000200	00040000
BL2E	00040200	00013000
BL2X	00053200	00011000
DDRFIP	00064200	00040000
DEVFIP	000a4200	00300000
eMMC boot @ 0
sw-hs2 s
tun-w: s=0, sz=3
sw8 s
aml log : BL2E load BL3X.....

TE: 1234150
Load FIP HDR from eMMC, src: 0x00000000, des: 0x00300000, size: 0x00008000, part: 0
Load BL3X from eMMC, src: 0x00008000, des: 0x00308000, size: 0x0026c260, part: 0
bl30 payload size: 0x00010260
bl30 memcpy 
info: process payload 0  bl3x_toc: 0x00300020  bl3x_data: 0x00308000  rc=150
bl40 payload size: 0x00018470
info: process payload 1  bl3x_toc: 0x00300048  bl3x_data: 0x00319000  rc=194
bl31 payload size: 0x00040470
info: process payload 2  bl3x_toc: 0x00300070  bl3x_data: 0x00332000  rc=217
bl32 payload size: 0x00080470
info: process payload 3  bl3x_toc: 0x00300098  bl3x_data: 0x00373000  rc=252
bl33 memcpy
bl33 payload size: 0x00180260 offset: 0x000f4000
info: process payload 4  bl3x_toc: 0x003000c0  bl3x_data: 0x003f4000  rc=276
info: process payload 5  bl3x_toc: 0x003000e8  bl3x_data: 0x003001e0  rc=150
info: process payload 6  bl3x_toc: 0x00300110  bl3x_data: 0x00300fe0  rc=194
info: process payload 7  bl3x_toc: 0x00300138  bl3x_data: 0x00301de0  rc=217
info: process payload 8  bl3x_toc: 0x00300160  bl3x_data: 0x00302be0  rc=252
info: process payload 9  bl3x_toc: 0x00300188  bl3x_data: 0x003039e0  rc=276
info: process payload 10  bl3x_toc: 0x003001b0  bl3x_data: 0x003047e0  rc=324
aml log : BL2E loading BL3X is done...!
boot bl2x
params to bl2x, address=0x0100d190


 Hello, we are in BL2X world !

TE: 1296396

BL2X Built : 11:32:45, Nov 17 2021. t7 griscure-review-s4-bl2x-04052021-39-gc8390e2 - jenkins@walle02-sh

bl2_platform_setup
INFO: get valid list_blobinfo, 0x0100d190
Info: get valid bl31 payload info, address= 0x00332000 size= 0x00040470
Info: bl31 image is now ready !
Info: get valid bl40 payload info, address= 0x00319000 size= 0x00018470

FEAT_DISABLE_SECURE_ENCLAVE: 1
bl2e_2 entry: 010000c0
run into bl31
NOTICE:  BL31: v1.3(release):ea6fcefb6
NOTICE:  BL31: Built : 16:30:31, May  7 2022. t7 remotes/firmware/amlogic-dev-1.3 gea6fcefb6 - jenkins@walle02-sh
BL31:tsensor calibration: tsensor1 = 960000bc
BL31:tsensor calibration: tsensor2 = 96000098
BL31:tsensor calibration: tsensor3 = 96000113
BL31:tsensor calibration: tsensor4 = 960000d9
BL31:tsensor calibration: tsensor5 = 960000cb
BL31:tsensor calibration: tsensor6 = 9600010e
[mhu]: mhu_init-v1
[mhu]: 0xfe007100, 0x12120210
[mhu]: 0xfe007104, 0x12121002
[mhu]: 0xfe00710c, 0xa0a0802
[mhu]: 0xfe007118, 0x12120210
[mhu]: 0xfe00711c, 0x12121002
[mhu]: 0xfe007120, 0x10101010
[mhu]: 0xfe007124, 0x10101010
[mhu]: 0xfe007020, 0x3
[mhu]: 0xfe007028, 0x10
[mhu]: 0xfe007024, 0x8
[mhu]: 0xfe00702c, 0x10
[mhu]: 0xfe007040, 0x9089
[mhu]: 0xfe007044, 0x0
[mhu]: 0xfe007048, 0x660
[mhu]: 0xfe00704c, 0x0
[mhu]: 0xfe007050, 0x90006
[mhu]: 0xfe007054, 0x0
[mhu]: 0xfe007058, 0x66000
[mhu]: 0xfe00705c, 0x0
[mhu]: mhu_init-v1 1230 done
DEVICE_MVN=0x0
NOTICE:  BL31: T7 normal boot!
NOTICE:  BL31: BL33 decompress pass
E/TC:0 00 INFO:    BL3-2: ATOS-V3.8.0-f2920004e (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 Fri May  6 03:04:21 UTC 2022 arm
E/TC:0 00 INFO:    BL3-2: secure time TEE
E/TC:0 00 INFO:    BL3-2: Chip: T7 Rev: B (36:B - 0:3)
Hello world again, bl2e meet you guys!
valid entry info for bl33, pc = 0x00000000
======== smc start aocpu ========

Starting AOCPU FreeRTOS...
AOCPU image version='khadas-vims-v2019.01 fe4a7b05c81f2bbfe6600c2c31b28d446e9da12f 17:15:43 2022-07-21'
AOCPU_IRQ_SEL=0x0
AOCPU_IRQ_SEL=0x0
AOCPU_IRQ_SEL=0x0
AOCPU_IRQ_SEL=0x0
[AOCPU]: mailbox init start
reg idx=0 cmd=6 handler=f71f2ce6
reg idx=1 cmd=7 handler=f71f2cd0
[AOCPU]: mailbox init end
[AOCPU Led]: leds state init!
reg idx=2 cmd=f7 handler=f71f196a
[AOCPU Led]: Starting leds task ...
Starting timer ...
reg idx=3 cmd=b4 handler=f71f33b6
reg idx=4 cmd=b5 handler=f71f334e
reg idx=5 cmd=b6 handler=f71f2e80
reg idx=6 cmd=bb handler=f71f2e40
reg idx=7 cmd=bc handler=f71f2e60
reg idx=8 cmd=11 handler=f71ef094
reg idx=9 cmd=12 handler=f71ef0b6
reg idx=10 cmd=4 handler=f71f5e1c
reg idx=11 cmd=30 handler=f71f5de6
reg idx=12 cmd=31 handler=f71f5df6
reg idx=13 cmd=40 handler=f71f5dfa
reg idx=14 cmd=f9 handler=f71f5e54
Starting task scheduler ...
boot bl33 !
env_init: Environment STORAGE init done (ret=-2)


U-Boot 2019.01 (Jul 21 2022 - 17:15:40 +0800)

DRAM:  3.5 GiB
Relocation Offset is: df5d2000
Relocating to df5d2000, new gd at d95c1dc8, sp at d95c1db0
board init
watchdog disable
fusb302_init: Device ID: 0x91
CC connected in 1 as UFP
charge ic max_vol = 12000mv max_cur = 6000ma
chip->pos_power = 2, chip->pd_output_vol=9000  chip->pd_output_cur=2000
fusb302 detect chip.port_num = 0
gpio: pin GPIOH_4 (gpio 152) value is 1
Setting bus to 6
[meson_mmc_probe]sd: Controller probe success!
[meson_mmc_probe]emmc: Controller probe success!
emmc: resp timeout, cmd8, status=0x1cf2800
emmc: resp timeout, cmd55, status=0x1cf2800
store flag: 0, types: 1
emmc init success!
boot_device:1
boot_seq:0
boot_bakups:3
rebuid_id :0
boot area list: 
       bl2           200         40000
      bl2e         40200         13000
      bl2x         53200         11000
    ddrfip         64200         40000
    devfip         a4200        300000
emmc: tuning start:
emmc: best_win_start =5, best_win_size =5
emmc: clk = 10000206, dly1 = 0, dly2 = 0, adj = 12000, cfg = 804872
fill_ept_by_gpt: invalid gpt
get_partition_from_dts() 232: ret 0
parts: 1
00:    rootfs	ffffffffffffffff 4
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!!!
emmc probe success
Loading Environment from STORAGE... OK
In:    serial@8000
Out:   serial@8000
Err:   serial@8000
board common misc_init
board late init
upgrade_step 2
device is not ab mode
get_valid_slot - get_valid_slot

Usage:
get_valid_slot 
This command will choose valid slot to boot up which saved in misc
partition by mark to decide whether execute command!
So you can execute command: get_valid_slot
freertos_partName = 
_find_partition_by_name()-200: do not find match in table 
_find_partition_by_name()-200: do not find match in table 
error partition name!
Fail to read from part[freertos] at offset 0
the dtb partition size is:40000   byte
_verify_dtb_checksum()-2947: calc 3465fc08, store 3465fc08
_verify_dtb_checksum()-2947: calc 3465fc08, store 3465fc08
dtb_read()-3162: total valid 2
update_old_dtb()-3143: do nothing
vpu: find AML_VPU_CLK_LEVEL_DFT: 7
vpu: clk_level in dts: 7
vpu: vpu_power_on_new
vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
vpu: vpu_module_init_config
vpu: vpu_probe
limit_res_1080p: 0
enc_idx: 0
vpp: vpp_init, chip_id=54
vpp: set_osd1_rgb2yuv rgb2yuv on = 0..............
vpp: set_osd2_rgb2yuv rgb2yuv on = 0..............
vpp: set_osd3_rgb2yuv rgb2yuv on = 0..............
vpp: T7 osd4 matrix rgb2yuv..............
hdr_func: 0x8, hdr_process_select 0x1
hdr_func: 0x100, hdr_process_select 0x1
hdr_func: 0x1, hdr_process_select 0x1
hdr_func: 0x2, hdr_process_select 0x1
rx trim:0x1001
LCD_RESET PIN: 0
lcd: lcd_debug_print flag: 0
lcd: [0]: detect mode: tablet, key_valid: 0, clk_path: 0
lcd: config load from dts
lcd: [0]: use panel_type=edp_0
lcd: [0]: lcd_clk is 0, default to 60Hz
lcd: [0]: edp_1080p, edp, 8bit, 1920x1080
lcd: [1]: detect mode: tablet, key_valid: 0, clk_path: 0
lcd: config load from dts
lcd: error: [1]: no panel1_type
lcd: [2]: detect mode: tablet, key_valid: 0, clk_path: 0
lcd: config load from dts
lcd: error: [2]: no panel2_type
bl: find en_sequence_reverse: 0
bl: [0]: name: backlight_pwm, method: 1
buff: 9056601109910e05
Start read misc partition datas!
_find_partition_by_name()-200: do not find match in table misc
_find_partition_by_name()-200: do not find match in table misc
error partition name!
00
wrn:efuse_field.data != 1
rebootmode is cold_boot
forUpgrade_socType=36
forUpgrade_secureBoot=false
forUpgrade_robustOta=true
forUpgrade_flashType=BOOT_EMMC
forUpgrade_bootloaderCopies=3
forUpgrade_bootloaderIndex=0
forUpgrade_1stBootIndex=0
Saving Environment to STORAGE... OK
wrn:--read bootloader ok, check valib gpt---
no gpt partition table
rebootstatus is reboot_init, skip check
amlsecurecheck - try bootloader/dtb/recovery secure check

Usage:
amlsecurecheck 
device is not ab mode
update_tries - update_tries

Usage:
update_tries 
This command will change tries_remaining in misc
So you can execute command: update_tries
Net:   pwr up eth
ex-phy
chip num 3
set rgmii
Setting bus to 6
[KM]Msg:key_num: 22
[KM]Msg:normal key used!
the key partition size is:40000   byte
calc 0, store 0
cpy 1 is not valid
calc 0, store 0
cpy 0 is not valid
[KM]Msg:mark is not found
[EFUSE_MSG]keynum is 4
MACADDR:02:ad:36:01:03:80(from sec_reg)
eth0: ethernet@fdc00000
device is not ab mode
get_valid_slot - get_valid_slot

Usage:
get_valid_slot 
This command will choose valid slot to boot up which saved in misc
partition by mark to decide whether execute command!
So you can execute command: get_valid_slot
recovery_status=
upgrade_step=2
check_display reboot_mode : cold_boot ,powermode : on
do_hpd_detect, hpd_state=1
lcd: error: invalid lcd1 config
lcd: error: invalid lcd2 config
vout_hdmi_hpd: hdmimode=2160p60hz
vout_hdmi_hpd: colorattribute=420,10bit
set outputmode: hdmimode=2160p60hz
Dump EDID Rawdata
00ffffffffffff0010ac93a14c594c301d1e0103803c2278ea5095a8544ea526
0f5054a54b00714f8180a9c0a940d1c0e1000101010108e80030f2705a80b058
8a0055502100001e000000ff00463331443531330a2020202020000000fc0044
454c4c205332373231510a20000000fd00283c82893c000a2020202020200104
020345f15461010203040506071011121415161f20215d5e5f23090707830100
006d030c001000384420006003020167d85dc401788001e40f010000681a0000
0101283ce6565e00a0a0a029503020350055502100001a000000000000000000
000000000000000000000000000000000000000000000000000000000000002e
edid_montorcapable861: ycbcr444=1, ycbcr422=1
HDMI_EDID_BLOCK_TYPE_VENDER: prxcap->ColorDeepSupport=0x38
sink preferred_mode is <NULL>[0]
hdr mode is 0
dv  mode is ver:0  len: 0
hdr10+ mode is 0
Dump EDID Rawdata
00ffffffffffff0010ac93a14c594c301d1e0103803c2278ea5095a8544ea526
0f5054a54b00714f8180a9c0a940d1c0e1000101010108e80030f2705a80b058
8a0055502100001e000000ff00463331443531330a2020202020000000fc0044
454c4c205332373231510a20000000fd00283c82893c000a2020202020200104
020345f15461010203040506071011121415161f20215d5e5f23090707830100
006d030c001000384420006003020167d85dc401788001e40f010000681a0000
0101283ce6565e00a0a0a029503020350055502100001a000000000000000000
000000000000000000000000000000000000000000000000000000000000002e
edid_montorcapable861: ycbcr444=1, ycbcr422=1
HDMI_EDID_BLOCK_TYPE_VENDER: prxcap->ColorDeepSupport=0x38
read hdmichecksum: 0x042e0000, hdmimode: 2160p60hz, colorattribute: 420,10bit
TV is same, initial mode is: 2160p60hz attr: 420,10bit, checksum: 0x042e0000
dolby_vision_process: hpd_state=1
dolby_status 0 1
dolby_vision_process: hpd: dv disabled
Saving Environment to STORAGE... OK
[OSD]load fb addr from dts:/fb
[OSD]status disabled
[OSD]load fb addr from dts:/drm-vpu
[OSD]set initrd_high: 0x3f800000
[OSD]fb_addr for logo: 0x3f800000
[OSD]load fb addr from dts:/fb
[OSD]status disabled
[OSD]load fb addr from dts:/drm-vpu
[OSD]fb_addr for logo: 0x3f800000
[OSD]VPP_OFIFO_SIZE:0xfff01fff
dolby_status 0 1
MMC: no card present
mmc_init: -123, time 1
MMC: no card present
mmc_init: -123, time 0
fs_devread read outside partition 2
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
1080138 bytes read in 11 ms (93.6 MiB/s)
[OSD]osd_hw.free_dst_data: 0,3839,0,2159
[OSD]osd0_update_disp_freescale_enable
is_osd2_configed ret=0
[OSD]osd_hw.free_dst_data: 0,3839,0,2159
[OSD]osd1_update_disp_freescale_enable
[OSD]osd_hw.free_dst_data: 0,3839,0,2159
[OSD]osd0_update_disp_freescale_enable
is_osd2_configed ret=1
vpp: vpp_matrix_update: 2
set hdmitx VIC = 97 CS = 3 CD = 5
aml_audio_init
configure venc
configure VIC97 timing
hdmitx_check_frac_rate: frac_rate:1
config HPLL = 3712500 frac_rate = 1
HPLL: 0xdb00049a
clocks_set_vid_clk_div_for_hdmi[526] div = 8
configure hdmitx21
div40: 1
hdmi_tx_set: save mode: 2160p60hz, attr: 420,10bit, hdmichecksum: 0x042e0000
Saving Environment to STORAGE... OK
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
Setting bus to 6
normal power on
Setting bus to 6
boot wol: disable
Setting bus to 6
s_version: 01.01.220721.171540
[KM]Msg:key_num: 22
[EFUSE_MSG]keynum is 4
[KM]Error:f[key_manage_query_size]L401:key[region_code] not programed yet
[KM]Error:f[key_manage_query_size]L401:key[deviceid] not programed yet
Setting bus to 6
usid=25a0000a22
usid=25a0000a22
Setting bus to 6
mac=c8:63:14:72:89:c3
[FACTORY-PROVISION] Being 'EMMC' storage medium
_get_part_index_by_name()-175: do not find match in table factory
_get_part_index_by_name()-175: do not find match in table rsv

** Unable to use mmc 1:1 for fatinfo **
_get_part_index_by_name()-175: do not find match in table factory
_get_part_index_by_name()-175: do not find match in table factory
emmc: resp timeout, cmd8, status=0x1cf2800
emmc: resp timeout, cmd55, status=0x1cf2800
emmc: tuning start:
emmc: best_win_start =5, best_win_size =5
emmc: clk = 10000206, dly1 = 0, dly2 = 0, adj = 12000, cfg = 804872
switch to partitions #0, OK
mmc1(part 0) is current device
mmc switch to user success
_find_partition_by_name()-200: do not find match in table rsv
_find_partition_by_name()-200: do not find match in table rsv
Cannot find dev.
[FACTORY-PROVISION] ERROR: command[mmc dev 1;amlmmc switch 1 user;amlmmc erase rsv;] failed
[FACTORY-PROVISION] ERROR: make fat file system failed
gpio: pin GPIOD_4 (gpio 61) value is 1
reboot_mode : cold_boot
cold boot: ffv_wake=off powermode=on suspend=off
Hit SPACE in 2 seconds to stop autoboot
starting USB...
USB0:   Register 1000120 NbrPorts 1
Starting the controller
USB XHCI 1.10
USB1:   No ----gpio-vbus-power
Register 2000120 NbrPorts 1
Starting the controller
USB XHCI 1.10
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... € ÿÿT7:BL:055c20;ID:9056601109910E05;FEAT:30F:1FFF0000:B002F:1;POC:CF;RCY:0;OVD:0;DFU:0;SD:2002;eMMC:0;RD-0:0;CHK:0;SCS:0;

Hello @alouca

How you supply the power? Could you please remove all the extra devices and just attach HDMI display?

Hello! Thanks for your reply!

For power I was using an Apple USB-C power brick (I tried an iPad one that maxes out at 18W, 9V@2A and a 96W one that can provide 9V@3A) and measuring consumption via a USB-C tester. VIM4 seems to stay at 9V and consumption at boot time never exceeds 0.5A.

After your comment, I switched the power supply to a random Anker one. Power consumption did not change, but the reset is not occurring anymore. At idle I measure VIM4 drawing 9V/0.4A. I have not observed the VIM4 attempting higher voltages even if available by the USB-C PSU.

I wonder if this is some sort of USB PD incompatibility between the VIM4 <> Apple power adaptors?

We haven’t tested with Apple power adaptors, suggest you to use our PD adaptor.