soenke Posted July 6, 2016 Posted July 6, 2016 Hi, I managed to compile a working 4.6.2 Linux kernel for my Allwinner H3 powered Orange Pi PC using the Armbian lib build scripts. But where I'm completely stuck is when it comes to get all four CPU cores up and running. lscpu shows only cpu0 as online, and a syfs entry to enable cores 1..3 does not exist. Having applied 20151223-h3-mainline-smp-hack patch, cpu1..3 seem to get set online, but the booting process stalls (rcu_preempt self-detected stall on CPU, etc.). http://linux-sunxi.org/Linux_mainlining_effort#Status_Matrixmarked SMP as "done", and mentioned this patch. A log file of the failed boot process is attached. My setup: Linux Kernel 4.6.2 with patches from megous @ GitHub. U-Boot 2016.07-rc3 arm-linux-gnueabihf-gcc 6.1.1 (gcc-5 didn't work with the current U-Boot due to a bug) screenlog.0.txt
lanefu Posted July 6, 2016 Posted July 6, 2016 I just happened to come across a solution for this yesterday... it's a u-boot problem.. It can be fixed with an environment variable. see this post http://forum.armbian.com/index.php/topic/1180-orange-pi-lite-now-available/?p=12165
soenke Posted July 6, 2016 Author Posted July 6, 2016 (edited) Thank you very much for this hint!!! Seemed like this was the problem. Edited July 7, 2016 by soenke
Recommended Posts