How to build a mainline uboot for BPI M1?

Dear all. I’m a fresher in the Embedded Linux field. My first task is build a mainline u-boot,kernel and a RFS for Bananna Pi M1. There are someone can let me know where can I start step-by-step. Where can I download the mainline u-boot and how to build it onto BPI target? Thank you very much.

Best regard. Tony

1 Like

for mainline kernel ,you can see here:

https://www.armbian.com/bananapi/

also you can see online wiki page:

http://wiki.banana-pi.org/Banana_Pi_BPI-M1

2 Likes

Thanks for your reply. But my concerns are how to build it? May you support me some guidelines?

https://docs.armbian.com/Developer-Guide_Build-Preparation/

2 Likes

Thank you for your help! It helps me a lot, it’s an easy way to build. Do you have any references that show how it done? What do I need to prepare? And Why? thanks again!

Everything is open source. Analyse the code and search forums for other people analysis https://forum.armbian.com/

1 Like