Add rootfs for ARM64 (#877)
author김용섭/동작제어Lab(SR)/Engineer/삼성전자 <yons.kim@samsung.com>
Wed, 25 Apr 2018 00:49:19 +0000 (09:49 +0900)
committer서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 <sangmin7.seo@samsung.com>
Wed, 25 Apr 2018 00:49:19 +0000 (09:49 +0900)
* Add rootfs for ARM64

Prepares nnfw to support cross/ARM64 build

Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
tools/cross/arm64/sources.list.trusty [new file with mode: 0644]
tools/cross/arm64/sources.list.xenial [new file with mode: 0644]
tools/cross/build_rootfs.sh

diff --git a/tools/cross/arm64/sources.list.trusty b/tools/cross/arm64/sources.list.trusty
new file mode 100644 (file)
index 0000000..8aa98a2
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://ports.ubuntu.com/ubuntu-ports/ trusty main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ trusty-backports main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ trusty-security main restricted universe multiverse
+deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-security main restricted universe multiverse
diff --git a/tools/cross/arm64/sources.list.xenial b/tools/cross/arm64/sources.list.xenial
new file mode 100644 (file)
index 0000000..56fbb36
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
+deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
index afe2d5b..868ea2a 100755 (executable)
@@ -4,7 +4,7 @@ set -x
 usage()
 {
     echo "Usage: $0 [BuildArch] [LinuxCodeName] [--skipunmount] [--skipproxy]"
-    echo "BuildArch can be: arm and armel"
+    echo "BuildArch can be: arm(default), arm64 and armel"
     echo "LinuxCodeName - optional, Code name for Linux, can be: xenial(default), trusty"
     echo "                          If BuildArch is armel, this can be tizen(default)"
     echo "--skipunmount - optional, will skip the unmount of rootfs folder."
@@ -44,6 +44,10 @@ for i in "$@" ; do
             __BuildArch=arm
             __UbuntuArch=armhf
             ;;
+        arm64)
+            __BuildArch=arm64
+            __UbuntuArch=arm64
+            ;;
         armel)
             __BuildArch=armel
             __Tizen=tizen