From 912f9e0ee8303384e42bbe9626cf5a2684143696 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 26 Aug 2019 01:29:37 +0800
Subject: [PATCH] update linux kernel to 4.19.56-linux4sam-6.1, which support Kernel crypto userspace API and NXP PN5180 BAL driver, update rootfs to compatible with it, update ReadMe files

---
 linux-bsp/build.sh |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/linux-bsp/build.sh b/linux-bsp/build.sh
index ed8273a..ed31d90 100755
--- a/linux-bsp/build.sh
+++ b/linux-bsp/build.sh
@@ -82,7 +82,7 @@
     SRC_DIR=$1
 
     if [ ! -d ${SRC_DIR} ] ; then
-	    show_banner "|       start decmpress $SRC_DIR packet       |"
+	    show_banner "|       start decompress $SRC_DIR packet     |"
         tar -xJf ${PACK_PATH}/${SRC_DIR}.tar.xz 
         cd ${SRC_DIR}
 
@@ -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
 
 

--
Gitblit v1.9.1