Skip to content

Commit 3010a77

Browse files
committed
board: add support for ARC AXS101 and AXS103 Software Development
Platforms 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. Signed-off-by: Alexey Brodkin <[email protected]> Cc: Anton Kolesov <[email protected]>
1 parent be31098 commit 3010a77

File tree

3 files changed

+108
-0
lines changed

3 files changed

+108
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# /etc/inittab
2+
#
3+
# Copyright (C) 2001 Erik Andersen <[email protected]>
4+
#
5+
# Note: BusyBox init doesn't support runlevels. The runlevels field is
6+
# completely ignored by BusyBox init. If you want runlevels, use
7+
# sysvinit.
8+
#
9+
# Format for each entry: <id>:<runlevels>:<action>:<process>
10+
#
11+
# id == tty to run on, or empty for /dev/console
12+
# runlevels == ignored
13+
# action == one of sysinit, respawn, askfirst, wait, and once
14+
# process == program to run
15+
16+
# Startup the system
17+
null::sysinit:/bin/mount -t proc proc /proc
18+
null::sysinit:/bin/mkdir -p /dev/pts
19+
null::sysinit:/bin/mkdir -p /dev/shm
20+
null::sysinit:/bin/mount -a
21+
null::sysinit:/bin/hostname -F /etc/hostname
22+
# now run any rc scripts
23+
::sysinit:/etc/init.d/rcS
24+
25+
# Start an "askfirst" shell on the console (whatever that may be)
26+
#::askfirst:-/bin/sh # ASKFIRST_SHELL
27+
28+
# /sbin/getty invocations for selected ttys
29+
tty1::respawn:/sbin/getty 115200 tty1
30+
31+
# Put a getty on the serial port
32+
ttyS3::respawn:/sbin/getty -L ttyS3 115200 vt100
33+
34+
# Stuff to do for the 3-finger salute
35+
::ctrlaltdel:/sbin/reboot
36+
37+
# Stuff to do before rebooting
38+
::shutdown:/etc/init.d/rcK
39+
::shutdown:/sbin/swapoff -a
40+
::shutdown:/bin/umount -a -r
41+

configs/snps_axs101_defconfig

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
BR2_arcle=y
2+
BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
3+
BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
4+
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
5+
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
6+
BR2_PTHREAD_DEBUG=y
7+
BR2_TOOLCHAIN_BUILDROOT_CXX=y
8+
BR2_PACKAGE_HOST_GDB=y
9+
BR2_TARGET_GENERIC_HOSTNAME="axs101"
10+
BR2_TARGET_GENERIC_ISSUE="Welcome to the ARC Software Development Platform"
11+
BR2_ROOTFS_OVERLAY="board/synopsys/axs10x/fs-overlay"
12+
BR2_LINUX_KERNEL=y
13+
BR2_LINUX_KERNEL_CUSTOM_GIT=y
14+
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/foss-for-synopsys-dwc-arc-processors/linux.git"
15+
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="arc-axs103-20150403"
16+
BR2_LINUX_KERNEL_DEFCONFIG="axs101"
17+
BR2_LINUX_KERNEL_VMLINUX=y
18+
BR2_PACKAGE_FFMPEG=y
19+
BR2_PACKAGE_MPLAYER=y
20+
BR2_PACKAGE_GDB=y
21+
BR2_PACKAGE_PERF=y
22+
BR2_PACKAGE_DIRECTFB=y
23+
# BR2_PACKAGE_DIRECTFB_LINUXINPUT is not set
24+
# BR2_PACKAGE_DIRECTFB_SVG is not set
25+
BR2_PACKAGE_DIRECTFB_EXAMPLES=y
26+
BR2_PACKAGE_DIRECTFB_EXAMPLES_DOK=y
27+
BR2_PACKAGE_I2C_TOOLS=y
28+
BR2_PACKAGE_LZO=y
29+
BR2_PACKAGE_DROPBEAR=y
30+
BR2_PACKAGE_HTOP=y
31+
BR2_TARGET_ROOTFS_INITRAMFS=y
32+
BR2_TARGET_ROOTFS_TAR_GZIP=y
33+
BR2_PACKAGE_HOST_MKE2IMG=y

configs/snps_axs103_defconfig

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
BR2_arcle=y
2+
BR2_archs38=y
3+
BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
4+
BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
5+
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
6+
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
7+
BR2_PTHREAD_DEBUG=y
8+
BR2_TOOLCHAIN_BUILDROOT_CXX=y
9+
BR2_PACKAGE_HOST_GDB=y
10+
BR2_TARGET_GENERIC_HOSTNAME="axs103"
11+
BR2_TARGET_GENERIC_ISSUE="Welcome to the ARC Software Development Platform"
12+
BR2_ROOTFS_OVERLAY="board/synopsys/axs10x/fs-overlay"
13+
BR2_LINUX_KERNEL=y
14+
BR2_LINUX_KERNEL_CUSTOM_GIT=y
15+
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/foss-for-synopsys-dwc-arc-processors/linux.git"
16+
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="arc-axs103-20150403"
17+
BR2_LINUX_KERNEL_DEFCONFIG="axs103_smp"
18+
BR2_LINUX_KERNEL_VMLINUX=y
19+
BR2_PACKAGE_FFMPEG=y
20+
BR2_PACKAGE_MPLAYER=y
21+
BR2_PACKAGE_GDB=y
22+
BR2_PACKAGE_PERF=y
23+
BR2_PACKAGE_DIRECTFB=y
24+
# BR2_PACKAGE_DIRECTFB_LINUXINPUT is not set
25+
# BR2_PACKAGE_DIRECTFB_SVG is not set
26+
BR2_PACKAGE_DIRECTFB_EXAMPLES=y
27+
BR2_PACKAGE_DIRECTFB_EXAMPLES_DOK=y
28+
BR2_PACKAGE_I2C_TOOLS=y
29+
BR2_PACKAGE_LZO=y
30+
BR2_PACKAGE_DROPBEAR=y
31+
BR2_PACKAGE_HTOP=y
32+
BR2_TARGET_ROOTFS_INITRAMFS=y
33+
BR2_TARGET_ROOTFS_TAR_GZIP=y
34+
BR2_PACKAGE_HOST_MKE2IMG=y

0 commit comments

Comments
 (0)