aboutsummaryrefslogtreecommitdiff
path: root/board/embest
diff options
context:
space:
mode:
authorGravatar Nikolay Dimitrov <nikolay.dimitrov@retrohub.org>2018-09-08 03:24:52 +0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-09-10 21:57:33 +0200
commit11f869a0664871bb65abae86b8a0a2973a8f1b4b (patch)
treedade92090e8365e99af0cf69c1e2fdc0a3f714a7 /board/embest
parent52855cd30728c00bf6bfc284d471357747d3154f (diff)
downloadbuildroot-11f869a0664871bb65abae86b8a0a2973a8f1b4b.tar.gz
buildroot-11f869a0664871bb65abae86b8a0a2973a8f1b4b.tar.bz2
board: resurrect support for RIoTboard
Resurrect support for RIoTboard after 2018.02.x deprecation. Signed-off-by: Nikolay Dimitrov <nikolay.dimitrov@retrohub.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'board/embest')
-rw-r--r--board/embest/riotboard/genimage.cfg17
-rw-r--r--board/embest/riotboard/readme.txt38
-rw-r--r--board/embest/riotboard/rootfs_overlay/boot/extlinux/extlinux.conf6
3 files changed, 61 insertions, 0 deletions
diff --git a/board/embest/riotboard/genimage.cfg b/board/embest/riotboard/genimage.cfg
new file mode 100644
index 0000000000..1221c83b9a
--- /dev/null
+++ b/board/embest/riotboard/genimage.cfg
@@ -0,0 +1,17 @@
+image sdcard.img {
+ hdimage {
+ }
+
+ partition u-boot {
+ in-partition-table = "no"
+ image = "u-boot.imx"
+ offset = 1024
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext2"
+ offset = 1M
+ size = 60M
+ }
+}
diff --git a/board/embest/riotboard/readme.txt b/board/embest/riotboard/readme.txt
new file mode 100644
index 0000000000..4ba836fa5a
--- /dev/null
+++ b/board/embest/riotboard/readme.txt
@@ -0,0 +1,38 @@
+Buildroot for Embest RIoTboard
+==============================
+
+This is a small development board, based on Freescale IMX6 Solo SoC
+(single core ARM Cortex-A9).
+
+More details about the board can be found at:
+
+ http://www.embest-tech.com/riotboard
+
+1. Compiling buildroot
+----------------------
+
+$ make riotboard_defconfig
+$ make
+
+2. Installing buildroot
+-----------------------
+
+Prepare an SD-card and plug it into your card reader. Always double
+check the block device before writing to it, as writing to the wrong
+block device can cause irrecoverable data loss. Now you can write the
+image to your SD-card:
+
+sudo dd if=output/images/sdcard.img of=/dev/<sdcard-block-device> bs=1M
+
+3. Running buildroot
+--------------------
+
+Position the board so you can read the label "RIoTboard" on the right
+side of SW1 DIP switches. Configure the SW1 swiches like this:
+
+1 0 1 0 0 1 0 1
+ON OFF ON OFF OFF ON OFF ON
+
+Now plug your prepared SD-card in slot J6. Connect a serial console
+(115200, 8, N, 1) to header J18. Connect a 5V/1A power supply to the
+board and enjoy.
diff --git a/board/embest/riotboard/rootfs_overlay/boot/extlinux/extlinux.conf b/board/embest/riotboard/rootfs_overlay/boot/extlinux/extlinux.conf
new file mode 100644
index 0000000000..23e48a0da7
--- /dev/null
+++ b/board/embest/riotboard/rootfs_overlay/boot/extlinux/extlinux.conf
@@ -0,0 +1,6 @@
+default buildroot
+
+label buildroot
+kernel /boot/zImage
+devicetree /boot/imx6dl-riotboard.dtb
+append console=ttymxc1,115200 root=/dev/mmcblk1p1 rw