Skip to content
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

Barebox build issue with arm-cortex_a8-linux-gnueabihf cross compiler #6

Open
robamu opened this issue Jul 17, 2021 · 0 comments
Open

Comments

@robamu
Copy link

robamu commented Jul 17, 2021

Hello,

Thanks for writing this amazing book.

I have a improvement suggestion for the chapter where the arm-cortex_a8-linux-gnueabihf cross compiler is built. (if this was not already added in the third edition)

I was able to use the cross-compiler when built as specified in the book until trying to build barebox. Here, I got weird compilation errors with the toolchain: selected processor does not support rev ... , see this issue: https://www.spinics.net/lists/u-boot-v2/msg37608.html .
The solution was to specify the FPU type as neon-vfpv3 as specified in this post: https://stackoverflow.com/questions/50284222/u-boot-for-beaglebone-black-wont-build-target-cpu-does-not-support-thumb-inst when building the toolchain. I think it might be a good idea to add that step on page 75

After that, I was able to build Barebox without issues. I also submitted an Errata for this.

Kind Regards
Robin

@robamu robamu changed the title Barebox build issue with BBB cross compiler Barebox build issue with arm-cortex_a8-linux-gnueabihf cross compiler Jul 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant