From 8d50ec0c607624649987ce389e54a6de00a07098 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 05 Jun 2022 20:32:27 +0800
Subject: [PATCH] 	1, Update top build.sh 	2, Update setup_env.sh 	3, update rootfs build shell script and json config file 	4, update driver build shell script and json config file

---
 bsp/rootfs/rootfs.json |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/bsp/rootfs/rootfs.json b/bsp/rootfs/rootfs.json
index 89cad33..3f33bd2 100644
--- a/bsp/rootfs/rootfs.json
+++ b/bsp/rootfs/rootfs.json
@@ -6,7 +6,7 @@
     "SYS_DEBIAN": {
         "URL":"http://ftp.debian.cn.org/debian/",
         "PROTOCAL": "debootstrap",
-        "ARCH":"arm64",
+        "ARCH":"arm",
         "INSTALL_APT": "yes",
         "APT_APPS": {
             "basic": "wget sudo curl tree file parted locales lsb-release tzdata",
@@ -16,26 +16,31 @@
         "INSTALL_FILES": {
             "${PRJ_PATH}/../images/drivers/lib/modules/": "$ROOTFS_DIR/lib/",
             "files/expand_rootfs": "$ROOTFS_DIR/usr/sbin",
-            "files/pinctrl": "$ROOTFS_DIR/usr/sbin"
+            "files/pinctrl": "$ROOTFS_DIR/usr/bin",
+            "files/pinloop.sh": "$ROOTFS_DIR/usr/sbin"
         }
     },
     "SYS_YOCTO": {
-        "URL":"${SRC_URL}/$ROOTFS_DIR.tar.bz2",
+        "URL":"${SRC_URL}/rootfs/$ROOTFS_DIR.tar.bz2",
         "PROTOCAL": "wget",
         "INSTALL_FILES": {
             "${PRJ_PATH}/../images/drivers/lib/modules/*": "$ROOTFS_DIR/lib/",
-            "files/expand_rootfs": "$ROOTFS_DIR/usr/sbin"
+            "files/expand_rootfs": "$ROOTFS_DIR/usr/sbin",
+            "files/pinctrl": "$ROOTFS_DIR/usr/bin",
+            "files/pinloop.sh": "$ROOTFS_DIR/usr/sbin"
         }
     },
     "SYS_BUILDROOT": {
-        "URL":"${SRC_URL}/$ROOTFS_DIR.tar.bz2",
+        "URL":"${SRC_URL}/rootfs/$ROOTFS_DIR.tar.bz2",
         "PROTOCAL": "wget",
         "INSTALL_FILES": {
             "${PRJ_PATH}/../images/drivers/lib/modules/*": "$ROOTFS_DIR/lib/modules/",
             "${PRJ_PATH}/../images/drivers/lib/firmware/*": "$ROOTFS_DIR/lib/firmware/",
             "files/expand_rootfs": "$ROOTFS_DIR/usr/sbin",
             "files/S30WpaSupplicant": "$ROOTFS_DIR/etc/init.d/",
-            "files/wpa_supplicant.conf": "$ROOTFS_DIR/etc/"
+            "files/wpa_supplicant.conf": "$ROOTFS_DIR/etc/",
+            "files/pinctrl": "$ROOTFS_DIR/usr/bin",
+            "files/pinloop.sh": "$ROOTFS_DIR/usr/sbin"
         }
     }
 }

--
Gitblit v1.9.1