2015-07-01 12:48:07 +02:00
|
|
|
A20-OLinuXino-LIME and A20-OLinuXino-MICRO
|
2015-06-26 12:06:56 +02:00
|
|
|
|
|
|
|
Intro
|
|
|
|
=====
|
|
|
|
|
2016-02-23 01:24:25 +01:00
|
|
|
These are open hardware boards, all based on the Allwinner A20 SoC.
|
2015-07-01 12:48:07 +02:00
|
|
|
|
|
|
|
for more details about the boards see the following pages:
|
|
|
|
- https://www.olimex.com/Products/OLinuXino/open-source-hardware
|
|
|
|
- https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-MICRO/
|
|
|
|
- https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME/
|
2016-02-23 01:24:25 +01:00
|
|
|
- https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2/
|
2015-07-01 12:48:07 +02:00
|
|
|
|
|
|
|
The following defconfigs are available:
|
|
|
|
- olimex_a20_olinuxino_micro_defconfig
|
|
|
|
for the A20-OLinuXino-MICRO board using mainline kernel
|
|
|
|
- olimex_a20_olinuxino_lime_defconfig
|
|
|
|
for the A20-OLinuXino-LIME board using mainline kernel
|
|
|
|
- olimex_a20_olinuxino_lime_mali_defconfig
|
|
|
|
for the A20-OLinuXino-LIME board using legacy linux-sunxi kernel
|
2015-08-17 18:01:45 +02:00
|
|
|
- olimex_a20_olinuxino_lime2_defconfig
|
|
|
|
for the A20-OLinuXino-LIME2 board using mainline kernel
|
2015-06-26 12:06:56 +02:00
|
|
|
|
2015-06-26 12:06:57 +02:00
|
|
|
The legacy linux-sunxi kernels are based on the vendor code drops.
|
2015-06-30 00:05:20 +02:00
|
|
|
They are only useful when accelerated 3D graphics and multimedia support
|
2015-06-26 12:06:57 +02:00
|
|
|
is strictly necessary.
|
|
|
|
|
|
|
|
The Mainline Kernel is already a much better choice for a headless server.
|
|
|
|
And also the mainline kernel works fine even for a basic Linux desktop
|
|
|
|
system running on top of a simple framebuffer, which may be good enough for
|
|
|
|
the users who do not need fancy 3D graphics or video playback acceleration.
|
|
|
|
|
2015-06-30 00:05:21 +02:00
|
|
|
(see http://linux-sunxi.org/Linux_Kernel for more details)
|
|
|
|
|
2015-06-26 12:06:56 +02:00
|
|
|
How to build it
|
|
|
|
===============
|
|
|
|
|
2015-07-01 12:48:07 +02:00
|
|
|
Configure Buildroot:
|
2015-06-26 12:06:57 +02:00
|
|
|
|
2015-07-01 12:48:07 +02:00
|
|
|
$ make <board>_defconfig
|
2015-06-26 12:06:57 +02:00
|
|
|
|
2015-06-26 12:06:56 +02:00
|
|
|
Compile everything and build the rootfs image:
|
|
|
|
|
|
|
|
$ make
|
|
|
|
|
|
|
|
Result of the build
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
After building, you should get a tree like this:
|
|
|
|
|
|
|
|
output/images/
|
|
|
|
+-- rootfs.ext2
|
|
|
|
+-- rootfs.ext4 -> rootfs.ext2
|
2015-07-01 12:48:07 +02:00
|
|
|
+-- script.bin (lime_mali)
|
2016-02-23 01:24:32 +01:00
|
|
|
+-- sdcard.img
|
2015-07-01 12:48:07 +02:00
|
|
|
+-- sun7i-a20-olinuxino-lime.dtb (lime, mainline)
|
2015-08-17 18:01:45 +02:00
|
|
|
+-- sun7i-a20-olinuxino-lime2.dtb (lime2, mainline)
|
2015-07-01 12:48:07 +02:00
|
|
|
+-- sun7i-a20-olinuxino-micro.dtb (micro, mainline)
|
2015-06-26 12:06:56 +02:00
|
|
|
+-- u-boot.bin
|
|
|
|
+-- u-boot-sunxi-with-spl.bin
|
|
|
|
`-- zImage
|
|
|
|
|
|
|
|
|
2016-02-23 01:24:33 +01:00
|
|
|
How to write the SD card
|
|
|
|
========================
|
2016-02-23 01:24:30 +01:00
|
|
|
|
|
|
|
The sdcard.img file is a complete bootable image ready to be written
|
|
|
|
on the boot medium. To install it, simply copy the image to a uSD
|
|
|
|
card:
|
|
|
|
|
|
|
|
# dd if=output/images/sdcard.img of=/dev/sdX
|
|
|
|
|
|
|
|
Where 'sdX' is the device node of the uSD.
|
|
|
|
|
2015-07-01 12:48:07 +02:00
|
|
|
Eject the SD card, insert it in the A20-OLinuXino board, and power it up.
|
2015-06-26 12:06:56 +02:00
|
|
|
|