From 2b179f80693db10cb5a93ee649917ae6988feaf2 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Thu, 26 Sep 2024 17:44:21 +0800
Subject: [PATCH] BSP:IGKBoard-All: Move BSP scripts to bsp folder

---
 bsp/drivers/igkboard-imx6ull/build.sh                                                |    0 
 bsp/yocto/meta-igkboard/recipes-misc/wpa-conf/files/10-eth0.network                  |    0 
 bsp/yocto/meta-igkboard/recipes-hello/hello-app/files/Makefile                       |    0 
 bsp/drivers/test-apps/pwm.c                                                          |    0 
 bsp/drivers/test-apps/ds18b20.c                                                      |    0 
 bsp/kernel/patches/alientek-imx6ull-v24/linux-imx-lf-6.1.36-2.1.0.patch              |    0 
 bsp/yocto/meta-igkboard/recipes-bsp/u-boot/uenv_1.0.bb                               |    0 
 bsp/yocto/meta-igkboard/recipes-misc/expand-rootfs/expand-rootfs_1.0.bb              |    0 
 bsp/yocto/meta-igkboard/recipes-kernel/rtl8188fu/rtl8188fu.bb                        |    0 
 readme.md                                                                            |  166 ++++++++++++++++++++--------------------
 bsp/debian/build.sh                                                                  |    0 
 bsp/kernel/patches/igkboard-imx8mp/linux-imx-lf-6.1.36-2.1.0.patch                   |    0 
 bsp/yocto/meta-igkboard/recipes-kernel/hello-mod/files/Makefile                      |    0 
 bsp/yocto/meta-igkboard/recipes-misc/ifup-ppp/files/ifup-ppp                         |    0 
 bsp/kernel/patches/gen_patch.sh                                                      |    0 
 bsp/drivers/test-apps/makefile                                                       |    0 
 bsp/drivers/test-apps/sht20_fops.c                                                   |    0 
 bsp/drivers/test-apps/libgpiod/makefile                                              |    0 
 bsp/drivers/x86_64/testapp/makefile                                                  |    0 
 bsp/drivers/x86_64/ldd2_chrdev.c                                                     |    0 
 bsp/drivers/x86_64/ldd3_ioctl.c                                                      |    0 
 bsp/yocto/meta-igkboard/recipes-misc/wpa-conf/files/20-wlan0.network                 |    0 
 bsp/yocto/meta-igkboard/recipes-qt/packagegroups/packagegroup-qt6-addons.bbappend    |    0 
 bsp/drivers/igkboard-imx6ull/user/Makefile                                           |    0 
 bsp/drivers/test-apps/can_test.c                                                     |    0 
 bsp/yocto/meta-igkboard/conf/igkboard-imx8mp_local.conf                              |    0 
 bsp/yocto/meta-igkboard/recipes-kernel/hello-mod/files/hello.c                       |    0 
 bsp/kernel/patches/igkboard-imx6ull/linux-imx-lf-6.1.36-2.1.0.patch                  |    0 
 bsp/bootloader/patches/alientek-imx6ull-v24/uboot-imx-lf-6.1.36-2.1.0.patch          |    0 
 bsp/drivers/igkboard-imx8mp/build.sh                                                 |    0 
 bsp/bootloader/patches/igkboard-imx8mp/uboot-imx-lf-6.1.36-2.1.0.patch               |    0 
 bsp/yocto/meta-igkboard/recipes-core/base-files/base-files_%.bbappend                |    0 
 bsp/bootloader/patches/igkboard-imx6ull/uboot-imx-lf-6.1.36-2.1.0.patch              |    0 
 bsp/config.json                                                                      |    0 
 bsp/drivers/test-apps/leds.c                                                         |    0 
 bsp/yocto/meta-igkboard/recipes-misc/ifup-ppp/files/gprs-chat                        |    0 
 bsp/yocto/meta-igkboard/recipes-core/systemd/systemd_%.bbappend                      |    0 
 bsp/yocto/meta-igkboard/tools/igkboard-setup.sh                                      |    0 
 bsp/bootloader/build.sh                                                              |    0 
 bsp/yocto/meta-igkboard/recipes-bsp/u-boot/u-boot-imx_%.bbappend                     |    0 
 bsp/yocto/meta-igkboard/recipes-kernel/linux/linux-imx_%.bbappend                    |    0 
 bsp/drivers/test-apps/hello.c                                                        |    0 
 bsp/kernel/build.sh                                                                  |    0 
 bsp/yocto/meta-igkboard/conf/machine/igkboard-imx6ull.conf                           |    0 
 bsp/images/patches/config-igkboard-imx8mp.txt                                        |    0 
 bsp/kernel/patches/gauguin-imx8mp/linux-imx-lf-5.15.71-2.2.0.patch                   |    0 
 bsp/yocto/meta-igkboard/recipes-fsl/packagegroup/packagegroup-fsl-tools-gpu.bbappend |    0 
 bsp/bootloader/patches/alientek-imx6ull-v20/uboot-imx-lf-6.1.36-2.1.0.patch          |    0 
 bsp/yocto/meta-igkboard/recipes-bsp/u-boot/files/readme                              |    0 
 bsp/bootloader/patches/gen_patch.sh                                                  |    0 
 bsp/yocto/meta-igkboard/conf/machine/igkboard-imx8mp.conf                            |    0 
 bsp/drivers/test-apps/keypad.c                                                       |    0 
 bsp/drivers/test-apps/spi_test.c                                                     |    0 
 bsp/yocto/meta-igkboard/images/yocto-image-full.bb                                   |    0 
 .gitignore                                                                           |   26 +++---
 bsp/yocto/meta-igkboard/recipes-misc/packagegroups/packagegroup-misc-utils.bb        |    0 
 bsp/yocto/meta-igkboard/conf/igkboard-imx6ull_local.conf                             |    0 
 bsp/yocto/meta-igkboard/recipes-bsp/u-boot/files/uboot-logo-igkboard-imx6ull.bmp     |    0 
 bsp/bootloader/patches/gauguin-imx8mp/uboot-imx-lf-5.15.71-2.2.0.patch               |    0 
 bsp/drivers/x86_64/Makefile                                                          |    0 
 bsp/images/patches/config-igkboard-imx6ull.txt                                       |    0 
 bsp/yocto/meta-igkboard/recipes-bsp/u-boot/files/uboot-logo-igkboard-imx8mp.bmp      |    0 
 bsp/images/build.sh                                                                  |    0 
 bsp/yocto/build.sh                                                                   |    0 
 bsp/drivers/igkboard-imx6ull/user/hello.c                                            |    0 
 bsp/drivers/x86_64/testapp/app3_ioctl.c                                              |    0 
 bsp/yocto/meta-igkboard/conf/layer.conf                                              |    0 
 bsp/yocto/meta-igkboard/images/yocto-image-ml.bb                                     |    0 
 bsp/yocto/meta-igkboard/recipes-hello/hello-app/files/hello-app.c                    |    0 
 bsp/yocto/meta-igkboard/recipes-hello/hello-app/hello-app_1.0.bb                     |    0 
 bsp/yocto/meta-igkboard/recipes-kernel/hello-mod/hello-mod.bb                        |    0 
 bsp/yocto/meta-igkboard/recipes-kernel/linux/files/readme                            |    0 
 bsp/yocto/meta-igkboard/recipes-misc/ifup-ppp/ifup-ppp_1.0.bb                        |    0 
 bsp/kernel/patches/alientek-imx6ull-v20/linux-imx-lf-6.1.36-2.1.0.patch              |    0 
 bsp/yocto/meta-igkboard/README.md                                                    |    0 
 bsp/drivers/test-apps/pwm_play.c                                                     |    0 
 bsp/drivers/test-apps/ttyS_test.c                                                    |    0 
 bsp/yocto/meta-igkboard/recipes-misc/wpa-conf/files/wpa-conf.service                 |    0 
 bsp/yocto/meta-igkboard/conf/bblayers.conf                                           |    0 
 bsp/yocto/meta-igkboard/recipes-misc/expand-rootfs/files/expand_rootfs               |    0 
 bsp/drivers/test-apps/sht20_ioctl.c                                                  |    0 
 bsp/yocto/meta-igkboard/recipes-misc/wpa-conf/wpa-conf_1.0.bb                        |    0 
 bsp/drivers/igkboard-imx8mp/user/hello.c                                             |    0 
 bsp/drivers/x86_64/ldd1_hello.c                                                      |    0 
 bsp/drivers/x86_64/testapp/app2_chrdev.c                                             |    0 
 bsp/tools/imgmnt                                                                     |    0 
 bsp/drivers/igkboard-imx8mp/user/Makefile                                            |    0 
 bsp/drivers/test-apps/libgpiod/build.sh                                              |    0 
 bsp/tools/setup_tools.sh                                                             |    0 
 bsp/yocto/meta-igkboard/recipes-kernel/rtl8723du/rtl8723du.bb                        |    0 
 90 files changed, 96 insertions(+), 96 deletions(-)

diff --git a/.gitignore b/.gitignore
index 08932a1..f2c53f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,26 +1,26 @@
 
 # bootloader files
-bootloader/firmware*
-bootloader/imx-atf*
-bootloader/imx-mkimage*
-bootloader/uboot-imx*
+bsp/bootloader/firmware*
+bsp/bootloader/imx-atf*
+bsp/bootloader/imx-mkimage*
+bsp/bootloader/uboot-imx*
 
 # linux kernel files
-kernel/linux-imx*
+bsp/kernel/linux-imx*
 
 # yocto files
-yocto/**/*.patch
-yocto/mickledore-*/
-yocto/**/config-*.txt
+bsp/yocto/**/*.patch
+bsp/yocto/mickledore-*/
+bsp/yocto/**/config-*.txt
 
 # driver files
-drivers/**/rtl8188fu
-drivers/**/rtl8723du
+bsp/drivers/**/rtl8188fu
+bsp/drivers/**/rtl8723du
 
 # image files
-images/rootfs-*
-images/yocto-*.img
-images/yocto-*.wic
+bsp/images/rootfs-*
+bsp/images/yocto-*.img
+bsp/images/yocto-*.wic
 
 # common files
 tarballs
diff --git a/bootloader/build.sh b/bsp/bootloader/build.sh
similarity index 100%
rename from bootloader/build.sh
rename to bsp/bootloader/build.sh
diff --git a/bootloader/patches/alientek-imx6ull-v20/uboot-imx-lf-6.1.36-2.1.0.patch b/bsp/bootloader/patches/alientek-imx6ull-v20/uboot-imx-lf-6.1.36-2.1.0.patch
similarity index 100%
rename from bootloader/patches/alientek-imx6ull-v20/uboot-imx-lf-6.1.36-2.1.0.patch
rename to bsp/bootloader/patches/alientek-imx6ull-v20/uboot-imx-lf-6.1.36-2.1.0.patch
diff --git a/bootloader/patches/alientek-imx6ull-v24/uboot-imx-lf-6.1.36-2.1.0.patch b/bsp/bootloader/patches/alientek-imx6ull-v24/uboot-imx-lf-6.1.36-2.1.0.patch
similarity index 100%
rename from bootloader/patches/alientek-imx6ull-v24/uboot-imx-lf-6.1.36-2.1.0.patch
rename to bsp/bootloader/patches/alientek-imx6ull-v24/uboot-imx-lf-6.1.36-2.1.0.patch
diff --git a/bootloader/patches/gauguin-imx8mp/uboot-imx-lf-5.15.71-2.2.0.patch b/bsp/bootloader/patches/gauguin-imx8mp/uboot-imx-lf-5.15.71-2.2.0.patch
similarity index 100%
rename from bootloader/patches/gauguin-imx8mp/uboot-imx-lf-5.15.71-2.2.0.patch
rename to bsp/bootloader/patches/gauguin-imx8mp/uboot-imx-lf-5.15.71-2.2.0.patch
diff --git a/bootloader/patches/gen_patch.sh b/bsp/bootloader/patches/gen_patch.sh
similarity index 100%
rename from bootloader/patches/gen_patch.sh
rename to bsp/bootloader/patches/gen_patch.sh
diff --git a/bootloader/patches/igkboard-imx6ull/uboot-imx-lf-6.1.36-2.1.0.patch b/bsp/bootloader/patches/igkboard-imx6ull/uboot-imx-lf-6.1.36-2.1.0.patch
similarity index 100%
rename from bootloader/patches/igkboard-imx6ull/uboot-imx-lf-6.1.36-2.1.0.patch
rename to bsp/bootloader/patches/igkboard-imx6ull/uboot-imx-lf-6.1.36-2.1.0.patch
diff --git a/bootloader/patches/igkboard-imx8mp/uboot-imx-lf-6.1.36-2.1.0.patch b/bsp/bootloader/patches/igkboard-imx8mp/uboot-imx-lf-6.1.36-2.1.0.patch
similarity index 100%
rename from bootloader/patches/igkboard-imx8mp/uboot-imx-lf-6.1.36-2.1.0.patch
rename to bsp/bootloader/patches/igkboard-imx8mp/uboot-imx-lf-6.1.36-2.1.0.patch
diff --git a/config.json b/bsp/config.json
similarity index 100%
rename from config.json
rename to bsp/config.json
diff --git a/debian/build.sh b/bsp/debian/build.sh
similarity index 100%
rename from debian/build.sh
rename to bsp/debian/build.sh
diff --git a/drivers/igkboard-imx6ull/build.sh b/bsp/drivers/igkboard-imx6ull/build.sh
similarity index 100%
rename from drivers/igkboard-imx6ull/build.sh
rename to bsp/drivers/igkboard-imx6ull/build.sh
diff --git a/drivers/igkboard-imx6ull/user/Makefile b/bsp/drivers/igkboard-imx6ull/user/Makefile
similarity index 100%
rename from drivers/igkboard-imx6ull/user/Makefile
rename to bsp/drivers/igkboard-imx6ull/user/Makefile
diff --git a/drivers/igkboard-imx6ull/user/hello.c b/bsp/drivers/igkboard-imx6ull/user/hello.c
similarity index 100%
rename from drivers/igkboard-imx6ull/user/hello.c
rename to bsp/drivers/igkboard-imx6ull/user/hello.c
diff --git a/drivers/igkboard-imx8mp/build.sh b/bsp/drivers/igkboard-imx8mp/build.sh
similarity index 100%
rename from drivers/igkboard-imx8mp/build.sh
rename to bsp/drivers/igkboard-imx8mp/build.sh
diff --git a/drivers/igkboard-imx8mp/user/Makefile b/bsp/drivers/igkboard-imx8mp/user/Makefile
similarity index 100%
rename from drivers/igkboard-imx8mp/user/Makefile
rename to bsp/drivers/igkboard-imx8mp/user/Makefile
diff --git a/drivers/igkboard-imx8mp/user/hello.c b/bsp/drivers/igkboard-imx8mp/user/hello.c
similarity index 100%
rename from drivers/igkboard-imx8mp/user/hello.c
rename to bsp/drivers/igkboard-imx8mp/user/hello.c
diff --git a/drivers/test-apps/can_test.c b/bsp/drivers/test-apps/can_test.c
similarity index 100%
rename from drivers/test-apps/can_test.c
rename to bsp/drivers/test-apps/can_test.c
diff --git a/drivers/test-apps/ds18b20.c b/bsp/drivers/test-apps/ds18b20.c
similarity index 100%
rename from drivers/test-apps/ds18b20.c
rename to bsp/drivers/test-apps/ds18b20.c
diff --git a/drivers/test-apps/hello.c b/bsp/drivers/test-apps/hello.c
similarity index 100%
rename from drivers/test-apps/hello.c
rename to bsp/drivers/test-apps/hello.c
diff --git a/drivers/test-apps/keypad.c b/bsp/drivers/test-apps/keypad.c
similarity index 100%
rename from drivers/test-apps/keypad.c
rename to bsp/drivers/test-apps/keypad.c
diff --git a/drivers/test-apps/leds.c b/bsp/drivers/test-apps/leds.c
similarity index 100%
rename from drivers/test-apps/leds.c
rename to bsp/drivers/test-apps/leds.c
diff --git a/drivers/test-apps/libgpiod/build.sh b/bsp/drivers/test-apps/libgpiod/build.sh
similarity index 100%
rename from drivers/test-apps/libgpiod/build.sh
rename to bsp/drivers/test-apps/libgpiod/build.sh
diff --git a/drivers/test-apps/libgpiod/makefile b/bsp/drivers/test-apps/libgpiod/makefile
similarity index 100%
rename from drivers/test-apps/libgpiod/makefile
rename to bsp/drivers/test-apps/libgpiod/makefile
diff --git a/drivers/test-apps/makefile b/bsp/drivers/test-apps/makefile
similarity index 100%
rename from drivers/test-apps/makefile
rename to bsp/drivers/test-apps/makefile
diff --git a/drivers/test-apps/pwm.c b/bsp/drivers/test-apps/pwm.c
similarity index 100%
rename from drivers/test-apps/pwm.c
rename to bsp/drivers/test-apps/pwm.c
diff --git a/drivers/test-apps/pwm_play.c b/bsp/drivers/test-apps/pwm_play.c
similarity index 100%
rename from drivers/test-apps/pwm_play.c
rename to bsp/drivers/test-apps/pwm_play.c
diff --git a/drivers/test-apps/sht20_fops.c b/bsp/drivers/test-apps/sht20_fops.c
similarity index 100%
rename from drivers/test-apps/sht20_fops.c
rename to bsp/drivers/test-apps/sht20_fops.c
diff --git a/drivers/test-apps/sht20_ioctl.c b/bsp/drivers/test-apps/sht20_ioctl.c
similarity index 100%
rename from drivers/test-apps/sht20_ioctl.c
rename to bsp/drivers/test-apps/sht20_ioctl.c
diff --git a/drivers/test-apps/spi_test.c b/bsp/drivers/test-apps/spi_test.c
similarity index 100%
rename from drivers/test-apps/spi_test.c
rename to bsp/drivers/test-apps/spi_test.c
diff --git a/drivers/test-apps/ttyS_test.c b/bsp/drivers/test-apps/ttyS_test.c
similarity index 100%
rename from drivers/test-apps/ttyS_test.c
rename to bsp/drivers/test-apps/ttyS_test.c
diff --git a/drivers/x86_64/Makefile b/bsp/drivers/x86_64/Makefile
similarity index 100%
rename from drivers/x86_64/Makefile
rename to bsp/drivers/x86_64/Makefile
diff --git a/drivers/x86_64/ldd1_hello.c b/bsp/drivers/x86_64/ldd1_hello.c
similarity index 100%
rename from drivers/x86_64/ldd1_hello.c
rename to bsp/drivers/x86_64/ldd1_hello.c
diff --git a/drivers/x86_64/ldd2_chrdev.c b/bsp/drivers/x86_64/ldd2_chrdev.c
similarity index 100%
rename from drivers/x86_64/ldd2_chrdev.c
rename to bsp/drivers/x86_64/ldd2_chrdev.c
diff --git a/drivers/x86_64/ldd3_ioctl.c b/bsp/drivers/x86_64/ldd3_ioctl.c
similarity index 100%
rename from drivers/x86_64/ldd3_ioctl.c
rename to bsp/drivers/x86_64/ldd3_ioctl.c
diff --git a/drivers/x86_64/testapp/app2_chrdev.c b/bsp/drivers/x86_64/testapp/app2_chrdev.c
similarity index 100%
rename from drivers/x86_64/testapp/app2_chrdev.c
rename to bsp/drivers/x86_64/testapp/app2_chrdev.c
diff --git a/drivers/x86_64/testapp/app3_ioctl.c b/bsp/drivers/x86_64/testapp/app3_ioctl.c
similarity index 100%
rename from drivers/x86_64/testapp/app3_ioctl.c
rename to bsp/drivers/x86_64/testapp/app3_ioctl.c
diff --git a/drivers/x86_64/testapp/makefile b/bsp/drivers/x86_64/testapp/makefile
similarity index 100%
rename from drivers/x86_64/testapp/makefile
rename to bsp/drivers/x86_64/testapp/makefile
diff --git a/images/build.sh b/bsp/images/build.sh
similarity index 100%
rename from images/build.sh
rename to bsp/images/build.sh
diff --git a/images/patches/config-igkboard-imx6ull.txt b/bsp/images/patches/config-igkboard-imx6ull.txt
similarity index 100%
rename from images/patches/config-igkboard-imx6ull.txt
rename to bsp/images/patches/config-igkboard-imx6ull.txt
diff --git a/images/patches/config-igkboard-imx8mp.txt b/bsp/images/patches/config-igkboard-imx8mp.txt
similarity index 100%
rename from images/patches/config-igkboard-imx8mp.txt
rename to bsp/images/patches/config-igkboard-imx8mp.txt
diff --git a/kernel/build.sh b/bsp/kernel/build.sh
similarity index 100%
rename from kernel/build.sh
rename to bsp/kernel/build.sh
diff --git a/kernel/patches/alientek-imx6ull-v20/linux-imx-lf-6.1.36-2.1.0.patch b/bsp/kernel/patches/alientek-imx6ull-v20/linux-imx-lf-6.1.36-2.1.0.patch
similarity index 100%
rename from kernel/patches/alientek-imx6ull-v20/linux-imx-lf-6.1.36-2.1.0.patch
rename to bsp/kernel/patches/alientek-imx6ull-v20/linux-imx-lf-6.1.36-2.1.0.patch
diff --git a/kernel/patches/alientek-imx6ull-v24/linux-imx-lf-6.1.36-2.1.0.patch b/bsp/kernel/patches/alientek-imx6ull-v24/linux-imx-lf-6.1.36-2.1.0.patch
similarity index 100%
rename from kernel/patches/alientek-imx6ull-v24/linux-imx-lf-6.1.36-2.1.0.patch
rename to bsp/kernel/patches/alientek-imx6ull-v24/linux-imx-lf-6.1.36-2.1.0.patch
diff --git a/kernel/patches/gauguin-imx8mp/linux-imx-lf-5.15.71-2.2.0.patch b/bsp/kernel/patches/gauguin-imx8mp/linux-imx-lf-5.15.71-2.2.0.patch
similarity index 100%
rename from kernel/patches/gauguin-imx8mp/linux-imx-lf-5.15.71-2.2.0.patch
rename to bsp/kernel/patches/gauguin-imx8mp/linux-imx-lf-5.15.71-2.2.0.patch
diff --git a/kernel/patches/gen_patch.sh b/bsp/kernel/patches/gen_patch.sh
similarity index 100%
rename from kernel/patches/gen_patch.sh
rename to bsp/kernel/patches/gen_patch.sh
diff --git a/kernel/patches/igkboard-imx6ull/linux-imx-lf-6.1.36-2.1.0.patch b/bsp/kernel/patches/igkboard-imx6ull/linux-imx-lf-6.1.36-2.1.0.patch
similarity index 100%
rename from kernel/patches/igkboard-imx6ull/linux-imx-lf-6.1.36-2.1.0.patch
rename to bsp/kernel/patches/igkboard-imx6ull/linux-imx-lf-6.1.36-2.1.0.patch
diff --git a/kernel/patches/igkboard-imx8mp/linux-imx-lf-6.1.36-2.1.0.patch b/bsp/kernel/patches/igkboard-imx8mp/linux-imx-lf-6.1.36-2.1.0.patch
similarity index 100%
rename from kernel/patches/igkboard-imx8mp/linux-imx-lf-6.1.36-2.1.0.patch
rename to bsp/kernel/patches/igkboard-imx8mp/linux-imx-lf-6.1.36-2.1.0.patch
diff --git a/tools/imgmnt b/bsp/tools/imgmnt
similarity index 100%
rename from tools/imgmnt
rename to bsp/tools/imgmnt
diff --git a/tools/setup_tools.sh b/bsp/tools/setup_tools.sh
similarity index 100%
rename from tools/setup_tools.sh
rename to bsp/tools/setup_tools.sh
diff --git a/yocto/build.sh b/bsp/yocto/build.sh
similarity index 100%
rename from yocto/build.sh
rename to bsp/yocto/build.sh
diff --git a/yocto/meta-igkboard/README.md b/bsp/yocto/meta-igkboard/README.md
similarity index 100%
rename from yocto/meta-igkboard/README.md
rename to bsp/yocto/meta-igkboard/README.md
diff --git a/yocto/meta-igkboard/conf/bblayers.conf b/bsp/yocto/meta-igkboard/conf/bblayers.conf
similarity index 100%
rename from yocto/meta-igkboard/conf/bblayers.conf
rename to bsp/yocto/meta-igkboard/conf/bblayers.conf
diff --git a/yocto/meta-igkboard/conf/igkboard-imx6ull_local.conf b/bsp/yocto/meta-igkboard/conf/igkboard-imx6ull_local.conf
similarity index 100%
rename from yocto/meta-igkboard/conf/igkboard-imx6ull_local.conf
rename to bsp/yocto/meta-igkboard/conf/igkboard-imx6ull_local.conf
diff --git a/yocto/meta-igkboard/conf/igkboard-imx8mp_local.conf b/bsp/yocto/meta-igkboard/conf/igkboard-imx8mp_local.conf
similarity index 100%
rename from yocto/meta-igkboard/conf/igkboard-imx8mp_local.conf
rename to bsp/yocto/meta-igkboard/conf/igkboard-imx8mp_local.conf
diff --git a/yocto/meta-igkboard/conf/layer.conf b/bsp/yocto/meta-igkboard/conf/layer.conf
similarity index 100%
rename from yocto/meta-igkboard/conf/layer.conf
rename to bsp/yocto/meta-igkboard/conf/layer.conf
diff --git a/yocto/meta-igkboard/conf/machine/igkboard-imx6ull.conf b/bsp/yocto/meta-igkboard/conf/machine/igkboard-imx6ull.conf
similarity index 100%
rename from yocto/meta-igkboard/conf/machine/igkboard-imx6ull.conf
rename to bsp/yocto/meta-igkboard/conf/machine/igkboard-imx6ull.conf
diff --git a/yocto/meta-igkboard/conf/machine/igkboard-imx8mp.conf b/bsp/yocto/meta-igkboard/conf/machine/igkboard-imx8mp.conf
similarity index 100%
rename from yocto/meta-igkboard/conf/machine/igkboard-imx8mp.conf
rename to bsp/yocto/meta-igkboard/conf/machine/igkboard-imx8mp.conf
diff --git a/yocto/meta-igkboard/images/yocto-image-full.bb b/bsp/yocto/meta-igkboard/images/yocto-image-full.bb
similarity index 100%
rename from yocto/meta-igkboard/images/yocto-image-full.bb
rename to bsp/yocto/meta-igkboard/images/yocto-image-full.bb
diff --git a/yocto/meta-igkboard/images/yocto-image-ml.bb b/bsp/yocto/meta-igkboard/images/yocto-image-ml.bb
similarity index 100%
rename from yocto/meta-igkboard/images/yocto-image-ml.bb
rename to bsp/yocto/meta-igkboard/images/yocto-image-ml.bb
diff --git a/yocto/meta-igkboard/recipes-bsp/u-boot/files/readme b/bsp/yocto/meta-igkboard/recipes-bsp/u-boot/files/readme
similarity index 100%
rename from yocto/meta-igkboard/recipes-bsp/u-boot/files/readme
rename to bsp/yocto/meta-igkboard/recipes-bsp/u-boot/files/readme
diff --git a/yocto/meta-igkboard/recipes-bsp/u-boot/files/uboot-logo-igkboard-imx6ull.bmp b/bsp/yocto/meta-igkboard/recipes-bsp/u-boot/files/uboot-logo-igkboard-imx6ull.bmp
similarity index 100%
rename from yocto/meta-igkboard/recipes-bsp/u-boot/files/uboot-logo-igkboard-imx6ull.bmp
rename to bsp/yocto/meta-igkboard/recipes-bsp/u-boot/files/uboot-logo-igkboard-imx6ull.bmp
Binary files differ
diff --git a/yocto/meta-igkboard/recipes-bsp/u-boot/files/uboot-logo-igkboard-imx8mp.bmp b/bsp/yocto/meta-igkboard/recipes-bsp/u-boot/files/uboot-logo-igkboard-imx8mp.bmp
similarity index 100%
rename from yocto/meta-igkboard/recipes-bsp/u-boot/files/uboot-logo-igkboard-imx8mp.bmp
rename to bsp/yocto/meta-igkboard/recipes-bsp/u-boot/files/uboot-logo-igkboard-imx8mp.bmp
Binary files differ
diff --git a/yocto/meta-igkboard/recipes-bsp/u-boot/u-boot-imx_%.bbappend b/bsp/yocto/meta-igkboard/recipes-bsp/u-boot/u-boot-imx_%.bbappend
similarity index 100%
rename from yocto/meta-igkboard/recipes-bsp/u-boot/u-boot-imx_%.bbappend
rename to bsp/yocto/meta-igkboard/recipes-bsp/u-boot/u-boot-imx_%.bbappend
diff --git a/yocto/meta-igkboard/recipes-bsp/u-boot/uenv_1.0.bb b/bsp/yocto/meta-igkboard/recipes-bsp/u-boot/uenv_1.0.bb
similarity index 100%
rename from yocto/meta-igkboard/recipes-bsp/u-boot/uenv_1.0.bb
rename to bsp/yocto/meta-igkboard/recipes-bsp/u-boot/uenv_1.0.bb
diff --git a/yocto/meta-igkboard/recipes-core/base-files/base-files_%.bbappend b/bsp/yocto/meta-igkboard/recipes-core/base-files/base-files_%.bbappend
similarity index 100%
rename from yocto/meta-igkboard/recipes-core/base-files/base-files_%.bbappend
rename to bsp/yocto/meta-igkboard/recipes-core/base-files/base-files_%.bbappend
diff --git a/yocto/meta-igkboard/recipes-core/systemd/systemd_%.bbappend b/bsp/yocto/meta-igkboard/recipes-core/systemd/systemd_%.bbappend
similarity index 100%
rename from yocto/meta-igkboard/recipes-core/systemd/systemd_%.bbappend
rename to bsp/yocto/meta-igkboard/recipes-core/systemd/systemd_%.bbappend
diff --git a/yocto/meta-igkboard/recipes-fsl/packagegroup/packagegroup-fsl-tools-gpu.bbappend b/bsp/yocto/meta-igkboard/recipes-fsl/packagegroup/packagegroup-fsl-tools-gpu.bbappend
similarity index 100%
rename from yocto/meta-igkboard/recipes-fsl/packagegroup/packagegroup-fsl-tools-gpu.bbappend
rename to bsp/yocto/meta-igkboard/recipes-fsl/packagegroup/packagegroup-fsl-tools-gpu.bbappend
diff --git a/yocto/meta-igkboard/recipes-hello/hello-app/files/Makefile b/bsp/yocto/meta-igkboard/recipes-hello/hello-app/files/Makefile
similarity index 100%
rename from yocto/meta-igkboard/recipes-hello/hello-app/files/Makefile
rename to bsp/yocto/meta-igkboard/recipes-hello/hello-app/files/Makefile
diff --git a/yocto/meta-igkboard/recipes-hello/hello-app/files/hello-app.c b/bsp/yocto/meta-igkboard/recipes-hello/hello-app/files/hello-app.c
similarity index 100%
rename from yocto/meta-igkboard/recipes-hello/hello-app/files/hello-app.c
rename to bsp/yocto/meta-igkboard/recipes-hello/hello-app/files/hello-app.c
diff --git a/yocto/meta-igkboard/recipes-hello/hello-app/hello-app_1.0.bb b/bsp/yocto/meta-igkboard/recipes-hello/hello-app/hello-app_1.0.bb
similarity index 100%
rename from yocto/meta-igkboard/recipes-hello/hello-app/hello-app_1.0.bb
rename to bsp/yocto/meta-igkboard/recipes-hello/hello-app/hello-app_1.0.bb
diff --git a/yocto/meta-igkboard/recipes-kernel/hello-mod/files/Makefile b/bsp/yocto/meta-igkboard/recipes-kernel/hello-mod/files/Makefile
similarity index 100%
rename from yocto/meta-igkboard/recipes-kernel/hello-mod/files/Makefile
rename to bsp/yocto/meta-igkboard/recipes-kernel/hello-mod/files/Makefile
diff --git a/yocto/meta-igkboard/recipes-kernel/hello-mod/files/hello.c b/bsp/yocto/meta-igkboard/recipes-kernel/hello-mod/files/hello.c
similarity index 100%
rename from yocto/meta-igkboard/recipes-kernel/hello-mod/files/hello.c
rename to bsp/yocto/meta-igkboard/recipes-kernel/hello-mod/files/hello.c
diff --git a/yocto/meta-igkboard/recipes-kernel/hello-mod/hello-mod.bb b/bsp/yocto/meta-igkboard/recipes-kernel/hello-mod/hello-mod.bb
similarity index 100%
rename from yocto/meta-igkboard/recipes-kernel/hello-mod/hello-mod.bb
rename to bsp/yocto/meta-igkboard/recipes-kernel/hello-mod/hello-mod.bb
diff --git a/yocto/meta-igkboard/recipes-kernel/linux/files/readme b/bsp/yocto/meta-igkboard/recipes-kernel/linux/files/readme
similarity index 100%
rename from yocto/meta-igkboard/recipes-kernel/linux/files/readme
rename to bsp/yocto/meta-igkboard/recipes-kernel/linux/files/readme
diff --git a/yocto/meta-igkboard/recipes-kernel/linux/linux-imx_%.bbappend b/bsp/yocto/meta-igkboard/recipes-kernel/linux/linux-imx_%.bbappend
similarity index 100%
rename from yocto/meta-igkboard/recipes-kernel/linux/linux-imx_%.bbappend
rename to bsp/yocto/meta-igkboard/recipes-kernel/linux/linux-imx_%.bbappend
diff --git a/yocto/meta-igkboard/recipes-kernel/rtl8188fu/rtl8188fu.bb b/bsp/yocto/meta-igkboard/recipes-kernel/rtl8188fu/rtl8188fu.bb
similarity index 100%
rename from yocto/meta-igkboard/recipes-kernel/rtl8188fu/rtl8188fu.bb
rename to bsp/yocto/meta-igkboard/recipes-kernel/rtl8188fu/rtl8188fu.bb
diff --git a/yocto/meta-igkboard/recipes-kernel/rtl8723du/rtl8723du.bb b/bsp/yocto/meta-igkboard/recipes-kernel/rtl8723du/rtl8723du.bb
similarity index 100%
rename from yocto/meta-igkboard/recipes-kernel/rtl8723du/rtl8723du.bb
rename to bsp/yocto/meta-igkboard/recipes-kernel/rtl8723du/rtl8723du.bb
diff --git a/yocto/meta-igkboard/recipes-misc/expand-rootfs/expand-rootfs_1.0.bb b/bsp/yocto/meta-igkboard/recipes-misc/expand-rootfs/expand-rootfs_1.0.bb
similarity index 100%
rename from yocto/meta-igkboard/recipes-misc/expand-rootfs/expand-rootfs_1.0.bb
rename to bsp/yocto/meta-igkboard/recipes-misc/expand-rootfs/expand-rootfs_1.0.bb
diff --git a/yocto/meta-igkboard/recipes-misc/expand-rootfs/files/expand_rootfs b/bsp/yocto/meta-igkboard/recipes-misc/expand-rootfs/files/expand_rootfs
similarity index 100%
rename from yocto/meta-igkboard/recipes-misc/expand-rootfs/files/expand_rootfs
rename to bsp/yocto/meta-igkboard/recipes-misc/expand-rootfs/files/expand_rootfs
diff --git a/yocto/meta-igkboard/recipes-misc/ifup-ppp/files/gprs-chat b/bsp/yocto/meta-igkboard/recipes-misc/ifup-ppp/files/gprs-chat
similarity index 100%
rename from yocto/meta-igkboard/recipes-misc/ifup-ppp/files/gprs-chat
rename to bsp/yocto/meta-igkboard/recipes-misc/ifup-ppp/files/gprs-chat
diff --git a/yocto/meta-igkboard/recipes-misc/ifup-ppp/files/ifup-ppp b/bsp/yocto/meta-igkboard/recipes-misc/ifup-ppp/files/ifup-ppp
similarity index 100%
rename from yocto/meta-igkboard/recipes-misc/ifup-ppp/files/ifup-ppp
rename to bsp/yocto/meta-igkboard/recipes-misc/ifup-ppp/files/ifup-ppp
diff --git a/yocto/meta-igkboard/recipes-misc/ifup-ppp/ifup-ppp_1.0.bb b/bsp/yocto/meta-igkboard/recipes-misc/ifup-ppp/ifup-ppp_1.0.bb
similarity index 100%
rename from yocto/meta-igkboard/recipes-misc/ifup-ppp/ifup-ppp_1.0.bb
rename to bsp/yocto/meta-igkboard/recipes-misc/ifup-ppp/ifup-ppp_1.0.bb
diff --git a/yocto/meta-igkboard/recipes-misc/packagegroups/packagegroup-misc-utils.bb b/bsp/yocto/meta-igkboard/recipes-misc/packagegroups/packagegroup-misc-utils.bb
similarity index 100%
rename from yocto/meta-igkboard/recipes-misc/packagegroups/packagegroup-misc-utils.bb
rename to bsp/yocto/meta-igkboard/recipes-misc/packagegroups/packagegroup-misc-utils.bb
diff --git a/yocto/meta-igkboard/recipes-misc/wpa-conf/files/10-eth0.network b/bsp/yocto/meta-igkboard/recipes-misc/wpa-conf/files/10-eth0.network
similarity index 100%
rename from yocto/meta-igkboard/recipes-misc/wpa-conf/files/10-eth0.network
rename to bsp/yocto/meta-igkboard/recipes-misc/wpa-conf/files/10-eth0.network
diff --git a/yocto/meta-igkboard/recipes-misc/wpa-conf/files/20-wlan0.network b/bsp/yocto/meta-igkboard/recipes-misc/wpa-conf/files/20-wlan0.network
similarity index 100%
rename from yocto/meta-igkboard/recipes-misc/wpa-conf/files/20-wlan0.network
rename to bsp/yocto/meta-igkboard/recipes-misc/wpa-conf/files/20-wlan0.network
diff --git a/yocto/meta-igkboard/recipes-misc/wpa-conf/files/wpa-conf.service b/bsp/yocto/meta-igkboard/recipes-misc/wpa-conf/files/wpa-conf.service
similarity index 100%
rename from yocto/meta-igkboard/recipes-misc/wpa-conf/files/wpa-conf.service
rename to bsp/yocto/meta-igkboard/recipes-misc/wpa-conf/files/wpa-conf.service
diff --git a/yocto/meta-igkboard/recipes-misc/wpa-conf/wpa-conf_1.0.bb b/bsp/yocto/meta-igkboard/recipes-misc/wpa-conf/wpa-conf_1.0.bb
similarity index 100%
rename from yocto/meta-igkboard/recipes-misc/wpa-conf/wpa-conf_1.0.bb
rename to bsp/yocto/meta-igkboard/recipes-misc/wpa-conf/wpa-conf_1.0.bb
diff --git a/yocto/meta-igkboard/recipes-qt/packagegroups/packagegroup-qt6-addons.bbappend b/bsp/yocto/meta-igkboard/recipes-qt/packagegroups/packagegroup-qt6-addons.bbappend
similarity index 100%
rename from yocto/meta-igkboard/recipes-qt/packagegroups/packagegroup-qt6-addons.bbappend
rename to bsp/yocto/meta-igkboard/recipes-qt/packagegroups/packagegroup-qt6-addons.bbappend
diff --git a/yocto/meta-igkboard/tools/igkboard-setup.sh b/bsp/yocto/meta-igkboard/tools/igkboard-setup.sh
similarity index 100%
rename from yocto/meta-igkboard/tools/igkboard-setup.sh
rename to bsp/yocto/meta-igkboard/tools/igkboard-setup.sh
diff --git a/readme.md b/readme.md
index 2f9d3b9..1b5e09c 100644
--- a/readme.md
+++ b/readme.md
@@ -24,13 +24,13 @@
 
 guowenxue@9d57f9229b66:~$ cd ~/igkboard-imx6ull/
 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull$ ls
+guowenxue@9d57f9229b66:~/igkboard-imx6ull$ ls bsp
 bootloader  config.json  debian  drivers  images  kernel  tools  yocto
 ```
 
 
 
-下面是编译系统各文件的简单介绍。
+下面是BSP编译系统各文件的简单介绍。
 
 | 文件/文件夹     | 描述                                       |
 | --------------- | ------------------------------------------ |
@@ -52,7 +52,7 @@
 下面是顶层编译系统的配置文件,默认为 ***IGKBoard-IMX6ULL*** 开发板的配置。
 
 ```json
-guowenxue@9d57f9229b66:~/igkboard-imx6ull$ cat config.json 
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp$ cat config.json
 {
     "bsp":
     {
@@ -81,7 +81,7 @@
 * ***bsp.board***   该选项指定要编译的目标开发板,具体支持哪些可以查看 `kernel/patches/` 文件夹下有哪些开发板文件夹.
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull$ ls kernel/patches/
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp$ ls kernel/patches/
 alientek-imx6ull-v20  alientek-imx6ull-v24  gauguin-imx8mp  gen_patch.sh  igkboard-imx6ull  igkboard-imx8mp
 ```
 
@@ -94,7 +94,7 @@
 * ***bsp.version***   该选项指定要编译的Linux BSP版本,具体支持哪些可以查看 `kernel/patches/` 相应开发板下支持哪些补丁.
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull$ ls kernel/patches/igkboard-imx6ull/
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp$ ls kernel/patches/igkboard-imx6ull/
 linux-imx-lf-6.1.36-2.1.0.patch
 ```
 
@@ -140,7 +140,7 @@
 在开始编译之前,我们首先确定当前编译系统支持哪些BSP版本,这点可以通过查看相应开发板的补丁文件来获取。如下所示,当前 IGKBoard-IMX6ULL 只支持 lf-6.1.36-2.1.0 这个版本。
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull$ ls kernel/patches/igkboard-imx6ull/
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp$ ls kernel/patches/igkboard-imx6ull/
 linux-imx-lf-6.1.36-2.1.0.patch
 ```
 
@@ -196,9 +196,9 @@
 下面是我配置的代理命令 **proxy** 用来代理访问 github,设置好后可以使用 **curl** 命令访问 google.com 来测试代理是否生效。
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull$ proxy
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp$ proxy
 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull$ curl google.com
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp$ curl google.com
 <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
 <TITLE>301 Moved</TITLE></HEAD><BODY>
 <H1>301 Moved</H1>
@@ -212,7 +212,7 @@
 另外,也可以使用 **unproxy** 命令来取消命令行代理。
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull$ unproxy 
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp$ unproxy
 ```
 
 
@@ -250,7 +250,7 @@
 在嵌入式BSP系统开发过程中,依赖很多的Linux系统命令及交叉编译器。在该编译系统的 ***tools*** 文件夹下,有一个 ***setup_tools.sh*** 脚本可以用来一键安装它们。
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull$ ls tools/
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp$ ls tools/
 imgmnt  setup_tools.sh
 ```
 
@@ -259,16 +259,16 @@
 接下来以 root 权限执行 ***tools/setup_tools.sh*** 脚本,来安装BSP源码编译所依赖的系统工具和交叉编译器,如果之前已经安装过则会自动跳过。
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull$ cd tools/
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp$ cd tools/
 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/tools$ sudo ./setup_tools.sh 
- All system tools already installed, skip it 
- All development tools already installed, skip it 
- start download cross compiler from ARM Developer for Cortex-A core 
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/tools$ sudo ./setup_tools.sh
+ All system tools already installed, skip it
+ All development tools already installed, skip it
+ start download cross compiler from ARM Developer for Cortex-A core
  ... ...
  start decompress cross compiler for Cortex-A core
  ... ...
-  cross compiler for Cortex-A installed to "/opt/gcc-aarch32-10.3-2021.07" successfully 
+  cross compiler for Cortex-A installed to "/opt/gcc-aarch32-10.3-2021.07" successfully
 ```
 
 
@@ -284,26 +284,26 @@
 在做好前面的配置后,编译 bootloader 的工作就非常简单了,我们只需要切换到 ***bootloader*** 文件夹下,执行 `build.sh` 脚本即可。它将会自动从配置的源码服务器上下载源码,并打上相应的补丁文件,开始漫长的编译工作。
 
 ``` bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull$ cd bootloader/
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp$ cd bootloader/
 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/bootloader$ ls
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/bootloader$ ls
 build.sh  patches
 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/bootloader$ ./build.sh 
- start build bootloader for igkboard-imx6ull 
- start fetch uboot-imx source code 
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/bootloader$ ./build.sh
+ start build bootloader for igkboard-imx6ull
+ start fetch uboot-imx source code
  ... ...
- do patch for uboot-imx now... 
+ do patch for uboot-imx now...
  ... ...
- start build uboot-imx 
+ start build uboot-imx
  ... ...
   MKIMAGE u-boot-dtb.imx
   OFCHK   .config
-+ cp u-boot-igkboard-imx6ull.imx /home/guowenxue/igkboard-imx6ull/bootloader/install
++ cp u-boot-igkboard-imx6ull.imx /home/guowenxue/igkboard-imx6ull/bsp/bootloader/install
 + set +x
 
- bootloader installed to '/home/guowenxue/igkboard-imx6ull/bootloader/install' 
-u-boot-igkboard-imx6ull.imx 
+ bootloader installed to '/home/guowenxue/igkboard-imx6ull/bsp/bootloader/install'
+u-boot-igkboard-imx6ull.imx
 ```
 
 
@@ -311,7 +311,7 @@
 编译完成后,生成的 bootloader 文件将会存放到自动创建的 ***install*** 文件夹下。
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/bootloader$ ls install/
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/bootloader$ ls install/
 u-boot-igkboard-imx6ull.imx
 ```
 
@@ -320,13 +320,13 @@
 如果对 bootloader 源码有新的修改,我们可以使用 `./patches/gen_patch.sh` 脚本生成新的 patch 补丁文件。如果想保存该补丁文件,则可以替换 ***patches*** 文件夹下的相应文件。
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/bootloader$ ./patches/gen_patch.sh uboot-imx/
- generate patch file 
- 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/bootloader$ ls 
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/bootloader$ ./patches/gen_patch.sh uboot-imx/
+ generate patch file
+
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/bootloader$ ls
 build.sh  install  patches  tarballs  uboot-imx  uboot-imx-lf-6.1.36-2.1.0.patch
 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/bootloader$ mv uboot-imx-lf-6.1.36-2.1.0.patch patches/igkboard-imx6ull/
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/bootloader$ mv uboot-imx-lf-6.1.36-2.1.0.patch patches/igkboard-imx6ull/
 ```
 
 
@@ -334,10 +334,10 @@
 另外使用  `build.sh -c` 命令可以一键清除所有编译产生的文件和源码。
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/bootloader$ ./build.sh -c
- start clean bootloader 
- 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/bootloader$ ls
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/bootloader$ ./build.sh -c
+ start clean bootloader
+
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/bootloader$ ls
 build.sh  patches
 ```
 
@@ -350,20 +350,20 @@
 同样地,编译 Linux内核源码的工作也非常简单,我们只需要切换到 ***kernel*** 文件夹下,执行 `build.sh` 脚本即可。它将会自动从配置的源码服务器上下载源码,并打上相应的补丁文件,开始漫长的编译工作。
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull$ cd kernel/
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp$ cd kernel/
 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/kernel$ ls
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/kernel$ ls
 build.sh  patches
 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/kernel$ ./build.sh 
- start build linux kernel for igkboard-imx6ull 
- start fetch linux kernel source code 
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/kernel$ ./build.sh
+ start build linux kernel for igkboard-imx6ull
+ start fetch linux kernel source code
 ... ...
- do patch for linux-imx now... 
+ do patch for linux-imx now...
  ... ...
- start build linux-imx 
+ start build linux-imx
  ... ...
- linux kernel installed to '/home/guowenxue/igkboard-imx6ull/kernel/install' 
+ linux kernel installed to '/home/guowenxue/igkboard-imx6ull/bsp/kernel/install'
 igkboard-imx6ull.dtb  lib  overlays  zImage
 ```
 
@@ -372,7 +372,7 @@
 同样地,编译完成后生成的 linux内核文件将会存放到自动创建的 ***install*** 文件夹下。
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/kernel$ ls install/
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/kernel$ ls install/
 igkboard-imx6ull.dtb  lib  overlays  zImage
 ```
 
@@ -381,13 +381,13 @@
 如果对 Linux内核源码有新的修改,我们可以使用 `./patches/gen_patch.sh` 脚本生成新的 patch 补丁文件。如果想保存该补丁文件,则可以替换 ***patches*** 文件夹下的相应文件。
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/kernel$ ./patches/gen_patch.sh linux-imx/
- generate patch file 
- 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/kernel$ ls
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/kernel$ ./patches/gen_patch.sh linux-imx/
+ generate patch file
+
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/kernel$ ls
 build.sh  install  linux-imx  linux-imx-lf-6.1.36-2.1.0.patch  patches  tarballs
 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/kernel$ mv linux-imx-lf-6.1.36-2.1.0.patch patches/igkboard-imx6ull/
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/kernel$ mv linux-imx-lf-6.1.36-2.1.0.patch patches/igkboard-imx6ull/
 ```
 
 
@@ -395,10 +395,10 @@
 另外使用  `build.sh -c` 命令可以一键清除所有编译产生的文件和源码。
 
 ```
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/kernel$ ./build.sh -c
- start clean linux kernel 
- 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/kernel$ ls
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/kernel$ ./build.sh -c
+ start clean linux kernel
+
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/kernel$ ls
 build.sh  patches
 ```
 
@@ -415,36 +415,36 @@
 因为 Linux 系统镜像需要使用 **sudo** 和 **loop** 设备,所以这个需要在自己的虚拟机或实验室的编译服务器具有相应权限的账号下工作。
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull$ cd images/
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp$ cd images/
 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/images$ ls
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/images$ ls
 build.sh
 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/images$ sudo ./build.sh 
- Build system image yocto-mickledore-lf-6.1.36-2.1.0.img 
- INFO: download rootfs-yocto-mickledore.tar.zst form http://studio.xxx.com:2211 
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/images$ sudo ./build.sh
+ Build system image yocto-mickledore-lf-6.1.36-2.1.0.img
+ INFO: download rootfs-yocto-mickledore.tar.zst form http://studio.xxx.com:2211
  ... ...
- start generate empty system image 
+ start generate empty system image
  ... ...
- start partition system image 
- losetup system image on loop4 
+ start partition system image
+ losetup system image on loop4
  ... ...
- start format system image 
+ start format system image
  ... ...
- start install u-boot image  
+ start install u-boot image
  ... ...
- start install linux kernel images 
- update drivers in root filesystem 
- start install root filesystem 
- Build system image yocto-mickledore-lf-6.1.36-2.1.0.img done 
- Start bzip2 compress yocto-mickledore-lf-6.1.36-2.1.0.img  
+ start install linux kernel images
+ update drivers in root filesystem
+ start install root filesystem
+ Build system image yocto-mickledore-lf-6.1.36-2.1.0.img done
+ Start bzip2 compress yocto-mickledore-lf-6.1.36-2.1.0.img
  ... ...
  Shell script exit now, do some clean work
- 
- kpartx -dv /dev/loop4 
+
+ kpartx -dv /dev/loop4
 del devmap : loop4p1
 del devmap : loop4p2
- losetup -d /dev/loop4  
+ losetup -d /dev/loop4
 ```
 
 
@@ -452,7 +452,7 @@
 编译完成后,系统镜像和烧录所需要的文件将会存放到自动创建的 ***install*** 文件夹下。
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/images$ ls install/
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/images$ ls install/
 u-boot-igkboard-imx6ull.imx  yocto-mickledore-lf-6.1.36-2.1.0.img.bz2
 ```
 
@@ -485,17 +485,17 @@
 下面是 Yocto 源码编译的过程。
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull$ cd yocto/
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp$ cd yocto/
 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/yocto$ ls
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/yocto$ ls
 build.sh  meta-igkboard
 
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/yocto$ ./build.sh 
- start build Yocto mickledore for igkboard-imx6ull 
- start download fetch Yocto mickledore source code 
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/yocto$ ./build.sh
+ start build Yocto mickledore for igkboard-imx6ull
+ start download fetch Yocto mickledore source code
  ... ...
   Build directory is  igkboard-imx6ull
-/home/guowenxue/igkboard-imx6ull/yocto/mickledore-lf-6.1.36-2.1.0
+/home/guowenxue/igkboard-imx6ull/bsp/yocto/mickledore-lf-6.1.36-2.1.0
     Welcome LingYun IoT Gateway Kit Board Yocto BSP
 
     The Yocto Project has extensive documentation about OE including a
@@ -509,9 +509,9 @@
         core-image-minimal
         imx-image-full
  ... ...
- 
-  Yocto(mickledore) installed to '/home/guowenxue/igkboard-imx6ull/yocto/install' 
- Start bzip2 compress yocto-mickledore-lf-6.1.36-2.1.0.wic 
+
+  Yocto(mickledore) installed to '/home/guowenxue/igkboard-imx6ull/bsp/yocto/install'
+ Start bzip2 compress yocto-mickledore-lf-6.1.36-2.1.0.wic
 rootfs-yocto-mickledore.tar.zst  u-boot-igkboard-imx6ull.imx  yocto-mickledore-lf-6.1.36-2.1.0.wic.bz2
 ```
 
@@ -520,7 +520,7 @@
 编译完成后,系统镜像和烧录所需要的文件将会存放到自动创建的 ***install*** 文件夹下。
 
 ```bash
-guowenxue@9d57f9229b66:~/igkboard-imx6ull/yocto$ ls install/
+guowenxue@9d57f9229b66:~/igkboard-imx6ull/bsp/yocto$ ls install/
 rootfs-yocto-mickledore.tar.zst  u-boot-igkboard-imx6ull.imx  yocto-mickledore-lf-6.1.36-2.1.0.wic.bz2
 ```
 

--
Gitblit v1.9.1