3 ms·
My understanding is that the Allwinner A20 is one of the very few systems produced today that can be used with 100% free software. Not that Allwinner themselves
by lfam 10y ago
My understanding is that the Allwinner A20 is one of the very few systems produced today that can be used with 100% free software. Not that Allwinner themselves helped very much, from what I've read — the sunxi community has spent a lot of energy on reverse engineering.
- david-given 10y agoI was briefly involved with this back when the project started --- I quit after having one run-in too many with the project lead, who was, um, difficult --- and the Allwinner kernel was best described as a ghastly mess. It had, e.g., a big chunk of code bolted on that loaded a binary data file at boot time and configured the various peripherals. My suspicion is that that was the init code from an entirely different operating system completely that they'd just duct-taped onto the Linux kernel. Unwiring that was a problem. The chip itself is pretty nice from the hackability perspective. It has a boot rom, like the processor in the Raspberry Pi, and is capable of loading the kernel from flash or an SD card, so you can build unbrickable hardware with it. (For years I ran my personal website off an A20-based TV set-top-box nailed to a plank.) It's not entirely true about running entirely free code. Apart from the boot ROM, which I suspect you can change if you pay Allwinner enough money, it's got a Mali 400 GPU. There's some of an open source driver here: http://limadriver.org/ http://limadriver.org/ ...but I don't know how usable it is. If you want full acceleration I believe you need a blob. It's still a four-year-old semi-obsolescent SoC, of course. Perfectly adequate for low-end work but compilation on it is for masochists. (I should know; I did.)
- lfam 10y agoYou're right, I forgot about the GPU. I consider that a very optional part of the computer. I've also used an A20 for compilation... briefly. And not much was compiled in the brief period ;) As for the boot ROM blob, do you know if that is the 'boot0 and boot1' that Olimex apparently published the source code for? http://linux-sunxi.org/BROM#Source_code_for_boot0_and_boot1 http://linux-sunxi.org/BROM#Source_code_for_boot0_and_boot1
- david-given 10y agoI'm way out of touch these days, but it looks like it. I wonder if anyone's verified that the code in the boot room on this device really is what you get when you build the boot0 code? I wonder what sort of maliciousness you could fit in there if you tried...
- lkcl 10y agohno has extracted and part-reverse-engineered the eGON boot ROM, it's clearly visible and available as the allwinner engineers didn't have time (or funding) to rush out anything other than what you see. imagine the shit-storm that would occur if they tried. you really think that in today's cut-throat market they'd even remotely risk "being found out"? no, the chances of them making a glaring and incompetent accidental mistake that compromises on security are far, far higher than them getting involved in deliberately adding malicious spying code into the device. you have to remember that the A20 was designed along "unbrickable" lines, so that they could help out incompetent OEMs and ODMs who took it on themselves to "experiment" by making random changes to the design. any kind of DRM would be a serious impediment to that... so they didn't add any.
- lkcl 10y agohttp://linux-sunxi.org/EGON#eGON.BRM http://linux-sunxi.org/EGON#eGON.BRM
- lkcl 10y agoIt had, e.g., a big chunk of code bolted on that loaded a binary data file at boot time and configured the various peripherals. that's all been reverse-engineered, in fact the source for boot0/boot1 is now properly GPL'd. i don't know who you are but we probably both contributed at different times - i was the one who released the first linux and u-boot kernel source to the public via my server, and later on did a usb sniff of the USB-FEL traffic by putting LIVESUIT.EXE into qemu, configuring qemu to give it access to one of the USB ports and uploading an OS to one of my Computer Cards. that was enough for Henrik (hno) and others to complete the fex-boot program. i love doing that stuff. anyway, upshot is: after a LOT of work by a LOT of people (including yourself it sounds like), the A20 is one of the few china processors that's fully libre reverse-engineered for its boot process, contains no DRM, and even the Video decode engine and 2D GPU are now reverse-engineered. there aren't very many processors you can say that about - if you do know of any please tell me because i will need to make an in-depth evaluation.
- lkcl 10y ago> the project lead, who was, um, difficult ah! it's been so long, i've been so busy i couldn't remember who you were, out of curiosity had to look you up. yes. i remember. from successful experience of 10 years using wikis for note-taking in reverse-engineering projects, you insisted on posting unstructured information to a mailing list where it was then utterly impossible for anyone to find it (i don't mean me), help you with it (i don't mean me), collaborate with you on it (i don't mean me) so... let's rewrite what you said to reflect it from your perspective. > the project lead who has a lot of experience in > complex reverse-engineering, ongoing documentation, > information management and software libre, asked > me to respect certain rules... and i refused to do > so, causing his life and everybody's life to > become, um, "difficult" you were causing me a significant amount of work by having to cut/paste things that you were writing to the list instead of putting them in the wiki and sending a link as i asked you to do, so that i was the one that was forced to clean up after you. not really very fair of you to do that to someone is it... but you blamed me for that? uhn??? how does that work?? so... yeah - that you left the list was a good thing because i was able to focus on what i was doing rather than having to clean up after you. sorry if you felt that that was unfair or "a run-in" or was "difficult", but it's real simple: when trying to find important information, if it's unstructured, it might as well not ever have been written. there's only so much that a google search can achieve. i trust that in the intervening years you've learned that by now.