PINE64
Any informations about Linux image? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE H64 (https://forum.pine64.org/forumdisplay.php?fid=92)
+--- Forum: Linux on Pine H64 (https://forum.pine64.org/forumdisplay.php?fid=95)
+--- Thread: Any informations about Linux image? (/showthread.php?tid=5790)

Pages: 1 2 3 4 5


Any informations about Linux image? - CoMcE - 02-28-2018

Hello all,

my PineH64 reached me now. :-)
I want to ask, when do you plan to release a bootable linux image?

Also I want to ask, if there are any informations about creating
a bootable Linux myself, with the kernel which had been released for the H6?
I never compiled a kernel myself, but I wanna try and believe, I  could
be able to do this with some more informations.
Maybe there is a tutorial existing for another board?!

Thanks

Regards, CoMcE


RE: Any informations about Linux image? - xalius - 02-28-2018

Hi, I currently run Arch Linux with mainline (4.15.3) Linux plus patches from linux-sunxi on top on my PineH64, that makes USB2, USB3 and GbE work, but H6 support in mainline has not officially started yet... As for the 4.9.x BSP Allwinner has released, it's still in beta and as far as I could tell the kernel at least boots and has most of the drivers for H6...

H6 mainline Linux branches I use:

https://github.com/Icenowy/arm-trusted-firmware/tree/h6-smp
https://github.com/Icenowy/u-boot/tree/h6-dram
https://github.com/Icenowy/linux/tree/h6-init

for rootfs I use anarsoul's Arch Linux mainline images:

https://github.com/anarsoul/linux-build/releases

Relevant patch series for mainline are atm:

[PATCH 0/5] Add 3GiB DRAM support to 64-bit Allwinner SoCs 
https://groups.google.com/forum/#!searchin/linux-sunxi/h6|sort:date/linux-sunxi/QuCsLCpQnLY/eRi2auihBAAJ
[PATCH v2 0/6] Initial Allwinner H6 support
https://groups.google.com/forum/#!searchin/linux-sunxi/h6|sort:date/linux-sunxi/xgQVXcAxOb4/o1eDeQ8mCwAJ


The Allwinner 4.9 Linux BSP can be found at:

https://github.com/Allwinner-Homlet?tab=repositories

if you want to have a go at that...


RE: Any informations about Linux image? - nkoeppel - 02-28-2018

Thanks for the info, I've gotten so far as getting u-boot working, still trying to get the kernel to load.


RE: Any informations about Linux image? - CoMcE - 02-28-2018

Thank you very much!
I will have a look at all of this stuff this weekend! Smile

Have a nice day!

Regards


RE: Any informations about Linux image? - shinymetal - 02-28-2018

Thank you, I will give it a try soon.


RE: Any informations about Linux image? - shinymetal - 02-28-2018

Just to better understand, Xalius, which defconfig file you use on u-boot and kernel?
Thanx


RE: Any informations about Linux image? - nkoeppel - 02-28-2018

for u-boot there's pine_h64_defconfig
i just used the arm64 defconfig for the kernel but I haven't gotten it working yet


RE: Any informations about Linux image? - xalius - 02-28-2018

I use https://github.com/Icenowy/linux/blob/h6-init/arch/arm64/configs/defconfig , #worksforme :-)


RE: Any informations about Linux image? - nkoeppel - 02-28-2018

(02-28-2018, 07:38 PM)xalius Wrote: I use https://github.com/Icenowy/linux/blob/h6-init/arch/arm64/configs/defconfig , #worksforme :-)

well, i'm pretty new to this stuff, I built an Image but i'm not sure what to do with it, i tried making it a uImage but when I try to load it it just gets hung up at starting kernel.  Maybe i just missed something or there's another way i should be trying to boot it.


RE: Any informations about Linux image? - shinymetal - 03-01-2018

Xalius,
great job, really.
Boot and kernel runs fine.
In my environment I've enabled BLK_DEV_RAM in the kernel defconfig, and I booted a very basic buildroot file system.
Thank you so much, there's a coffee in Italy for you Cool 
Regards
Filippo