Linux Kernal Development - BETA Boards
#60
(01-14-2016, 08:32 AM)Galileo Wrote: You're not surprised by the obvious fact that no-one before booted Linux on this thing?

No, I am not surprised that no one has booted Linux kernel+userspace on a device that is not yet available.

Quote: Not even Allwinner itself?

Allwinner makes SoCs for use with Android. Why should they try to boot a Linux userspace? I'll repeat myself again - Android = linux kernel. Getting a rootfs of your choice working is a matter of kludging it to support the older patched kernel we get from Allwinner.

Quote:That's just based on reading the IRC log for quite some time and getting the impression that the persons chatting there know what they're talking about. I would've thought that it's as easy as 'boot kernel and choose whatever rootfs you want'. But reading about trusted firmware, firmware/u-boot being 32-bit and containing 'nasty' patches, entering the kernel in EL3 mode (which seems to be forbidden) therefore violating the arm64 boot protocol preventing upstream kernels to boot... (and much other stuff I've no clue of) it doesn't look that good to me.

No, it is not as easy as that. For one, you need to have the board and few if any do. Secondly, certain things like the current systemd demand kernel > 3.7 so that needs to be fixed. None of this is point and click stuff. It isn't rocket surgery either unless there are especially nasty surprises, but it does take skill not all of the people who've applied for dev boards have.

ARMv8 has the trusted firmware feature, yes, but I've heard no reports of ARM goons showing up at devs' houses, pointing a gun at their heads and forcing them to use it. The idea that mainline Uboot is the paragon of excellence in software engineering and all vendors do is mess up its timeless elegance is nonsense. Uboot is ugly to begin with. I'm sure Allwinner made it uglier. The point is a linux kernel Allwinner provides boots with the uboot Allwinner provides. For initial support, that's all we need. Beyond that, sure enough, there (may) be dragons.

That particular issue with the arm boot protocol is just one of many that will prevent you from booting a mainline kernel. Even if it didn't exist, you'd need to either back out Allwinner's changes or rewrite them, forward port them and submit patches to mainline. That's a bunch of work and not quick by any means. As such, the funky boot stuff is not a blocker until everything else is resolved.

Quote:Especially that several people reported that the SDK from the Pine's wiki pages seems to be broken and no-one took care of...

You mean the BSP, surely. There's one guy who said he couldn't get it to compile. We know nothing about what that means precisely and the level of clue of the individual involved. The BSP could be broken, or his toolchain could be, or both. Perhaps there's a clue deficit involved. We just don't know.

I understand your anxiety. I agree that not everyone will get everything they want (mainline support, hw acceleration) all at once and right away. However, I caution against panicking because you've read something you half understand somewhere. If android runs, linux will run barring some miracle. It'll be an Allwinner uboot+kernel, but it'll run.

Linux will definitely NOT boot until someone with clue:
1. receives the board
2. puts in a bit of work

This is not surprising. Don't panic and make sure you know where your towel is. (HHGTTG)

-p


Messages In This Thread
RE: Linux Kernal Development - BETA Boards - by paulieg - 01-14-2016, 10:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  NEMS Linux 1.5 Released for A64/A64+, A64-LTS/SOPine, Rock64, RockPro64 (NAGIOS) Baldnerd 4 9,252 03-28-2020, 06:20 PM
Last Post: ty1911
  Howto run Linux with resolution other than 1080p longsleep 28 66,491 06-13-2019, 01:53 AM
Last Post: Nilda
  NEMS Linux for Pine A64 (+) Luke 1 5,118 05-09-2019, 05:42 PM
Last Post: pineadmin
  Pine Board using linux stuck during boot sequence ktaragorn 4 8,220 03-30-2019, 06:48 AM
Last Post: ktaragorn
  Gentoo Linux test image xalius 23 48,506 01-28-2019, 11:05 PM
Last Post: necrose99
  +LTS/SOPINE +PINEBOOK Mainline Armbian for A64 boards Luke 0 2,573 01-12-2019, 06:35 AM
Last Post: Luke
  Real-time linux kernel Artyom 45 72,485 09-11-2018, 01:08 AM
Last Post: zzwpine
  linux distribution hazerty 3 6,144 04-01-2018, 02:48 PM
Last Post: dkryder
  Linux Web Server OS harcrow 2 5,820 01-30-2018, 10:26 AM
Last Post: Rustproof
  eta linux image?? firosiro 1 4,064 08-03-2017, 10:05 PM
Last Post: pfeerick

Forum Jump:


Users browsing this thread: 2 Guest(s)