The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / board / embest / riotboard / readme.txt
1 Buildroot for Embest RIoTboard
2 ==============================
3
4 1. Compiling buildroot
5 ----------------------
6
7 make riotboard_defconfig
8 make
9
10 2. Installing buildroot
11 -----------------------
12
13 Prepare an SD-card and plug it into your card reader. Write the bootloader to
14 your SD-card:
15
16 sudo dd if=output/images/u-boot.imx of=/dev/sdX bs=1k seek=1
17
18 Create 1 partition on the SD-card using your favourite tool. The
19 partition should be big enough to hold your rootfs, for example
20 128MiB. Here's an example partition layout:
21
22    Device Boot      Start         End      Blocks   Id  System
23 /dev/sdX1            2048      264191      131072   83  Linux
24
25 Format the SD-card partition with your favourite filesystem:
26
27 sudo mkfs.ext2 /dev/sdX1
28
29 Deploy your rootfs to the SD-card:
30
31 sudo mkdir /mnt/sdcard/
32 sudo mount /dev/sdX1 /mnt/sdcard/
33 sudo tar xf output/images/rootfs.tar -C /mnt/sdcard/
34 sudo umount /dev/sdX1
35
36 3. Running buildroot
37 --------------------
38
39 Position the board so you can read the label "RIoTboard" on the right side of
40 SW1 DIP switches. Configure the SW1 swiches like this:
41
42 10100101 (1 means ON position, 0 means OFF position)
43
44 Now plug your prepared SD-card in slot J6. Connect a serial console (115200, 8,
45 N, 1) to header J18. Connect a 5V/1A power supply to the board and enjoy your
46 new toy.