From 86bc2f39468cf0b25ab3b42d7dbabd1fc410536d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 8 Jan 2016 14:43:37 +0000 Subject: [PATCH] Support for the olinuxino-micro --- README.md | 3 ++- doc/EN/installation.org | 3 ++- src/freedombone-image-hardware-setup | 4 ++++ src/freedombone-image-make | 2 +- src/freedombone-image-makefile | 10 ++++++++++ website/EN/installation.html | 9 +++++---- 6 files changed, 24 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0a0c548f..20b47014 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ To build a 64bit Qemu image: freedombone-image -t qemu-x86_64 -s 8G -Other supported boards are cubieboard2, cubietruck and olinuxino-lime2. +Other supported boards are cubieboard2, cubietruck, olinuxino-lime2 and olinuxino-micro. Checklist ========= @@ -87,6 +87,7 @@ Currently the following boards are supported: Cubieboard 2 Cubietruck (Cubieboard 3) olinuxino Lime2 + olinuxino Micro If there is no existing image available then you can build one from scratch. See the section above on how to do that. If an existing image is available then you can download it and check the signature with: diff --git a/doc/EN/installation.org b/doc/EN/installation.org index 2cd0de83..710e4874 100644 --- a/doc/EN/installation.org +++ b/doc/EN/installation.org @@ -70,7 +70,7 @@ To build a 64bit Qemu image: freedombone-image -t qemu-x86_64 -s 8G #+END_SRC -Other supported boards are cubieboard2, cubietruck and olinuxino-lime2. +Other supported boards are cubieboard2, cubietruck, olinuxino-lime2 and olinuxino-micro. * Checklist Before installing Freedombone you will need a few things. @@ -103,6 +103,7 @@ Currently the following boards are supported: * [[http://linux-sunxi.org/Cubietech_Cubieboard2][Cubieboard 2]] * [[https://linux-sunxi.org/Cubietruck][Cubietruck (Cubieboard 3)]] * [[https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-LIME2/open-source-hardware][olinuxino Lime2]] + * [[https://www.olimex.com/Products/OlinuXino/A20/A20-OlinuXino-MICRO/open-source-hardware][olinuxino Micro]] If there is no existing image available then you can build one from scratch. See the section above on how to do that. If an existing image is available then you can download it and check the signature with: diff --git a/src/freedombone-image-hardware-setup b/src/freedombone-image-hardware-setup index bf40b439..774762a8 100755 --- a/src/freedombone-image-hardware-setup +++ b/src/freedombone-image-hardware-setup @@ -205,6 +205,10 @@ case "$MACHINE" in a20_setup_boot sun7i-a20-olinuxino-lime2.dtb enable_serial_console ttyS0 ;; + a20-olinuxino-micro) + a20_setup_boot sun7i-a20-olinuxino-micro.dtb + enable_serial_console ttyS0 + ;; cubieboard2) a20_setup_boot sun7i-a20-cubieboard2.dtb enable_serial_console ttyS0 diff --git a/src/freedombone-image-make b/src/freedombone-image-make index b41b9544..bde07e9b 100755 --- a/src/freedombone-image-make +++ b/src/freedombone-image-make @@ -95,7 +95,7 @@ case "$MACHINE" in --roottype btrfs \ " ;; - cubietruck | a20-olinuxino-lime2 | cubieboard2) + cubietruck | a20-olinuxino-lime2 | a20-olinuxino-micro | cubieboard2) extra_pkgs="$a20_pkgs" extra_opts="\ --variant minbase \ diff --git a/src/freedombone-image-makefile b/src/freedombone-image-makefile index 51275f82..19499b9b 100755 --- a/src/freedombone-image-makefile +++ b/src/freedombone-image-makefile @@ -118,6 +118,16 @@ a20-olinuxino-lime2: prep $(SIGN) @echo "Build complete." +# build A20 OLinuXino Micro SD card image +a20-olinuxino-micro: prep + $(eval ARCHITECTURE = armhf) + $(eval MACHINE = a20-olinuxino-micro) + $(MAKE_IMAGE) + $(TAR) $(ARCHIVE) $(IMAGE) + @echo "" + $(SIGN) + @echo "Build complete." + # build an i386 image i386: prep $(eval ARCHITECTURE = i386) diff --git a/website/EN/installation.html b/website/EN/installation.html index 0fae9ac0..cce9e14c 100644 --- a/website/EN/installation.html +++ b/website/EN/installation.html @@ -3,15 +3,15 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - - + + + -