Commit e5e7954b8673b2e9e555cb4f508c775885f5fc6f
1 parent
2a32571349
Exists in
master
and in
2 other branches
prime_oven 이름 변경된 것 적용
Showing
42 changed files
with
264 additions
and
264 deletions
Show diff stats
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/app/.empty
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/bin/bootid
... | ... | @@ -0,0 +1,26 @@ |
1 | +#!/bin/bash | |
2 | + | |
3 | +BOOTID=0 | |
4 | + | |
5 | +EEPROM_00=`i2cget -y 0 0x50 0x00 b 2>/dev/null` | |
6 | +EEPROM_01=`i2cget -y 0 0x50 0x01 b 2>/dev/null` | |
7 | +EEPROM_02=`i2cget -y 0 0x50 0x02 b 2>/dev/null` | |
8 | +EEPROM_03=`i2cget -y 0 0x50 0x03 b 2>/dev/null` | |
9 | + | |
10 | +AR_EEPROM_00=$(( $EEPROM_00 )) | |
11 | +if [ -n "${EEPROM_01}" ] | |
12 | +then | |
13 | + AR_EEPROM_01=$(( (~$EEPROM_01) & 0xff )) | |
14 | +fi | |
15 | +AR_EEPROM_02=$(( $EEPROM_02 )) | |
16 | +if [ -n "${EEPROM_02}" ] | |
17 | +then | |
18 | + AR_EEPROM_03=$(( (~$EEPROM_03) & 0xff )) | |
19 | +fi | |
20 | + | |
21 | +if [ "$AR_EEPROM_00" == "$AR_EEPROM_02" ] && [ "$AR_EEPROM_00" == "$AR_EEPROM_01" ] && [ "$AR_EEPROM_02" == "$AR_EEPROM_03" ] | |
22 | +then | |
23 | + BOOTID=$AR_EEPROM_00 | |
24 | +fi | |
25 | + | |
26 | +echo $BOOTID | ... | ... |
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/boot0/.empty
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/boot1/.empty
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/data/.empty
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/fstab
... | ... | @@ -0,0 +1,14 @@ |
1 | +# <file system> <mount pt> <type> <options> <dump> <pass> | |
2 | +/dev/root / ext2 rw,noauto 0 1 | |
3 | +proc /proc proc defaults 0 0 | |
4 | +devpts /dev/pts devpts defaults,gid=5,mode=620 0 0 | |
5 | +tmpfs /dev/shm tmpfs mode=0777 0 0 | |
6 | +tmpfs /tmp tmpfs mode=1777 0 0 | |
7 | +tmpfs /run tmpfs mode=0755,nosuid,nodev 0 0 | |
8 | +sysfs /sys sysfs defaults 0 0 | |
9 | + | |
10 | +#/dev/mmcblk0p1 /boot0 vfat defaults 0 0 | |
11 | +#/dev/mmcblk0p2 /boot1 vfat defaults 0 0 | |
12 | + | |
13 | +/dev/mmcblk0p3 /app ext4 defaults 0 0 | |
14 | +/dev/mmcblk0p4 /data ext4 defaults 0 0 | ... | ... |
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/init.d/S90system-update
... | ... | @@ -0,0 +1,68 @@ |
1 | +#!/bin/sh | |
2 | + | |
3 | +start() { | |
4 | + BOOTID=`bootid` | |
5 | + if [ -z "$BOOTID" ] | |
6 | + then | |
7 | + exit | |
8 | + fi | |
9 | + | |
10 | + KERNEL_FILE=uImage | |
11 | + DTB_FILE=zynq-innovex-tas.dtb | |
12 | + RAMFS_FILE=uramdisk-tas.gz | |
13 | + | |
14 | + CURR_BOOT=`expr \( $BOOTID + 1 \) % 2` | |
15 | + NEXT_BOOT=`expr \( $BOOTID \) % 2` | |
16 | + | |
17 | + BOOT0_KERNEL=`/usr/bin/md5sum /boot0/${KERNEL_FILE} 2>/dev/null | awk '{print $1}'` | |
18 | + BOOT1_KERNEL=`/usr/bin/md5sum /boot1/${KERNEL_FILE} 2>/dev/null | awk '{print $1}'` | |
19 | + | |
20 | + BOOT0_DTB=`/usr/bin/md5sum /boot0/${DTB_FILE} 2>/dev/null | awk '{print $1}'` | |
21 | + BOOT1_DTB=`/usr/bin/md5sum /boot1/${DTB_FILE} 2>/dev/null | awk '{print $1}'` | |
22 | + | |
23 | + BOOT0_RAMFS=`/usr/bin/md5sum /boot0/${RAMFS_FILE} 2>/dev/null | awk '{print $1}'` | |
24 | + BOOT1_RAMFS=`/usr/bin/md5sum /boot1/${RAMFS_FILE} 2>/dev/null | awk '{print $1}'` | |
25 | + | |
26 | + if [ "$BOOT0_KERNEL" != "$BOOT1_KERNEL" ] | |
27 | + then | |
28 | + echo "[*] Updating kernel image file..." | |
29 | + echo " Copy /boot${CURR_BOOT}/${KERNEL_FILE} to /boot${NEXT_BOOT}/${KERNEL_FILE}" | |
30 | + cp /boot${CURR_BOOT}/${KERNEL_FILE} /boot${NEXT_BOOT}/${KERNEL_FILE} | |
31 | + fi | |
32 | + | |
33 | + if [ "$BOOT0_DTB" != "$BOOT1_DTB" ] | |
34 | + then | |
35 | + echo "[*] Updaing dtb file..." | |
36 | + echo " Copy /boot${CURR_BOOT}/${DTB_FILE} to /boot${NEXT_BOOT}/${DTB_FILE}" | |
37 | + cp /boot${CURR_BOOT}/${DTB_FILE} /boot${NEXT_BOOT}/${DTB_FILE} | |
38 | + fi | |
39 | + | |
40 | + if [ "$BOOT0_RAMFS" != "$BOOT1_RAMFS" ] | |
41 | + then | |
42 | + echo "[*] Updaing ramdisk image file..." | |
43 | + echo " Copy /boot${CURR_BOOT}/${RAMFS_FILE} to /boot${NEXT_BOOT}/${RAMFS_FILE}" | |
44 | + cp /boot${CURR_BOOT}/${RAMFS_FILE} /boot${NEXT_BOOT}/${RAMFS_FILE} | |
45 | + fi | |
46 | +} | |
47 | + | |
48 | +stop() { | |
49 | + echo "OK" | |
50 | +} | |
51 | + | |
52 | +case "$1" in | |
53 | + start) | |
54 | + start | |
55 | + ;; | |
56 | + stop) | |
57 | + stop | |
58 | + ;; | |
59 | + restart|reload) | |
60 | + restart | |
61 | + ;; | |
62 | + *) | |
63 | + echo "Usage: $0 {start|stop|restart}" | |
64 | + exit 1 | |
65 | +esac | |
66 | + | |
67 | +exit $? | |
68 | + | ... | ... |
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_dsa_key
... | ... | @@ -0,0 +1,12 @@ |
1 | +-----BEGIN DSA PRIVATE KEY----- | |
2 | +MIIBugIBAAKBgQCxkJ3WnJ9PNY3ZygWN7wo3S2LnPG/cakQVthDSxzzorOc4lH0j | |
3 | +XI/C90eEz+argdZ80eAJdLDLk9a/4EVVKkNxbQVzta7OB92H39FDiD2OtxmKR0Rd | |
4 | +VIqULmzaiCBepdo9ZdXFd7soZj2QlDoDrxlrJDvdDoGvWbk1/ILEGlDcUwIVAMuk | |
5 | +101oFe1rUJdtpRK7YdLTKIa9AoGADeUg5PFxyeYTukEhySDzLpza7KaNX28Avp6f | |
6 | +2s9tWBjWCWU02Ywq8sUbHNuCXESG+9sBZkfLvVrhcUGlWbNEQnMqMnOPjO6bcPEb | |
7 | +VGkfzw6L9h57uSMRCS935bKSilqyoU/pMZYVi/GlPKRVXoKUen3AfE+LYfpQTAHM | |
8 | +NpCTZR4CgYByV0fSCpY/83qNW+sJp68i2xyrL73CFb5A8/w7BGNebvmon6jT9QH0 | |
9 | +G920R/OUcOkKN6nnJMUdUTYSeZT6lHHbpcg7i9TLklSIi/2kxyN01HXrnjmaRLKn | |
10 | +mfYyl7bge9jLrfgXB95q5gLZiimv8AgJ1bPBUi31kqIrlrbHwbvcSAIUDgUB90T+ | |
11 | ++JkLLd1cozoKa3epxoU= | |
12 | +-----END DSA PRIVATE KEY----- | ... | ... |
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_dsa_key.pub
... | ... | @@ -0,0 +1 @@ |
1 | +ssh-dss AAAAB3NzaC1kc3MAAACBALGQndacn081jdnKBY3vCjdLYuc8b9xqRBW2ENLHPOis5ziUfSNcj8L3R4TP5quB1nzR4Al0sMuT1r/gRVUqQ3FtBXO1rs4H3Yff0UOIPY63GYpHRF1UipQubNqIIF6l2j1l1cV3uyhmPZCUOgOvGWskO90Oga9ZuTX8gsQaUNxTAAAAFQDLpNdNaBXta1CXbaUSu2HS0yiGvQAAAIAN5SDk8XHJ5hO6QSHJIPMunNrspo1fbwC+np/az21YGNYJZTTZjCryxRsc24JcRIb72wFmR8u9WuFxQaVZs0RCcyoyc4+M7ptw8RtUaR/PDov2Hnu5IxEJL3flspKKWrKhT+kxlhWL8aU8pFVegpR6fcB8T4th+lBMAcw2kJNlHgAAAIByV0fSCpY/83qNW+sJp68i2xyrL73CFb5A8/w7BGNebvmon6jT9QH0G920R/OUcOkKN6nnJMUdUTYSeZT6lHHbpcg7i9TLklSIi/2kxyN01HXrnjmaRLKnmfYyl7bge9jLrfgXB95q5gLZiimv8AgJ1bPBUi31kqIrlrbHwbvcSA== root@leios-900X5L | ... | ... |
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key.pub
... | ... | @@ -0,0 +1 @@ |
1 | +ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNIWmZKG2NnBebBTtE0MY4VmH6ekex0oxG08v/F0Zu5PNGmgSPc1C9kYTvyJHAyVQIHtr3IDUYcdaqP6Z8tWlE0= root@leios-900X5L | ... | ... |
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_rsa_key
... | ... | @@ -0,0 +1,27 @@ |
1 | +-----BEGIN RSA PRIVATE KEY----- | |
2 | +MIIEpAIBAAKCAQEA1jsFHopxh8H9wQdbR+L8FIe0uqpmaVCLB+TCFwzDAJtQ3F4d | |
3 | +rw5ICDwDhsx+8GDRaPyaUShdgxLXa2gpnT64xe4qHyyBsB4L8p2m+HtyG2ZDpOto | |
4 | +SmfcVCAFo6aObo10lcs7JHD9lNB07YUNjIeL5j8lg+TA3Sqj6dkhu2QD0k/MCOsB | |
5 | +lrN8GfHPJSEtQwSKsEQPW70bp8XGk0DKAzDcH8P+b2v+l0unN7gAOKsTIfANhVur | |
6 | +P60ch0sDJUEs6BtsvkPwivrEb3J2gIzQXVMe5iBQkpE1HuZIpvHsN79Pq+UwgZip | |
7 | +2g/f4AbjysMRWUJzHfbnR2X82xx/MtWKrr7nxQIDAQABAoIBAQCQ5R5TR8P91EFy | |
8 | +2yzr9CQXJqogTrwxot5GGn0D5gfGU0ZfpfBhxEEIAL9J3upEXteEMMWW+rw0uPum | |
9 | +k68BwbhrduhaaVnV6pyeHe8exS+qRIKf+vBw0sp8w6PMygwvzdD6t5hqz1lT26Ia | |
10 | +PBGr6MnAkxkmmgOwEvUGZ2ufOMg057LqqP/3B67S2T3+pGqWYmrm/G1/mWP+8jWh | |
11 | +g3MfJ/l/1VWwve0bcAfDEmyZjilFbiuLEca0VgkbsG2yUvZvLXecFddpp5IoJi5/ | |
12 | +5wkQAnxrBNcmxIlkrHZNcGLSPWlQxn49h98qnJ7plvoydR89ds5ZQLG6Nu94PcOA | |
13 | +HV5ym7vBAoGBAPCn9QF9u6mSRebHimJRiIqK9rq/qs5XMqGiYDBOpKGhXpLUDUbb | |
14 | +29sC+cp+uok9hb44iwOkcDMTva1EDpyvV0Vjbax4dgykbhGr52TTVu5oPBf7oaJj | |
15 | +/Icz+jqbKNquz3ZZEyTjTfFdhtseeiuLYk1ULj/94ro3b8RtjY/L1t/5AoGBAOPj | |
16 | +vUhNIignITN1ODU0tEHK0S4NkHk6l6s7X6fFR00aaGRCmryHiFAk7c0NodagX3JH | |
17 | +vJSsjFyFmNrq0MUik+bM0sHi6XcHh55aYkIcou8eAEzORBDzOViyE7nd6uhGoTtO | |
18 | +tTJuRlRaD70HuYUBWHkjaW9IoYxcd/SeHnaYahEtAoGBAKUU0cCAG2cq68BvSMJA | |
19 | +48UFplJcgDKjJhwyYoFAsTYel91okOL2lk4aMHdzj0ntZf0ilFmfR0gCVq6wbMWW | |
20 | +kesLVYRl7bSmZsrAfS5wusU3w2FAP5RBukyUnyXsoY3BNJceaz92nVTgr01IDs4o | |
21 | +AvrAsCk9Y3YR6R15eQ4W6gMhAoGAAoVhcaxQxWrxZhVU4tnLaLLqr3y87WplhSJq | |
22 | +A3weNs8k+n72IUHKk0BlVRBiivJJPAVpI6fpAZkEwN86IgQo6LO5XSW6eXOe33SW | |
23 | +g663arfFPxRFEn7uUnnd1/+JerpVTEepn34yzvoUFH5CYiNKrERlBTMjfl8DgLRD | |
24 | +GALFoZ0CgYAfIQBV4e4m6DNNJsxPVcag4UJP+6QJX1EVwqTbFIPl3Ur+OJ5+ODbN | |
25 | +CFBmsMlLuiTRrx6E6m/4RFaxo1Jt4x7aisDHkbUxY4i3h41LWi+6ubrLWV0k6vTT | |
26 | +lqwImc5iuVXbdDWEcbddoWaKGvHSSlvIikAY3PVuF2x8a6DGTO+hIA== | |
27 | +-----END RSA PRIVATE KEY----- | ... | ... |
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/ssh/ssh_host_rsa_key.pub
... | ... | @@ -0,0 +1 @@ |
1 | +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWOwUeinGHwf3BB1tH4vwUh7S6qmZpUIsH5MIXDMMAm1DcXh2vDkgIPAOGzH7wYNFo/JpRKF2DEtdraCmdPrjF7iofLIGwHgvynab4e3IbZkOk62hKZ9xUIAWjpo5ujXSVyzskcP2U0HTthQ2Mh4vmPyWD5MDdKqPp2SG7ZAPST8wI6wGWs3wZ8c8lIS1DBIqwRA9bvRunxcaTQMoDMNwfw/5va/6XS6c3uAA4qxMh8A2FW6s/rRyHSwMlQSzoG2y+Q/CK+sRvcnaAjNBdUx7mIFCSkTUe5kim8ew3v0+r5TCBmKnaD9/gBuPKwxFZQnMd9udHZfzbHH8y1YquvufF root@leios-900X5L | ... | ... |
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/udev/rules.d/01-falinux-usb.rules
... | ... | @@ -0,0 +1 @@ |
1 | +ACTION=="add",KERNEL=="sd??",SUBSYSTEM=="block",RUN+="/root/.falinux/usb-run.sh %k" | ... | ... |
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/mnt/mmc/.empty
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/mnt/nfs/.empty
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/mnt/usb/.empty
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/mk-mmc-part.sh
... | ... | @@ -0,0 +1,53 @@ |
1 | +#!/bin/sh | |
2 | + | |
3 | +BDEV=/dev/mmcblk0 | |
4 | + | |
5 | +PART1=p1 | |
6 | +PART2=p2 | |
7 | +PART3=p3 | |
8 | +PART4=p4 | |
9 | + | |
10 | +umount ${BDEV}${PART1} | |
11 | +umount ${BDEV}${PART2} | |
12 | +umount ${BDEV}${PART3} | |
13 | +umount ${BDEV}${PART4} | |
14 | + | |
15 | +echo "==== make partitions ===============================" | |
16 | +fdisk -S1 -H1 ${BDEV} << EOF | |
17 | +o | |
18 | +n | |
19 | +p | |
20 | +1 | |
21 | +131072 | |
22 | +196607 | |
23 | +n | |
24 | +p | |
25 | +2 | |
26 | +196608 | |
27 | +262143 | |
28 | +n | |
29 | +p | |
30 | +3 | |
31 | +262144 | |
32 | +524287 | |
33 | +n | |
34 | +p | |
35 | +524288 | |
36 | + | |
37 | +t | |
38 | +1 | |
39 | +b | |
40 | +t | |
41 | +2 | |
42 | +b | |
43 | +w | |
44 | +EOF | |
45 | + | |
46 | +## format partitions | |
47 | +echo "==== format partitions =============================" | |
48 | + | |
49 | +mkfs.fat ${BDEV}${PART1} -n BOOT0 | |
50 | +mkfs.fat ${BDEV}${PART2} -n BOOT1 | |
51 | +mkfs.ext4 -F ${BDEV}${PART3} -L APP | |
52 | +mkfs.ext4 -F ${BDEV}${PART4} -L DATA | |
53 | + | ... | ... |
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/up-pl.sh
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/update.sh
... | ... | @@ -0,0 +1,31 @@ |
1 | +#!/bin/sh | |
2 | + | |
3 | +BOOTID=`bootid` | |
4 | +if [ -z "$BOOTID" ] | |
5 | +then | |
6 | + BOOTID=0 | |
7 | +fi | |
8 | + | |
9 | + | |
10 | +echo "[*] NFS mount..." | |
11 | +mount -t nfs -o nolock 192.168.4.80:/nfs /mnt/nfs | |
12 | + | |
13 | +echo "[*] Remount boot area..." | |
14 | +sync | |
15 | + | |
16 | +umount /dev/mmcblk0p1 | |
17 | +mount -t vfat /dev/mmcblk0p1 /boot0 | |
18 | + | |
19 | +umount /dev/mmcblk0p2 | |
20 | +mount -t vfat /dev/mmcblk0p2 /boot1 | |
21 | + | |
22 | +echo "[*] Copy files..." | |
23 | +cp /mnt/nfs/innovex/tas/uImage /boot${BOOTID}/ | |
24 | +cp /mnt/nfs/innovex/tas/zynq-innovex-tas.dtb /boot${BOOTID}/ | |
25 | +cp /mnt/nfs/innovex/tas/uramdisk-tas.gz /boot${BOOTID}/ | |
26 | + | |
27 | +echo "[*] Sync filesystem..." | |
28 | +sync | |
29 | + | |
30 | +echo "[*] Reboot system..." | |
31 | +reboot | ... | ... |
buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/root/.falinux/usb-run.sh
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/app/.empty
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/bin/bootid
... | ... | @@ -1,26 +0,0 @@ |
1 | -#!/bin/bash | |
2 | - | |
3 | -BOOTID=0 | |
4 | - | |
5 | -EEPROM_00=`i2cget -y 0 0x50 0x00 b 2>/dev/null` | |
6 | -EEPROM_01=`i2cget -y 0 0x50 0x01 b 2>/dev/null` | |
7 | -EEPROM_02=`i2cget -y 0 0x50 0x02 b 2>/dev/null` | |
8 | -EEPROM_03=`i2cget -y 0 0x50 0x03 b 2>/dev/null` | |
9 | - | |
10 | -AR_EEPROM_00=$(( $EEPROM_00 )) | |
11 | -if [ -n "${EEPROM_01}" ] | |
12 | -then | |
13 | - AR_EEPROM_01=$(( (~$EEPROM_01) & 0xff )) | |
14 | -fi | |
15 | -AR_EEPROM_02=$(( $EEPROM_02 )) | |
16 | -if [ -n "${EEPROM_02}" ] | |
17 | -then | |
18 | - AR_EEPROM_03=$(( (~$EEPROM_03) & 0xff )) | |
19 | -fi | |
20 | - | |
21 | -if [ "$AR_EEPROM_00" == "$AR_EEPROM_02" ] && [ "$AR_EEPROM_00" == "$AR_EEPROM_01" ] && [ "$AR_EEPROM_02" == "$AR_EEPROM_03" ] | |
22 | -then | |
23 | - BOOTID=$AR_EEPROM_00 | |
24 | -fi | |
25 | - | |
26 | -echo $BOOTID |
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/boot0/.empty
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/boot1/.empty
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/data/.empty
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/fstab
... | ... | @@ -1,14 +0,0 @@ |
1 | -# <file system> <mount pt> <type> <options> <dump> <pass> | |
2 | -/dev/root / ext2 rw,noauto 0 1 | |
3 | -proc /proc proc defaults 0 0 | |
4 | -devpts /dev/pts devpts defaults,gid=5,mode=620 0 0 | |
5 | -tmpfs /dev/shm tmpfs mode=0777 0 0 | |
6 | -tmpfs /tmp tmpfs mode=1777 0 0 | |
7 | -tmpfs /run tmpfs mode=0755,nosuid,nodev 0 0 | |
8 | -sysfs /sys sysfs defaults 0 0 | |
9 | - | |
10 | -#/dev/mmcblk0p1 /boot0 vfat defaults 0 0 | |
11 | -#/dev/mmcblk0p2 /boot1 vfat defaults 0 0 | |
12 | - | |
13 | -/dev/mmcblk0p3 /app ext4 defaults 0 0 | |
14 | -/dev/mmcblk0p4 /data ext4 defaults 0 0 |
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/init.d/S90system-update
... | ... | @@ -1,68 +0,0 @@ |
1 | -#!/bin/sh | |
2 | - | |
3 | -start() { | |
4 | - BOOTID=`bootid` | |
5 | - if [ -z "$BOOTID" ] | |
6 | - then | |
7 | - exit | |
8 | - fi | |
9 | - | |
10 | - KERNEL_FILE=uImage | |
11 | - DTB_FILE=zynq-innovex-tas.dtb | |
12 | - RAMFS_FILE=uramdisk-tas.gz | |
13 | - | |
14 | - CURR_BOOT=`expr \( $BOOTID + 1 \) % 2` | |
15 | - NEXT_BOOT=`expr \( $BOOTID \) % 2` | |
16 | - | |
17 | - BOOT0_KERNEL=`/usr/bin/md5sum /boot0/${KERNEL_FILE} 2>/dev/null | awk '{print $1}'` | |
18 | - BOOT1_KERNEL=`/usr/bin/md5sum /boot1/${KERNEL_FILE} 2>/dev/null | awk '{print $1}'` | |
19 | - | |
20 | - BOOT0_DTB=`/usr/bin/md5sum /boot0/${DTB_FILE} 2>/dev/null | awk '{print $1}'` | |
21 | - BOOT1_DTB=`/usr/bin/md5sum /boot1/${DTB_FILE} 2>/dev/null | awk '{print $1}'` | |
22 | - | |
23 | - BOOT0_RAMFS=`/usr/bin/md5sum /boot0/${RAMFS_FILE} 2>/dev/null | awk '{print $1}'` | |
24 | - BOOT1_RAMFS=`/usr/bin/md5sum /boot1/${RAMFS_FILE} 2>/dev/null | awk '{print $1}'` | |
25 | - | |
26 | - if [ "$BOOT0_KERNEL" != "$BOOT1_KERNEL" ] | |
27 | - then | |
28 | - echo "[*] Updating kernel image file..." | |
29 | - echo " Copy /boot${CURR_BOOT}/${KERNEL_FILE} to /boot${NEXT_BOOT}/${KERNEL_FILE}" | |
30 | - cp /boot${CURR_BOOT}/${KERNEL_FILE} /boot${NEXT_BOOT}/${KERNEL_FILE} | |
31 | - fi | |
32 | - | |
33 | - if [ "$BOOT0_DTB" != "$BOOT1_DTB" ] | |
34 | - then | |
35 | - echo "[*] Updaing dtb file..." | |
36 | - echo " Copy /boot${CURR_BOOT}/${DTB_FILE} to /boot${NEXT_BOOT}/${DTB_FILE}" | |
37 | - cp /boot${CURR_BOOT}/${DTB_FILE} /boot${NEXT_BOOT}/${DTB_FILE} | |
38 | - fi | |
39 | - | |
40 | - if [ "$BOOT0_RAMFS" != "$BOOT1_RAMFS" ] | |
41 | - then | |
42 | - echo "[*] Updaing ramdisk image file..." | |
43 | - echo " Copy /boot${CURR_BOOT}/${RAMFS_FILE} to /boot${NEXT_BOOT}/${RAMFS_FILE}" | |
44 | - cp /boot${CURR_BOOT}/${RAMFS_FILE} /boot${NEXT_BOOT}/${RAMFS_FILE} | |
45 | - fi | |
46 | -} | |
47 | - | |
48 | -stop() { | |
49 | - echo "OK" | |
50 | -} | |
51 | - | |
52 | -case "$1" in | |
53 | - start) | |
54 | - start | |
55 | - ;; | |
56 | - stop) | |
57 | - stop | |
58 | - ;; | |
59 | - restart|reload) | |
60 | - restart | |
61 | - ;; | |
62 | - *) | |
63 | - echo "Usage: $0 {start|stop|restart}" | |
64 | - exit 1 | |
65 | -esac | |
66 | - | |
67 | -exit $? | |
68 | - |
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_dsa_key
... | ... | @@ -1,12 +0,0 @@ |
1 | ------BEGIN DSA PRIVATE KEY----- | |
2 | -MIIBugIBAAKBgQCxkJ3WnJ9PNY3ZygWN7wo3S2LnPG/cakQVthDSxzzorOc4lH0j | |
3 | -XI/C90eEz+argdZ80eAJdLDLk9a/4EVVKkNxbQVzta7OB92H39FDiD2OtxmKR0Rd | |
4 | -VIqULmzaiCBepdo9ZdXFd7soZj2QlDoDrxlrJDvdDoGvWbk1/ILEGlDcUwIVAMuk | |
5 | -101oFe1rUJdtpRK7YdLTKIa9AoGADeUg5PFxyeYTukEhySDzLpza7KaNX28Avp6f | |
6 | -2s9tWBjWCWU02Ywq8sUbHNuCXESG+9sBZkfLvVrhcUGlWbNEQnMqMnOPjO6bcPEb | |
7 | -VGkfzw6L9h57uSMRCS935bKSilqyoU/pMZYVi/GlPKRVXoKUen3AfE+LYfpQTAHM | |
8 | -NpCTZR4CgYByV0fSCpY/83qNW+sJp68i2xyrL73CFb5A8/w7BGNebvmon6jT9QH0 | |
9 | -G920R/OUcOkKN6nnJMUdUTYSeZT6lHHbpcg7i9TLklSIi/2kxyN01HXrnjmaRLKn | |
10 | -mfYyl7bge9jLrfgXB95q5gLZiimv8AgJ1bPBUi31kqIrlrbHwbvcSAIUDgUB90T+ | |
11 | -+JkLLd1cozoKa3epxoU= | |
12 | ------END DSA PRIVATE KEY----- |
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_dsa_key.pub
... | ... | @@ -1 +0,0 @@ |
1 | -ssh-dss AAAAB3NzaC1kc3MAAACBALGQndacn081jdnKBY3vCjdLYuc8b9xqRBW2ENLHPOis5ziUfSNcj8L3R4TP5quB1nzR4Al0sMuT1r/gRVUqQ3FtBXO1rs4H3Yff0UOIPY63GYpHRF1UipQubNqIIF6l2j1l1cV3uyhmPZCUOgOvGWskO90Oga9ZuTX8gsQaUNxTAAAAFQDLpNdNaBXta1CXbaUSu2HS0yiGvQAAAIAN5SDk8XHJ5hO6QSHJIPMunNrspo1fbwC+np/az21YGNYJZTTZjCryxRsc24JcRIb72wFmR8u9WuFxQaVZs0RCcyoyc4+M7ptw8RtUaR/PDov2Hnu5IxEJL3flspKKWrKhT+kxlhWL8aU8pFVegpR6fcB8T4th+lBMAcw2kJNlHgAAAIByV0fSCpY/83qNW+sJp68i2xyrL73CFb5A8/w7BGNebvmon6jT9QH0G920R/OUcOkKN6nnJMUdUTYSeZT6lHHbpcg7i9TLklSIi/2kxyN01HXrnjmaRLKnmfYyl7bge9jLrfgXB95q5gLZiimv8AgJ1bPBUi31kqIrlrbHwbvcSA== root@leios-900X5L |
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_ecdsa_key.pub
... | ... | @@ -1 +0,0 @@ |
1 | -ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNIWmZKG2NnBebBTtE0MY4VmH6ekex0oxG08v/F0Zu5PNGmgSPc1C9kYTvyJHAyVQIHtr3IDUYcdaqP6Z8tWlE0= root@leios-900X5L |
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_rsa_key
... | ... | @@ -1,27 +0,0 @@ |
1 | ------BEGIN RSA PRIVATE KEY----- | |
2 | -MIIEpAIBAAKCAQEA1jsFHopxh8H9wQdbR+L8FIe0uqpmaVCLB+TCFwzDAJtQ3F4d | |
3 | -rw5ICDwDhsx+8GDRaPyaUShdgxLXa2gpnT64xe4qHyyBsB4L8p2m+HtyG2ZDpOto | |
4 | -SmfcVCAFo6aObo10lcs7JHD9lNB07YUNjIeL5j8lg+TA3Sqj6dkhu2QD0k/MCOsB | |
5 | -lrN8GfHPJSEtQwSKsEQPW70bp8XGk0DKAzDcH8P+b2v+l0unN7gAOKsTIfANhVur | |
6 | -P60ch0sDJUEs6BtsvkPwivrEb3J2gIzQXVMe5iBQkpE1HuZIpvHsN79Pq+UwgZip | |
7 | -2g/f4AbjysMRWUJzHfbnR2X82xx/MtWKrr7nxQIDAQABAoIBAQCQ5R5TR8P91EFy | |
8 | -2yzr9CQXJqogTrwxot5GGn0D5gfGU0ZfpfBhxEEIAL9J3upEXteEMMWW+rw0uPum | |
9 | -k68BwbhrduhaaVnV6pyeHe8exS+qRIKf+vBw0sp8w6PMygwvzdD6t5hqz1lT26Ia | |
10 | -PBGr6MnAkxkmmgOwEvUGZ2ufOMg057LqqP/3B67S2T3+pGqWYmrm/G1/mWP+8jWh | |
11 | -g3MfJ/l/1VWwve0bcAfDEmyZjilFbiuLEca0VgkbsG2yUvZvLXecFddpp5IoJi5/ | |
12 | -5wkQAnxrBNcmxIlkrHZNcGLSPWlQxn49h98qnJ7plvoydR89ds5ZQLG6Nu94PcOA | |
13 | -HV5ym7vBAoGBAPCn9QF9u6mSRebHimJRiIqK9rq/qs5XMqGiYDBOpKGhXpLUDUbb | |
14 | -29sC+cp+uok9hb44iwOkcDMTva1EDpyvV0Vjbax4dgykbhGr52TTVu5oPBf7oaJj | |
15 | -/Icz+jqbKNquz3ZZEyTjTfFdhtseeiuLYk1ULj/94ro3b8RtjY/L1t/5AoGBAOPj | |
16 | -vUhNIignITN1ODU0tEHK0S4NkHk6l6s7X6fFR00aaGRCmryHiFAk7c0NodagX3JH | |
17 | -vJSsjFyFmNrq0MUik+bM0sHi6XcHh55aYkIcou8eAEzORBDzOViyE7nd6uhGoTtO | |
18 | -tTJuRlRaD70HuYUBWHkjaW9IoYxcd/SeHnaYahEtAoGBAKUU0cCAG2cq68BvSMJA | |
19 | -48UFplJcgDKjJhwyYoFAsTYel91okOL2lk4aMHdzj0ntZf0ilFmfR0gCVq6wbMWW | |
20 | -kesLVYRl7bSmZsrAfS5wusU3w2FAP5RBukyUnyXsoY3BNJceaz92nVTgr01IDs4o | |
21 | -AvrAsCk9Y3YR6R15eQ4W6gMhAoGAAoVhcaxQxWrxZhVU4tnLaLLqr3y87WplhSJq | |
22 | -A3weNs8k+n72IUHKk0BlVRBiivJJPAVpI6fpAZkEwN86IgQo6LO5XSW6eXOe33SW | |
23 | -g663arfFPxRFEn7uUnnd1/+JerpVTEepn34yzvoUFH5CYiNKrERlBTMjfl8DgLRD | |
24 | -GALFoZ0CgYAfIQBV4e4m6DNNJsxPVcag4UJP+6QJX1EVwqTbFIPl3Ur+OJ5+ODbN | |
25 | -CFBmsMlLuiTRrx6E6m/4RFaxo1Jt4x7aisDHkbUxY4i3h41LWi+6ubrLWV0k6vTT | |
26 | -lqwImc5iuVXbdDWEcbddoWaKGvHSSlvIikAY3PVuF2x8a6DGTO+hIA== | |
27 | ------END RSA PRIVATE KEY----- |
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/ssh/ssh_host_rsa_key.pub
... | ... | @@ -1 +0,0 @@ |
1 | -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWOwUeinGHwf3BB1tH4vwUh7S6qmZpUIsH5MIXDMMAm1DcXh2vDkgIPAOGzH7wYNFo/JpRKF2DEtdraCmdPrjF7iofLIGwHgvynab4e3IbZkOk62hKZ9xUIAWjpo5ujXSVyzskcP2U0HTthQ2Mh4vmPyWD5MDdKqPp2SG7ZAPST8wI6wGWs3wZ8c8lIS1DBIqwRA9bvRunxcaTQMoDMNwfw/5va/6XS6c3uAA4qxMh8A2FW6s/rRyHSwMlQSzoG2y+Q/CK+sRvcnaAjNBdUx7mIFCSkTUe5kim8ew3v0+r5TCBmKnaD9/gBuPKwxFZQnMd9udHZfzbHH8y1YquvufF root@leios-900X5L |
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/etc/udev/rules.d/01-falinux-usb.rules
... | ... | @@ -1 +0,0 @@ |
1 | -ACTION=="add",KERNEL=="sd??",SUBSYSTEM=="block",RUN+="/root/.falinux/usb-run.sh %k" |
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/mnt/mmc/.empty
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/mnt/nfs/.empty
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/mnt/usb/.empty
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/mk-mmc-part.sh
... | ... | @@ -1,53 +0,0 @@ |
1 | -#!/bin/sh | |
2 | - | |
3 | -BDEV=/dev/mmcblk0 | |
4 | - | |
5 | -PART1=p1 | |
6 | -PART2=p2 | |
7 | -PART3=p3 | |
8 | -PART4=p4 | |
9 | - | |
10 | -umount ${BDEV}${PART1} | |
11 | -umount ${BDEV}${PART2} | |
12 | -umount ${BDEV}${PART3} | |
13 | -umount ${BDEV}${PART4} | |
14 | - | |
15 | -echo "==== make partitions ===============================" | |
16 | -fdisk -S1 -H1 ${BDEV} << EOF | |
17 | -o | |
18 | -n | |
19 | -p | |
20 | -1 | |
21 | -131072 | |
22 | -196607 | |
23 | -n | |
24 | -p | |
25 | -2 | |
26 | -196608 | |
27 | -262143 | |
28 | -n | |
29 | -p | |
30 | -3 | |
31 | -262144 | |
32 | -524287 | |
33 | -n | |
34 | -p | |
35 | -524288 | |
36 | - | |
37 | -t | |
38 | -1 | |
39 | -b | |
40 | -t | |
41 | -2 | |
42 | -b | |
43 | -w | |
44 | -EOF | |
45 | - | |
46 | -## format partitions | |
47 | -echo "==== format partitions =============================" | |
48 | - | |
49 | -mkfs.fat ${BDEV}${PART1} -n BOOT0 | |
50 | -mkfs.fat ${BDEV}${PART2} -n BOOT1 | |
51 | -mkfs.ext4 -F ${BDEV}${PART3} -L APP | |
52 | -mkfs.ext4 -F ${BDEV}${PART4} -L DATA | |
53 | - |
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/up-pl.sh
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/update.sh
... | ... | @@ -1,31 +0,0 @@ |
1 | -#!/bin/sh | |
2 | - | |
3 | -BOOTID=`bootid` | |
4 | -if [ -z "$BOOTID" ] | |
5 | -then | |
6 | - BOOTID=0 | |
7 | -fi | |
8 | - | |
9 | - | |
10 | -echo "[*] NFS mount..." | |
11 | -mount -t nfs -o nolock 192.168.4.80:/nfs /mnt/nfs | |
12 | - | |
13 | -echo "[*] Remount boot area..." | |
14 | -sync | |
15 | - | |
16 | -umount /dev/mmcblk0p1 | |
17 | -mount -t vfat /dev/mmcblk0p1 /boot0 | |
18 | - | |
19 | -umount /dev/mmcblk0p2 | |
20 | -mount -t vfat /dev/mmcblk0p2 /boot1 | |
21 | - | |
22 | -echo "[*] Copy files..." | |
23 | -cp /mnt/nfs/innovex/tas/uImage /boot${BOOTID}/ | |
24 | -cp /mnt/nfs/innovex/tas/zynq-innovex-tas.dtb /boot${BOOTID}/ | |
25 | -cp /mnt/nfs/innovex/tas/uramdisk-tas.gz /boot${BOOTID}/ | |
26 | - | |
27 | -echo "[*] Sync filesystem..." | |
28 | -sync | |
29 | - | |
30 | -echo "[*] Reboot system..." | |
31 | -reboot |
buildroot/buildroot-2016.08.1/board/falinux/prime_qt5/rootfs_overlay/root/.falinux/usb-run.sh