§2023-07-06

This is to document "Orangepi5plus_1.0.6_ubuntu_focal_server_linux5.10.110.img" that I made using orange pi 5 plus@orangepiwiki

the OS looks run well is Ubuntu Focal, other might have cause problems

  1. git Clone

this deposite only has master and next, please clone the next branch

$ git clone https://github.com/orangepi-xunlong/orangepi-build.git -b next

If you build the image from x86_84 platform, then the cross-compiler tools will automatically installed.

  1. Compile U-boot
$ sudo ./build.sh

orangePi5-U-boot.png

2.1. View the u-boot deb package generated by compilation

$ ls output/debs/u-boot/
linux-u-boot-legacy-orangepi5plus_1.0.8_arm64.deb
$ cd output/debs/u-boot/

$ dpkg -c linux-u-boot-legacy-orangepi5plus_1.0.8_arm64.deb 
drwxrwxr-x root/root         0 2023-07-06 15:55 ./
drwxrwxr-x root/root         0 2023-07-06 15:55 ./usr/
drwxrwxr-x root/root         0 2023-07-06 15:55 ./usr/lib/
drwxrwxr-x root/root         0 2023-07-06 15:56 ./usr/lib/linux-u-boot-legacy-orangepi5plus_1.0.8_arm64/
-rw-rw-r-- root/root    292864 2023-07-06 15:56 ./usr/lib/linux-u-boot-legacy-orangepi5plus_1.0.8_arm64/idbloader.img
-rw-rw-r-- root/root   4194304 2023-07-06 15:56 ./usr/lib/linux-u-boot-legacy-orangepi5plus_1.0.8_arm64/rkspi_loader.img
-rw-rw-r-- root/root   1388544 2023-07-06 15:56 ./usr/lib/linux-u-boot-legacy-orangepi5plus_1.0.8_arm64/u-boot.itb
drwxrwxr-x root/root         0 2023-07-06 15:56 ./usr/lib/u-boot/
-rw-rw-r-- root/root      3846 2023-07-06 15:56 ./usr/lib/u-boot/LICENSE
-rw-rw-r-- root/root     41693 2023-07-06 15:56 ./usr/lib/u-boot/orangepi_5_plus_defconfig
-rw-rw-r-- root/root      1585 2023-07-06 15:56 ./usr/lib/u-boot/platform_install.sh

$ sudo dpkg -x  linux-u-boot-legacy-orangepi5plus_1.0.8_arm64.deb .
$ tree usr
usr
└── lib
    ├── linux-u-boot-legacy-orangepi5plus_1.0.8_arm64
    │   ├── idbloader.img
    │   ├── rkspi_loader.img
    │   └── u-boot.itb
    └── u-boot
        ├── LICENSE
        ├── orangepi_5_plus_defconfig
        └── platform_install.sh

3 directories, 6 files
orangepi@orangepi5plus:~/build/orangepi-build/output/debs/u-boot$