Skip to content

Commit

Permalink
Added support for aarch64
Browse files Browse the repository at this point in the history
AArch64 also called ARM64 is the 64-bit extension of the ARM architecture family.
New defconfigs for the aarch64 architecture is added.
Github actions for building and uploading artifacts referenced from the
README file is added.

Signed-off-by: Andreas Egeberg <[email protected]>
  • Loading branch information
Andreas Egeberg committed Oct 5, 2022
1 parent 9dad8df commit 12efe2d
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
demo: [backbone, dhcp-boot, led-relay]
platform: [coronet, dagger, zero]
platform: [coronet, dagger, zero, envoy]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
strategy:
matrix:
demo: [backbone, dhcp-boot, led-relay]
platform: [coronet, dagger, zero]
platform: [coronet, dagger, zero, envoy]
steps:
- uses: actions/checkout@v2
- name: Set Build Variables
Expand Down
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ of the box, other variants are possible, but require custom setup:
| PowerPC (T1023) | Coronet |
| ARM Cortex-A9 | Dagger |
| Intel/AMD x86_64 | Zero |
| aarch64 | Envoy |


Available Demos
Expand All @@ -43,11 +44,11 @@ the README of each demo and quick-links to the latest build for each of
the supported platforms. The same builds are also available directly
from the Actions tab on the GitHub project.

| **Description** | **Coronet** | **Dagger** | **Zero** |
|-------------------|-----------------------|----------------------|--------------------|
| [Backbone][] App | [backbone-coronet][] | [backbone-dagger][] | [backbone-zero][] |
| [DHCP Boot][] App | [dhcp-boot-coronet][] | [dhcp-boot-dagger][] | [dhcp-boot-zero][] |
| [LED/Relay][] App | [led-relay-coronet][] | [led-relay-dagger][] | [led-relay-zero][] |
| **Description** | **Coronet** | **Dagger** | **Zero** | **Envoy** |
|-------------------|-----------------------|----------------------|--------------------|--------------------|
| [Backbone][] App | [backbone-coronet][] | [backbone-dagger][] | [backbone-zero][] | [backbone-envoy][] |
| [DHCP Boot][] App | [dhcp-boot-coronet][] | [dhcp-boot-dagger][] | [dhcp-boot-zero][] | [dhcp-boot-envoy][] |
| [LED/Relay][] App | [led-relay-coronet][] | [led-relay-dagger][] | [led-relay-zero][] | [led-relay-envoy][] |

The default login credentials for all demo apps are `root` without any
password. To enable remote login using SSH, you need to set a password
Expand Down Expand Up @@ -125,11 +126,14 @@ target architecture.
[backbone-coronet]: https://nightly.link/westermo/app-demo/workflows/ci/master/app-demo-backbone-coronet.zip
[backbone-dagger]: https://nightly.link/westermo/app-demo/workflows/ci/master/app-demo-backbone-dagger.zip
[backbone-zero]: https://nightly.link/westermo/app-demo/workflows/ci/master/app-demo-backbone-zero.zip
[backbone-envoy]: https://nightly.link/westermo/app-demo/workflows/ci/master/app-demo-backbone-envoy.zip

[dhcp-boot-coronet]: https://nightly.link/westermo/app-demo/workflows/ci/master/app-demo-dhcp-boot-coronet.zip
[dhcp-boot-dagger]: https://nightly.link/westermo/app-demo/workflows/ci/master/app-demo-dhcp-boot-dagger.zip
[dhcp-boot-zero]: https://nightly.link/westermo/app-demo/workflows/ci/master/app-demo-dhcp-boot-zero.zip
[dhcp-boot-envoy]: https://nightly.link/westermo/app-demo/workflows/ci/master/app-demo-dhcp-boot-envoy.zip

[led-relay-coronet]: https://nightly.link/westermo/app-demo/workflows/ci/master/app-demo-led-relay-coronet.zip
[led-relay-dagger]: https://nightly.link/westermo/app-demo/workflows/ci/master/app-demo-led-relay-dagger.zip
[led-relay-zero]: https://nightly.link/westermo/app-demo/workflows/ci/master/app-demo-led-relay-zero.zip
[led-relay-envoy]: https://nightly.link/westermo/app-demo/workflows/ci/master/app-demo-led-relay-envoy.zip
23 changes: 23 additions & 0 deletions configs/backbone_envoy_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
BR2_aarch64=y
BR2_ENABLE_DEBUG=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/myrootfs/crosstool-ng/releases/download/troglobit%2F7.3.0-1/$(ARCH)-unknown-linux-gnu-7.3.0-1.tar.xz"
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="$(ARCH)-unknown-linux-gnu"
BR2_TOOLCHAIN_EXTERNAL_GCC_7=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_15=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY=y
BR2_TARGET_GENERIC_HOSTNAME="backbone"
BR2_TARGET_GENERIC_ISSUE="Backbone Demo"
BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_DEMO_PATH)/board/demo/backbone/rootfs"
BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_DEMO_PATH)/board/common/post-build.sh $(BR2_EXTERNAL_DEMO_PATH)/board/demo/backbone/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_DEMO_PATH)/board/common/post-image.sh"
BR2_PACKAGE_DNSMASQ=y
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_LLDPD=y
BR2_PACKAGE_SOCAT=y
BR2_PACKAGE_TCPDUMP=y
BR2_TARGET_ROOTFS_SQUASHFS=y
# BR2_TARGET_ROOTFS_TAR is not set
BR2_PACKAGE_BACKBONE=y
23 changes: 23 additions & 0 deletions configs/dhcp-boot_envoy_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
BR2_aarch64=y
BR2_ENABLE_DEBUG=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/myrootfs/crosstool-ng/releases/download/troglobit%2F7.3.0-1/$(ARCH)-unknown-linux-gnu-7.3.0-1.tar.xz"
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="$(ARCH)-unknown-linux-gnu"
BR2_TOOLCHAIN_EXTERNAL_GCC_7=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_15=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY=y
BR2_TARGET_GENERIC_HOSTNAME="dhcp-boot"
BR2_TARGET_GENERIC_ISSUE="Dhcp-boot Demo"
BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_DEMO_PATH)/board/demo/dhcp-boot/rootfs"
BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_DEMO_PATH)/board/common/post-build.sh $(BR2_EXTERNAL_DEMO_PATH)/board/demo/dhcp-boot/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_DEMO_PATH)/board/common/post-image.sh"
BR2_PACKAGE_DNSMASQ=y
BR2_PACKAGE_DROPBEAR=y
BR2_TARGET_ROOTFS_SQUASHFS=y
# BR2_TARGET_ROOTFS_TAR is not set
DEMO_VENDOR_ID="dhcp-boot"
DEMO_VENDOR_NAME="DHCP-Boot"
DEMO_VENDOR_DESC="DHCP Boot Demo"
BR2_PACKAGE_DHCP_BOOT=y
22 changes: 22 additions & 0 deletions configs/led-relay_envoy_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
BR2_aarch64=y
BR2_ENABLE_DEBUG=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/myrootfs/crosstool-ng/releases/download/troglobit%2F7.3.0-1/$(ARCH)-unknown-linux-gnu-7.3.0-1.tar.xz"
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="$(ARCH)-unknown-linux-gnu"
BR2_TOOLCHAIN_EXTERNAL_GCC_7=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_15=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY=y
BR2_TARGET_GENERIC_HOSTNAME="led-relay"
BR2_TARGET_GENERIC_ISSUE="LED and Relay Demo"
BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_DEMO_PATH)/board/common/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_DEMO_PATH)/board/common/post-image.sh"
BR2_PACKAGE_DNSMASQ=y
BR2_PACKAGE_DROPBEAR=y
BR2_TARGET_ROOTFS_SQUASHFS=y
# BR2_TARGET_ROOTFS_TAR is not set
DEMO_VENDOR_ID="led-relay"
DEMO_VENDOR_NAME="LED-Relay"
DEMO_VENDOR_DESC="LED/Relay Demo"
BR2_PACKAGE_LED_RELAY=y

0 comments on commit 12efe2d

Please sign in to comment.