diff options
author | Nikolay Dimitrov <picmaster@mail.bg> | 2015-03-06 06:11:25 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-03-06 23:52:01 +0100 |
commit | 3c9aa3218339ce8d896adfc5facd812b1fffa889 (patch) | |
tree | a007161b6d918a396d8c7bb2156f3a4c15164844 /board/embest | |
parent | 591cb698d7768a52c1f1c527345782b500142edc (diff) |
board: add support for RIoTboard
This is a small development board, based on Freescale IMX6 Solo SoC
(single core ARM Cortex-A9). The board has excellent support in mainline
U-Boot and Linux.
Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/embest')
-rw-r--r-- | board/embest/riotboard/readme.txt | 46 | ||||
-rw-r--r-- | board/embest/riotboard/rootfs_overlay/boot/extlinux/extlinux.conf | 6 |
2 files changed, 52 insertions, 0 deletions
diff --git a/board/embest/riotboard/readme.txt b/board/embest/riotboard/readme.txt new file mode 100644 index 000000000..8c31bbec4 --- /dev/null +++ b/board/embest/riotboard/readme.txt @@ -0,0 +1,46 @@ +Buildroot for Embest RIoTboard +============================== + +1. Compiling buildroot +---------------------- + +make riotboard_defconfig +make + +2. Installing buildroot +----------------------- + +Prepare an SD-card and plug it into your card reader. Write the bootloader to +your SD-card: + +sudo dd if=output/images/u-boot.imx of=/dev/sdX bs=1k seek=1 + +Create 1 partition on the SD-card using your favourite tool. The partition +should be big enough to hold your rootfs, for example 128MiB. Here's how an +example of such partition layout: + + Device Boot Start End Blocks Id System +/dev/sdX1 2048 264191 131072 83 Linux + +Format the SD-card partition with your favourite filesystem: + +sudo mkfs.ext2 /dev/sdX1 + +Deploy your rootfs to the SD-card: + +sudo mkdir /mnt/sdcard/ +sudo mount /dev/sdX1 /mnt/sdcard/ +sudo tar xf rootfs.tar -C /mnt/sdcard/ +sudo umount /dev/sdX1 + +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: + +10100101 (1 means ON position, 0 means OFF position) + +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 your +new toy. 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 000000000..c7d32e009 --- /dev/null +++ b/board/embest/riotboard/rootfs_overlay/boot/extlinux/extlinux.conf @@ -0,0 +1,6 @@ +default buildroot + +label buildroot +kernel /boot/uImage +devicetree /boot/imx6dl-riotboard.dtb +append console=ttymxc1,115200 root=/dev/mmcblk0p1 rw |