kumquat-buildroot/board/technologic/ts7680
Julien Grossholtz 6f337e09a5 configs/ts7680: bump Linux to 4.9, to fix build with gcc >= 8.x
The TS-7680 defconfig does not build with gcc 8.x and 9.x because it
uses an old 3.14 kernel. Technologic Systems, the board manufacturer
recently released an updated 4.9 based kernel on a separate repository
on github.

Bump the kernel release from 3.14.28 to 4.19.186 and update the linux
defconfig name as requested in the TS-7680 documentation [1].

[1] https://wiki.embeddedarm.com/wiki/TS-7680#Linux_4.9.y

Signed-off-by: Julien Grossholtz <julien.grossholtz@openest.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-08-19 15:46:18 +02:00
..
genimage.cfg
readme.txt configs/ts7680: bump Linux to 4.9, to fix build with gcc >= 8.x 2019-08-19 15:46:18 +02:00

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 4.9 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.