RSS
 
 

Allwinner (SUNXI) A20 getting two CPU up

30 Dec

In my real work, I need a pre-boxed computer at a throwaway price, something I can walk into a server-room covertly stick inside a server cabinet, power-up and then use as a secured ‘base’ from where I can find out ‘what the hell is going on’ (all with the approval of ‘upper management’)

I have been playing about with the various versions of the TV box ‘construct’, what I need is a cheap secure (relatively speaking)
throwaway computer that contains in-bulit WIFI/Ethernet/Bluetooth USB and in a nice sealed case I can fill with epoxy……

Currently I use two units
840A (A20 – dualcore) & 809 III (3188-quadcore)

Enter the 840A TV box

Looking about on the internet you will see the A20 being hacked all over the place ( even at wrt), however when you look a little bit closer you will see that in many of the Kernel startup logs that ONLY ONE CPU is actually enabled and active.

Indeed if you use the ‘released’ SUN-XI code… guess what…. yep only one CPU comes up or you have to start using their ‘closed binary blobs’ for the functionality.(Having worked with some Chinese software developers… I would NEVER allow any Chinese built closed source on my network).

What happened

The Result
Whilst this is still a work in progress we have gotten this far.

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.19.0-rc1-00011-g53262d1-dirty (bob@my-virtual-machine) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #14 SMP Sat Dec 27 13:53:26 HKT 2014
..........
[ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: I12 / Q5 / QT840A A20 tvbox
...........
......
[ 0.001489] CPU: Testing write buffer coherency: ok
[ 0.001836] CPU0: update cpu_capacity 1024
[ 0.001853] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001928] Setting up static identity map for 0x403d4b80 - 0x403d4bd8
[ 0.003335] CPU1: update cpu_capacity 1024
[ 0.003341] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.003428] Brought up 2 CPUs
[ 0.003449] CPU: All CPU(s) started in HYP mode.
[ 0.003455] CPU: Virtualization extensions available.

 

Comments are closed.