khadas:~ # cat /etc/os-release
NAME="openSUSE Tumbleweed"
# VERSION="20251121"
---
boot log from serial console:
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: 0001385d
SPI NOR init
storage init finish
board id: 8
Load FIP HDR DDR from SPI, src: 0x00010000, des: 0xfffd0000, size: 0x00004000,
part: 0
Get wrong ddr fw magic! Error!!
fw parse done
PIEI prepare done
fastboot data verify
result: 255
Cfg max: 12, cur: 1. Board id: 255. Force loop cfg
LPDDR4 probe
LPDDR4_PHY_V_0_1_22-Built : 14:57:26, Sep 1 2020. g12b g3c95fed -
gongwei.chen@droid11-sz
ddr clk to 1608MHz
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 training succeed
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 00000029 0000002a 00000028 00000029 00000028 00000028
00000027 00000026 00000027 00000026 00000027 0000002a 00000028 00000029
00000028 00000028 0000
0027 00000026 00000027 00000027 00000027 00000028 00000027 00000028 00000029
00000028 00000028 00000026 00000028 00000028 00000028 00000026
dwc_ddrphy_apb_wr((0<<20)|(2<<
16)|(0<<12)|(0xb0):0004
dram_vref_reg_value 0x 00000012
2D training succeed
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
non-sec scramble use zero key
ddr scramble enabled
100bdlr_step_size ps== 388
result report
boot times 0Enable ddr reg access
Load FIP HDR from SPI, src: 0x00010000, des: 0x01700000, size: 0x00004000,
part: 0
Load BL3X from SPI, src: 0x00078000, des: 0x01768000, size: 0x000aa200, 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 1b 00 00 01 39 34 35 52 31 50
[0.018961 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 2021.07 (Oct 08 2023 - 17:38:49 +0800) khadas-vim3
Model: Khadas VIM3
SoC: Amlogic Meson G12B (A311D) Revision 29:b (10:2)
DRAM: 3.8 GiB
MMC: sd@ffe03000: 0, sd@ffe05000: 1, mmc@ffe07000: 2
Loading Environment from MMC... ignored booted from other source!
Loading Environment from SPIFlash... SF: Detected w25q128fw with page size 256
Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment
DISPLAY: setup failsave FullHD mode
In: serial
Out: serial
Err: serial
fusb302_init: Device ID: 0x91
CC connected in 0 as UFP
charge ic max_vol = 12000mv max_cur = 6000ma
chip->pos_power = 3, chip->pd_output_vol=12000 chip->pd_output_cur=2000
fusb302 detect chip.port_num = 0
Net: eth0: ethernet@ff3f0000
SF: Detected w25q128fw with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x170000, size 0x10000
SF: 65536 bytes @ 0x170000 Read: OK
Error: Bad gzipped data
There is no valid bmp file at the given address
[i] display embed logo
starting USB...
Bus usb@ff500000: Register 3000140 NbrPorts 3
Starting the controller
USB XHCI 1.10
scanning bus usb@ff500000 for devices... 4 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Setting bus to 0
port mode is pcie
Hit SPACE in 2 seconds to stop autoboot=>
---
dmesg snippet:
.
.
[ 0.074045] [ T1] /soc/bus@ff600000/hdmi-tx@0: Fixed dependency
cycle(s) with /soc/vpu@ff900000
[ 0.074384] [ T1] /soc/vpu@ff900000: Fixed dependency cycle(s) with
/soc/bus@ff600000/hdmi-tx@0
[ 0.074403] [ T1] /soc/interrupt-controller@ffc01000: Fixed dependency
cycle(s) with /soc/interrupt-controller@ffc01000
[ 0.075300] [ T1] /soc/bus@ff600000/hdmi-tx@0: Fixed dependency
cycle(s) with /soc/vpu@ff900000
[ 0.075748] [ T1] /soc/bus@ff600000/hdmi-tx@0: Fixed dependency
cycle(s) with /soc/vpu@ff900000
[ 0.084050] [ T1] /soc/bus@ff600000/hdmi-tx@0: Fixed dependency
cycle(s) with /soc/vpu@ff900000
[ 0.084106] [ T1] /soc/vpu@ff900000: Fixed dependency cycle(s) with
/soc/bus@ff600000/hdmi-tx@0
[ 0.090760] [ T1] /soc/bus@ff600000/hdmi-tx@0: Fixed dependency
cycle(s) with /hdmi-connector
[ 0.090822] [ T1] /hdmi-connector: Fixed dependency cycle(s) with
/soc/bus@ff600000/hdmi-tx@0
.
.
[ 8.947224] [ T478] rc rc0: meson_g12a_ao_cec as
/devices/platform/soc/ff800000.bus/ff800280.cec/rc/rc0
[ 8.952189] [ T478] input: meson_g12a_ao_cec as
/devices/platform/soc/ff800000.bus/ff800280.cec/rc/rc0/input1
[ 8.985229] [ T473] videodev: Linux video capture interface: v2.00
[ 9.016730] [ T481] ------------[ cut here ]------------
[ 9.016746] [ T481] WARNING: CPU: 4 PID: 481 at
drivers/base/component.c:589 component_unbind+0xb0/0xc0
[ 9.016760] [ T481] Modules linked in: amlogic_thermal(+) khadas_mcu_fan
meson_dw_hdmi(+) meson_rng snd_timer meson_ir(+) dw_hdmi videodev snd
meson_saradc videobuf
2_common industrialio stmmac ao_cec_g12a pcs_xpcs mc phylink soundcore
cpufreq_dt leds_gpio uio_pdrv_genirq uio fuse loop efi_pstore dm_mod nfnetlink
ip_tables x_tables x
hci_plat_hcd xhci_hcd reset_meson_aux dwc3 dwc2 mmc_block ulpi rpmb_core
udc_core khadas_mcu rtc_hym8563 usbcore aes_ce_blk reset_gpio aes_ce_cipher
polyval_ce ghash_ce m
eson_drm gf128mul meson_canvas drm_dma_helper dwc3_meson_g12a
drm_display_helper axg_audio sclk_div cec panfrost roles reset_meson_audio_arb
clk_phase phy_meson_g12a_usb3
_pcie phy_meson_g12a_usb2 pwm_meson sm4 i2c_meson rc_core gpu_sched usb_common
pwrseq_emmc pwrseq_simple clk_pwm meson_gx_mmc display_connector rtc_meson_vrtc
mmc_core pw
m_regulator nvmem_meson_efuse fixed gpio_keys_polled btrfs blake2b_generic xor
xor_neon raid6_pq i2c_dev efivarfs dmi_sysfs
[ 9.016895] [ T481] CPU: 4 UID: 0 PID: 481 Comm: (udev-worker) Not
tainted 6.17.8-1-default #1 PREEMPT(voluntary) openSUSE Tumbleweed
6ad2abad4f47631ef3ea90f844a3b
214b1cebfbf
[ 9.016902] [ T481] Hardware name: khadas VIM3/VIM3, BIOS 2021.07
10/08/2023
[ 9.016905] [ T481] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS
BTYPE=--)
[ 9.016909] [ T481] pc : component_unbind+0xb0/0xc0
[ 9.016914] [ T481] lr : component_unbind_all+0xd8/0xf0
[ 9.016918] [ T481] sp : ffff800081983390
[ 9.016920] [ T481] x29: ffff800081983390 x28: ffff000008c0ef00 x27:
ffff000000dcebc0
[ 9.016926] [ T481] x26: 0000000000000001 x25: 0000000000000001 x24:
ffffaa49cd444450
[ 9.016932] [ T481] x23: ffff000006bbe800 x22: ffff000000f43810 x21:
ffff000006bbe800
[ 9.016938] [ T481] x20: ffff00000199ef40 x19: 0000000000000000 x18:
000000000000000a
[ 9.016943] [ T481] x17: 0000000000000000 x16: ffffaa49e44e9818 x15:
0000000000000000
[ 9.016948] [ T481] x14: 0000000000000000 x13: 00000000ffff0a01 x12:
ffff00000318d6a0
[ 9.016954] [ T481] x11: 00000006ad0da14b x10: ffffaa49cdd8aed7 x9 :
ffffaa49e44e98f0
[ 9.016959] [ T481] x8 : 0000000000000000 x7 : 0000000000000000 x6 :
0000000000000000
[ 9.016965] [ T481] x5 : 0000000000000000 x4 : ffff000000dcebc0 x3 :
ffff000005582700
[ 9.016970] [ T481] x2 : ffff000006bbe800 x1 : ffff00000199ef40 x0 :
0000000000000000
[ 9.016976] [ T481] Call trace:
[ 9.016979] [ T481] component_unbind+0xb0/0xc0 (P)
[ 9.016985] [ T481] meson_drv_bind_master+0x1e8/0x508 [meson_drm
0c48773f3324419ff3462f39fd151e6acb9ce61b]
[ 9.017001] [ T481] meson_drv_bind+0x1c/0x30 [meson_drm
0c48773f3324419ff3462f39fd151e6acb9ce61b]
[ 9.017013] [ T481] try_to_bring_up_aggregate_device+0x220/0x2f0
[ 9.017018] [ T481] __component_add+0xf4/0x220
[ 9.017021] [ T481] component_add+0x1c/0x38
[ 9.017025] [ T481] meson_dw_hdmi_probe+0x24/0x40 [meson_dw_hdmi
7686f5a8a6127a58f52a19d337820341b2136a32]
[ 9.017034] [ T481] platform_probe+0x64/0xc0
[ 9.017040] [ T481] really_probe+0xc8/0x3a0
[ 9.017043] [ T481] __driver_probe_device+0x84/0x160
[ 9.017047] [ T481] driver_probe_device+0x48/0x130
[ 9.017051] [ T481] __driver_attach+0xd0/0x1f8
[ 9.017055] [ T481] bus_for_each_dev+0x80/0xe8
[ 9.017059] [ T481] driver_attach+0x2c/0x40
[ 9.017062] [ T481] bus_add_driver+0x158/0x280
[ 9.017066] [ T481] driver_register+0x70/0x138
[ 9.017070] [ T481] __platform_driver_register+0x28/0x40
[ 9.017074] [ T481] meson_dw_hdmi_platform_driver_init+0x28/0xff8
[meson_dw_hdmi 7686f5a8a6127a58f52a19d337820341b2136a32]
[ 9.017081] [ T481] do_one_initcall+0x4c/0x318
[ 9.017087] [ T481] do_init_module+0x94/0x2b8
[ 9.017093] [ T481] load_module+0x1d80/0x23e8
[ 9.017097] [ T481] init_module_from_file+0x90/0xf0
[ 9.017101] [ T481] __arm64_sys_finit_module+0x260/0x370
[ 9.017105] [ T481] invoke_syscall.constprop.0+0x64/0xe8
[ 9.017110] [ T481] el0_svc_common.constprop.0+0xc0/0xe8
[ 9.017113] [ T481] do_el0_svc+0x24/0x38
[ 9.017116] [ T481] el0_svc+0x40/0x1b8
[ 9.017122] [ T481] el0t_64_sync_handler+0xa0/0xe8
[ 9.017127] [ T481] el0t_64_sync+0x1b0/0x1b8
[ 9.017131] [ T481] ---[ end trace 0000000000000000 ]---
---
Please let me know if you need more data or information's. thx