The cubieboard_defconfig uses the linux-sunxi kernel v3.0.y, that fails early during boot on a Cubieboard v1 (final revision). The boot succeeds after switching to linux-sunxi v3.4.y kernel, as recommended by this community on its wiki: http://linux-sunxi.org/Linux_Kernel#Kernel_versions Change proposal: BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux-sunxi/linux-sunxi.git" BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9a1cd034181af628d4145202289e1993c1687db6" BR2_LINUX_KERNEL_VERSION="9a1cd034181af628d4145202289e1993c1687db6" BR2_LINUX_KERNEL_PATCH="" The commit 9a1cd03 is the latest (2014) of the v3.4.y branch. I did not try the mainline kernel, because it is explicitly stated by Free Electrons guys that the A10 NAND or multimedia caps are not yet supported.
Hum, which version of Buildroot are you using? I see the following in http://git.buildroot.net/buildroot/tree/configs/cubieboard_defconfig : # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux-sunxi/linux-sunxi.git" BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="274a66a7bfcbaabb88d63e4eba161965383cc416" BR2_LINUX_KERNEL_VERSION="sunxi-3.4" BR2_LINUX_KERNEL_DEFCONFIG="sun4i" Which seems to indicate it's already using a 3.4 kernel.
Hello Thomas, first I would like to thank you for all the work you did on BuildRoot, because it helped me a lot to run my BBB and now my CB1. Back to the problem reported here: I used a fresh new v2015.02, and the commit that was in the defconfig is the following: https://github.com/linux-sunxi/linux-sunxi/commit/274a66a7bfcbaabb88d63e4eba161965383cc416 As you can see, this commit is commented as 'Merge branch 'reference-3.0' into sunxi-3.0', and referenced in the branch 'sunxi-3.0'. In the serial console, I also saw that the linux kernel version was 3.0.y, not 3.4.y in the very first lines before the panic. This is why I stopped to test that config and updated to latest linux-sunxi v3.4.y branch, that works very well.
Any news for that defect ?
Well, can you submit a patch to update the cubieboard_defconfig file?
Created attachment 6061 [details] Change kernel GIT version This patch just changes the version sourced by BuildRoot to get the right Linux-Sunxi 3.4 (latest commit), not the 3.0.
Thanks! Could you submit that as a patch to the mailing list, by following the submission guidelines at http://buildroot.org/downloads/manual/manual.html#submitting-patches ? Thanks a lot!
Fixed by http://git.buildroot.net/buildroot/commit/?id=fe277eac1f97050d3f9c7f9d3d1558ca4a1707d0.