aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Julien Grossholtz <julien.grossholtz@gmail.com>2017-08-24 17:07:00 -0400
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-08-24 23:15:26 +0200
commit9a56487c630d38cea608b6012ae0517bc2e8bd9b (patch)
tree9b192774e8dd9261065a31d901555442d947bf4c /board
parent089ad9cefd88b6952df2d28de9b0a6ed6fee3388 (diff)
downloadbuildroot-9a56487c630d38cea608b6012ae0517bc2e8bd9b.tar.gz
buildroot-9a56487c630d38cea608b6012ae0517bc2e8bd9b.tar.bz2
configs: add defconfig for TS-7680
The TS-7680 is an i.MX286 ARM ARM926EJ-S board with 10/100 Ethernet, USB port, eMMC and CAN ports. The TS-7680 uses a 3.14.28 Linux kernel provided by Technologic Systems: https://github.com/embeddedarm/linux-3.14.28-imx28 U-Boot is not provided as the manufacturer recommends not to update the built-in bootloader. For more informations please see: https://wiki.embeddedarm.com/wiki/TS-7680 Signed-off-by: Julien Grossholtz <julien.grossholtz@savoirfairelinux.com> [Thomas: use same headers as the kernel being built, update .gitlab-ci.yml.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board')
-rw-r--r--board/technologic/ts7680/genimage.cfg14
-rw-r--r--board/technologic/ts7680/readme.txt51
2 files changed, 65 insertions, 0 deletions
diff --git a/board/technologic/ts7680/genimage.cfg b/board/technologic/ts7680/genimage.cfg
new file mode 100644
index 0000000000..b5599823dc
--- /dev/null
+++ b/board/technologic/ts7680/genimage.cfg
@@ -0,0 +1,14 @@
+image sdcard.img {
+ hdimage {
+ }
+
+ partition unused {
+ size = 512B
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext4"
+ size = 256M
+ }
+}
diff --git a/board/technologic/ts7680/readme.txt b/board/technologic/ts7680/readme.txt
new file mode 100644
index 0000000000..4ddd4915b5
--- /dev/null
+++ b/board/technologic/ts7680/readme.txt
@@ -0,0 +1,51 @@
+Technologic Systems TS-7680 SBC
+===============================
+
+This document explains how to set up a basic Buildroot system for
+the Technologic Systems TS-7680 Single Board Computer.
+
+The TS-7680 SBC is based on the Freescale i.MX286 ARM ARM926EJ-S
+running at 454MHz. The TS-7680 features are 10/100 Ethernet ports,
+Wi-Fi, microSD card, eMMC, NOR Flash, USB host port, CAN ports,
+relays and ADC/DAC. More details on the board here:
+https://wiki.embeddedarm.com/wiki/TS-7680
+
+The TS-7680 uses a 3.14.28 Linux kernel provided by
+Technologic Systems.
+
+To build the default configuration you only have to run:
+
+ $ make ts7680_defconfig
+ $ make
+
+The output looks like:
+output/images
+├── imx28-ts7680.dtb
+├── rootfs.ext2
+├── rootfs.ext4 -> rootfs.ext2
+├── rootfs.tar
+├── sdcard.img
+└── uImage
+
+The provided genimage configuration generates an image file containing
+two partitions. The first one is unused, but mandatory as the
+TS-7680 built-in bootloader loads the Linux uImage from the /boot
+directory in the second partition. The second partition contains the
+rootfs with the Linux uImage into the /boot directory.
+
+ $ fdisk output/images/sdcard.img
+ output/images/sdcard.img1 1 1 1 512B 0 Empty
+ output/images/sdcard.img2 2 524289 524288 256M 83 Linux
+
+This image can be directly written to an SD card.
+
+ $ sudo dd if=output/images/sdcard.img of=/dev/mmcblk0
+
+To boot with Buildroot, insert this SD card on the board, make sure
+the SD jumper is present and the U-Boot jumper is not.
+
+The bootloader comes pre-flashed on the board on an SPI flash. Since
+updating the bootloader is risky and not trivial, it is not included
+in the Buildroot defconfig. Refer to
+https://wiki.embeddedarm.com/wiki/TS-7680#U-Boot for details on
+which U-Boot config to use and how to flash it.