BelaPlatform / bela-image-builder

Scripts to build a Bela image from scratch
MIT License
35 stars 16 forks source link

Building u-boot #75

Closed giuliomoro closed 6 years ago

giuliomoro commented 6 years ago

Using https://github.com/RobertCNelson/Bootloader-Builder with the patch below (unneeded, but makes things faster) allows to build a uboot that will boot the PocketBeagle. If we want to add our patches (e.g.: to change waiting time), they should go in patches/v2018.03 and maybe we can add our own profile to build.sh to apply the patches we need.

diff --git a/build.sh b/build.sh
index 42717de..c78281e 100755
--- a/build.sh
+++ b/build.sh
@@ -1482,6 +1482,11 @@ wandboard () {
 ###artik5
 ###artik10

+cleanup
+build_stable="true"
+board="am335x_evm"
+build_uboot_gnueabihf
+exit
 am335x_evm
 am335x_boneblack_flasher
 am43xx_evm
giuliomoro commented 6 years ago

we can build from this https://github.com/giuliomoro/Bootloader-Builder/ ./build.sh will do.

giuliomoro commented 6 years ago

to create a patch: