Jump to content

[Armbian build PR] - Fix several issues related to building U-Boot


RSS Bot

Recommended Posts

Description

  • Some older U-Boot versions don't use semantic versioning in their code and will fail when building libfdt. This is fixed by hardcoding a semantic version.
  • rk35xx used a very old branch from Radxa vendor U-Boot and won't build with GCC13. Bump it to the latest version.

GitHub issue reference: https://github.com/armbian/build/issues/6862 Jira reference number AR-2402

How Has This Been Tested?

  • [x] ./compile.sh uboot BOARD=radxa-e25 BRANCH=edge BUILD_DESKTOP=no BUILD_MINIMAL=no EXPERT=yes KERNEL_CONFIGURE=no RELEASE=noble ARTIFACT_IGNORE_CACHE=yes
  • [x] ./compile.sh uboot BOARD=nanopi-r2s BRANCH=edge BUILD_DESKTOP=no BUILD_MINIMAL=no EXPERT=yes KERNEL_CONFIGURE=no RELEASE=noble ARTIFACT_IGNORE_CACHE=yes
  • [x] ./compile.sh uboot BOARD=nanopineo3 BRANCH=edge BUILD_DESKTOP=no BUILD_MINIMAL=no EXPERT=yes KERNEL_CONFIGURE=no RELEASE=noble ARTIFACT_IGNORE_CACHE=yes

@efectn Building OrangePi5 U-Boot from Xunlong also fails on Ubuntu 24.04. Please consider using the default Radxa U-Boot for rk3588 by removing the extra lines from the OrangePi5 configs.

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] My changes generate no new warnings
  • [x] Any dependent changes have been merged and published in downstream modules

View the full article

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines