radxa-build / radxa-cm3-io

Radxa ROCK 3 Compute Module IO Board
https://wiki.radxa.com/Rock3/CM3/radxacm3io
4 stars 0 forks source link

debian_bullseye_cli_b27 never reach the login, no network, no ssh #5

Closed Sfinx closed 4 months ago

Sfinx commented 4 months ago

Stock CM3 + CM3 I/O:

U-Boot SPL latest-2023.10-8-eed05a18-geed05a18 (Jan 10 2024 - 03:33:21 +0000)
Trying to boot from MMC1
## Checking hash(es) for config config-1 ... OK
## Checking hash(es) for Image atf-1 ... sha256+ OK
## Checking hash(es) for Image u-boot ... sha256+ OK
## Checking hash(es) for Image fdt-1 ... sha256+ OK
## Checking hash(es) for Image atf-2 ... sha256+ OK
## Checking hash(es) for Image atf-3 ... sha256+ OK
## Checking hash(es) for Image atf-4 ... sha256+ OK
## Checking hash(es) for Image atf-5 ... sha256+ OK
INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-181-gc9a647cae-dirty:xsf
NOTICE:  BL31: Built : 11:30:09, Oct 18 2022
INFO:    GICv3 without legacy support detected.
INFO:    ARM GICv3 driver initialized in EL3
INFO:    pmu v1 is valid
INFO:    dfs DDR fsp_param[0].freq_mhz= 1056MHz
INFO:    dfs DDR fsp_param[1].freq_mhz= 324MHz
INFO:    dfs DDR fsp_param[2].freq_mhz= 528MHz
INFO:    dfs DDR fsp_param[3].freq_mhz= 780MHz
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0xa00000
INFO:    SPSR = 0x3c9

U-Boot latest-2023.10-8-eed05a18-geed05a18 (Jan 10 2024 - 03:33:21 +0000)

Model: Radxa Compute Module 3(CM3) IO Board
DRAM:  1 GiB (effective 1022 MiB)
PMIC:  RK8170 (on=0x40, off=0x00)
Core:  325 devices, 29 uclasses, devicetree: separate
MMC:   mmc@fe2b0000: 1, mmc@fe2c0000: 2, mmc@fe310000: 0
Loading Environment from nowhere... OK
In:    serial@fe660000
Out:   serial@fe660000
Err:   serial@fe660000
Model: Radxa Compute Module 3(CM3) IO Board
Net:   No ethernet found.
starting USB...
Bus usb@fcc00000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus usb@fd000000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus usb@fd800000: USB EHCI 1.00
scanning bus usb@fcc00000 for devices... 1 USB Device(s) found
scanning bus usb@fd000000 for devices... 1 USB Device(s) found
scanning bus usb@fd800000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
pcie_dw_rockchip pcie@fe260000: PCIe-0 Link Fail
Hit Ctrl+C key in 0 seconds to stop autoboot...
Card did not respond to voltage select! : -110
** Booting bootflow 'mmc@fe310000.bootdev.part_3' with extlinux
U-Boot menu
1:  Debian GNU/Linux 11 (bullseye) 5.10.160-26-rk356x
2:  Debian GNU/Linux 11 (bullseye) 5.10.160-26-rk356x (rescue target)
Enter choice: 2
2:  Debian GNU/Linux 11 (bullseye) 5.10.160-26-rk356x (rescue target)
Retrieving file: /boot/vmlinuz-5.10.160-26-rk356x
Retrieving file: /boot/initrd.img-5.10.160-26-rk356x
append: root=UUID=29614341-bd61-49a8-91e8-f5a82d7d1d00 console=ttyFIQ0,1500000n8 splash loglevel=4 rw earlycon consoleblank=0 console=tty1 coherent_pool=2M irqchip.gicv3_pseudo_nmi=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 single
Retrieving file: /usr/lib/linux-image-5.10.160-26-rk356x/rockchip/rk3566-radxa-cm3-io.dtb
Moving Image from 0x2080000 to 0x2200000, end=3d80000
## Flattened Device Tree blob at 0a100000
   Booting using the fdt blob at 0xa100000
Working FDT set to a100000
Host not halted after 16000 microseconds.
   Loading Ramdisk to 3c6b1000, end 3ceb29e4 ... OK
ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0)
ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0)
   Loading Device Tree to 000000003c686000, end 000000003c6b0456 ... OK
Working FDT set to 3c686000

Starting kernel ...

[    9.432576] fiq_debugger fiq_debugger.0: IRQ fiq not found
[    9.432626] fiq_debugger fiq_debugger.0: IRQ wakeup not found
[    9.432658] fiq_debugger_probe: could not install nmi irq handler
[   10.899343] rk-pcie 3c0000000.pcie: IRQ msi not found
[   10.899426] rk-pcie 3c0000000.pcie: Missing *config* reg space
[   10.899683] rk-pcie 3c0000000.pcie: Missing *config* reg space
[   10.899757] rk-pcie 3c0000000.pcie: invalid resource
[   10.908326] mpp-iep2 fdef0000.iep: allocate roi buffer failed
[   10.929138] arm-scmi firmware:scmi: Failed. SCMI protocol 22 not active.
[   10.953322] dwhdmi-rockchip fe0a0000.hdmi: IRQ index 1 not found
[   10.956866] no ATF memory for init
[   10.978559] no ATF memory for init
[   10.986821] spi-nor spi4.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[   10.990926] rk_gmac-dwmac fe010000.ethernet: no regulator found
[   11.391960] rk817-battery rk817-battery: Failed to find matching dt id
[   11.392412] rk817-charger rk817-charger: Failed to find matching dt id
[   11.416274] rkcifhw fdfe0000.rkcif: can't request region for resource [mem 0xfdfe0000-0xfdfe7fff]
[   11.420215] rkisp_hw fdff0000.rkisp: can't request region for resource [mem 0xfdff0000-0xfdffffff]
[   11.441460] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active.
[   11.545153] rockchip,bus bus-npu: Failed to get leakage
[   11.553153] rksfc_base v1.1 2016-01-08
[   11.591469] mpp_rkvenc fdf40000.rkvenc: Failed to get leakage
[   11.591878] mpp_rkvenc fdf40000.rkvenc: failed to find power_model node
[   11.591899] mpp_rkvenc fdf40000.rkvenc: failed to initialize power model
[   11.591912] mpp_rkvenc fdf40000.rkvenc: failed to get dynamic-coefficient
[   11.593478] mpp_rkvdec2 fdf80200.rkvdec: shared_niu_a is not found!
[   11.593502] rkvdec2_init:1022: No niu aclk reset resource define
[   11.593517] mpp_rkvdec2 fdf80200.rkvdec: shared_niu_h is not found!
[   11.593528] rkvdec2_init:1025: No niu hclk reset resource define
[   11.594219] mpp_rkvdec2 fdf80200.rkvdec: failed to find power_model node
[   11.594240] mpp_rkvdec2 fdf80200.rkvdec: failed to initialize power model
[   11.594253] mpp_rkvdec2 fdf80200.rkvdec: failed to get dynamic-coefficient
[   11.596980] rockchip-dmc dmc: failed to get vop pn to msch rl
[   11.597217] rockchip-dmc dmc: could not find power_model node
[   11.611548] RKNPU fde40000.npu: can't request region for resource [mem 0xfde40000-0xfde4ffff]
[   11.617140] RKNPU fde40000.npu: failed to find power_model node
[   11.617236] RKNPU fde40000.npu: RKNPU: failed to initialize power model
[   11.617270] RKNPU fde40000.npu: RKNPU: failed to get dynamic-coefficient
[   13.808225] rk-pcie 3c0000000.pcie: PCIe Link Fail
[   13.808284] rk-pcie 3c0000000.pcie: failed to initialize host
RadxaYuntian commented 4 months ago

Known issue affecting all RK356X Debian CLI image: https://github.com/radxa-build/rock-3c/issues/5