Skip to contentSkip to conversation

Add AXS10x boards

PATCH New Alexey Brodkin 2 participants 5 messages Nov 6, 2014 – Jan 14, 2015

lore
Share & tools
lore
#0 lore raw

cover Add AXS10x boards

This series introduces 2 boards (AXS101 and AXS103) from Synopsys that house ARC cores (ARC 700 and ARC HS38 correspondingly).

Alexey Brodkin (2):
board: add support for ARC AXS101 Software Development Platform
board: add support for ARC AXS103 Software Development Platform

 configs/axs101_defconfig | 28 ++++++++++++++++++++++++++++
 configs/axs103_defconfig |  9 +++++++++
 2 files changed, 37 insertions(+)
 create mode 100644 configs/axs101_defconfig
 create mode 100644 configs/axs103_defconfig
Signature · 1 line
1.9.3
#1 lore raw

PATCH 1/2 board: add support for ARC AXS101 Software Development Platform

The AXS101 Platform consists of a DesignWare AXC001 CPU
Card (with ARC 770D core) 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 extrenal monitor connection.

Cc Anton Kolesov <[email protected]>
Cc Thomas Petazzoni <[email protected]>
Cc Peter Korsgaard <[email protected]>
---
 configs/axs101_defconfig | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 configs/axs101_defconfig
configs/axs101_defconfig new file +28 -0
new file mode 100644
index 0000000..c1c537c
@@ -0,0 +1,28 @@
+BR2_arcle=y
+BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
+BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
+BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
+BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
+BR2_PTHREAD_DEBUG=y
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
+BR2_PACKAGE_HOST_GDB=y
+BR2_TARGET_GENERIC_HOSTNAME="axs101"
+BR2_TARGET_GENERIC_ISSUE="Welcome to the AXS101 Software Development Platform"
+BR2_INIT_SYSV=y
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttyS3"
+# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/foss-for-synopsys-dwc-arc-processors/linux.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="arc-3.15"
+BR2_LINUX_KERNEL_DEFCONFIG="axs101"
+BR2_PACKAGE_GDB=y
+BR2_PACKAGE_I2C_TOOLS=y
+BR2_PACKAGE_USBUTILS=y
+BR2_PACKAGE_LIBUSB_COMPAT=y
+BR2_PACKAGE_LMBENCH=y
+BR2_PACKAGE_LTP_TESTSUITE=y
+BR2_TARGET_ROOTFS_INITRAMFS=y
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="axs101"
Signature · 1 line
1.9.3
#2 lore raw

PATCH 1/2 board: add support for ARC AXS101 Software Development Platform

Dear Alexey Brodkin,

Quoted 11 lines · Alexey Brodkin

The AXS101 Platform consists of a DesignWare AXC001 CPU
Card (with ARC 770D core) 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 extrenal monitor connection.

external

configs/axs101_defconfig line 7

Quoted 13 lines
configs/axs101_defconfig new file +7 -0
new file mode 100644
index 0000000..c1c537c
@@ -0,0 +1,28 @@
+BR2_arcle=y
+BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
+BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
+BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
+BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
+BR2_PTHREAD_DEBUG=y
+BR2_TOOLCHAIN_BUILDROOT_CXX=y

We normally don't enable such features in defconfig files, and keep the toolchain config minimal.

configs/axs101_defconfig line 8

Quoted 1 line
configs/axs101_defconfig new file +1 -0
+BR2_PACKAGE_HOST_GDB=y

Same.

configs/axs101_defconfig line 11

Quoted 3 lines
configs/axs101_defconfig new file +3 -0
+BR2_TARGET_GENERIC_HOSTNAME="axs101"
+BR2_TARGET_GENERIC_ISSUE="Welcome to the AXS101 Software Development Platform"
+BR2_INIT_SYSV=y

Ditto, please stick with Busybox.

configs/axs101_defconfig line 14

Quoted 3 lines
configs/axs101_defconfig new file +3 -0
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttyS3"
+# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set

Please stick to the default here as well.

configs/axs101_defconfig line 18

Quoted 4 lines
configs/axs101_defconfig new file +4 -0
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/foss-for-synopsys-dwc-arc-processors/linux.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="arc-3.15"

This is a branch name, which means the build is not reproducible. Please using either a tag, or a full commit ID.

configs/axs101_defconfig line 25

Quoted 7 lines
configs/axs101_defconfig new file +7 -0
+BR2_LINUX_KERNEL_DEFCONFIG="axs101"
+BR2_PACKAGE_GDB=y
+BR2_PACKAGE_I2C_TOOLS=y
+BR2_PACKAGE_USBUTILS=y
+BR2_PACKAGE_LIBUSB_COMPAT=y
+BR2_PACKAGE_LMBENCH=y
+BR2_PACKAGE_LTP_TESTSUITE=y

Please disable these tools, and keep the defconfig minimal, thanks!

configs/axs101_defconfig line 28

Quoted 3 lines
configs/axs101_defconfig new file +3 -0
+BR2_TARGET_ROOTFS_INITRAMFS=y
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="axs101"

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH 2/2 board: add support for ARC AXS103 Software Development Platform

In reply to Alexey Brodkin

The AXS103 Platform consists of a DesignWare AXC003 CPU
Card (typically with ARC HS38 core) 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 extrenal monitor connection.

As of today Linux kernel sources are not published for ARC HS core so kernel could be built from custom tarball with sources if required.

When kernel sources for ARC HS are released this configuration will be updated.

But even now rootfs image could be built with Buildroot for ARC HS since gcc, binutils and uClibc for ARC already has support of the new core starting from version "arc-2014.08".

Cc Anton Kolesov <[email protected]>
Cc Thomas Petazzoni <[email protected]>
Cc Peter Korsgaard <[email protected]>
---
 configs/axs103_defconfig | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 configs/axs103_defconfig
configs/axs103_defconfig new file +9 -0
new file mode 100644
index 0000000..5be8fad
@@ -0,0 +1,9 @@
+BR2_arcle=y
+BR2_archs38=y
+BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
+BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
+BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttyS3"
+BR2_PACKAGE_LMBENCH=y
+BR2_PACKAGE_LTP_TESTSUITE=y
+BR2_TARGET_ROOTFS_CPIO=y
Signature · 1 line
1.9.3
#4 lore raw

PATCH 2/2 board: add support for ARC AXS103 Software Development Platform

Dear Alexey Brodkin,

Quoted 37 lines · Alexey Brodkin

The AXS103 Platform consists of a DesignWare AXC003 CPU
Card (typically with ARC HS38 core) 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 extrenal monitor connection.

As of today Linux kernel sources are not published for ARC HS core so kernel could be built from custom tarball with sources if required.

When kernel sources for ARC HS are released this configuration will be updated.

But even now rootfs image could be built with Buildroot for ARC HS since gcc, binutils and uClibc for ARC already has support of the new core starting from version "arc-2014.08".

Cc Anton Kolesov <[email protected]>
Cc Thomas Petazzoni <[email protected]>
Cc Peter Korsgaard <[email protected]>
---
 configs/axs103_defconfig | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 configs/axs103_defconfig
configs/axs103_defconfig new file +0 -0
new file mode 100644
index 0000000..5be8fad

configs/axs103_defconfig line 9

Quoted 9 lines
configs/axs103_defconfig new file +9 -0
@@ -0,0 +1,9 @@
+BR2_arcle=y
+BR2_archs38=y
+BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
+BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
+BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttyS3"
+BR2_PACKAGE_LMBENCH=y
+BR2_PACKAGE_LTP_TESTSUITE=y
+BR2_TARGET_ROOTFS_CPIO=y

Without a kernel / bootloader, this defconfig doesn't look very useful. Can you resubmit once the kernel / bootloader sources become available, and add support for them in the defconfig?

In the mean time, I've marked this patch as Changes Requested in patchwork.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com