Mainline u-boot

fyi
work on mainline u-boot
https://lists.denx.de/pipermail/u-boot/2023-January/506784.html

5 Likes

Noob question: Does U-boot means being able to boot an image via USB instead of Micro SD, Emmc?

You can for example have uboot on sd card
that will boot kernel from USB :slight_smile:

And I think that you can boot from USB
https://wiki.radxa.com/Rock5/install/spi

1 Like

I havent tried via usb only emmc and micro sd

Awesome to see this is being worked on! Any idea if this work will include fixes for the usb power delivery negotiation issues? As I understand, the PD is handled on a separate chip, so you could have full support for RK3588 without solving Rock 5b power delivery issues. I could be wrong though.

Looking at the commits, I don’t see any reference to fusb302, so I don’t think there will be much difference in terms of PD negotiation

1 Like

I added builds for the Collabora mainline fork to my Rock 5 Docker build repo

Run the following (no need to clone anything, just need Docker installed):

docker buildx bake \
   'https://github.com/milas/rock5-toolchain.git' \
   u-boot-collabora

You’ll get an out/ directory created on your machine (i.e NOT an image, the bake target will output the files locally):

out
└── u-boot
    └── collabora
        ├── idbloader.img
        ├── rk3588_spl_loader_v1.08.111.bin
        ├── spi
        │   └── spi_image.img
        └── u-boot.itb

(More details in the readme, bake u-boot will build both Radxa & Collabora, bake u-boot-radxa will just build Radxa U-Boot.)

I’m hoping to do some testing with it today, but at this point I just got everything set up for building :upside_down_face:

1 Like

The rock5b was added 28 February to mainline u-boot.

Does anyone already have any experience to share?

sdhci enabled, but sdmmc seems disabled?