Das U-Boot boot from JMB582 #1171
hakotani-o
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
This is exciting, thanks for putting together. Hopefully 6.13 will be released this weekend. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried building Das U-Boot.
If writing to SPI Flash fails, Opi5 may not be able to boot, so I tried reading Das U-Boot from SD-CARD and experimenting to see if I could boot ubuntu rockchip or Armbian from the 2.5 inch SSD connected to JMB582.
As a result, ubuntu rockchip server, desktop, and Armbian 24.11.2 Noble Gnome successfully booted.
I was happy that it worked well.
Attached is the build script for Das U-Boot and the script to write to the SD-CARD using the USB converter.
das-u-boot.txt
sd-card.txt
U-Boot 2025.01-ge26a9ac4c690-dirty (Jan 15 2025 - 16:34:24 +0900)
Model: Xunlong Orange Pi 5
SoC: RK3588S
DRAM: 16 GiB
Core: 332 devices, 32 uclasses, devicetree: separate
MMC: mmc@fe2c0000: 0
Loading Environment from nowhere... OK
In: serial@feb50000
Out: serial@feb50000
Err: serial@feb50000
Model: Xunlong Orange Pi 5
SoC: RK3588S
Net: eth0: ethernet@fe1c0000
Hit any key to stop autoboot: 0
Scanning for bootflows in all bootdevs
Seq Method State Uclass Part Name Filename
--- ----------- ------ -------- ---- ------------------------ ----------------
Scanning global bootmeth 'efi_mgr':
Cannot persist EFI variables without system partition
0 efi_mgr ready (none) 0
** Booting bootflow '' with efi_mgr
Loading Boot0000 'mmc 0' failed
EFI boot manager: Cannot load any image
Boot failed (err=-14)
scanning bus for devices...
Target spinup took 0 ms.
SATA link 1 timeout.
AHCI 0001.0301 32 slots 5 ports 6 Gbps 0x3 impl SATA mode
flags: 64bit ncq stag pm led clo pmp fbss pio slum part ccc apst boh
** Unable to write file ubootefi.var **
Failed to persist EFI variables
** Unable to write file ubootefi.var **
Failed to persist EFI variables
Device 0: (0:0) Vendor: ATA Prod.: KINGSTON SUV400S Rev: 0C3F
Type: Hard Disk
Capacity: 114473.4 MB = 111.7 GB (234441649 x 512)
Scanning bootdev 'ahci_scsi.id0lun0.bootdev':
1 extlinux ready scsi 2 ahci_scsi.id0lun0.bootdev /boot/extlinux/extlinux.conf
** Booting bootflow 'ahci_scsi.id0lun0.bootdev.part_2' with extlinux
U-Boot menu
1: Ubuntu 24.10 6.13.0-rc7-rockchip
2: Ubuntu 24.10 6.13.0-rc7-rockchip (rescue target)
Enter choice: 1: Ubuntu 24.10 6.13.0-rc7-rockchip
Retrieving file: /boot/vmlinuz-6.13.0-rc7-rockchip
Retrieving file: /boot/initrd.img-6.13.0-rc7-rockchip
append: root=UUID=1b657372-b752-480f-8a3a-40b33dc04613 rootwait rw console=ttyS2,1500000 console=tty1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory quiet splash plymouth.ignore-serial-consoles
Retrieving file: /boot/dtbs/6.13.0-rc7-rockchip/device-tree/rockchip/rk3588s-orangepi-5.dtb
## Flattened Device Tree blob at 12000000
Booting using the fdt blob at 0x12000000
Working FDT set to 12000000
Loading Ramdisk to eaa38000, end ecea370d ... OK
Loading Device Tree to 00000000eaa21000, end 00000000eaa37494 ... OK
Working FDT set to eaa21000
Starting kernel ...
Beta Was this translation helpful? Give feedback.
All reactions