New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building u-boot #75

Closed
giuliomoro opened this Issue May 10, 2018 · 2 comments

Comments

Projects
None yet
1 participant
@giuliomoro
Contributor

giuliomoro commented May 10, 2018

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

This comment has been minimized.

Contributor

giuliomoro commented May 11, 2018

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

@giuliomoro

This comment has been minimized.

Contributor

giuliomoro commented May 18, 2018

to create a patch:

  • remove line 1048 git_cleanup from build.sh
  • run ./build.sh once
  • cd scratch/u-boot/
  • apply your changes there, commit and then
    git format-patch -1 HEAD in the u-boot folder and then store the patch in Bootloader-Builder/patches/bela/

@LBDonovan LBDonovan closed this in 6306ca9 May 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment