Board code with 2 dts

Frank Wunderlich frank-w at
Tue Mar 22 10:23:01 PDT 2022


I get information that new hardware revision of bpi-r2 pro has some differences to the version i upstreamed. Is it possible to add a new dts and use same board code?

How can i choose between the 2 dts on build (kconfig option)?

Afaik the name of dtb is hardcoded in lowlevel.c [1]

Differences are iodomains (not defined in barebox,but linux) and gmac-config (gmacs swapped and different settings).

Currently i have not yet the new board for testing,but then i want to send patches for linux and barebox.

regards Frank

More information about the barebox mailing list