From b4fe1c63f40ace755cce790da93c66078c32124d Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 12 Jun 2022 00:57:01 +0800
Subject: [PATCH] update linux patch, all overlays can work now

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

diff --git a/bsp/rootfs/rootfs.json b/bsp/rootfs/rootfs.json
index cbd4d84..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",
@@ -15,26 +15,32 @@
         },
         "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_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