Re:Porting NetBSD to Allwinner H3 SoCs
by ploxiln on Monday July 10, 2017 @12:05AM
(#14733305)
> We wrap the kernel in a U-Boot header that claims to be a Linux kernel; this is no accident! This tells U-Boot to use the Linux boot protocol when loading the kernel, which ensures that the DTB (loaded by U-Boot) is processed and passed to us in r2.
Hah, reminds me of Linux pretending to be recent versions of Windows to ACPI code.
Re:Porting NetBSD to Allwinner H3 SoCs
by jandrese on Sunday July 09, 2017 @11:57PM
(#14733283)
The versioning on ARM confuses me frequently, but there is one hopeful line in the article:
> In addition, I've added support for other Allwinner SoCs (sun8i-a83t, sun6i-a31) to the kernel and have tested booting the same kernel across all 3 SoCs.
Re:Porting NetBSD to Allwinner H3 SoCs
by subway on Monday July 10, 2017 @01:42AM
(#14733649)
The H5 is a member of the sun50i family. It's a 64-bit CPU, so this generic image will never work. FreeBSD has done some recent work on the H5 though, so maybe that'll land in NetBSD soon.
Re:Porting NetBSD to Allwinner H3 SoCs
by bidouilliste on Monday July 10, 2017 @05:25AM
(#14734456)
FreeBSD did not do recent work on H5, I would know as it would have been me :)
But we should run on it without too much effort (I have hardware, now I need time)
Re:Porting NetBSD to Allwinner H3 SoCs
by jmcneill on Monday July 10, 2017 @04:29AM
(#14734224)
I wouldn't say "will never work". H5 is a Cortex-A53 and NetBSD can boot these just fine in aarch32 mode. The RPI2 kernel for example supports all models (32- and 64-bit) of Raspberry Pi except for the original.
Hah, reminds me of Linux pretending to be recent versions of Windows to ACPI code.
> In addition, I've added support for other Allwinner SoCs (sun8i-a83t, sun6i-a31) to the kernel and have tested booting the same kernel across all 3 SoCs.