From 03ada50f4e3993fc9e3d4c17e952f12bb67d7d98 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 27 Aug 2019 00:50:13 +0800
Subject: [PATCH] add AT91 GPIO AND spi library
---
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