Buildroot support?


(Rolando) #1

Is anyone working on bulidroot support? (https://buildroot.org/) it seems that should be more or less straight forward. But I’ve had problems compiling the (mainline) kernel for R2 so far. As soon as I can get that working, I can give that a try, but it would be great to know if there’s someone else working on this as well.


(Frank W.) #2

Which kernel do you try to compile? 4.14? You find infos on how to build it in my wiki http://www.fw-web.de/dokuwiki/doku.php?id=en/bpi-r2/

If there any problems,feel free to contact me

but i’ve nothing done with buildroot


(Rolando) #3

I was able to successfully build the kernel, but it won’t start. I was looking to understand how to create an image from scratch, that’s why I was looking into buildroot.


(Frank W.) #4

you use build.sh-script from my page? or do manually? if manually you must have set DTB_APPEND-option in kernel, append it to zImage and then run mkimage

cat arch/arm/boot/zImage arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb > arch/arm/boot/zImage-dtb
mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -n "Linux Kernel 4.14" -d arch/arm/boot/zImage-dtb ./uImage

else it won’t boot…you can try one of my kernels to test booting…please use debug-uart, to see what happens