mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
17
board/embest/riotboard/genimage.cfg
Normal file
17
board/embest/riotboard/genimage.cfg
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
38
board/embest/riotboard/readme.txt
Normal file
38
board/embest/riotboard/readme.txt
Normal file
@@ -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.
|
||||
@@ -0,0 +1,6 @@
|
||||
default buildroot
|
||||
|
||||
label buildroot
|
||||
kernel /boot/zImage
|
||||
devicetree /boot/imx6dl-riotboard.dtb
|
||||
append console=ttymxc1,115200 root=/dev/mmcblk1p1 rw
|
||||
Reference in New Issue
Block a user