From a68e8c60fd9fa2ab9dc91312c6ba0d75302e92d7 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 12 Aug 2019 17:18:45 +0800
Subject: [PATCH] upate rootfs packet to buildroot version, update build shell script and add rootfs changelog file

---
 linux-bsp/tarballs/rootfs.tar.xz    |    0 
 linux-bsp/tarballs/rootfs.changelog |   22 ++++++++++++++++++++++
 linux-bsp/build.sh                  |    5 +++--
 3 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/linux-bsp/build.sh b/linux-bsp/build.sh
index ed8273a..e505f78 100755
--- a/linux-bsp/build.sh
+++ b/linux-bsp/build.sh
@@ -135,8 +135,9 @@
     LEB_CNT=`expr $PEB_CNT - 4 - $PEB_CNT \/ 100 `
 
     #echo "Parition size ${partition_size}MiB and LEB=$LEB_CNT"
-    set -x
-    mkfs.ubifs -F -d ${ROOTFS_SRC} -m ${PAGE_SIZE} -e ${LEB_SIZE} -c $LEB_CNT -o ${ubimg_tmp}
+    set -x 
+    printf "\nWARNNING: generete rootfs image need root privilege, please input sudo passwd!\n\n" 
+    sudo mkfs.ubifs -F -d ${ROOTFS_SRC} -m ${PAGE_SIZE} -e ${LEB_SIZE} -c $LEB_CNT -o ${ubimg_tmp}
     set +x
 
 
diff --git a/linux-bsp/tarballs/rootfs.changelog b/linux-bsp/tarballs/rootfs.changelog
new file mode 100644
index 0000000..c5b4989
--- /dev/null
+++ b/linux-bsp/tarballs/rootfs.changelog
@@ -0,0 +1,22 @@
+
+
+2019.08.12 v0.1.0  GuoWenxue
+------------------------------
+Features:
+0, Two account(root, cohrent) enable default, all default password are 12345, encrypt by sha-256 but not md5
+1, This rootfs generated by buildroot-2019.02.4;
+2, update busybox to v1.31.0 for blkid to auto mount storage media;
+3, auto mount/repair/umount USB storage with ext2,ext3,ext4,vfat,ntfs support
+4, support ssh/scp/sftp and ntpdate sync network time when system boot;
+5, support vsftpd but not enable when boot; vsftpd default root be /media/
+6, support stunnel, dhcpd, dnsmasq but not enable when boot --- Not do full test yet;
+7, support auto mount /apps partition as UBIFS
+8, support opencv, openssl, iconv, sqlite, libts, valgrind, spi-tools, i2c-tools, file, hostapd, wpa_supplicant, curl
+
+
+Todo List:
+
+1, Test QT with LCD;
+2, Test opencv and zbar;
+3, Test MT701 as AP and station
+
diff --git a/linux-bsp/tarballs/rootfs.tar.xz b/linux-bsp/tarballs/rootfs.tar.xz
index a128aba..45d179d 100644
--- a/linux-bsp/tarballs/rootfs.tar.xz
+++ b/linux-bsp/tarballs/rootfs.tar.xz
Binary files differ

--
Gitblit v1.9.1