From e5e7954b8673b2e9e555cb4f508c775885f5fc6f Mon Sep 17 00:00:00 2001 From: Minsoo Kim Date: Thu, 24 Nov 2016 00:15:53 +0900 Subject: [PATCH] =?UTF-8?q?prime=5Foven=20=EC=9D=B4=EB=A6=84=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=EB=90=9C=20=EA=B2=83=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../falinux/prime_oven/rootfs_overlay/app/.empty | 0 .../falinux/prime_oven/rootfs_overlay/bin/bootid | 26 +++++++++ .../falinux/prime_oven/rootfs_overlay/boot0/.empty | 0 .../falinux/prime_oven/rootfs_overlay/boot1/.empty | 0 .../falinux/prime_oven/rootfs_overlay/data/.empty | 0 .../falinux/prime_oven/rootfs_overlay/etc/fstab | 14 +++++ .../rootfs_overlay/etc/init.d/S90system-update | 68 ++++++++++++++++++++++ .../rootfs_overlay/etc/ssh/ssh_host_dsa_key | 12 ++++ .../rootfs_overlay/etc/ssh/ssh_host_dsa_key.pub | 1 + .../rootfs_overlay/etc/ssh/ssh_host_ecdsa_key | 5 ++ .../rootfs_overlay/etc/ssh/ssh_host_ecdsa_key.pub | 1 + .../rootfs_overlay/etc/ssh/ssh_host_rsa_key | 27 +++++++++ .../rootfs_overlay/etc/ssh/ssh_host_rsa_key.pub | 1 + .../etc/udev/rules.d/01-falinux-usb.rules | 1 + .../prime_oven/rootfs_overlay/mnt/mmc/.empty | 0 .../prime_oven/rootfs_overlay/mnt/nfs/.empty | 0 .../prime_oven/rootfs_overlay/mnt/usb/.empty | 0 .../rootfs_overlay/root/.falinux/mk-mmc-part.sh | 53 +++++++++++++++++ .../rootfs_overlay/root/.falinux/up-pl.sh | 10 ++++ .../rootfs_overlay/root/.falinux/update.sh | 31 ++++++++++ .../rootfs_overlay/root/.falinux/usb-run.sh | 14 +++++ .../falinux/prime_qt5/rootfs_overlay/app/.empty | 0 .../falinux/prime_qt5/rootfs_overlay/bin/bootid | 26 --------- .../falinux/prime_qt5/rootfs_overlay/boot0/.empty | 0 .../falinux/prime_qt5/rootfs_overlay/boot1/.empty | 0 .../falinux/prime_qt5/rootfs_overlay/data/.empty | 0 .../falinux/prime_qt5/rootfs_overlay/etc/fstab | 14 ----- .../rootfs_overlay/etc/init.d/S90system-update | 68 ---------------------- .../rootfs_overlay/etc/ssh/ssh_host_dsa_key | 12 ---- .../rootfs_overlay/etc/ssh/ssh_host_dsa_key.pub | 1 - .../rootfs_overlay/etc/ssh/ssh_host_ecdsa_key | 5 -- .../rootfs_overlay/etc/ssh/ssh_host_ecdsa_key.pub | 1 - .../rootfs_overlay/etc/ssh/ssh_host_rsa_key | 27 --------- .../rootfs_overlay/etc/ssh/ssh_host_rsa_key.pub | 1 - .../etc/udev/rules.d/01-falinux-usb.rules | 1 - .../prime_qt5/rootfs_overlay/mnt/mmc/.empty | 0 .../prime_qt5/rootfs_overlay/mnt/nfs/.empty | 0 .../prime_qt5/rootfs_overlay/mnt/usb/.empty | 0 .../rootfs_overlay/root/.falinux/mk-mmc-part.sh | 53 ----------------- .../rootfs_overlay/root/.falinux/up-pl.sh | 10 ---- .../rootfs_overlay/root/.falinux/update.sh | 31 ---------- .../rootfs_overlay/root/.falinux/usb-run.sh | 14 ----- 42 files changed, 264 insertions(+), 264 deletions(-) create mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/app/.empty create mode 100755 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/bin/bootid create mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/boot0/.empty create mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/boot1/.empty create mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/data/.empty create mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/fstab create mode 100755 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/init.d/S90system-update create mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_dsa_key create mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_dsa_key.pub create mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key create mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key.pub create mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_rsa_key create mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_rsa_key.pub create mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/udev/rules.d/01-falinux-usb.rules create mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/mnt/mmc/.empty create mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/mnt/nfs/.empty create mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/mnt/usb/.empty create mode 100755 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/mk-mmc-part.sh create mode 100755 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/up-pl.sh create mode 100755 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/update.sh create mode 100755 buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/usb-run.sh delete mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/app/.empty delete mode 100755 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/bin/bootid delete mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/boot0/.empty delete mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/boot1/.empty delete mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/data/.empty delete mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/fstab delete mode 100755 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/init.d/S90system-update delete mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_dsa_key delete mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_dsa_key.pub delete mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key delete mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key.pub delete mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_rsa_key delete mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_rsa_key.pub delete mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/udev/rules.d/01-falinux-usb.rules delete mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/mnt/mmc/.empty delete mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/mnt/nfs/.empty delete mode 100644 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/mnt/usb/.empty delete mode 100755 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/mk-mmc-part.sh delete mode 100755 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/up-pl.sh delete mode 100755 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/update.sh delete mode 100755 buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/usb-run.sh diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/app/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/app/.empty new file mode 100644 index 0000000..e69de29 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/bin/bootid b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/bin/bootid new file mode 100755 index 0000000..b6ee26e --- /dev/null +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/bin/bootid @@ -0,0 +1,26 @@ +#!/bin/bash + +BOOTID=0 + +EEPROM_00=`i2cget -y 0 0x50 0x00 b 2>/dev/null` +EEPROM_01=`i2cget -y 0 0x50 0x01 b 2>/dev/null` +EEPROM_02=`i2cget -y 0 0x50 0x02 b 2>/dev/null` +EEPROM_03=`i2cget -y 0 0x50 0x03 b 2>/dev/null` + +AR_EEPROM_00=$(( $EEPROM_00 )) +if [ -n "${EEPROM_01}" ] +then + AR_EEPROM_01=$(( (~$EEPROM_01) & 0xff )) +fi +AR_EEPROM_02=$(( $EEPROM_02 )) +if [ -n "${EEPROM_02}" ] +then + AR_EEPROM_03=$(( (~$EEPROM_03) & 0xff )) +fi + +if [ "$AR_EEPROM_00" == "$AR_EEPROM_02" ] && [ "$AR_EEPROM_00" == "$AR_EEPROM_01" ] && [ "$AR_EEPROM_02" == "$AR_EEPROM_03" ] +then + BOOTID=$AR_EEPROM_00 +fi + +echo $BOOTID diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/boot0/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/boot0/.empty new file mode 100644 index 0000000..e69de29 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/boot1/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/boot1/.empty new file mode 100644 index 0000000..e69de29 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/data/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/data/.empty new file mode 100644 index 0000000..e69de29 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/fstab b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/fstab new file mode 100644 index 0000000..20c4fc4 --- /dev/null +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/fstab @@ -0,0 +1,14 @@ +# +/dev/root / ext2 rw,noauto 0 1 +proc /proc proc defaults 0 0 +devpts /dev/pts devpts defaults,gid=5,mode=620 0 0 +tmpfs /dev/shm tmpfs mode=0777 0 0 +tmpfs /tmp tmpfs mode=1777 0 0 +tmpfs /run tmpfs mode=0755,nosuid,nodev 0 0 +sysfs /sys sysfs defaults 0 0 + +#/dev/mmcblk0p1 /boot0 vfat defaults 0 0 +#/dev/mmcblk0p2 /boot1 vfat defaults 0 0 + +/dev/mmcblk0p3 /app ext4 defaults 0 0 +/dev/mmcblk0p4 /data ext4 defaults 0 0 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/init.d/S90system-update b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/init.d/S90system-update new file mode 100755 index 0000000..d277484 --- /dev/null +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/init.d/S90system-update @@ -0,0 +1,68 @@ +#!/bin/sh + +start() { + BOOTID=`bootid` + if [ -z "$BOOTID" ] + then + exit + fi + + KERNEL_FILE=uImage + DTB_FILE=zynq-innovex-tas.dtb + RAMFS_FILE=uramdisk-tas.gz + + CURR_BOOT=`expr \( $BOOTID + 1 \) % 2` + NEXT_BOOT=`expr \( $BOOTID \) % 2` + + BOOT0_KERNEL=`/usr/bin/md5sum /boot0/${KERNEL_FILE} 2>/dev/null | awk '{print $1}'` + BOOT1_KERNEL=`/usr/bin/md5sum /boot1/${KERNEL_FILE} 2>/dev/null | awk '{print $1}'` + + BOOT0_DTB=`/usr/bin/md5sum /boot0/${DTB_FILE} 2>/dev/null | awk '{print $1}'` + BOOT1_DTB=`/usr/bin/md5sum /boot1/${DTB_FILE} 2>/dev/null | awk '{print $1}'` + + BOOT0_RAMFS=`/usr/bin/md5sum /boot0/${RAMFS_FILE} 2>/dev/null | awk '{print $1}'` + BOOT1_RAMFS=`/usr/bin/md5sum /boot1/${RAMFS_FILE} 2>/dev/null | awk '{print $1}'` + + if [ "$BOOT0_KERNEL" != "$BOOT1_KERNEL" ] + then + echo "[*] Updating kernel image file..." + echo " Copy /boot${CURR_BOOT}/${KERNEL_FILE} to /boot${NEXT_BOOT}/${KERNEL_FILE}" + cp /boot${CURR_BOOT}/${KERNEL_FILE} /boot${NEXT_BOOT}/${KERNEL_FILE} + fi + + if [ "$BOOT0_DTB" != "$BOOT1_DTB" ] + then + echo "[*] Updaing dtb file..." + echo " Copy /boot${CURR_BOOT}/${DTB_FILE} to /boot${NEXT_BOOT}/${DTB_FILE}" + cp /boot${CURR_BOOT}/${DTB_FILE} /boot${NEXT_BOOT}/${DTB_FILE} + fi + + if [ "$BOOT0_RAMFS" != "$BOOT1_RAMFS" ] + then + echo "[*] Updaing ramdisk image file..." + echo " Copy /boot${CURR_BOOT}/${RAMFS_FILE} to /boot${NEXT_BOOT}/${RAMFS_FILE}" + cp /boot${CURR_BOOT}/${RAMFS_FILE} /boot${NEXT_BOOT}/${RAMFS_FILE} + fi +} + +stop() { + echo "OK" +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart|reload) + restart + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac + +exit $? + diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_dsa_key b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_dsa_key new file mode 100644 index 0000000..eab0aa1 --- /dev/null +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_dsa_key @@ -0,0 +1,12 @@ +-----BEGIN DSA PRIVATE KEY----- +MIIBugIBAAKBgQCxkJ3WnJ9PNY3ZygWN7wo3S2LnPG/cakQVthDSxzzorOc4lH0j +XI/C90eEz+argdZ80eAJdLDLk9a/4EVVKkNxbQVzta7OB92H39FDiD2OtxmKR0Rd +VIqULmzaiCBepdo9ZdXFd7soZj2QlDoDrxlrJDvdDoGvWbk1/ILEGlDcUwIVAMuk +101oFe1rUJdtpRK7YdLTKIa9AoGADeUg5PFxyeYTukEhySDzLpza7KaNX28Avp6f +2s9tWBjWCWU02Ywq8sUbHNuCXESG+9sBZkfLvVrhcUGlWbNEQnMqMnOPjO6bcPEb +VGkfzw6L9h57uSMRCS935bKSilqyoU/pMZYVi/GlPKRVXoKUen3AfE+LYfpQTAHM +NpCTZR4CgYByV0fSCpY/83qNW+sJp68i2xyrL73CFb5A8/w7BGNebvmon6jT9QH0 +G920R/OUcOkKN6nnJMUdUTYSeZT6lHHbpcg7i9TLklSIi/2kxyN01HXrnjmaRLKn +mfYyl7bge9jLrfgXB95q5gLZiimv8AgJ1bPBUi31kqIrlrbHwbvcSAIUDgUB90T+ ++JkLLd1cozoKa3epxoU= +-----END DSA PRIVATE KEY----- diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_dsa_key.pub b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_dsa_key.pub new file mode 100644 index 0000000..589a30d --- /dev/null +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_dsa_key.pub @@ -0,0 +1 @@ +ssh-dss AAAAB3NzaC1kc3MAAACBALGQndacn081jdnKBY3vCjdLYuc8b9xqRBW2ENLHPOis5ziUfSNcj8L3R4TP5quB1nzR4Al0sMuT1r/gRVUqQ3FtBXO1rs4H3Yff0UOIPY63GYpHRF1UipQubNqIIF6l2j1l1cV3uyhmPZCUOgOvGWskO90Oga9ZuTX8gsQaUNxTAAAAFQDLpNdNaBXta1CXbaUSu2HS0yiGvQAAAIAN5SDk8XHJ5hO6QSHJIPMunNrspo1fbwC+np/az21YGNYJZTTZjCryxRsc24JcRIb72wFmR8u9WuFxQaVZs0RCcyoyc4+M7ptw8RtUaR/PDov2Hnu5IxEJL3flspKKWrKhT+kxlhWL8aU8pFVegpR6fcB8T4th+lBMAcw2kJNlHgAAAIByV0fSCpY/83qNW+sJp68i2xyrL73CFb5A8/w7BGNebvmon6jT9QH0G920R/OUcOkKN6nnJMUdUTYSeZT6lHHbpcg7i9TLklSIi/2kxyN01HXrnjmaRLKnmfYyl7bge9jLrfgXB95q5gLZiimv8AgJ1bPBUi31kqIrlrbHwbvcSA== root@leios-900X5L diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key new file mode 100644 index 0000000..07dafd8 --- /dev/null +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIMTRyNYsOf5KhA/WC/HqmB31S6mbQOFzlnHHPQeOhjjEoAoGCCqGSM49 +AwEHoUQDQgAE0haZkobY2cF5sFO0TQxjhWYfp6R7HSjEbTy/8XRm7k80aaBI9zUL +2RhO/IkcDJVAge2vcgNRhx1qo/pny1aUTQ== +-----END EC PRIVATE KEY----- diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key.pub b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key.pub new file mode 100644 index 0000000..241193d --- /dev/null +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key.pub @@ -0,0 +1 @@ +ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNIWmZKG2NnBebBTtE0MY4VmH6ekex0oxG08v/F0Zu5PNGmgSPc1C9kYTvyJHAyVQIHtr3IDUYcdaqP6Z8tWlE0= root@leios-900X5L diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_rsa_key b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_rsa_key new file mode 100644 index 0000000..faddb0b --- /dev/null +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_rsa_key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEA1jsFHopxh8H9wQdbR+L8FIe0uqpmaVCLB+TCFwzDAJtQ3F4d +rw5ICDwDhsx+8GDRaPyaUShdgxLXa2gpnT64xe4qHyyBsB4L8p2m+HtyG2ZDpOto +SmfcVCAFo6aObo10lcs7JHD9lNB07YUNjIeL5j8lg+TA3Sqj6dkhu2QD0k/MCOsB +lrN8GfHPJSEtQwSKsEQPW70bp8XGk0DKAzDcH8P+b2v+l0unN7gAOKsTIfANhVur +P60ch0sDJUEs6BtsvkPwivrEb3J2gIzQXVMe5iBQkpE1HuZIpvHsN79Pq+UwgZip +2g/f4AbjysMRWUJzHfbnR2X82xx/MtWKrr7nxQIDAQABAoIBAQCQ5R5TR8P91EFy +2yzr9CQXJqogTrwxot5GGn0D5gfGU0ZfpfBhxEEIAL9J3upEXteEMMWW+rw0uPum +k68BwbhrduhaaVnV6pyeHe8exS+qRIKf+vBw0sp8w6PMygwvzdD6t5hqz1lT26Ia +PBGr6MnAkxkmmgOwEvUGZ2ufOMg057LqqP/3B67S2T3+pGqWYmrm/G1/mWP+8jWh +g3MfJ/l/1VWwve0bcAfDEmyZjilFbiuLEca0VgkbsG2yUvZvLXecFddpp5IoJi5/ +5wkQAnxrBNcmxIlkrHZNcGLSPWlQxn49h98qnJ7plvoydR89ds5ZQLG6Nu94PcOA +HV5ym7vBAoGBAPCn9QF9u6mSRebHimJRiIqK9rq/qs5XMqGiYDBOpKGhXpLUDUbb +29sC+cp+uok9hb44iwOkcDMTva1EDpyvV0Vjbax4dgykbhGr52TTVu5oPBf7oaJj +/Icz+jqbKNquz3ZZEyTjTfFdhtseeiuLYk1ULj/94ro3b8RtjY/L1t/5AoGBAOPj +vUhNIignITN1ODU0tEHK0S4NkHk6l6s7X6fFR00aaGRCmryHiFAk7c0NodagX3JH +vJSsjFyFmNrq0MUik+bM0sHi6XcHh55aYkIcou8eAEzORBDzOViyE7nd6uhGoTtO +tTJuRlRaD70HuYUBWHkjaW9IoYxcd/SeHnaYahEtAoGBAKUU0cCAG2cq68BvSMJA +48UFplJcgDKjJhwyYoFAsTYel91okOL2lk4aMHdzj0ntZf0ilFmfR0gCVq6wbMWW +kesLVYRl7bSmZsrAfS5wusU3w2FAP5RBukyUnyXsoY3BNJceaz92nVTgr01IDs4o +AvrAsCk9Y3YR6R15eQ4W6gMhAoGAAoVhcaxQxWrxZhVU4tnLaLLqr3y87WplhSJq +A3weNs8k+n72IUHKk0BlVRBiivJJPAVpI6fpAZkEwN86IgQo6LO5XSW6eXOe33SW +g663arfFPxRFEn7uUnnd1/+JerpVTEepn34yzvoUFH5CYiNKrERlBTMjfl8DgLRD +GALFoZ0CgYAfIQBV4e4m6DNNJsxPVcag4UJP+6QJX1EVwqTbFIPl3Ur+OJ5+ODbN +CFBmsMlLuiTRrx6E6m/4RFaxo1Jt4x7aisDHkbUxY4i3h41LWi+6ubrLWV0k6vTT +lqwImc5iuVXbdDWEcbddoWaKGvHSSlvIikAY3PVuF2x8a6DGTO+hIA== +-----END RSA PRIVATE KEY----- diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_rsa_key.pub b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_rsa_key.pub new file mode 100644 index 0000000..9e54e9b --- /dev/null +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_rsa_key.pub @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWOwUeinGHwf3BB1tH4vwUh7S6qmZpUIsH5MIXDMMAm1DcXh2vDkgIPAOGzH7wYNFo/JpRKF2DEtdraCmdPrjF7iofLIGwHgvynab4e3IbZkOk62hKZ9xUIAWjpo5ujXSVyzskcP2U0HTthQ2Mh4vmPyWD5MDdKqPp2SG7ZAPST8wI6wGWs3wZ8c8lIS1DBIqwRA9bvRunxcaTQMoDMNwfw/5va/6XS6c3uAA4qxMh8A2FW6s/rRyHSwMlQSzoG2y+Q/CK+sRvcnaAjNBdUx7mIFCSkTUe5kim8ew3v0+r5TCBmKnaD9/gBuPKwxFZQnMd9udHZfzbHH8y1YquvufF root@leios-900X5L diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/udev/rules.d/01-falinux-usb.rules b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/udev/rules.d/01-falinux-usb.rules new file mode 100644 index 0000000..9e558e4 --- /dev/null +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/udev/rules.d/01-falinux-usb.rules @@ -0,0 +1 @@ +ACTION=="add",KERNEL=="sd??",SUBSYSTEM=="block",RUN+="/root/.falinux/usb-run.sh %k" diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/mnt/mmc/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/mnt/mmc/.empty new file mode 100644 index 0000000..e69de29 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/mnt/nfs/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/mnt/nfs/.empty new file mode 100644 index 0000000..e69de29 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/mnt/usb/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/mnt/usb/.empty new file mode 100644 index 0000000..e69de29 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/mk-mmc-part.sh b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/mk-mmc-part.sh new file mode 100755 index 0000000..9fa56d4 --- /dev/null +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/mk-mmc-part.sh @@ -0,0 +1,53 @@ +#!/bin/sh + +BDEV=/dev/mmcblk0 + +PART1=p1 +PART2=p2 +PART3=p3 +PART4=p4 + +umount ${BDEV}${PART1} +umount ${BDEV}${PART2} +umount ${BDEV}${PART3} +umount ${BDEV}${PART4} + +echo "==== make partitions ===============================" +fdisk -S1 -H1 ${BDEV} << EOF +o +n +p +1 +131072 +196607 +n +p +2 +196608 +262143 +n +p +3 +262144 +524287 +n +p +524288 + +t +1 +b +t +2 +b +w +EOF + +## format partitions +echo "==== format partitions =============================" + +mkfs.fat ${BDEV}${PART1} -n BOOT0 +mkfs.fat ${BDEV}${PART2} -n BOOT1 +mkfs.ext4 -F ${BDEV}${PART3} -L APP +mkfs.ext4 -F ${BDEV}${PART4} -L DATA + diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/up-pl.sh b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/up-pl.sh new file mode 100755 index 0000000..9d0c86b --- /dev/null +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/up-pl.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# +# $> promgen -b -w -p bin -data_width 32 -u 0 system.bit -o system.bit.bin +# + +DONE=/sys/devices/soc0/amba/f8007000.devcfg/prog_done + +cat $1 > /dev/xdevcfg +cat $DONE + diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/update.sh b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/update.sh new file mode 100755 index 0000000..5cffe80 --- /dev/null +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/update.sh @@ -0,0 +1,31 @@ +#!/bin/sh + +BOOTID=`bootid` +if [ -z "$BOOTID" ] +then + BOOTID=0 +fi + + +echo "[*] NFS mount..." +mount -t nfs -o nolock 192.168.4.80:/nfs /mnt/nfs + +echo "[*] Remount boot area..." +sync + +umount /dev/mmcblk0p1 +mount -t vfat /dev/mmcblk0p1 /boot0 + +umount /dev/mmcblk0p2 +mount -t vfat /dev/mmcblk0p2 /boot1 + +echo "[*] Copy files..." +cp /mnt/nfs/innovex/tas/uImage /boot${BOOTID}/ +cp /mnt/nfs/innovex/tas/zynq-innovex-tas.dtb /boot${BOOTID}/ +cp /mnt/nfs/innovex/tas/uramdisk-tas.gz /boot${BOOTID}/ + +echo "[*] Sync filesystem..." +sync + +echo "[*] Reboot system..." +reboot diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/usb-run.sh b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/usb-run.sh new file mode 100755 index 0000000..980338d --- /dev/null +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/usb-run.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +echo "[*] USB mount..." +umount /dev/$1 2>/dev/null +mount -t vfat /dev/$1 /mnt/usb + +if [ -f /mnt/usb/tas/run.sh ] +then + echo "[*] Execute run.sh..." + /mnt/usb/tas/run.sh +fi + +umount /dev/$1 +sync diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/app/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/app/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/bin/bootid b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/bin/bootid deleted file mode 100755 index b6ee26e..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/bin/bootid +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -BOOTID=0 - -EEPROM_00=`i2cget -y 0 0x50 0x00 b 2>/dev/null` -EEPROM_01=`i2cget -y 0 0x50 0x01 b 2>/dev/null` -EEPROM_02=`i2cget -y 0 0x50 0x02 b 2>/dev/null` -EEPROM_03=`i2cget -y 0 0x50 0x03 b 2>/dev/null` - -AR_EEPROM_00=$(( $EEPROM_00 )) -if [ -n "${EEPROM_01}" ] -then - AR_EEPROM_01=$(( (~$EEPROM_01) & 0xff )) -fi -AR_EEPROM_02=$(( $EEPROM_02 )) -if [ -n "${EEPROM_02}" ] -then - AR_EEPROM_03=$(( (~$EEPROM_03) & 0xff )) -fi - -if [ "$AR_EEPROM_00" == "$AR_EEPROM_02" ] && [ "$AR_EEPROM_00" == "$AR_EEPROM_01" ] && [ "$AR_EEPROM_02" == "$AR_EEPROM_03" ] -then - BOOTID=$AR_EEPROM_00 -fi - -echo $BOOTID diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/boot0/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/boot0/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/boot1/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/boot1/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/data/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/data/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/fstab b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/fstab deleted file mode 100644 index 20c4fc4..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/fstab +++ /dev/null @@ -1,14 +0,0 @@ -# -/dev/root / ext2 rw,noauto 0 1 -proc /proc proc defaults 0 0 -devpts /dev/pts devpts defaults,gid=5,mode=620 0 0 -tmpfs /dev/shm tmpfs mode=0777 0 0 -tmpfs /tmp tmpfs mode=1777 0 0 -tmpfs /run tmpfs mode=0755,nosuid,nodev 0 0 -sysfs /sys sysfs defaults 0 0 - -#/dev/mmcblk0p1 /boot0 vfat defaults 0 0 -#/dev/mmcblk0p2 /boot1 vfat defaults 0 0 - -/dev/mmcblk0p3 /app ext4 defaults 0 0 -/dev/mmcblk0p4 /data ext4 defaults 0 0 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/init.d/S90system-update b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/init.d/S90system-update deleted file mode 100755 index d277484..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/init.d/S90system-update +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -start() { - BOOTID=`bootid` - if [ -z "$BOOTID" ] - then - exit - fi - - KERNEL_FILE=uImage - DTB_FILE=zynq-innovex-tas.dtb - RAMFS_FILE=uramdisk-tas.gz - - CURR_BOOT=`expr \( $BOOTID + 1 \) % 2` - NEXT_BOOT=`expr \( $BOOTID \) % 2` - - BOOT0_KERNEL=`/usr/bin/md5sum /boot0/${KERNEL_FILE} 2>/dev/null | awk '{print $1}'` - BOOT1_KERNEL=`/usr/bin/md5sum /boot1/${KERNEL_FILE} 2>/dev/null | awk '{print $1}'` - - BOOT0_DTB=`/usr/bin/md5sum /boot0/${DTB_FILE} 2>/dev/null | awk '{print $1}'` - BOOT1_DTB=`/usr/bin/md5sum /boot1/${DTB_FILE} 2>/dev/null | awk '{print $1}'` - - BOOT0_RAMFS=`/usr/bin/md5sum /boot0/${RAMFS_FILE} 2>/dev/null | awk '{print $1}'` - BOOT1_RAMFS=`/usr/bin/md5sum /boot1/${RAMFS_FILE} 2>/dev/null | awk '{print $1}'` - - if [ "$BOOT0_KERNEL" != "$BOOT1_KERNEL" ] - then - echo "[*] Updating kernel image file..." - echo " Copy /boot${CURR_BOOT}/${KERNEL_FILE} to /boot${NEXT_BOOT}/${KERNEL_FILE}" - cp /boot${CURR_BOOT}/${KERNEL_FILE} /boot${NEXT_BOOT}/${KERNEL_FILE} - fi - - if [ "$BOOT0_DTB" != "$BOOT1_DTB" ] - then - echo "[*] Updaing dtb file..." - echo " Copy /boot${CURR_BOOT}/${DTB_FILE} to /boot${NEXT_BOOT}/${DTB_FILE}" - cp /boot${CURR_BOOT}/${DTB_FILE} /boot${NEXT_BOOT}/${DTB_FILE} - fi - - if [ "$BOOT0_RAMFS" != "$BOOT1_RAMFS" ] - then - echo "[*] Updaing ramdisk image file..." - echo " Copy /boot${CURR_BOOT}/${RAMFS_FILE} to /boot${NEXT_BOOT}/${RAMFS_FILE}" - cp /boot${CURR_BOOT}/${RAMFS_FILE} /boot${NEXT_BOOT}/${RAMFS_FILE} - fi -} - -stop() { - echo "OK" -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart|reload) - restart - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? - diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_dsa_key b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_dsa_key deleted file mode 100644 index eab0aa1..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_dsa_key +++ /dev/null @@ -1,12 +0,0 @@ ------BEGIN DSA PRIVATE KEY----- -MIIBugIBAAKBgQCxkJ3WnJ9PNY3ZygWN7wo3S2LnPG/cakQVthDSxzzorOc4lH0j -XI/C90eEz+argdZ80eAJdLDLk9a/4EVVKkNxbQVzta7OB92H39FDiD2OtxmKR0Rd -VIqULmzaiCBepdo9ZdXFd7soZj2QlDoDrxlrJDvdDoGvWbk1/ILEGlDcUwIVAMuk -101oFe1rUJdtpRK7YdLTKIa9AoGADeUg5PFxyeYTukEhySDzLpza7KaNX28Avp6f -2s9tWBjWCWU02Ywq8sUbHNuCXESG+9sBZkfLvVrhcUGlWbNEQnMqMnOPjO6bcPEb -VGkfzw6L9h57uSMRCS935bKSilqyoU/pMZYVi/GlPKRVXoKUen3AfE+LYfpQTAHM -NpCTZR4CgYByV0fSCpY/83qNW+sJp68i2xyrL73CFb5A8/w7BGNebvmon6jT9QH0 -G920R/OUcOkKN6nnJMUdUTYSeZT6lHHbpcg7i9TLklSIi/2kxyN01HXrnjmaRLKn -mfYyl7bge9jLrfgXB95q5gLZiimv8AgJ1bPBUi31kqIrlrbHwbvcSAIUDgUB90T+ -+JkLLd1cozoKa3epxoU= ------END DSA PRIVATE KEY----- diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_dsa_key.pub b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_dsa_key.pub deleted file mode 100644 index 589a30d..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_dsa_key.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-dss AAAAB3NzaC1kc3MAAACBALGQndacn081jdnKBY3vCjdLYuc8b9xqRBW2ENLHPOis5ziUfSNcj8L3R4TP5quB1nzR4Al0sMuT1r/gRVUqQ3FtBXO1rs4H3Yff0UOIPY63GYpHRF1UipQubNqIIF6l2j1l1cV3uyhmPZCUOgOvGWskO90Oga9ZuTX8gsQaUNxTAAAAFQDLpNdNaBXta1CXbaUSu2HS0yiGvQAAAIAN5SDk8XHJ5hO6QSHJIPMunNrspo1fbwC+np/az21YGNYJZTTZjCryxRsc24JcRIb72wFmR8u9WuFxQaVZs0RCcyoyc4+M7ptw8RtUaR/PDov2Hnu5IxEJL3flspKKWrKhT+kxlhWL8aU8pFVegpR6fcB8T4th+lBMAcw2kJNlHgAAAIByV0fSCpY/83qNW+sJp68i2xyrL73CFb5A8/w7BGNebvmon6jT9QH0G920R/OUcOkKN6nnJMUdUTYSeZT6lHHbpcg7i9TLklSIi/2kxyN01HXrnjmaRLKnmfYyl7bge9jLrfgXB95q5gLZiimv8AgJ1bPBUi31kqIrlrbHwbvcSA== root@leios-900X5L diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key deleted file mode 100644 index 07dafd8..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key +++ /dev/null @@ -1,5 +0,0 @@ ------BEGIN EC PRIVATE KEY----- -MHcCAQEEIMTRyNYsOf5KhA/WC/HqmB31S6mbQOFzlnHHPQeOhjjEoAoGCCqGSM49 -AwEHoUQDQgAE0haZkobY2cF5sFO0TQxjhWYfp6R7HSjEbTy/8XRm7k80aaBI9zUL -2RhO/IkcDJVAge2vcgNRhx1qo/pny1aUTQ== ------END EC PRIVATE KEY----- diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key.pub b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key.pub deleted file mode 100644 index 241193d..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key.pub +++ /dev/null @@ -1 +0,0 @@ -ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNIWmZKG2NnBebBTtE0MY4VmH6ekex0oxG08v/F0Zu5PNGmgSPc1C9kYTvyJHAyVQIHtr3IDUYcdaqP6Z8tWlE0= root@leios-900X5L diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_rsa_key b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_rsa_key deleted file mode 100644 index faddb0b..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_rsa_key +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEpAIBAAKCAQEA1jsFHopxh8H9wQdbR+L8FIe0uqpmaVCLB+TCFwzDAJtQ3F4d -rw5ICDwDhsx+8GDRaPyaUShdgxLXa2gpnT64xe4qHyyBsB4L8p2m+HtyG2ZDpOto -SmfcVCAFo6aObo10lcs7JHD9lNB07YUNjIeL5j8lg+TA3Sqj6dkhu2QD0k/MCOsB -lrN8GfHPJSEtQwSKsEQPW70bp8XGk0DKAzDcH8P+b2v+l0unN7gAOKsTIfANhVur -P60ch0sDJUEs6BtsvkPwivrEb3J2gIzQXVMe5iBQkpE1HuZIpvHsN79Pq+UwgZip -2g/f4AbjysMRWUJzHfbnR2X82xx/MtWKrr7nxQIDAQABAoIBAQCQ5R5TR8P91EFy -2yzr9CQXJqogTrwxot5GGn0D5gfGU0ZfpfBhxEEIAL9J3upEXteEMMWW+rw0uPum -k68BwbhrduhaaVnV6pyeHe8exS+qRIKf+vBw0sp8w6PMygwvzdD6t5hqz1lT26Ia -PBGr6MnAkxkmmgOwEvUGZ2ufOMg057LqqP/3B67S2T3+pGqWYmrm/G1/mWP+8jWh -g3MfJ/l/1VWwve0bcAfDEmyZjilFbiuLEca0VgkbsG2yUvZvLXecFddpp5IoJi5/ -5wkQAnxrBNcmxIlkrHZNcGLSPWlQxn49h98qnJ7plvoydR89ds5ZQLG6Nu94PcOA -HV5ym7vBAoGBAPCn9QF9u6mSRebHimJRiIqK9rq/qs5XMqGiYDBOpKGhXpLUDUbb -29sC+cp+uok9hb44iwOkcDMTva1EDpyvV0Vjbax4dgykbhGr52TTVu5oPBf7oaJj -/Icz+jqbKNquz3ZZEyTjTfFdhtseeiuLYk1ULj/94ro3b8RtjY/L1t/5AoGBAOPj -vUhNIignITN1ODU0tEHK0S4NkHk6l6s7X6fFR00aaGRCmryHiFAk7c0NodagX3JH -vJSsjFyFmNrq0MUik+bM0sHi6XcHh55aYkIcou8eAEzORBDzOViyE7nd6uhGoTtO -tTJuRlRaD70HuYUBWHkjaW9IoYxcd/SeHnaYahEtAoGBAKUU0cCAG2cq68BvSMJA -48UFplJcgDKjJhwyYoFAsTYel91okOL2lk4aMHdzj0ntZf0ilFmfR0gCVq6wbMWW -kesLVYRl7bSmZsrAfS5wusU3w2FAP5RBukyUnyXsoY3BNJceaz92nVTgr01IDs4o -AvrAsCk9Y3YR6R15eQ4W6gMhAoGAAoVhcaxQxWrxZhVU4tnLaLLqr3y87WplhSJq -A3weNs8k+n72IUHKk0BlVRBiivJJPAVpI6fpAZkEwN86IgQo6LO5XSW6eXOe33SW -g663arfFPxRFEn7uUnnd1/+JerpVTEepn34yzvoUFH5CYiNKrERlBTMjfl8DgLRD -GALFoZ0CgYAfIQBV4e4m6DNNJsxPVcag4UJP+6QJX1EVwqTbFIPl3Ur+OJ5+ODbN -CFBmsMlLuiTRrx6E6m/4RFaxo1Jt4x7aisDHkbUxY4i3h41LWi+6ubrLWV0k6vTT -lqwImc5iuVXbdDWEcbddoWaKGvHSSlvIikAY3PVuF2x8a6DGTO+hIA== ------END RSA PRIVATE KEY----- diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_rsa_key.pub b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_rsa_key.pub deleted file mode 100644 index 9e54e9b..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_rsa_key.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWOwUeinGHwf3BB1tH4vwUh7S6qmZpUIsH5MIXDMMAm1DcXh2vDkgIPAOGzH7wYNFo/JpRKF2DEtdraCmdPrjF7iofLIGwHgvynab4e3IbZkOk62hKZ9xUIAWjpo5ujXSVyzskcP2U0HTthQ2Mh4vmPyWD5MDdKqPp2SG7ZAPST8wI6wGWs3wZ8c8lIS1DBIqwRA9bvRunxcaTQMoDMNwfw/5va/6XS6c3uAA4qxMh8A2FW6s/rRyHSwMlQSzoG2y+Q/CK+sRvcnaAjNBdUx7mIFCSkTUe5kim8ew3v0+r5TCBmKnaD9/gBuPKwxFZQnMd9udHZfzbHH8y1YquvufF root@leios-900X5L diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/udev/rules.d/01-falinux-usb.rules b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/udev/rules.d/01-falinux-usb.rules deleted file mode 100644 index 9e558e4..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/udev/rules.d/01-falinux-usb.rules +++ /dev/null @@ -1 +0,0 @@ -ACTION=="add",KERNEL=="sd??",SUBSYSTEM=="block",RUN+="/root/.falinux/usb-run.sh %k" diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/mnt/mmc/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/mnt/mmc/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/mnt/nfs/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/mnt/nfs/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/mnt/usb/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/mnt/usb/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/mk-mmc-part.sh b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/mk-mmc-part.sh deleted file mode 100755 index 9fa56d4..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/mk-mmc-part.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/sh - -BDEV=/dev/mmcblk0 - -PART1=p1 -PART2=p2 -PART3=p3 -PART4=p4 - -umount ${BDEV}${PART1} -umount ${BDEV}${PART2} -umount ${BDEV}${PART3} -umount ${BDEV}${PART4} - -echo "==== make partitions ===============================" -fdisk -S1 -H1 ${BDEV} << EOF -o -n -p -1 -131072 -196607 -n -p -2 -196608 -262143 -n -p -3 -262144 -524287 -n -p -524288 - -t -1 -b -t -2 -b -w -EOF - -## format partitions -echo "==== format partitions =============================" - -mkfs.fat ${BDEV}${PART1} -n BOOT0 -mkfs.fat ${BDEV}${PART2} -n BOOT1 -mkfs.ext4 -F ${BDEV}${PART3} -L APP -mkfs.ext4 -F ${BDEV}${PART4} -L DATA - diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/up-pl.sh b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/up-pl.sh deleted file mode 100755 index 9d0c86b..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/up-pl.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# -# $> promgen -b -w -p bin -data_width 32 -u 0 system.bit -o system.bit.bin -# - -DONE=/sys/devices/soc0/amba/f8007000.devcfg/prog_done - -cat $1 > /dev/xdevcfg -cat $DONE - diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/update.sh b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/update.sh deleted file mode 100755 index 5cffe80..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/update.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh - -BOOTID=`bootid` -if [ -z "$BOOTID" ] -then - BOOTID=0 -fi - - -echo "[*] NFS mount..." -mount -t nfs -o nolock 192.168.4.80:/nfs /mnt/nfs - -echo "[*] Remount boot area..." -sync - -umount /dev/mmcblk0p1 -mount -t vfat /dev/mmcblk0p1 /boot0 - -umount /dev/mmcblk0p2 -mount -t vfat /dev/mmcblk0p2 /boot1 - -echo "[*] Copy files..." -cp /mnt/nfs/innovex/tas/uImage /boot${BOOTID}/ -cp /mnt/nfs/innovex/tas/zynq-innovex-tas.dtb /boot${BOOTID}/ -cp /mnt/nfs/innovex/tas/uramdisk-tas.gz /boot${BOOTID}/ - -echo "[*] Sync filesystem..." -sync - -echo "[*] Reboot system..." -reboot diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/usb-run.sh b/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/usb-run.sh deleted file mode 100755 index 980338d..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/usb-run.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -echo "[*] USB mount..." -umount /dev/$1 2>/dev/null -mount -t vfat /dev/$1 /mnt/usb - -if [ -f /mnt/usb/tas/run.sh ] -then - echo "[*] Execute run.sh..." - /mnt/usb/tas/run.sh -fi - -umount /dev/$1 -sync -- 2.1.4