aboutsummaryrefslogtreecommitdiff
path: root/board/synopsys
Commit message (Collapse)AuthorAgeFilesLines
* configs/snps_archs38_hsdk: re-enable USB supportGravatar Evgeniy Didin2020-07-251-0/+1
| | | | | | | | | | | | | | With this patch we enable CONFIG_USB for HSDK, which is not explicitly selected by UDL since the commit 5d50bd440bc2 ("drm/udl: Make udl driver depend on CONFIG_USB"). Commit 4c13ca86dcf8 ("ARC: [plat-hsdk]: fix USB regression") is not yet backported to Linux kernel 5.6.x, so we enable this option in fragment file for HSDK. Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Cc: arc-buildroot@synopsys.com Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/synopsys/hsdk: remove duplicate consoleGravatar Evgeniy Didin2018-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes duplicate messages in Linux log on HSDK board. For HSDK board we setup bootargs via device tree, see https://elixir.bootlin.com/linux/latest/source/arch/arc/boot/dts/hsdk.dts#L25 "console=ttyS3" was mistakenly placed in u-boot bootargs which are appended to Kernel bootargs in case of using buildin .dtb. Before patch log is like: ------------------------8<------------------------------------- mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 25000000Hz,... mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 25000000Hz,... mmc0: new SDHC card at address 59b4 mmc0: new SDHC card at address 59b4 blk_queue_max_segment_size: set to minimum 8192 blk_queue_max_segment_size: set to minimum 8192 ------------------------>8------------------------------------- After patch log is like: ------------------------8<------------------------------------- mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 25000000Hz,... mmc0: new SDHC card at address 59b4 blk_queue_max_segment_size: set to minimum 8192 ------------------------8<------------------------------------- Signed-off-by: Evgeniy Didin <didin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: arc-buildroot@synopsys.com Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* synopsys/axs10x: Update /etc/inittab by post-buildGravatar Evgeniy Didin2018-06-192-42/+11
| | | | | | | | | | | To not maintain custom copy of inittab file lets adopt approach used in raspberrypi adding post-build script for synopsys/axs10x boards. Signed-off-by: Evgeniy Didin <didin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: arc-buildroot@synopsys.com Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* board/synopsys: synchronize custom inittab with BusyBox' oneGravatar Carlos Santos2018-06-121-6/+10
| | | | | | | | | | | Apply modifications made in recent commits: - 456ea9871e busybox: add /dev/std{in, out, err} symlinks to inittab - 13dbe73782 busybox: reduce number of mkdir calls in inittab - 8a89d290d4 busybox: add an inittab entry to activate swap Signed-off-by: Carlos Santos <casantos@datacom.com.br> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/snps_arc*_defconfig: update u-boot versionGravatar Evgeniy Didin2018-05-192-120/+0
| | | | | | | | | | | | | | With this commit we update u-boot version to 2018.05 for Synopsys boards. U-boot version 2018.05 was released recently and includes significant changes for ARC boards: * Fix for compile-time warning for AXS10x * Add support of platform-specific commands for HSDK * Add support for on-board SPI flash on HSDK Signed-off-by: Evgeniy Didin <didin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: arc-buildroot@synopsys.com Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* Synopsys: Cleanup files related to SynopsysGravatar Evgeniy Didin2018-04-032-1/+34
| | | | | | | | | | | | Add missing entries in DEVELOPERS file for synopsys boards. Add missing readme.txt for recently introduced synopsys/hsdk board. Reduce size of FAT partition for HSDK image. 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 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* board: add support for ARC HS Development Kit (HSDK)Gravatar Evgeniy Didin2018-03-313-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* configs/snps_arc*_defconfig: update linux versionGravatar Evgeniy Didin2018-02-022-118/+0
| | | | | | | | | | | | | With this commit we update Linux kernel version to 4.15 and Linux headers version to 4.15. Also patches for arc vdk are removed because these changes were applied in Linux 4.15. Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: arc-buildroot@synopsys.com Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* board/synopsys: remove patch for linux vdk defconfigGravatar Zakharov Vlad2017-04-181-32/+0
| | | | | | | | | | | | | The patch for linux vdk defconfig introduced ARC_SMP_HALT_ON_RESET config symbol. In fact that is not required as this symbol is enabled by default if ARC_UBOOT_SUPPORT config symbol is set (and it is set in vdk configs). Also this commit fixes build failure, pointed us by Arnout: https://gitlab.com/buildroot.org/buildroot/builds/14419270 Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* configs/snps_archs38_axs103: add u-boot patches to support slave core kick-startGravatar Zakharov Vlad2017-04-122-0/+120
| | | | | | | | | | | | | | With this patch we add a couple of of-the-tree patches for u-boot. We have an update in hardware that changed the kick-start slave cores procedure. So these patches introduce fixes to work with new axs103 version correctly. They have been already accepted in upstream u-boot so we need to get rid of them as soon as these updates will get available in buildroot. Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* configs: Update Synopsys VDK for ARC HS38Gravatar Alexey Brodkin2017-02-043-0/+150
| | | | | | | | | | | | | | | | | | | | | | | This updates Linux kernel for Synopsys ARC HS38 VDK so it matches real platform and while at it bump kernel version to the latest. Main changes: * Linux kernel v4.9.6 (latest in 4.9.x series in buildroot) * Add support of MMC controller which is used for rootfs * Add support of UIO which is used to communicate with EVSS Now with this update image built by vanilla Buildroot VDK has working UART, MMC, LCD, Ethernet, UIO etc. And while at it we rename defconfing so it: 1) Doesn't mention SMP any more - that's the only option anyways now 2) Matches common naming scheme: vendor_arch_platform Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Zakharov Vlad <Vladislav.Zakharov@synopsys.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs: add support for Synopsys VDK Software Development PlatformGravatar jpinto2015-11-032-0/+208
| | | | | | | | | | | | | | | | | The Virtualizer Development Kit (VDK) Family for ARM Cortex Products consists of a set of virtual prototypes that provide a virtualizer for the ARM core variants. The VDK is a standalone package that runs on an host computer. [Thomas: drop the following options, which as noted by Arnout, are not needed: - BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y - BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="Image" - BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y.] Signed-off-by: Joao Pinto <jpinto@synopsys.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* board: ARC AXS10x bump Linux kernel to 4.2.4Gravatar Alexey Brodkin2015-10-251-198/+0
| | | | | | | | | | | Linux kernel 4.2.4 now has former out of the tree patch, see http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.2.y&id=c4e3a29030fce89272f080e7e92c162b24103736 Essentially removing the patch itself. Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs: bump ARC axs10x Linux kernel and headers to 4.2 releaseGravatar Alexey Brodkin2015-09-201-0/+198
| | | | | | | | | | | | | | | | | | | Linux kernel 4.2 was finally released, so bumping from 4.2-rc5 to final release. Updating Linux headers to 4.2 branch since they are introduced in Buildroot as well already. Also adding 1 back-ported patch that makes SD/MMC cards usable on AXS boards. This patch will be a part of 4.3 (already in linux-next) and hopefully will make its way in 4.2.1. Once that patch appears in 4.2.x it can be removed from here. Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* board: add support for ARC AXS101 and AXS103 Software Development PlatformsGravatar Alexey Brodkin2015-08-041-0/+38
The AXS10x Platform consists of a DesignWare AXC001 CPU Card (with ARC 770D core) in case of AXS101 or AXC003 CPU Card (typically with ARC HS38 core) in case of AXS103 mounted on an ARC Software Development Platform Mainboard with DesignWare peripherals: * SD/MMC contoller * Gigabit network contoller * Serial ports (8250-compatible) * USB 2.0 * SPI * I2C It also houses HDMI output for external monitor connection. For stand-alone usage of the board (with only keyboard, mouse and montor attached) kernel console and getty made available on tty0 as well as on serial port (ttyS3). Note there're 2 prerequisites: [1] u-boot: 2015.07 - fix creation of .config http://patchwork.ozlabs.org/patch/502558/ [2] binutils: fix buildng of Linux kernel for ARCv2 ISA http://patchwork.ozlabs.org/patch/503550/ Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>