aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJian Zhang <zhangjian2011@cn.fujitsu.com>2016-11-25 00:33:05 -0500
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-11-25 15:29:55 +0000
commitab1d7e2aef26b69062f7a648862993df7bdb797a (patch)
treeafb0dab207552f7c6f0e27c2e9903ab3247407b7
parent30b16f7ccee07e65d6bcd2220d657eca3c807f54 (diff)
Add DragonBoard Setting to AGL-JTAHEADmaster
1) add a config file dragonboard.board for DragonBoard. 2) add Toolchain setting for DragonBoard in tools.sh Change-Id: I1f6a4dbb8b02523eedda6434a5257159b26cc3fa Signed-off-by: Jian Zhang <zhangjian2011@cn.fujitsu.com>
-rw-r--r--userdata/conf/boards/dragonboard.board71
-rwxr-xr-xuserdata/conf/tools.sh12
2 files changed, 83 insertions, 0 deletions
diff --git a/userdata/conf/boards/dragonboard.board b/userdata/conf/boards/dragonboard.board
new file mode 100644
index 0000000..5c7f22f
--- /dev/null
+++ b/userdata/conf/boards/dragonboard.board
@@ -0,0 +1,71 @@
+inherit "base-board"
+include "base-params"
+
+IPV4_NET="192.168.30"
+
+IPADDR="192.168.30.234"
+L_IPV4_HOST="64"
+L_HOST_IF="eth0"
+SSH_PORT="22"
+LOGIN="root"
+#JTA_HOME="/home/"
+JTA_HOME="/tmp/"
+#PASSWORD="root"
+PLATFORM="dragonboard"
+TRANSPORT="ssh"
+ARCHITECTURE="arm64"
+
+# configuration used to show the test info to CIAT.list_result
+BOARD_VER="Dragonboard Rev 1.0"
+DEVICE_TEST="/dev/sda1"
+DEVICE_FS="ext4"
+
+SATA_DEV="/dev/sda1"
+SATA_MP="/mnt/sata"
+
+USB_DEV="/dev/sdb1"
+USB_MP="/mnt/usb"
+
+MMC_DEV="/dev/mmcblk0p2"
+MMC_MP="/mnt/mmc"
+
+BOARD.CAP_LIST="RENESAS"
+
+LTP_OPEN_POSIX_SUBTEST_COUNT_POS="1350"
+LTP_OPEN_POSIX_SUBTEST_COUNT_NEG="40"
+
+EXPAT_SUBTEST_COUNT_POS="1769"
+EXPAT_SUBTEST_COUNT_NEG="41"
+
+LTP_EXPECT_FAIL_CASES="abort01 access06 acct01 adjtimex02 cacheflush01 chmod06 chown04 chown04_16 clock_getres01 creat06 eventfd01 fallocate04 fchmod06 fchown04 fchown04_16 fcntl06 fcntl06_64 fcntl24 fcntl24_64 fcntl25 fcntl25_64 fcntl26 fcntl26_64 fork14 ftruncate04 ftruncate04_64 gethostid01 getrandom01 getrandom02 getrandom03 getrandom04 get_mempolicy01 getxattr01 getxattr02 getxattr03 ioctl03 inotify03 fanotify01 fanotify02 fanotify03 fanotify04 fanotify05 fanotify06 io_cancel01 io_destroy01 io_getevents01 io_setup01 io_submit01 kill11 lchown03 lchown03_16 link08 linkat02 mbind01 migrate_pages01 migrate_pages02 mkdir03 mkdirat02 mknod07 mknodat02 mmap15 mmap16 mount01 mount02 mount03 mount04 mount06 move_pages01 move_pages02 move_pages03 move_pages04 move_pages05 move_pages06 move_pages07 move_pages08 move_pages09 move_pages10 move_pages11 mq_notify01 mq_notify02 mq_open01 mq_timedreceive01 mq_timedsend01 mq_unlink01 munlockall02 prot_hsymlinks ptrace03 ptrace04 quotactl01 quotactl02 read02 readahead02 readdir21 recv01 recvfrom01 recvmsg01 rename11 renameat01 rmdir02 rmdir05 sendfile09 sendfile09_64 sendmsg01 sgetmask01 setns02 setregid02 setregid02_16 set_thread_area01 setxattr01 setxattr02 setxattr03 shmctl02 ssetmask01 swapoff01 swapoff02 swapon01 swapon02 swapon03 switch01 sysconf01 sysctl01 sysctl03 sysctl04 sysctl05 syslog01 syslog02 syslog03 syslog04 syslog05 syslog06 syslog07 syslog08 syslog09 syslog10 umount01 umount02 umount03 umount2_01 umount2_02 umount2_03 utime06 utimes01 utimensat01 perf_event_open01 perf_event_open02 futex_wake04 gf01 gf14 gf18 quota_remount_test01 isofs dio01 dio02 dio03 dio04 dio05 dio06 dio07 dio08 dio09 dio10 dio11 dio12 dio13 dio14 dio15 dio16 dio17 dio18 dio19 dio20 dio21 dio22 dio23 dio24 dio25 dio26 dio27 dio28 aio01 aio02 mmapstress08 mmap10_2 mmap10_3 mmap10_4 ksm01 ksm01_1 ksm02 ksm02_1 ksm03 ksm03_1 ksm04 ksm04_1 ksm05 ksm06 ksm06_1 ksm06_2 oom01 oom02 oom03 oom04 oom05 swapping01 thp02 thp03 thp04_1 thp04_2 thp04_3 thp05_1 thp05_2 thp05_3 vma02 vma04 overcommit_memory01 overcommit_memory02 overcommit_memory03 overcommit_memory04 overcommit_memory05 overcommit_memory06 pidns01 pidns02 pidns03 pidns04 pidns05 pidns06 pidns10 pidns12 pidns13 pidns16 pidns17 pidns20 pidns30 pidns31 pidns32 mqns_01 mqns_01_clone mqns_02 mqns_02_clone mqns_03 mqns_03_clone mqns_04 mqns_04_clone netns_netlink netns_breakns_ns_exec_ipv4_net netns_breakns_ns_exec_ipv6_net netns_breakns_ns_exec_ipv4_ioc netns_breakns_ns_exec_ipv6_ioc netns_breakns_ip_ipv4_netlink netns_breakns_ip_ipv6_netlink netns_breakns_ip_ipv4_ioctl netns_breakns_ip_ipv6_ioctl netns_comm_ns_exec_ipv4_netlin netns_comm_ns_exec_ipv6_netlin netns_comm_ns_exec_ipv4_ioctl netns_comm_ns_exec_ipv6_ioctl netns_comm_ip_ipv4_netlink netns_comm_ip_ipv6_netlink netns_comm_ip_ipv4_ioctl netns_comm_ip_ipv6_ioctl netns_sysfs shmnstest_none shmnstest_clone shmnstest_unshare shmem_2nstest_none shmem_2nstest_clone shmem_2nstest_unshare shm_comm mesgq_nstest_none mesgq_nstest_clone mesgq_nstest_unshare msg_comm sem_nstest_none sem_nstest_clone sem_nstest_unshare semtest_2ns_none semtest_2ns_clone semtest_2ns_unshare sem_comm utstest_unshare_1 utstest_unshare_2 utstest_unshare_3 utstest_unshare_4 utstest_unshare_5 utstest_clone_1 utstest_clone_2 utstest_clone_3 utstest_clone_4 utstest_clone_5 userns01 userns02 userns03 userns04 userns05 userns06 cgroup cgroup_fj cpuset_base_ops cpuset_inherit cpuset_exclusive cpuset_hierarchy cpuset_syscall cpuset_sched_domains cpuset_load_balance cpuset_hotplug cpuset_memory cpuset_memory_pressure cpuset_memory_spread cpuset_regression_test su01 cron02 cron_deny01 cron_allow01 cron_dirs_checks01 acl_test01 runpwtests01 runpwtests02 runpwtests03 runpwtests04 runpwtests06 Numa-testcases move_pages01 move_pages02 move_pages03 move_pages04 move_pages05 move_pages06 move_pages07 move_pages08 move_pages09 move_pages10 move_pages11 hugemmap01 hugemmap04 hugemmap05 hugemmap05_1 hugemmap05_2 hugemmap05_3 hugeshmat01 hugeshmat02 hugeshmat03 hugeshmat04 hugeshmctl01 hugeshmctl02 hugeshmctl03 hugeshmdt01 hugeshmget01 hugeshmget02 hugeshmget03 hugeshmget05 ar ld ldd nm objdump file cron logrotate cpio unzip01 gzip01 df01_ext2 df01_ext3 df01_ext4 df01_xfs df01_vfat df01_exfat df01_ntfs ht_interrupt fw_load rtc01 block_dev tpci tbio ltp_acpi cpufreq_boost uaccess rcu_torture lock_torture zram01 zram02 zram03 delete_module01 delete_module03 ext4-nsec-timestamps ext4-uninit-groups ext4-persist-prealloc ext4-subdir-limit dma_thread_diotest1 dma_thread_diotest2 dma_thread_diotest3 dma_thread_diotest4 dma_thread_diotest5 dma_thread_diotest6 dma_thread_diotest7 can_filter can_rcv_own_msgs cpuhotplug02 cpuhotplug03 cpuhotplug05 cpuhotplug06 cpuhotplug07 arp finger ftp host netstat ping rcp rdist rlogin rsh rwho sendfile tcpdump telnet iptables dhcpd dnsmasq mc_cmds mc_commo mc_member mc_opts rpc01 rpcinfo rup rusers nfs01 nfs02 nfs03 nfs04 nfsstress nfsstat01 nfsx-linux"
+
+# for network test of ltp
+# name of the remote host machine
+REMOTE_HOST="192.168.30.63"
+R_IPV4_HOST="1"
+R_HOST_IF="eth0"
+# root passwd of the remote host machine
+REMOTE_PASSWD="root"
+
+# configuration for CIAT
+# configuration for building images
+#BUILD_SERVERIP="192.168.30.70"
+#BUILD_USER="vince"
+#BUILD_PASSWORD="root"
+#BUILD_PATH="/compile/agl-demo/CIAT"
+# the directory for image will be $BUILD_PATH/repoclone/$IMAGE_PATH/
+IMAGE_PATH="build/tmp/deploy/images"
+UIMAGE="uImage"
+DTB="uImage-r8a7791-porter.dtb"
+ROOTFS="agl-demo-platform-porter.tar.bz2"
+
+# configuration for tftp/nfs server
+BOOT_SERVERIP="192.168.30.244"
+BOOT_PASSWORD="root"
+BOOT_TFTP_PATH="/srv/tftp/"
+BOOT_NFS_PATH="/nfs/"
+BOOT_NUM_FILE="boot_num"
+
+# wait seconds during reboot
+REBOOT_WAIT="60"
+
diff --git a/userdata/conf/tools.sh b/userdata/conf/tools.sh
index bf2963f..b38eb54 100755
--- a/userdata/conf/tools.sh
+++ b/userdata/conf/tools.sh
@@ -46,6 +46,18 @@ then
unset PYTHONHOME
env -u PYTHONHOME
+elif [ "${PLATFORM}" = "dragonboard" ];
+then
+ SDKROOT=/userdata/toolchains/dragon/sysroots/aarch64-agl-linux
+ # environment script changes PATH in the way that python uses libs from sysroot which is not what we want, so save it and use later
+ ORIG_PATH=$PATH
+
+ PREFIX=aarch64-agl-linux
+ source /userdata/toolchains/dragon/environment-setup-aarch64-agl-linux
+ HOST=aarch64-agl-linux
+
+ unset PYTHONHOME
+ env -u PYTHONHOME
elif [ "${PLATFORM}" = "lager" ];
then
SDKROOT=/userdata/toolchains/lager-poky-toolchain/sysroots/cortexa15hf-vfp-neon-poky-linux-gnueabi