04-04-2016, 06:15 AM
(04-04-2016, 06:05 AM)Keex Wrote:(04-04-2016, 04:34 AM)Andrew2 Wrote:(04-04-2016, 04:05 AM)Keex Wrote: I have the 2GB Pine64+ and Android is running pretty well after I got the SD card flashed correctly. Ethernet is working, stuff like Netflix/Youtube works great. I used the latest Android image from the Download page.
Archlinux also worked, and so did RemixOS (but I settled on Android in the end).
So apparently you're using a 2GB board limited to 1GB memory since in all OS images except of the latest from longsleep (from yesterday) there exists an integer overflow in the GMAC driver that leads to crashes in Linux and endless boot loops in RemixOS when the full 2GB have been initialised.
But you're not affected by crashes and/or boot loops if you use the outdated 'official' Arch Linux or Android image (since DRAM initialisation there is broken and only 1 GB is recognised/used)
Interesting, did not notice that but I will check, if I find a way to display total memory in Android.
If you have 2GB model simply plug in Ethernet. If you board crashes then 2GB DRAM are recognized if it doesn't crash, it's just 1GB. There's no magic involved, the driver in the Android image contains this bug and all that prevents the bug from being triggered is wrong DRAM initialisation (booti vs. boota in u-boot -- if the kernel is loaded the one way it uses only 1GB and in the other case all available RAM which then leads to a crash as soon as the Ethernet driver is loaded)