open-plc-utils: new package
[buildroot-gz.git] / board / embest / riotboard / readme.txt
blob8c31bbec4e6d3743f396090ba6645d840c86358d
1 Buildroot for Embest RIoTboard
2 ==============================
4 1. Compiling buildroot
5 ----------------------
7 make riotboard_defconfig
8 make
10 2. Installing buildroot
11 -----------------------
13 Prepare an SD-card and plug it into your card reader. Write the bootloader to
14 your SD-card:
16 sudo dd if=output/images/u-boot.imx of=/dev/sdX bs=1k seek=1
18 Create 1 partition on the SD-card using your favourite tool. The partition
19 should be big enough to hold your rootfs, for example 128MiB. Here's how an
20 example of such partition layout:
22    Device Boot      Start         End      Blocks   Id  System
23 /dev/sdX1            2048      264191      131072   83  Linux
25 Format the SD-card partition with your favourite filesystem:
27 sudo mkfs.ext2 /dev/sdX1
29 Deploy your rootfs to the SD-card:
31 sudo mkdir /mnt/sdcard/
32 sudo mount /dev/sdX1 /mnt/sdcard/
33 sudo tar xf rootfs.tar -C /mnt/sdcard/
34 sudo umount /dev/sdX1
36 3. Running buildroot
37 --------------------
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:
42 10100101 (1 means ON position, 0 means OFF position)
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.