board: add support for ARC HS Development Kit (HSDK)
authorEvgeniy Didin <Evgeniy.Didin@synopsys.com>
Tue, 19 Dec 2017 14:55:54 +0000 (17:55 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 31 Mar 2018 14:04:39 +0000 (16:04 +0200)
commit7f430a4e87970d275af087d4fefcf15fa92778f9
tree5dfe7ad3ce9412669cac69710001fd9d641d71cb
parentd83eacaaa8f17b5d573d540ca6338390fcfa0ba1
board: add support for ARC HS Development Kit (HSDK)

Synopsys DesignWare HSDK (which stands for ARC HS
Development Kit) is the latest and greatest development
platform that sports quad-core ARC HS38 in real silicon.

Most noticeable features of the board are:
 * Quad-core ARC HS38 CPU running at 1GHz
 * 4Gb of DDR
 * Built-in Vivante GPU (well supported via open source
   Etnaviv drivers)
 * Built-in Wi-Fi/Bluetooth module (RedPine RS-9113)

And as usual we have:
 * [micro] SD-card slot
 * 2 USB 2.0 ports
 * 1Gbit Ethernet port
 * Built-in Digilent JTAG probe
 * Serial port accessible via micro-USB port

Writing sdcard.img on SDcard creates two partitions:
 * FAT32 with uImage and uboot.env
 * EXT4 with root filesystem

We modify kernel config because in default hsdk kernel config
CONFIG_INITRAMFS_SOURCE parameter is set and when we build
rootfs separately (BR2_TARGET_ROOTFS_INITRAMFS is not set)
error appears. Also we set up CONFIG_ARC_UBOOT_SUPPORT which
enables usage of uboot variables in the boot process.

[Peter: Fix comments and rename defconfig to snps_archs38_hsdk_defconfig,
Add defconfig to DEVELOPERS and fixup board/synopsys entry,
Drop postimage script, rename env file in genimage.cfg and drop size
setting for rootfs partition,
Add "" for CONFIG_INITRAMFS_SOURCE in linux fragment]
Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: arc-buildroot@synopsys.com
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
.gitlab-ci.yml
DEVELOPERS
board/synopsys/hsdk/genimage.cfg [new file with mode: 0644]
board/synopsys/hsdk/linux.fragment [new file with mode: 0644]
board/synopsys/hsdk/uboot.env.txt [new file with mode: 0644]
configs/snps_archs38_hsdk_defconfig [new file with mode: 0644]