Closed colornoise42 closed 5 months ago
DDR V1.11 f1474cf52f cym 23/05/09-11:02:36 LPDDR4X, 2112MHz channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB Manufacturer ID:0x1 CH0 RX Vref:27.9%, TX Vref:20.8%,20.8% CH1 RX Vref:28.5%, TX Vref:22.8%,22.8% CH2 RX Vref:31.0%, TX Vref:20.8%,20.8% CH3 RX Vref:30.1%, TX Vref:23.8%,22.8% change to F1: 528MHz change to F2: 1068MHz change to F3: 1560MHz change to F0: 2112MHz out U-Boot SPL board init U-Boot SPL 2017.09 (May 05 2024 - 16:19:14) Trying to boot from MMC1 spl: mmc init failed with error: -123 Trying to boot from MMC2 Card did not respond to voltage select! spl: mmc init failed with error: -95 Trying to boot from MTD2 Trying fit image at 0x4000 sector ## Verified-boot: 0 ## Checking atf-1 0x00040000 ... sha256(7efcd01a0f...) + OK ## Checking uboot 0x00200000 ... sha256(3ebd5db017...) + OK ## Checking fdt 0x0034a300 ... sha256(60482be298...) + OK ## Checking atf-2 0xff100000 ... sha256(1163474a5b...) + OK ## Checking atf-3 0x000f0000 ... sha256(da90adf3a4...) + OK Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000) Total: 504.768 ms INFO: Preloader serial: 2 NOTICE: BL31: v2.3():v2.3-589-g3389cfdda:derrick.huang NOTICE: BL31: Built : 10:14:29, May 9 2023 INFO: spec: 0x13 INFO: ext 32k is valid INFO: ddr: stride-en 4CH INFO: GICv3 without legacy support detected. INFO: ARM GICv3 driver initialized in EL3 INFO: valid_cpu_msk=0xff bcore0_rst = 0x0, bcore1_rst = 0x0 INFO: system boots from cpu-hwid-0 INFO: idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001 INFO: dfs DDR fsp_params[0].freq_mhz= 2112MHz INFO: dfs DDR fsp_params[1].freq_mhz= 528MHz INFO: dfs DDR fsp_params[2].freq_mhz= 1068MHz INFO: dfs DDR fsp_params[3].freq_mhz= 1560MHz INFO: BL31: Initialising Exception Handling Framework 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 = 0x200000 INFO: SPSR = 0x3c9 U-Boot 2017.09 (May 05 2024 - 16:19:14 +0000) Model: Orange Pi 5 PreSerial: 2, raw, 0xfeb50000 DRAM: 8 GiB Sysmem: init Relocation Offset: eda2c000 Relocation fdt: eb9f8fc8 - eb9fecc8 CR: M/C/I Using default environment mmc@fe2c0000: 0, mmc@fe2e0000: 1 Device 0: unknown device Card did not respond to voltage select! Device 0: unknown device Device 1: Device 2: SF: Detected sfc_nor with page size 256 Bytes, erase size 4 KiB, total 16 MiB Vendor: 0x2207 Rev: V1.00 Prod: sfc_nor Type: Hard Disk Capacity: 16.0 MB = 0.0 GB (32768 x 512) ... is now current device Bootdev(scan): mtd 2 PartType: EFI DM: v2 boot mode: None Model: Orange Pi 5 CLK: (sync kernel. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A) b0pll 24000 KHz b1pll 24000 KHz lpll 24000 KHz v0pll 24000 KHz aupll 24000 KHz cpll 1500000 KHz gpll 1188000 KHz npll 24000 KHz ppll 1100000 KHz aclk_center_root 702000 KHz pclk_center_root 100000 KHz hclk_center_root 396000 KHz aclk_center_low_root 500000 KHz aclk_top_root 750000 KHz pclk_top_root 100000 KHz aclk_low_top_root 396000 KHz Net: No ethernet found. Hit key to stop autoboot('CTRL+C'): 0 Card did not respond to voltage select! Device 0: unknown device scanning bus for devices... Target spinup took 0 ms. AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp fbss pio slum part ccc apst Device 0: (0:0) Vendor: ATA Prod.: ENMAX 256G Rev: FW20 Type: Hard Disk Capacity: 244198.3 MB = 238.4 GB (500118192 x 512) Device 0: (0:0) Vendor: ATA Prod.: ENMAX 256G Rev: FW20 Type: Hard Disk Capacity: 244198.3 MB = 238.4 GB (500118192 x 512) ... is now current device Scanning scsi 0:1... Found /boot/extlinux/extlinux.conf Retrieving file: /boot/extlinux/extlinux.conf 1163 bytes read in 42 ms (26.4 KiB/s) U-Boot menu 1: Ubuntu 24.04 LTS 6.1.0-1012-rockchip 2: Ubuntu 24.04 LTS 6.1.0-1012-rockchip (rescue target) Enter choice: 1: Ubuntu 24.04 LTS 6.1.0-1012-rockchip Retrieving file: /boot/initrd.img-6.1.0-1012-rockchip 17366720 bytes read in 315 ms (52.6 MiB/s) Retrieving file: /boot/vmlinuz-6.1.0-1012-rockchip 39117312 bytes read in 662 ms (56.4 MiB/s) append: root=UUID=a767c44e-afb0-4d09-8b71-47aba39a4921 rootwait rw console=ttyS2,1500000 console=tty1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memoryquiet splash plymouth.ignore-serial-consoles Retrieving file: /lib/firmware/6.1.0-1012-rockchip/device-tree/rockchip/rk3588s-orangepi-5-sata.dtb ** File not found /lib/firmware/6.1.0-1012-rockchip/device-tree/rockchip/rk3588s-orangepi-5-sata.dtb ** Skipping l0 for failure retrieving fdt 2: Ubuntu 24.04 LTS 6.1.0-1012-rockchip (rescue target) Retrieving file: /boot/initrd.img-6.1.0-1012-rockchip 17366720 bytes read in 315 ms (52.6 MiB/s) Retrieving file: /boot/vmlinuz-6.1.0-1012-rockchip 39117312 bytes read in 662 ms (56.4 MiB/s) append: root=UUID=a767c44e-afb0-4d09-8b71-47aba39a4921 rootwait rw console=ttyS2,1500000 console=tty1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memoryquiet splash plymouth.ignore-serial-consoles single Retrieving file: /lib/firmware/6.1.0-1012-rockchip/device-tree/rockchip/rk3588s-orangepi-5-sata.dtb ** File not found /lib/firmware/6.1.0-1012-rockchip/device-tree/rockchip/rk3588s-orangepi-5-sata.dtb ** Skipping l0r for failure retrieving fdt SCRIPT FAILED: continuing... Device 2: Vendor: 0x2207 Rev: V1.00 Prod: sfc_nor Type: Hard Disk Capacity: 16.0 MB = 0.0 GB (32768 x 512) ... is now current device Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** Device 1: Device 0: unknown device starting USB... Bus usb@fc000000: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus usb@fc800000: USB EHCI 1.00 Bus usb@fc840000: USB OHCI 1.0 Bus usb@fc880000: USB EHCI 1.00 Bus usb@fc8c0000: USB OHCI 1.0 Bus usb@fcd00000: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus usb@fc000000 for devices... 1 USB Device(s) found scanning bus usb@fc800000 for devices... 1 USB Device(s) found scanning bus usb@fc840000 for devices... 1 USB Device(s) found scanning bus usb@fc880000 for devices... 1 USB Device(s) found scanning bus usb@fc8c0000 for devices... 1 USB Device(s) found scanning bus usb@fcd00000 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Device 0: unknown device No ethernet found. missing environment variable: pxeuuid Retrieving file: /boot/extlinux/pxelinux.cfg/00000000 No ethernet found. Retrieving file: /boot/extlinux/pxelinux.cfg/0000000 No ethernet found. Retrieving file: /boot/extlinux/pxelinux.cfg/000000 No ethernet found. Retrieving file: /boot/extlinux/pxelinux.cfg/00000 No ethernet found. Retrieving file: /boot/extlinux/pxelinux.cfg/0000 No ethernet found. Retrieving file: /boot/extlinux/pxelinux.cfg/000 No ethernet found. Retrieving file: /boot/extlinux/pxelinux.cfg/00 No ethernet found. Retrieving file: /boot/extlinux/pxelinux.cfg/0 No ethernet found. Retrieving file: /boot/extlinux/pxelinux.cfg/default-arm-rockchip No ethernet found. Retrieving file: /boot/extlinux/pxelinux.cfg/default-arm No ethernet found. Retrieving file: /boot/extlinux/pxelinux.cfg/default No ethernet found. Config file not found No ethernet found. Could not get mtd 0 ## Booting FIT Image FIT: No fit blob FIT: No FIT image Unknown command 'bootrkp' - try 'help' opi#
```shell ## /boot/extlinux/extlinux.conf ## ## IMPORTANT WARNING ## ## The configuration of this file is generated automatically. ## Do not edit this file manually, use: u-boot-update default l0 menu title U-Boot menu prompt 1 timeout 20 label l0 menu label Ubuntu 24.04 LTS 6.1.0-1012-rockchip linux /boot/vmlinuz-6.1.0-1012-rockchip initrd /boot/initrd.img-6.1.0-1012-rockchip fdtdir /lib/firmware/6.1.0-1012-rockchip/device-tree/ fdtoverlays /lib/firmware/6.1.0-1012-rockchip/device-tree/rockchip/overlay/orangepi-5-sata.dtbo append root=UUID=b7e2aefb-e1b1-4739-b8c5-fe1403237b15 rootwait rw console=ttyS2,1500000 console=tty1 cgroup_enable=cpuset cgroup_memo> label l0r menu label Ubuntu 24.04 LTS 6.1.0-1012-rockchip (rescue target) linux /boot/vmlinuz-6.1.0-1012-rockchip initrd /boot/initrd.img-6.1.0-1012-rockchip fdtdir /lib/firmware/6.1.0-1012-rockchip/device-tree/ append root=UUID=b7e2aefb-e1b1-4739-b8c5-fe1403237b15 rootwait rw console=ttyS2,1500000 console=tty1 cgroup_enable=cpuset cgroup_memo> ```
```shell ## /boot/extlinux/extlinux.conf ## ## IMPORTANT WARNING ## ## The configuration of this file is generated automatically. ## Do not edit this file manually, use: u-boot-update default l0 menu title U-Boot menu prompt 1 timeout 20 label l0 menu label Ubuntu 24.04 LTS 6.1.0-1012-rockchip linux /boot/vmlinuz-6.1.0-1012-rockchip initrd /boot/initrd.img-6.1.0-1012-rockchip fdtdir /lib/firmware/6.1.0-1012-rockchip/device-tree/ fdtoverlays /lib/firmware/6.1.0-1012-rockchip/device-tree/rockchip/overlay/orangepi-5-sata.dtbo append root=UUID=a767c44e-afb0-4d09-8b71-47aba39a4921 rootwait rw console=ttyS2,1500000 console=tty1 cgroup_enable=cpuset cgroup_memo> label l0r menu label Ubuntu 24.04 LTS 6.1.0-1012-rockchip (rescue target) linux /boot/vmlinuz-6.1.0-1012-rockchip initrd /boot/initrd.img-6.1.0-1012-rockchip fdtdir /lib/firmware/6.1.0-1012-rockchip/device-tree/ append root=UUID=a767c44e-afb0-4d09-8b71-47aba39a4921 rootwait rw console=ttyS2,1500000 console=tty1 cgroup_enable=cpuset cgroup_memo> ```
```shell NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 33.7M 1 loop /snap/snapd/21467 loop1 7:1 0 69.2M 1 loop /snap/core22/1383 loop2 7:2 0 93.7M 1 loop /snap/lxd/28474 loop3 7:3 0 92.8M 1 loop /snap/lxd/28475 sda 8:0 0 238.5G 0 disk └─sda1 8:1 0 238.5G 0 part mtdblock0 31:0 0 16M 0 disk mmcblk1 179:0 0 119.4G 0 disk └─mmcblk1p1 179:1 0 119.4G 0 part / ```
```shell /dev/mmcblk1p1: LABEL="desktop-rootfs" UUID="b7e2aefb-e1b1-4739-b8c5-fe1403237b15" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="78f64f4c-aecf-4b86-9bbf-95d04d174604" /dev/sda1: LABEL="desktop-rootfs" UUID="a767c44e-afb0-4d09-8b71-47aba39a4921" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="4764849b-c148-43c6-a0cc-ca15ce6b0fcb" ```
I see the issue, the system is trying to load rk3588s-orangepi-5-sata.dtb which does not exist.
Update the kernel and this will be fixed.
Thank you! Updating the kernel and u-boot solved the problem.
boot log:
/boot/extlinux/extlinux.conf from SD card
```shell ## /boot/extlinux/extlinux.conf ## ## IMPORTANT WARNING ## ## The configuration of this file is generated automatically. ## Do not edit this file manually, use: u-boot-update default l0 menu title U-Boot menu prompt 1 timeout 20 label l0 menu label Ubuntu 24.04 LTS 6.1.0-1012-rockchip linux /boot/vmlinuz-6.1.0-1012-rockchip initrd /boot/initrd.img-6.1.0-1012-rockchip fdtdir /lib/firmware/6.1.0-1012-rockchip/device-tree/ fdtoverlays /lib/firmware/6.1.0-1012-rockchip/device-tree/rockchip/overlay/orangepi-5-sata.dtbo append root=UUID=b7e2aefb-e1b1-4739-b8c5-fe1403237b15 rootwait rw console=ttyS2,1500000 console=tty1 cgroup_enable=cpuset cgroup_memo> label l0r menu label Ubuntu 24.04 LTS 6.1.0-1012-rockchip (rescue target) linux /boot/vmlinuz-6.1.0-1012-rockchip initrd /boot/initrd.img-6.1.0-1012-rockchip fdtdir /lib/firmware/6.1.0-1012-rockchip/device-tree/ append root=UUID=b7e2aefb-e1b1-4739-b8c5-fe1403237b15 rootwait rw console=ttyS2,1500000 console=tty1 cgroup_enable=cpuset cgroup_memo> ```
/boot/extlinux/extlinux.conf from SATA SSD
```shell ## /boot/extlinux/extlinux.conf ## ## IMPORTANT WARNING ## ## The configuration of this file is generated automatically. ## Do not edit this file manually, use: u-boot-update default l0 menu title U-Boot menu prompt 1 timeout 20 label l0 menu label Ubuntu 24.04 LTS 6.1.0-1012-rockchip linux /boot/vmlinuz-6.1.0-1012-rockchip initrd /boot/initrd.img-6.1.0-1012-rockchip fdtdir /lib/firmware/6.1.0-1012-rockchip/device-tree/ fdtoverlays /lib/firmware/6.1.0-1012-rockchip/device-tree/rockchip/overlay/orangepi-5-sata.dtbo append root=UUID=a767c44e-afb0-4d09-8b71-47aba39a4921 rootwait rw console=ttyS2,1500000 console=tty1 cgroup_enable=cpuset cgroup_memo> label l0r menu label Ubuntu 24.04 LTS 6.1.0-1012-rockchip (rescue target) linux /boot/vmlinuz-6.1.0-1012-rockchip initrd /boot/initrd.img-6.1.0-1012-rockchip fdtdir /lib/firmware/6.1.0-1012-rockchip/device-tree/ append root=UUID=a767c44e-afb0-4d09-8b71-47aba39a4921 rootwait rw console=ttyS2,1500000 console=tty1 cgroup_enable=cpuset cgroup_memo> ```
lsblk
```shell NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 33.7M 1 loop /snap/snapd/21467 loop1 7:1 0 69.2M 1 loop /snap/core22/1383 loop2 7:2 0 93.7M 1 loop /snap/lxd/28474 loop3 7:3 0 92.8M 1 loop /snap/lxd/28475 sda 8:0 0 238.5G 0 disk └─sda1 8:1 0 238.5G 0 part mtdblock0 31:0 0 16M 0 disk mmcblk1 179:0 0 119.4G 0 disk └─mmcblk1p1 179:1 0 119.4G 0 part / ```
blkid
```shell /dev/mmcblk1p1: LABEL="desktop-rootfs" UUID="b7e2aefb-e1b1-4739-b8c5-fe1403237b15" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="78f64f4c-aecf-4b86-9bbf-95d04d174604" /dev/sda1: LABEL="desktop-rootfs" UUID="a767c44e-afb0-4d09-8b71-47aba39a4921" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="4764849b-c148-43c6-a0cc-ca15ce6b0fcb" ```