Skip to content

Instantly share code, notes, and snippets.

@jtornero
Created May 25, 2023 11:16
Show Gist options
  • Save jtornero/3d237acd73aced3536a75c086e6aea19 to your computer and use it in GitHub Desktop.
Save jtornero/3d237acd73aced3536a75c086e6aea19 to your computer and use it in GitHub Desktop.
Rockpi 4c+ + LTSP fails when trying to boot in LTSP mode
U-Boot latest-2022.10-1-4debc57a-00007-gb923c1b6 (Mar 06 2023 - 15:54:16 +0000)
SoC: Rockchip rk3399
Reset cause: POR
Model: Radxa ROCK 4C+
DRAM: 3.9 GiB
PMIC: RK8090 (on=0x10, off=0x80)
Core: 283 devices, 27 uclasses, devicetree: separate
MMC: mmc@fe310000: 2, mmc@fe320000: 1, mmc@fe330000: 0
Loading Environment from MMC... Card did not respond to voltage select! : -110
*** Warning - No block device, using default environment
In: serial
Out: serial
Err: serial
Model: Radxa ROCK 4C+
Net: eth0: ethernet@fe300000
starting USB...
Bus usb@fe380000: ehci_generic usb@fe380000: Failed to get clocks (ret=-19)
Port not available.
Bus usb@fe3c0000: ehci_generic usb@fe3c0000: Failed to get clocks (ret=-19)
Port not available.
Bus usb@fe800000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus usb@fe900000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fe800000 for devices... 2 USB Device(s) found
scanning bus usb@fe900000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:2...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
U-Boot menu
1: Debian GNU/Linux 11 (bullseye) 5.10.110-1-rockchip
2: Debian GNU/Linux 11 (bullseye) 5.10.110-1-rockchip (rescue target)
Enter choice: 1: Debian GNU/Linux 11 (bullseye) 5.10.110-1-rockchip
Retrieving file: /boot/initrd.img-5.10.110-1-rockchip
Retrieving file: /boot/vmlinuz-5.10.110-1-rockchip
append: root=UUID=8087ba46-93d3-4f58-a640-231fd0aa806c loglevel=4 dhcp root=/dev/nfs nfsroot=192.168.2.1:/srv/ltsp/rockpi,vers=3,tcp,nolock init=/usr/share/
ltsp/client/init/init ltsp.image=images/rockpi.img console=tty0 console=ttyAML0,115200n8 console=ttyS2,1500000n8 console=ttyFIQ0,1500000n8 coherent_pool=2M
irqchip.gicv3_pseudo_nmi=0 quiet splash plymouth.ignore-serial-consoles
Retrieving file: /usr/lib/linux-image-5.10.110-1-rockchip/rockchip/rk3399-rock-4c-plus.dtb
Moving Image from 0x2080000 to 0x2200000, end=3d40000
## Flattened Device Tree blob at 01f00000
Booting using the fdt blob at 0x1f00000
Loading Ramdisk to f50fa000, end f5ef7e25 ... OK
ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0)
Loading Device Tree to 00000000f50df000, end 00000000f50f96db ... OK
Starting kernel ...
[ 13.522286] ramoops ramoops: failed to locate DT /reserved-memory resource
[ 13.585239] fiq_debugger fiq_debugger.0: IRQ fiq not found
[ 13.585265] fiq_debugger fiq_debugger.0: IRQ wakeup not found
[ 13.585282] fiq_debugger_probe: could not install nmi irq handler
[ 15.381878] rockchip-usb2phy ff770000.syscon:usb2-phy@e450: IRQ index 0 not found
[ 15.382124] rockchip-usb2phy ff770000.syscon:usb2-phy@e450: failed to create phy
[ 15.382327] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: IRQ index 0 not found
[ 15.382498] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: failed to create phy
[ 15.943035] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[ 15.943075] rockchip-pcie f8000000.pcie: deferred probe failed
[ 15.946045] rkvdec_init:1230: failed on clk_get clk_hevc_cabac
[ 15.946142] mpp_rkvdec ff660000.rkvdec: shared_video_hevc_cabac is not found!
[ 15.946157] rkvdec_init:1261: No hevc cabac reset resource define
[ 15.970380] no ATF memory for init
[ 15.983826] no ATF memory for init
[ 15.988454] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[ 16.181574] vcc5v0_usb2.0: failed to get the current voltage: -EPROBE_DEFER
[ 16.181907] lcd_3v3: failed to get the current voltage: -EPROBE_DEFER
[ 16.182474] rk817-battery rk817-battery: Failed to find matching dt id
[ 16.182678] rk817-charger rk817-charger: Failed to find matching dt id
[ 16.203251] cpu cpu0: Failed to get cpu_leakage
[ 16.203318] cpu cpu4: Failed to get cpu_leakage
[ 16.217139] rockchip-dmc dmc: Failed to get ddr_leakage
[ 16.217552] rockchip-dmc dmc: could not find power_model node
[ 16.223333] rksfc_base v1.1 2016-01-08
[ 16.783128] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[ 16.783175] rockchip-pcie f8000000.pcie: deferred probe failed
[ 16.786779] rockchip-usb2phy ff770000.syscon:usb2-phy@e450: IRQ index 0 not found
[ 16.788976] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: IRQ index 0 not found
[ 16.842009] mmc0: delay init for 600 ms to enable UHS mode
Aborting ltsp
LTSP boot error! Enable DEBUG_SHELL to troubleshoot!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment