• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/board/embest/riotboard/readme.txt
Nikolay DimitrovNikolay Dimitrov committed 0f9bee00c3418 Apr 2015
Raw file
Source viewDiff to previous
 
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.
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.