From e15217d83bad75e1e33fdbe92c80a198cade81a3 Mon Sep 17 00:00:00 2001 From: YuzukiTsuru Date: Sun, 27 Mar 2022 23:28:14 +0800 Subject: [PATCH] board: rename all to uncap, add uboot d1 support --- .github/workflows/main.yml | 2 +- README.md | 16 +- appveyor.yml | 2 +- .../lichee-nano/rootfs/etc/init.d/S98uMTPrd | 57 ----- .../YuzukiRuler/rootfs/etc/init.d/S98uMTPrd | 57 ----- .../uboot_default_defconfig} | 0 .../dts/{ => linux}/sun20i-d1-linux.dtsi | 0 .../sun20i-d1/dts/uboot/sun20iw1p1-clk.dtsi | 179 ++++++++++++++ .../dts/uboot/sun20iw1p1-common-board.dts | 179 ++++++++++++++ .../sun20iw1p1-soc-system.dtsi} | 220 +++--------------- .../nezha/configs/uboot_awol_nezha_defconfig} | 0 .../dts/uboot}/sun20i-d1-nezha-uboot.dts | 3 +- .../0001-add-support-for-buildroot.patch | 43 ++++ ...0002-fix-uboot-disable-dtc-selfbuilt.patch | 22 ++ ...uboot-support-for-buildroot-dts-file.patch | 192 +++++++++++++++ ...-rule-to-make-target-sunxi_challenge.patch | 34 +++ .../linux/linux_sipeed_lichee_nano_defconfig} | 0 .../uboot/uboot_sipeed_lichee_nano_defconfig} | 0 .../lichee-nano/dts/suniv-linux.dts | 2 +- .../lichee-nano/dts/suniv-uboot.dts | 0 .../lichee-nano/rootfs/etc/umtprd/umtprd.conf | 2 +- .../linux/linux_sipeed_lichee_zero_defconfig} | 0 .../uboot/uboot_sipeed_lichee_zero_defconfig} | 0 .../dts/sun8i-v3s-licheepi-zero-linux.dts | 0 .../dts/sun8i-v3s-licheepi-zero-uboot.dts | 0 .../0001-add-support-for-ov5640-CCIR656.patch | 0 ...upport-for-sun8i-v3s-licheepi-zero-u.patch | 0 .../lichee-zero/script/bootcmd | 0 .../linux_yuzukihd_yuzukicore-f1_defconfig} | 0 .../uboot_yuzukihd_yuzukicore-f1_defconfig} | 0 .../yuzukicore-f1}/dts/suniv-linux.dts | 2 +- .../yuzukicore-f1}/dts/suniv-uboot.dts | 2 +- ...fbtft-support-kernel-5.4-add-st7789v.patch | 0 ...init_display-para-add-new-shift-addr.patch | 0 .../linux/0003-fbtft-fix-disp-init.patch | 0 .../rootfs/etc/umtprd/umtprd.conf | 4 +- .../rootfs/lib/firmware/goodix_911_cfg.bin | Bin .../linux_yuzukihd_yuzukiruler_defconfig} | 0 .../uboot_yuzukihd_yuzukiruler_defconfig} | 0 .../yuzukiruler}/dts/suniv-linux.dts | 2 +- .../yuzukiruler}/dts/suniv-uboot.dts | 2 +- ...fbtft-support-kernel-5.4-add-st7789v.patch | 0 ...init_display-para-add-new-shift-addr.patch | 0 .../linux/0003-fbtft-fix-disp-init.patch | 0 .../rootfs/etc/umtprd/umtprd.conf | 4 +- .../rootfs/lib/firmware/goodix_911_cfg.bin | Bin ...L_Nezha_defconfig => awol_nezha_defconfig} | 2 +- ...defconfig => sipeed_lichee_nano_defconfig} | 12 +- ...defconfig => sipeed_lichee_zero_defconfig} | 14 +- ...onfig => yuzukihd_yuzukicore_f1_defconfig} | 16 +- ...fconfig => yuzukihd_yuzukiruler_defconfig} | 16 +- docs/README.md | 16 +- docs/index.html | 2 +- docs/zh-cn/README.md | 4 +- 54 files changed, 740 insertions(+), 368 deletions(-) delete mode 100644 buildroot/board/Sipeed/lichee-nano/rootfs/etc/init.d/S98uMTPrd delete mode 100755 buildroot/board/YuzukiHD/YuzukiRuler/rootfs/etc/init.d/S98uMTPrd rename buildroot/board/allwinner-generic/sun20i-d1/configs/{uboot.defconfig => uboot/uboot_default_defconfig} (100%) rename buildroot/board/allwinner-generic/sun20i-d1/dts/{ => linux}/sun20i-d1-linux.dtsi (100%) create mode 100644 buildroot/board/allwinner-generic/sun20i-d1/dts/uboot/sun20iw1p1-clk.dtsi create mode 100644 buildroot/board/allwinner-generic/sun20i-d1/dts/uboot/sun20iw1p1-common-board.dts rename buildroot/board/allwinner-generic/sun20i-d1/dts/{sun20i-d1-uboot.dtsi => uboot/sun20iw1p1-soc-system.dtsi} (70%) rename buildroot/board/{AWOL/nezha/configs/uboot.defconfig => awol/nezha/configs/uboot_awol_nezha_defconfig} (100%) rename buildroot/board/{AWOL/nezha/dts => awol/nezha/dts/uboot}/sun20i-d1-nezha-uboot.dts (98%) create mode 100644 buildroot/board/awol/nezha/patch/uboot/0001-add-support-for-buildroot.patch create mode 100644 buildroot/board/awol/nezha/patch/uboot/0002-fix-uboot-disable-dtc-selfbuilt.patch create mode 100644 buildroot/board/awol/nezha/patch/uboot/0003-fix-uboot-support-for-buildroot-dts-file.patch create mode 100644 buildroot/board/awol/nezha/patch/uboot/0004-fix-No-rule-to-make-target-sunxi_challenge.patch rename buildroot/board/{Sipeed/lichee-nano/config/linux/linux_Sipeed_lichee_nano_defconfig => sipeed/lichee-nano/config/linux/linux_sipeed_lichee_nano_defconfig} (100%) rename buildroot/board/{Sipeed/lichee-nano/config/uboot/uboot_Sipeed_lichee_nano_defconfig => sipeed/lichee-nano/config/uboot/uboot_sipeed_lichee_nano_defconfig} (100%) rename buildroot/board/{Sipeed => sipeed}/lichee-nano/dts/suniv-linux.dts (99%) rename buildroot/board/{Sipeed => sipeed}/lichee-nano/dts/suniv-uboot.dts (100%) rename buildroot/board/{Sipeed => sipeed}/lichee-nano/rootfs/etc/umtprd/umtprd.conf (98%) rename buildroot/board/{Sipeed/lichee-zero/config/linux/linux_Sipeed_lichee_zero_defconfig => sipeed/lichee-zero/config/linux/linux_sipeed_lichee_zero_defconfig} (100%) rename buildroot/board/{Sipeed/lichee-zero/config/uboot/uboot_Sipeed_lichee_zero_defconfig => sipeed/lichee-zero/config/uboot/uboot_sipeed_lichee_zero_defconfig} (100%) rename buildroot/board/{Sipeed => sipeed}/lichee-zero/dts/sun8i-v3s-licheepi-zero-linux.dts (100%) rename buildroot/board/{Sipeed => sipeed}/lichee-zero/dts/sun8i-v3s-licheepi-zero-uboot.dts (100%) rename buildroot/board/{Sipeed => sipeed}/lichee-zero/patch/linux/0001-add-support-for-ov5640-CCIR656.patch (100%) rename buildroot/board/{Sipeed => sipeed}/lichee-zero/patch/uboot/0001-uboot-arch-add-support-for-sun8i-v3s-licheepi-zero-u.patch (100%) rename buildroot/board/{Sipeed => sipeed}/lichee-zero/script/bootcmd (100%) rename buildroot/board/{YuzukiHD/YuzukiCore-F1/config/linux/linux_YuzukiHD_YuzukiRuler_defconfig => yuzukihd/yuzukicore-f1/config/linux/linux_yuzukihd_yuzukicore-f1_defconfig} (100%) rename buildroot/board/{YuzukiHD/YuzukiCore-F1/config/uboot/uboot_YuzukiHD_YuzukiRuler_defconfig => yuzukihd/yuzukicore-f1/config/uboot/uboot_yuzukihd_yuzukicore-f1_defconfig} (100%) rename buildroot/board/{YuzukiHD/YuzukiRuler => yuzukihd/yuzukicore-f1}/dts/suniv-linux.dts (98%) rename buildroot/board/{YuzukiHD/YuzukiCore-F1 => yuzukihd/yuzukicore-f1}/dts/suniv-uboot.dts (96%) rename buildroot/board/{YuzukiHD/YuzukiCore-F1 => yuzukihd/yuzukicore-f1}/patch/linux/0001-fbtft-support-kernel-5.4-add-st7789v.patch (100%) rename buildroot/board/{YuzukiHD/YuzukiCore-F1 => yuzukihd/yuzukicore-f1}/patch/linux/0002-fix-st7789v-init_display-para-add-new-shift-addr.patch (100%) rename buildroot/board/{YuzukiHD/YuzukiCore-F1 => yuzukihd/yuzukicore-f1}/patch/linux/0003-fbtft-fix-disp-init.patch (100%) rename buildroot/board/{YuzukiHD/YuzukiCore-F1 => yuzukihd/yuzukicore-f1}/rootfs/etc/umtprd/umtprd.conf (97%) rename buildroot/board/{YuzukiHD/YuzukiCore-F1 => yuzukihd/yuzukicore-f1}/rootfs/lib/firmware/goodix_911_cfg.bin (100%) rename buildroot/board/{YuzukiHD/YuzukiRuler/config/linux/linux_YuzukiHD_YuzukiRuler_defconfig => yuzukihd/yuzukiruler/config/linux/linux_yuzukihd_yuzukiruler_defconfig} (100%) rename buildroot/board/{YuzukiHD/YuzukiRuler/config/uboot/uboot_YuzukiHD_YuzukiRuler_defconfig => yuzukihd/yuzukiruler/config/uboot/uboot_yuzukihd_yuzukiruler_defconfig} (100%) rename buildroot/board/{YuzukiHD/YuzukiCore-F1 => yuzukihd/yuzukiruler}/dts/suniv-linux.dts (98%) rename buildroot/board/{YuzukiHD/YuzukiRuler => yuzukihd/yuzukiruler}/dts/suniv-uboot.dts (96%) rename buildroot/board/{YuzukiHD/YuzukiRuler => yuzukihd/yuzukiruler}/patch/linux/0001-fbtft-support-kernel-5.4-add-st7789v.patch (100%) rename buildroot/board/{YuzukiHD/YuzukiRuler => yuzukihd/yuzukiruler}/patch/linux/0002-fix-st7789v-init_display-para-add-new-shift-addr.patch (100%) rename buildroot/board/{YuzukiHD/YuzukiRuler => yuzukihd/yuzukiruler}/patch/linux/0003-fbtft-fix-disp-init.patch (100%) rename buildroot/board/{YuzukiHD/YuzukiRuler => yuzukihd/yuzukiruler}/rootfs/etc/umtprd/umtprd.conf (97%) rename buildroot/board/{YuzukiHD/YuzukiRuler => yuzukihd/yuzukiruler}/rootfs/lib/firmware/goodix_911_cfg.bin (100%) rename buildroot/configs/{AWOL_Nezha_defconfig => awol_nezha_defconfig} (99%) rename buildroot/configs/{Sipeed_lichee_nano_defconfig => sipeed_lichee_nano_defconfig} (80%) rename buildroot/configs/{Sipeed_lichee_zero_defconfig => sipeed_lichee_zero_defconfig} (72%) rename buildroot/configs/{YuzukiHD_YuzukiCore_F1_defconfig => yuzukihd_yuzukicore_f1_defconfig} (74%) rename buildroot/configs/{YuzukiHD_YuzukiRuler_defconfig => yuzukihd_yuzukiruler_defconfig} (74%) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 03fc044d..9898882f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,6 +13,6 @@ jobs: SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} with: # 注意替换为你的 GitHub 源仓库地址 - source-repo: git@github.com:YuzukiHD/Buildroot-YuzukiSBC.git + source-repo: git@github.com:yuzukihd/Buildroot-YuzukiSBC.git # 注意替换为你的 Gitee 目标仓库地址 destination-repo: git@gitee.com:GloomyGhost/Buildroot-YuzukiSBC.git diff --git a/README.md b/README.md index f90a4475..4e4420c2 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# Buildroot Package for YuzukiHD Devices and More Devices +# Buildroot Package for yuzukihd Devices and More Devices [Documentation](https://yuzukihd.gloomyghost.com/Buildroot-YuzukiSBC/#/) — -[Releases](https://github.com/YuzukiHD/Buildroot-YuzukiSBC/releases) — -[License](https://github.com/YuzukiHD/Buildroot-YuzukiSBC/blob/master/LICENSE) +[Releases](https://github.com/yuzukihd/Buildroot-YuzukiSBC/releases) — +[License](https://github.com/yuzukihd/Buildroot-YuzukiSBC/blob/master/LICENSE) Mirror: https://gitee.com/GloomyGhost/Buildroot-YuzukiSBC @@ -15,11 +15,11 @@ Mirror: https://gitee.com/GloomyGhost/Buildroot-YuzukiSBC | Vender | Device | Chip | U-Boot | Linux | Defconfig | | -------- | ----------- | ------- | ------- | ------- | --------- | -| YuzukiHD | YuzukiRuler | F1C200s | 2020.07 | 5.4.180 | YuzukiHD_YuzukiRuler_defconfig | -| YuzukiHD | YuzukiCore F1 | F1C200s | 2020.07 | 5.4.180 | YuzukiHD_YuzukiCore_F1_defconfig | -| Sipeed | lichee nano | F1C100s | 2020.07 | 5.4.180 | Sipeed_lichee_nano_defconfig | -| Sipeed | lichee zero | V3s | 2020.07 | 5.4.180 | Sipeed_lichee_zero_defconfig | -| AWOL | nezha | D1 | smaeul,u-boot | smaeul,linux | aw-ol_nezha_defconfig | +| YuzukiHD | YuzukiRuler | F1C200s | 2020.07 | 5.4.180 | yuzukihd_yuzukiruler_defconfig | +| YuzukiHD | YuzukiCore F1 | F1C200s | 2020.07 | 5.4.180 | yuzukihd_yuzukicore_f1_defconfig | +| Sipeed | lichee nano | F1C100s | 2020.07 | 5.4.180 | sipeed_lichee_nano_defconfig | +| Sipeed | lichee zero | V3s | 2020.07 | 5.4.180 | sipeed_lichee_zero_defconfig | +| awol | nezha | D1 | tina,uboot 2018 | smaeul,linux | awol_nezha_defconfig | ## Documents diff --git a/appveyor.yml b/appveyor.yml index 7c5c26f8..ecbf90ae 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,4 +5,4 @@ environment: install: - sh: sudo apt-get install rsync wget unzip build-essential git bc swig libncurses-dev libpython3-dev libssl-dev python3-distutils -y build_script: -- sh: "cd buildroot\nmake YuzukiHD_YuzukiRuler_defconfig \nmake\nmake clean\nmake Sipeed_lichee_zero_defconfig\nmake" \ No newline at end of file +- sh: "cd buildroot\nmake yuzukihd_yuzukiruler_defconfig \nmake\nmake clean\nmake sipeed_lichee_zero_defconfig\nmake" \ No newline at end of file diff --git a/buildroot/board/Sipeed/lichee-nano/rootfs/etc/init.d/S98uMTPrd b/buildroot/board/Sipeed/lichee-nano/rootfs/etc/init.d/S98uMTPrd deleted file mode 100644 index 11c6b510..00000000 --- a/buildroot/board/Sipeed/lichee-nano/rootfs/etc/init.d/S98uMTPrd +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# -# Start uMTPrd.... -# - -start() { - printf "Starting uMTPrd: " - mount none /sys/kernel/config -t configfs - mkdir /sys/kernel/config/usb_gadget/g1 - cd /sys/kernel/config/usb_gadget/g1 - mkdir configs/c.1 - mkdir functions/ffs.mtp - mkdir strings/0x409 - mkdir configs/c.1/strings/0x409 - - echo 0x0100 > idProduct - echo 0x1D6B > idVendor - - echo "Sipeed" > strings/0x409/manufacturer - echo "Lichee Nano" > strings/0x409/product - - echo "Conf 1" > configs/c.1/strings/0x409/configuration - echo 120 > configs/c.1/MaxPower - ln -s functions/ffs.mtp configs/c.1 - mkdir /dev/ffs-mtp - mount -t functionfs mtp /dev/ffs-mtp - start-stop-daemon -S -q -m -b -p /var/run/umtprd.pid -x /usr/sbin/umtprd - sleep 1 - ls /sys/class/udc/ > /sys/kernel/config/usb_gadget/g1/UDC - [ $? = 0 ] && echo "OK" || echo "FAIL" -} - -stop() { - printf "Stopping uMTPrd: " - echo > /sys/kernel/config/usb_gadget/g1/UDC - start-stop-daemon -K -q -p /var/run/umtprd.pid -x /usr/sbin/umtprd - [ $? = 0 ] && echo "OK" || echo "FAIL" -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart|reload) - stop - sleep 1 - start - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? diff --git a/buildroot/board/YuzukiHD/YuzukiRuler/rootfs/etc/init.d/S98uMTPrd b/buildroot/board/YuzukiHD/YuzukiRuler/rootfs/etc/init.d/S98uMTPrd deleted file mode 100755 index 7d722b18..00000000 --- a/buildroot/board/YuzukiHD/YuzukiRuler/rootfs/etc/init.d/S98uMTPrd +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# -# Start uMTPrd.... -# - -start() { - printf "Starting uMTPrd: " - mount none /sys/kernel/config -t configfs - mkdir /sys/kernel/config/usb_gadget/g1 - cd /sys/kernel/config/usb_gadget/g1 - mkdir configs/c.1 - mkdir functions/ffs.mtp - mkdir strings/0x409 - mkdir configs/c.1/strings/0x409 - - echo 0x0100 > idProduct - echo 0x1D6B > idVendor - - echo "YuzukiHD" > strings/0x409/manufacturer - echo "YuzukiRuler" > strings/0x409/product - - echo "Conf 1" > configs/c.1/strings/0x409/configuration - echo 120 > configs/c.1/MaxPower - ln -s functions/ffs.mtp configs/c.1 - mkdir /dev/ffs-mtp - mount -t functionfs mtp /dev/ffs-mtp - start-stop-daemon -S -q -m -b -p /var/run/umtprd.pid -x /usr/sbin/umtprd - sleep 1 - ls /sys/class/udc/ > /sys/kernel/config/usb_gadget/g1/UDC - [ $? = 0 ] && echo "OK" || echo "FAIL" -} - -stop() { - printf "Stopping uMTPrd: " - echo > /sys/kernel/config/usb_gadget/g1/UDC - start-stop-daemon -K -q -p /var/run/umtprd.pid -x /usr/sbin/umtprd - [ $? = 0 ] && echo "OK" || echo "FAIL" -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart|reload) - stop - sleep 1 - start - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? diff --git a/buildroot/board/allwinner-generic/sun20i-d1/configs/uboot.defconfig b/buildroot/board/allwinner-generic/sun20i-d1/configs/uboot/uboot_default_defconfig similarity index 100% rename from buildroot/board/allwinner-generic/sun20i-d1/configs/uboot.defconfig rename to buildroot/board/allwinner-generic/sun20i-d1/configs/uboot/uboot_default_defconfig diff --git a/buildroot/board/allwinner-generic/sun20i-d1/dts/sun20i-d1-linux.dtsi b/buildroot/board/allwinner-generic/sun20i-d1/dts/linux/sun20i-d1-linux.dtsi similarity index 100% rename from buildroot/board/allwinner-generic/sun20i-d1/dts/sun20i-d1-linux.dtsi rename to buildroot/board/allwinner-generic/sun20i-d1/dts/linux/sun20i-d1-linux.dtsi diff --git a/buildroot/board/allwinner-generic/sun20i-d1/dts/uboot/sun20iw1p1-clk.dtsi b/buildroot/board/allwinner-generic/sun20i-d1/dts/uboot/sun20iw1p1-clk.dtsi new file mode 100644 index 00000000..f9619b57 --- /dev/null +++ b/buildroot/board/allwinner-generic/sun20i-d1/dts/uboot/sun20iw1p1-clk.dtsi @@ -0,0 +1,179 @@ +/{ +clocks { + compatible = "allwinner,clk-init"; + device_type = "clocks"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + reg = <0x0 0x03001000 0x0 0x1000>, /*cpux space*/ + <0x0 0x07010000 0x0 0x400>, /*cpus space*/ + <0x0 0x07000000 0x0 0x4>; + + clk_hosc: hosc { + #clock-cells = <0>; + compatible = "allwinner,fixed-clock"; + clock-frequency = <24000000>; + clock-output-names = "hosc"; + }; + clk_pll_periph0: pll_periph0 { + #clock-cells = <0>; + compatible = "allwinner,pll-clock"; + assigned-clock-rates = <600000000>; + lock-mode = "new"; + clock-output-names = "pll_periph0"; + }; + clk_pll_periph1: pll_periph1 { + #clock-cells = <0>; + compatible = "allwinner,pll-clock"; + assigned-clock-rates = <600000000>; + lock-mode = "new"; + clock-output-names = "pll_periph1"; + }; + clk_pll_gpu: pll_gpu { + #clock-cells = <0>; + compatible = "allwinner,pll-clock"; + lock-mode = "new"; + clock-output-names = "pll_gpu"; + }; + clk_pll_video0x4: pll_video0x4 { + #clock-cells = <0>; + compatible = "allwinner,pll-clock"; + lock-mode = "new"; + clock-output-names = "pll_video0x4"; + }; + clk_pll_video1x4: pll_video1x4 { + #clock-cells = <0>; + compatible = "allwinner,pll-clock"; + lock-mode = "new"; + clock-output-names = "pll_video1x4"; + }; + clk_pll_video2: pll_video2 { + #clock-cells = <0>; + compatible = "allwinner,pll-clock"; + lock-mode = "new"; + assigned-clocks = <&clk_pll_video2>; + assigned-clock-rates = <336000000>; + clock-output-names = "pll_video2"; + }; + clk_pll_de: pll_de { + #clock-cells = <0>; + compatible = "allwinner,pll-clock"; + lock-mode = "new"; + clock-output-names = "pll_de"; + }; + clk_pll_periph0x2: pll_periph0x2 { + #clock-cells = <0>; + compatible = "allwinner,fixed-factor-clock"; + clocks = <&clk_pll_periph0>; + clock-mult = <2>; + clock-div = <1>; + clock-output-names = "pll_periph0x2"; + }; + clk_periph32k: periph32k { + #clock-cells = <0>; + compatible = "allwinner,fixed-factor-clock"; + clocks = <&clk_pll_periph0>; + clock-mult = <2>; + clock-div = <36621>; + clock-output-names = "periph32k"; + }; + clk_pll_video0: pll_video0 { + #clock-cells = <0>; + compatible = "allwinner,fixed-factor-clock"; + clocks = <&clk_pll_video0x4>; + clock-mult = <1>; + clock-div = <4>; + clock-output-names = "pll_video0"; + }; + clk_de: de { + #clock-cells = <0>; + compatible = "allwinner,periph-clock"; + assigned-clocks = <&clk_de>; + assigned-clock-parents = <&clk_pll_periph0x2>; + assigned-clock-rates = <300000000>; + clock-output-names = "de"; + }; + clk_ee: ee { + #clock-cells = <0>; + compatible = "allwinner,periph-clock"; + assigned-clock-parents = <&clk_pll_periph0x2>; + assigned-clock-rates = <300000000>; + assigned-clocks = <&clk_ee>; + clock-output-names = "ee"; + }; + clk_panel: panel { + #clock-cells = <0>; + compatible = "allwinner,periph-clock"; + assigned-clock-parents = <&clk_pll_video2>; + assigned-clock-rates = <30000000>; + assigned-clocks = <&clk_panel>; + clock-output-names = "panel"; + }; + clk_dpss_top: dpss_top { + #clock-cells = <0>; + compatible = "allwinner,periph-clock"; + clock-output-names = "dpss_top"; + }; + clk_tcon_lcd: tcon_lcd { + #clock-cells = <0>; + compatible = "allwinner,periph-clock"; + clock-output-names = "tcon_lcd"; + assigned-clocks = <&clk_tcon_lcd>; + assigned-clock-parents = <&clk_pll_video0x4>; + }; + clk_tcon_tv: tcon_tv { + #clock-cells = <0>; + compatible = "allwinner,periph-clock"; + clock-output-names = "tcon_tv"; + assigned-clocks = <&clk_tcon_tv>; + assigned-clock-parents = <&clk_pll_video1x4>; + }; + clk_hdmi: hdmi { + #clock-cells = <0>; + compatible = "allwinner,periph-clock"; + assigned-clock-parents = <&clk_pll_video0>; + assigned-clocks = <&clk_hdmi>; + clock-output-names = "hdmi"; + }; + clk_hdmi_slow: hdmi_slow { + #clock-cells = <0>; + compatible = "allwinner,periph-clock"; + assigned-clock-parents = <&clk_hosc>; + assigned-clocks = <&clk_hdmi_slow>; + clock-output-names = "hdmi_slow"; + }; + clk_hdmi_cec: hdmi_cec { + #clock-cells = <0>; + compatible = "allwinner,periph-clock"; + assigned-clock-parents = <&clk_periph32k>; + assigned-clocks = <&clk_hdmi_cec>; + clock-output-names = "hdmi_cec"; + }; + + clk_lvds: lvds { + #clock-cells = <0>; + compatible = "allwinner,periph-clock"; + clock-output-names = "lvds"; + }; + clk_lvds1: lvds1 { + #clock-cells = <0>; + compatible = "allwinner,periph-clock"; + clock-output-names = "lvds1"; + }; + + clk_mipi_host0: mipi_host0 { + #clock-cells = <0>; + compatible = "allwinner,periph-clock"; + assigned-clocks = <&clk_mipi_host0>; + assigned-clock-parents = <&clk_pll_periph0>; + assigned-clock-rates = <150000000>; + clock-output-names = "mipi_host0"; + }; + + clk_csi_top: csi_top { + #clock-cells = <0>; + compatible = "allwinner,periph-clock"; + clock-output-names = "csi_top"; + }; + }; +}; diff --git a/buildroot/board/allwinner-generic/sun20i-d1/dts/uboot/sun20iw1p1-common-board.dts b/buildroot/board/allwinner-generic/sun20i-d1/dts/uboot/sun20iw1p1-common-board.dts new file mode 100644 index 00000000..c98e5e6b --- /dev/null +++ b/buildroot/board/allwinner-generic/sun20i-d1/dts/uboot/sun20iw1p1-common-board.dts @@ -0,0 +1,179 @@ +/* + * Allwinner Technology CO., Ltd. sun20iw1p1 soc board. + * + * soc board support. + */ + +&platform { + eraseflag = <1>; + next_work = <3>; + debug_mode = <1>; +}; + +&target { + boot_clock = <1008>; /*CPU boot frequency, Unit: MHz*/ + storage_type = <0xffffffff>; /*boot medium, 0-nand, 1-card0, 2-card2, -1(defualt)auto scan*/ + burn_key = <1>; /*1:support burn key; 0:not support burn key*/ + dragonboard_test = <0>; /*1:support card boot dragonboard; 0:not support card boot dragonboard*/ +}; + + +&charger0 { + pmu_safe_vol = <3500>; +}; + + +&twi6 { + clock-frequency = <200000>; + pinctrl-0 = <&s_twi0_pins_a>; + no_suspend = <1>; + twi_drv_used = <1>; + status = "okay"; +}; + +&sdc0_pins_a { + allwinner,pins = "PF0", "PF1", "PF2", + "PF3", "PF4", "PF5"; + allwinner,function = "sdc0"; + allwinner,muxsel = <2>; + allwinner,drive = <3>; + allwinner,pull = <1>; + pins = "PF0", "PF1", "PF2", + "PF3", "PF4", "PF5"; + function = "sdc0"; + drive-strength = <30>; + bias-pull-up; + power-source = <3300>; +}; + +&sdc0_pins_b { + pins = "PF0", "PF1", "PF2", + "PF3", "PF4", "PF5"; + function = "sdc0"; + drive-strength = <30>; + bias-pull-up; + power-source = <1800>; +}; + +&sdc0_pins_c { + pins = "PF0", "PF1", "PF2", + "PF3", "PF4", "PF5"; + function = "gpio_in"; + +}; + + +&sdc2_pins_a { + allwinner,pins = "PC2", "PC3", "PC4", + "PC5", "PC6", "PC7"; + allwinner,function = "sdc2"; + allwinner,muxsel = <3>; + allwinner,drive = <3>; + allwinner,pull = <1>; + pins = "PC2", "PC3", "PC4", + "PC5", "PC6", "PC7"; + function = "sdc2"; + drive-strength = <30>; + bias-pull-up; + +}; + +&sdc2_pins_b { + pins = "PC2", "PC3", "PC4", + "PC5", "PC6", "PC7"; + function = "gpio_in"; +}; + + + +&nand0_pins_a { + allwinner,pins = "PC0", "PC1", "PC2", "PC5", + "PC8", "PC9", "PC10", "PC11", + "PC12", "PC13", "PC14", "PC15", + "PC16"; + allwinner,pname= "nand0_we", "nand0_ale","nand0_cle", "nand0_nre", + "nand0_d0", "nand0_d1", "nand0_d2", "nand0_d3", + "nand0_d4", "nand0_d5", "nand0_d6", "nand0_d7", + "nand0_ndqs"; + allwinner,function = "nand0"; + allwinner,muxsel = <2>; + allwinner,drive = <1>; + allwinner,pull = <0>; +}; + +&nand0_pins_b { + allwinner,pins = "PC4", "PC6", "PC03", "PC07"; + allwinner,pname= "nand0_ce0", "nand0_rb0", "nand0_ce1", "nand0_rb1"; + allwinner,function = "nand0"; + allwinner,muxsel = <2>; + allwinner,drive = <1>; + allwinner,pull = <1>; /* only RB&CE should be pulled up */ +}; + +&nand0_pins_c { + allwinner,pins = "PC0", "PC1", "PC2", "PC3", + "PC4", "PC5", "PC6", "PC7", + "PC8", "PC9", "PC10", "PC11", + "PC12", "PC13", "PC14", "PC15", + "PC16"; + allwinner,function = "io_disabled"; + allwinner,muxsel = <7>; + allwinner,drive = <1>; + allwinner,pull = <0>; +}; + +&card0_boot_para { /* Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value */ + /* reg = <0x0 0x2 0x0 0x0>; [> Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value <] */ + device_type = "card0_boot_para"; + card_ctrl = <0x0>; + card_high_speed = <0x1>; + card_line = <0x4>; + pinctrl-0 = <&sdc0_pins_a>; +}; + +&card2_boot_para { /* Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value */ + /* reg = <0x0 0x3 0x0 0x0>; [> Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value <] */ + device_type = "card2_boot_para"; + card_ctrl = <0x2>; + card_high_speed = <0x1>; + card_line = <0x4>; + pinctrl-0 = <&sdc2_pins_a>; + sdc_ex_dly_used = <0x2>; + sdc_tm4_hs200_max_freq = <150>; + sdc_tm4_hs400_max_freq = <100>; +}; +&gpio_bias { /* Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value */ + device_type = "gpio_bias"; +}; + +&nand0 { + compatible = "allwinner,sun20iw1-nand"; + device_type = "nand0"; + //reg = <0x0 0x04011000 0x0 0x1000>;/* nand0 */ + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&nand0_pins_a &nand0_pins_b>; + pinctrl-1 = <&nand0_pins_c>; + nand0_regulator1 = "vcc-nand"; + nand0_regulator2 = "none"; + nand0_cache_level = <0x55aaaa55>; + nand0_flush_cache_num = <0x55aaaa55>; + nand0_capacity_level = <0x55aaaa55>; + nand0_id_number_ctl = <0x55aaaa55>; + nand0_print_level = <0x55aaaa55>; + nand0_p0 = <0x55aaaa55>; + nand0_p1 = <0x55aaaa55>; + nand0_p2 = <0x55aaaa55>; + nand0_p3 = <0x55aaaa55>; + chip_code = "sun20iw1"; + status = "disabled"; +}; + +&aliases { + nand0 = &nand0; + twi6 = &twi6; + disp = &disp; + lcd0 = &lcd0; + lcd1 = &lcd1; + eink = &eink; + spi0 = &spi0; +}; diff --git a/buildroot/board/allwinner-generic/sun20i-d1/dts/sun20i-d1-uboot.dtsi b/buildroot/board/allwinner-generic/sun20i-d1/dts/uboot/sun20iw1p1-soc-system.dtsi similarity index 70% rename from buildroot/board/allwinner-generic/sun20i-d1/dts/sun20i-d1-uboot.dtsi rename to buildroot/board/allwinner-generic/sun20i-d1/dts/uboot/sun20iw1p1-soc-system.dtsi index 2832a34f..8119496d 100644 --- a/buildroot/board/allwinner-generic/sun20i-d1/dts/sun20i-d1-uboot.dtsi +++ b/buildroot/board/allwinner-generic/sun20i-d1/dts/uboot/sun20iw1p1-soc-system.dtsi @@ -1,191 +1,9 @@ -/* - * Allwinner Technology CO., Ltd. sun20iw1p1 platform - * - * modify base on juno.dts - */ -/dts-v1/; #include #include +#include "sun20iw1p1-clk.dtsi" #include / { -clocks { - compatible = "allwinner,clk-init"; - device_type = "clocks"; - #address-cells = <2>; - #size-cells = <2>; - ranges; - reg = <0x0 0x03001000 0x0 0x1000>, /*cpux space*/ - <0x0 0x07010000 0x0 0x400>, /*cpus space*/ - <0x0 0x07000000 0x0 0x4>; - - clk_hosc: hosc { - #clock-cells = <0>; - compatible = "allwinner,fixed-clock"; - clock-frequency = <24000000>; - clock-output-names = "hosc"; - }; - clk_pll_periph0: pll_periph0 { - #clock-cells = <0>; - compatible = "allwinner,pll-clock"; - assigned-clock-rates = <600000000>; - lock-mode = "new"; - clock-output-names = "pll_periph0"; - }; - clk_pll_periph1: pll_periph1 { - #clock-cells = <0>; - compatible = "allwinner,pll-clock"; - assigned-clock-rates = <600000000>; - lock-mode = "new"; - clock-output-names = "pll_periph1"; - }; - clk_pll_gpu: pll_gpu { - #clock-cells = <0>; - compatible = "allwinner,pll-clock"; - lock-mode = "new"; - clock-output-names = "pll_gpu"; - }; - clk_pll_video0x4: pll_video0x4 { - #clock-cells = <0>; - compatible = "allwinner,pll-clock"; - lock-mode = "new"; - clock-output-names = "pll_video0x4"; - }; - clk_pll_video1x4: pll_video1x4 { - #clock-cells = <0>; - compatible = "allwinner,pll-clock"; - lock-mode = "new"; - clock-output-names = "pll_video1x4"; - }; - clk_pll_video2: pll_video2 { - #clock-cells = <0>; - compatible = "allwinner,pll-clock"; - lock-mode = "new"; - assigned-clocks = <&clk_pll_video2>; - assigned-clock-rates = <336000000>; - clock-output-names = "pll_video2"; - }; - clk_pll_de: pll_de { - #clock-cells = <0>; - compatible = "allwinner,pll-clock"; - lock-mode = "new"; - clock-output-names = "pll_de"; - }; - clk_pll_periph0x2: pll_periph0x2 { - #clock-cells = <0>; - compatible = "allwinner,fixed-factor-clock"; - clocks = <&clk_pll_periph0>; - clock-mult = <2>; - clock-div = <1>; - clock-output-names = "pll_periph0x2"; - }; - clk_periph32k: periph32k { - #clock-cells = <0>; - compatible = "allwinner,fixed-factor-clock"; - clocks = <&clk_pll_periph0>; - clock-mult = <2>; - clock-div = <36621>; - clock-output-names = "periph32k"; - }; - clk_pll_video0: pll_video0 { - #clock-cells = <0>; - compatible = "allwinner,fixed-factor-clock"; - clocks = <&clk_pll_video0x4>; - clock-mult = <1>; - clock-div = <4>; - clock-output-names = "pll_video0"; - }; - clk_de: de { - #clock-cells = <0>; - compatible = "allwinner,periph-clock"; - assigned-clocks = <&clk_de>; - assigned-clock-parents = <&clk_pll_periph0x2>; - assigned-clock-rates = <300000000>; - clock-output-names = "de"; - }; - clk_ee: ee { - #clock-cells = <0>; - compatible = "allwinner,periph-clock"; - assigned-clock-parents = <&clk_pll_periph0x2>; - assigned-clock-rates = <300000000>; - assigned-clocks = <&clk_ee>; - clock-output-names = "ee"; - }; - clk_panel: panel { - #clock-cells = <0>; - compatible = "allwinner,periph-clock"; - assigned-clock-parents = <&clk_pll_video2>; - assigned-clock-rates = <30000000>; - assigned-clocks = <&clk_panel>; - clock-output-names = "panel"; - }; - clk_dpss_top: dpss_top { - #clock-cells = <0>; - compatible = "allwinner,periph-clock"; - clock-output-names = "dpss_top"; - }; - clk_tcon_lcd: tcon_lcd { - #clock-cells = <0>; - compatible = "allwinner,periph-clock"; - clock-output-names = "tcon_lcd"; - assigned-clocks = <&clk_tcon_lcd>; - assigned-clock-parents = <&clk_pll_video0x4>; - }; - clk_tcon_tv: tcon_tv { - #clock-cells = <0>; - compatible = "allwinner,periph-clock"; - clock-output-names = "tcon_tv"; - assigned-clocks = <&clk_tcon_tv>; - assigned-clock-parents = <&clk_pll_video1x4>; - }; - clk_hdmi: hdmi { - #clock-cells = <0>; - compatible = "allwinner,periph-clock"; - assigned-clock-parents = <&clk_pll_video0>; - assigned-clocks = <&clk_hdmi>; - clock-output-names = "hdmi"; - }; - clk_hdmi_slow: hdmi_slow { - #clock-cells = <0>; - compatible = "allwinner,periph-clock"; - assigned-clock-parents = <&clk_hosc>; - assigned-clocks = <&clk_hdmi_slow>; - clock-output-names = "hdmi_slow"; - }; - clk_hdmi_cec: hdmi_cec { - #clock-cells = <0>; - compatible = "allwinner,periph-clock"; - assigned-clock-parents = <&clk_periph32k>; - assigned-clocks = <&clk_hdmi_cec>; - clock-output-names = "hdmi_cec"; - }; - - clk_lvds: lvds { - #clock-cells = <0>; - compatible = "allwinner,periph-clock"; - clock-output-names = "lvds"; - }; - clk_lvds1: lvds1 { - #clock-cells = <0>; - compatible = "allwinner,periph-clock"; - clock-output-names = "lvds1"; - }; - - clk_mipi_host0: mipi_host0 { - #clock-cells = <0>; - compatible = "allwinner,periph-clock"; - assigned-clocks = <&clk_mipi_host0>; - assigned-clock-parents = <&clk_hosc>; - clock-output-names = "mipi_host0"; - }; - - clk_csi_top: csi_top { - #clock-cells = <0>; - compatible = "allwinner,periph-clock"; - clock-output-names = "csi_top"; - }; - }; - model = "sun20iw1"; compatible = "allwinner,riscv", "arm,sun20iw1p1"; #address-cells = <2>; @@ -366,6 +184,24 @@ clocks { allwinner,pull = <0>; }; + dsi2lane_pins_a: dsi2lane@0 { + allwinner,pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5"; + allwinner,pname = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5"; + allwinner,function = "dsi2lane"; + allwinner,muxsel = <4>; + allwinner,drive = <3>; + allwinner,pull = <0>; + }; + + dsi2lane_pins_b: dsi2lane@1 { + allwinner,pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5"; + allwinner,pname = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5"; + allwinner,function = "dsi2lane_suspend"; + allwinner,muxsel = <15>; + allwinner,drive = <1>; + allwinner,pull = <0>; + }; + dsi4lane_pins_a: dsi4lane@0 { allwinner,pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9"; allwinner,pname = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9"; @@ -397,10 +233,9 @@ clocks { }; spi0_pins_a: spi0@0 { - allwinner,pins = "PC2", "PC4", "PC5", - "PC7", "PC6"; + allwinner,pins = "PC2", "PC4", "PC5"; allwinner,pname = "spi0_sclk", "spi0_mosi", - "spi0_miso", "spi0_hold", "spi0_wp"; + "spi0_miso"; allwinner,function = "spi0"; allwinner,muxsel = <2>; allwinner,drive = <1>; @@ -408,8 +243,9 @@ clocks { }; spi0_pins_b: spi0@1 { - allwinner,pins = "PC3"; - allwinner,pname = "spi0_cs0"; + allwinner,pins = "PC3", "PC7", "PC6"; + allwinner,pname = "spi0_cs0", "spi0_hold", + "spi0_wp"; allwinner,function = "spi0"; allwinner,muxsel = <2>; allwinner,drive = <1>; @@ -528,8 +364,8 @@ clocks { compatible = "spi-nand"; spi-max-frequency=<0x5F5E100>; reg = <0x0>; - spi-rx-bus-width=<0x01>; - spi-tx-bus-width=<0x01>; + spi-rx-bus-width=<0x04>; + spi-tx-bus-width=<0x04>; status="disabled"; }; spi_board0 { @@ -629,7 +465,7 @@ clocks { interrupts = ; /* GIC Maintenence IRQ */ interrupt-parent = <&gic>; }; - aliases:aliases@45100000 { }; -}; \ No newline at end of file + +}; diff --git a/buildroot/board/AWOL/nezha/configs/uboot.defconfig b/buildroot/board/awol/nezha/configs/uboot_awol_nezha_defconfig similarity index 100% rename from buildroot/board/AWOL/nezha/configs/uboot.defconfig rename to buildroot/board/awol/nezha/configs/uboot_awol_nezha_defconfig diff --git a/buildroot/board/AWOL/nezha/dts/sun20i-d1-nezha-uboot.dts b/buildroot/board/awol/nezha/dts/uboot/sun20i-d1-nezha-uboot.dts similarity index 98% rename from buildroot/board/AWOL/nezha/dts/sun20i-d1-nezha-uboot.dts rename to buildroot/board/awol/nezha/dts/uboot/sun20i-d1-nezha-uboot.dts index 5414c95b..8d0616bd 100644 --- a/buildroot/board/AWOL/nezha/dts/sun20i-d1-nezha-uboot.dts +++ b/buildroot/board/awol/nezha/dts/uboot/sun20i-d1-nezha-uboot.dts @@ -3,8 +3,9 @@ * * soc board support. */ +/dts-v1/; -#include "sun20i-d1-uboot.dtsi" +#include "sun20iw1p1-soc-system.dtsi" &platform { eraseflag = <1>; diff --git a/buildroot/board/awol/nezha/patch/uboot/0001-add-support-for-buildroot.patch b/buildroot/board/awol/nezha/patch/uboot/0001-add-support-for-buildroot.patch new file mode 100644 index 00000000..4af8262a --- /dev/null +++ b/buildroot/board/awol/nezha/patch/uboot/0001-add-support-for-buildroot.patch @@ -0,0 +1,43 @@ +From 132c4ad2bbd95cd2138465ea7f3fbb53bad141bb Mon Sep 17 00:00:00 2001 +From: YuzukiTsuru +Date: Sun, 27 Mar 2022 22:38:47 +0800 +Subject: [PATCH] add support for buildroot + +--- + Makefile | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Makefile b/Makefile +index 4647e1a..f628988 100644 +--- a/Makefile ++++ b/Makefile +@@ -980,7 +980,7 @@ endif + + BOARD_DTS_EXIST = $(shell if [ -f $(DTS_PATH)/$(BOARD_DTS_NAME).dts ]; then echo yes; else echo no; fi;) + +-DEVICE_BOARD_DTS_EXIST = $(shell if [ -f $(LICHEE_BOARD_CONFIG_DIR)/uboot-board.dts ]; then echo yes; else echo no; fi;) ++DEVICE_BOARD_DTS_EXIST = $(shell if [ -f $(LICHEE_BOARD_CONFIG_DIR)/sun20i-d1-nezha-uboot.dts ]; then echo yes; else echo no; fi;) + + DTS_WARNNING_SKIP := -W no-unit_address_vs_reg \ + -W no-unit_address_format \ +@@ -988,7 +988,7 @@ DTS_WARNNING_SKIP := -W no-unit_address_vs_reg \ + -W no-pwms_property + ifeq (x$(DEVICE_BOARD_DTS_EXIST), xyes) + # add depend on external dts, make sure dts in uboot up to date +-dts/dt.dtb: $(LICHEE_BOARD_CONFIG_DIR)/uboot-board.dts ++dts/dt.dtb: $(LICHEE_BOARD_CONFIG_DIR)/sun20i-d1-nezha-uboot.dts + endif + + all: $(ALL-y) cfg +@@ -1010,7 +1010,7 @@ dtbs: dts/dt.dtb + dts/dt.dtb: u-boot + + ifeq (x$(DEVICE_BOARD_DTS_EXIST), xyes) +- @-cp -v $(LICHEE_BOARD_CONFIG_DIR)/uboot-board.dts $(DTS_PATH)/.board-uboot.dts ++ @-cp -v $(LICHEE_BOARD_CONFIG_DIR)/sun20i-d1-nezha-uboot.dts $(DTS_PATH)/.board-uboot.dts + else + ifeq (x$(BOARD_DTS_EXIST),xyes) + @-cp -v $(DTS_PATH)/$(BOARD_DTS_NAME).dts $(DTS_PATH)/.board-uboot.dts +-- +2.17.1 + diff --git a/buildroot/board/awol/nezha/patch/uboot/0002-fix-uboot-disable-dtc-selfbuilt.patch b/buildroot/board/awol/nezha/patch/uboot/0002-fix-uboot-disable-dtc-selfbuilt.patch new file mode 100644 index 00000000..474838da --- /dev/null +++ b/buildroot/board/awol/nezha/patch/uboot/0002-fix-uboot-disable-dtc-selfbuilt.patch @@ -0,0 +1,22 @@ +From cf43277db894443dcf49314e24f4b6ddb4132333 Mon Sep 17 00:00:00 2001 +From: YuzukiTsuru +Date: Sun, 27 Mar 2022 23:09:00 +0800 +Subject: [PATCH 2/2] fix uboot disable dtc selfbuilt + +--- + scripts/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/scripts/Makefile b/scripts/Makefile +index ce641b9..e27308a 100644 +--- a/scripts/Makefile ++++ b/scripts/Makefile +@@ -19,4 +19,4 @@ build_docproc: $(obj)/docproc + + # Let clean descend into subdirs + subdir- += basic kconfig +-#subdir-$(CONFIG_DTC) += dtc ++subdir-$(CONFIG_DTC) += dtc +-- +2.17.1 + diff --git a/buildroot/board/awol/nezha/patch/uboot/0003-fix-uboot-support-for-buildroot-dts-file.patch b/buildroot/board/awol/nezha/patch/uboot/0003-fix-uboot-support-for-buildroot-dts-file.patch new file mode 100644 index 00000000..6c5a1345 --- /dev/null +++ b/buildroot/board/awol/nezha/patch/uboot/0003-fix-uboot-support-for-buildroot-dts-file.patch @@ -0,0 +1,192 @@ +From 53cf6809ff8bc28f09a7c55041752a7238928c67 Mon Sep 17 00:00:00 2001 +From: YuzukiTsuru +Date: Sun, 27 Mar 2022 23:08:29 +0800 +Subject: [PATCH 1/2] fix uboot support for buildroot dts file + +--- + Makefile | 109 ++++--------------------------------------------------- + 1 file changed, 8 insertions(+), 101 deletions(-) + +diff --git a/Makefile b/Makefile +index f628988..f036d42 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,5 +1,5 @@ + # SPDX-License-Identifier: GPL-2.0+ +-SHELL:=/bin/bash ++ + VERSION = 2018 + PATCHLEVEL = 05 + SUBLEVEL = +@@ -83,18 +83,7 @@ else + Q = @ + endif + +-buildconfig = ../../../.buildconfig +-ifeq ($(buildconfig), $(wildcard $(buildconfig))) +- LICHEE_BUSSINESS=$(shell cat $(buildconfig) | grep -w "LICHEE_BUSSINESS" | awk -F= '{printf $$2}') +- LICHEE_CHIP_CONFIG_DIR=$(shell cat $(buildconfig) | grep -w "LICHEE_CHIP_CONFIG_DIR" | awk -F= '{printf $$2}') +- LICHEE_ARCH=$(shell cat $(buildconfig) | grep -w "LICHEE_ARCH" | awk -F= '{printf $$2}') +- LICHEE_IC=$(shell cat $(buildconfig) | grep -w "LICHEE_IC" | awk -F= '{printf $$2}') +- LICHEE_CHIP=$(shell cat $(buildconfig) | grep -w "LICHEE_CHIP" | awk -F= '{printf $$2}') +- LICHEE_BOARD=$(shell cat $(buildconfig) | grep -w "LICHEE_BOARD" | awk -F= '{printf $$2}') +- LICHEE_PLAT_OUT=$(shell cat $(buildconfig) | grep -w "LICHEE_PLAT_OUT" | awk -F= '{printf $$2}') +- LICHEE_BOARD_CONFIG_DIR=$(shell cat $(buildconfig) | grep -w "LICHEE_BOARD_CONFIG_DIR" | awk -F= '{printf $$2}') +- export LICHEE_BUSSINESS LICHEE_CHIP_CONFIG_DIR LICHEE_IC LICHEE_ARCH LICHEE_CHIP LICHEE_BOARD LICHEE_PLAT_OUT LICHEE_BOARD_CONFIG_DIR +-endif ++LICHEE_BOARD_CONFIG_DIR=$(objtree) + + # If the user is running make -s (silent mode), suppress echoing of + # commands +@@ -265,34 +254,14 @@ ifeq (x$(config_check), xyes) + endif + endif + +-######################################################################### +-RISCV_PATH=riscv64-linux-x86_64-20200528 +-riscv_toolchain_check=$(shell if [ ! -d ../tools/toolchain/$(RISCV_PATH) ]; then echo yes; else echo no; fi;) +-ifeq (x$(riscv_toolchain_check), xyes) +-$(info Prepare riscv toolchain ...); +-$(shell mkdir -p ../tools/toolchain/$(RISCV_PATH) || exit 1) +-$(shell tar --strip-components=1 -xf ../tools/toolchain/$(RISCV_PATH).tar.xz -C ../tools/toolchain/$(RISCV_PATH) || exit 1) +-endif +-arm_toolchain_check=$(shell if [ ! -d ../tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi ]; then echo yes; else echo no; fi;) +-ifeq (x$(arm_toolchain_check), xyes) +-$(info Prepare arm toolchain ...); +-$(shell mkdir -p ../tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi || exit 1) +-$(shell tar --strip-components=1 -xf ../tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi.tar.xz -C ../tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi || exit 1) +-endif +- +- + ifeq (x$(CONFIG_RISCV), xy) +-CROSS_COMPILE := $(srctree)/../tools/toolchain/$(RISCV_PATH)/bin/riscv64-unknown-linux-gnu- +-DTS_PATH := $(PWD)/arch/riscv/dts ++DTS_PATH := $(objtree)/arch/riscv/dts + endif + + ifeq (x$(CONFIG_ARM), xy) +-CROSS_COMPILE := $(srctree)/../tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi- +-DTS_PATH := $(PWD)/arch/arm/dts ++DTS_PATH := $(objtree)/arch/arm/dts + endif + +-CROSS_COMPILE ?= $(srctree)/../tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi- +-DTS_PATH ?= $(PWD)/arch/arm/dts + + ####################################################################### + # set default to nothing for native builds +@@ -809,10 +778,6 @@ PLATFORM_LIBS += drivers/sunxi_flash/nand/$(CONFIG_SYS_CONFIG_NAME)/libnand-$(CO + endif + endif + +-ifeq ($(CONFIG_SUNXI_ARM_SOFT_FP),y) +-PLATFORM_LIBS+=arch/arm/lib/soft_fp_from_gcc/soft_fp_from_gcc +-endif +- + ifdef CONFIG_CC_COVERAGE + KBUILD_CFLAGS += --coverage + PLATFORM_LIBGCC += -lgcov +@@ -968,28 +933,12 @@ quiet_cmd_cfgcheck = CFGCHK $2 + cmd_cfgcheck = $(srctree)/scripts/check-config.sh $2 \ + $(srctree)/scripts/config_whitelist.txt $(srctree) + +-BOARD_DTS_NAME = $(LICHEE_IC)-$(LICHEE_BOARD)-board +- +-ifneq (x$(TARGET_BOARD), x) +-BOARD_DTS_NAME := $(TARGET_BOARD) +-LICHEE_TARGET_BOARD_EXIT=$(shell if [[ "$(TARGET_BOARD)" == *-board* ]]; then echo yes; else echo no; fi;) +-ifeq (x$(LICHEE_TARGET_BOARD_EXIT), xno) +-BOARD_DTS_NAME := $(BOARD_DTS_NAME)-board +-endif +-endif +- +-BOARD_DTS_EXIST = $(shell if [ -f $(DTS_PATH)/$(BOARD_DTS_NAME).dts ]; then echo yes; else echo no; fi;) +- +-DEVICE_BOARD_DTS_EXIST = $(shell if [ -f $(LICHEE_BOARD_CONFIG_DIR)/sun20i-d1-nezha-uboot.dts ]; then echo yes; else echo no; fi;) +- ++BOARD_DTS_EXIST=$(shell if [ -f $(DTS_PATH)/$(LICHEE_IC)-$(LICHEE_BOARD)-board.dts ]; then echo yes; else echo no; fi;) ++DEVICE_BOARD_DTS_EXIST=$(shell if [ -f $(LICHEE_BOARD_CONFIG_DIR)/uboot-board.dts ]; then echo yes; else echo no; fi;) + DTS_WARNNING_SKIP := -W no-unit_address_vs_reg \ + -W no-unit_address_format \ + -W no-simple_bus_reg \ + -W no-pwms_property +-ifeq (x$(DEVICE_BOARD_DTS_EXIST), xyes) +-# add depend on external dts, make sure dts in uboot up to date +-dts/dt.dtb: $(LICHEE_BOARD_CONFIG_DIR)/sun20i-d1-nezha-uboot.dts +-endif + + all: $(ALL-y) cfg + ifeq ($(CONFIG_DM_I2C_COMPAT)$(CONFIG_SANDBOX),y) +@@ -1008,20 +957,10 @@ PHONY += dtbs + dtbs: dts/dt.dtb + @: + dts/dt.dtb: u-boot +- +-ifeq (x$(DEVICE_BOARD_DTS_EXIST), xyes) +- @-cp -v $(LICHEE_BOARD_CONFIG_DIR)/sun20i-d1-nezha-uboot.dts $(DTS_PATH)/.board-uboot.dts +-else +-ifeq (x$(BOARD_DTS_EXIST),xyes) +- @-cp -v $(DTS_PATH)/$(BOARD_DTS_NAME).dts $(DTS_PATH)/.board-uboot.dts +-else +- @-cp -v $(DTS_PATH)/$(CONFIG_SYS_CONFIG_NAME)-common-board.dts $(DTS_PATH)/.board-uboot.dts +-endif +-endif ++ @-cp -v $(DTS_PATH)/sun20i-d1-nezha-uboot.dts $(DTS_PATH)/.board-uboot.dts + $(Q)$(MAKE) $(build)=dts dtbs + $(DTC) $(DTS_WARNNING_SKIP) -I dtb -O dts $(DTS_PATH)/$(CONFIG_DEFAULT_DEVICE_TREE).dtb > u-boot-dtb.dts + +- + quiet_cmd_copy = COPY $@ + cmd_copy = cp $< $@ + +@@ -1054,29 +993,6 @@ TARGET_BIN_DIR ?= device/config/chips/$(TARGET_PLATFORM)/bin + + u-boot-$(CONFIG_SYS_CONFIG_NAME).bin: u-boot.bin + @cp -v $< $@ +-ifeq ($(CONFIG_SUNXI_NOR_IMG),y) +-ifeq ($(TARGET_BUILD_VARIANT),tina) +- @cp -v $@ $(objtree)/../../../$(TARGET_BIN_DIR)/u-boot-spinor-$(CONFIG_SYS_CONFIG_NAME).bin; +-else +- @-if [ "x$(LICHEE_BUSSINESS)" != "x" ];then \ +- cp -v $@ $(LICHEE_CHIP_CONFIG_DIR)/$(LICHEE_BUSSINESS)/bin/u-boot-spinor-$(CONFIG_SYS_CONFIG_NAME).bin; \ +- else \ +- cp -v $@ $(LICHEE_CHIP_CONFIG_DIR)/bin/u-boot-spinor-$(CONFIG_SYS_CONFIG_NAME).bin;\ +- fi +- @-cp -v $@ $(LICHEE_PLAT_OUT)/u-boot-spinor-$(CONFIG_SYS_CONFIG_NAME).bin; +-endif +-else +-ifeq ($(TARGET_BUILD_VARIANT),tina) +- @cp -v $@ $(objtree)/../../../$(TARGET_BIN_DIR)/$@ +-else +- @-if [ "x$(LICHEE_BUSSINESS)" != "x" ];then\ +- cp -v $@ $(LICHEE_CHIP_CONFIG_DIR)/$(LICHEE_BUSSINESS)/bin/$@; \ +- else \ +- cp -v $@ $(LICHEE_CHIP_CONFIG_DIR)/bin/$@; \ +- fi +- @-cp -v $@ $(LICHEE_PLAT_OUT)/$@; +-endif +-endif + + %.imx: %.bin + $(Q)$(MAKE) $(build)=arch/arm/mach-imx $@ +@@ -1529,16 +1445,7 @@ include/config/uboot.release: include/config/auto.conf FORCE + # version.h and scripts_basic is processed / created. + + # Listed in dependency order +-PHONY += prepare archprepare prepare0 prepare1 prepare2 prepare3 cfg +- +-CLEAN_FILES += board/sunxi/sunxi_challenge.c +-board/sunxi/sunxi_challenge.c: +- @echo " prepare sunxi_challenge..." +- @dd if=/dev/urandom of=sunxi_challenge bs=128 count=1 > /dev/null 2>&1 +- @xxd -c 8 -i sunxi_challenge > board/sunxi/sunxi_challenge.c +- @sed -i '/^unsigned/i __attribute__((__used__))' board/sunxi/sunxi_challenge.c +- @rm sunxi_challenge +-prepare: board/sunxi/sunxi_challenge.c ++PHONY += prepare archprepare prepare0 prepare1 prepare2 prepare3 + + # prepare3 is used to check if we are building in a separate output directory, + # and if so do: +-- +2.17.1 + diff --git a/buildroot/board/awol/nezha/patch/uboot/0004-fix-No-rule-to-make-target-sunxi_challenge.patch b/buildroot/board/awol/nezha/patch/uboot/0004-fix-No-rule-to-make-target-sunxi_challenge.patch new file mode 100644 index 00000000..ab2c7418 --- /dev/null +++ b/buildroot/board/awol/nezha/patch/uboot/0004-fix-No-rule-to-make-target-sunxi_challenge.patch @@ -0,0 +1,34 @@ +From 7238dd81bf9236ae145f5033fdfb76e5126563a2 Mon Sep 17 00:00:00 2001 +From: YuzukiTsuru +Date: Sun, 27 Mar 2022 23:26:42 +0800 +Subject: [PATCH] fix No rule to make target sunxi_challenge + +--- + Makefile | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index f036d42..59fd48e 100644 +--- a/Makefile ++++ b/Makefile +@@ -1445,7 +1445,16 @@ include/config/uboot.release: include/config/auto.conf FORCE + # version.h and scripts_basic is processed / created. + + # Listed in dependency order +-PHONY += prepare archprepare prepare0 prepare1 prepare2 prepare3 ++PHONY += prepare archprepare prepare0 prepare1 prepare2 prepare3 cfg ++ ++CLEAN_FILES += board/sunxi/sunxi_challenge.c ++board/sunxi/sunxi_challenge.c: ++ @echo " prepare sunxi_challenge..." ++ @dd if=/dev/urandom of=sunxi_challenge bs=128 count=1 > /dev/null 2>&1 ++ @xxd -c 8 -i sunxi_challenge > board/sunxi/sunxi_challenge.c ++ @sed -i '/^unsigned/i __attribute__((__used__))' board/sunxi/sunxi_challenge.c ++ @rm sunxi_challenge ++prepare: board/sunxi/sunxi_challenge.c + + # prepare3 is used to check if we are building in a separate output directory, + # and if so do: +-- +2.17.1 + diff --git a/buildroot/board/Sipeed/lichee-nano/config/linux/linux_Sipeed_lichee_nano_defconfig b/buildroot/board/sipeed/lichee-nano/config/linux/linux_sipeed_lichee_nano_defconfig similarity index 100% rename from buildroot/board/Sipeed/lichee-nano/config/linux/linux_Sipeed_lichee_nano_defconfig rename to buildroot/board/sipeed/lichee-nano/config/linux/linux_sipeed_lichee_nano_defconfig diff --git a/buildroot/board/Sipeed/lichee-nano/config/uboot/uboot_Sipeed_lichee_nano_defconfig b/buildroot/board/sipeed/lichee-nano/config/uboot/uboot_sipeed_lichee_nano_defconfig similarity index 100% rename from buildroot/board/Sipeed/lichee-nano/config/uboot/uboot_Sipeed_lichee_nano_defconfig rename to buildroot/board/sipeed/lichee-nano/config/uboot/uboot_sipeed_lichee_nano_defconfig diff --git a/buildroot/board/Sipeed/lichee-nano/dts/suniv-linux.dts b/buildroot/board/sipeed/lichee-nano/dts/suniv-linux.dts similarity index 99% rename from buildroot/board/Sipeed/lichee-nano/dts/suniv-linux.dts rename to buildroot/board/sipeed/lichee-nano/dts/suniv-linux.dts index f854ae13..87dc6f30 100644 --- a/buildroot/board/Sipeed/lichee-nano/dts/suniv-linux.dts +++ b/buildroot/board/sipeed/lichee-nano/dts/suniv-linux.dts @@ -4,7 +4,7 @@ #include "suniv-f1c100s-linux.dtsi" / { - model = "Sipeed Lichee Nano"; + model = "sipeed Lichee Nano"; compatible = "allwinner,suniv-f1c100s"; chosen { diff --git a/buildroot/board/Sipeed/lichee-nano/dts/suniv-uboot.dts b/buildroot/board/sipeed/lichee-nano/dts/suniv-uboot.dts similarity index 100% rename from buildroot/board/Sipeed/lichee-nano/dts/suniv-uboot.dts rename to buildroot/board/sipeed/lichee-nano/dts/suniv-uboot.dts diff --git a/buildroot/board/Sipeed/lichee-nano/rootfs/etc/umtprd/umtprd.conf b/buildroot/board/sipeed/lichee-nano/rootfs/etc/umtprd/umtprd.conf similarity index 98% rename from buildroot/board/Sipeed/lichee-nano/rootfs/etc/umtprd/umtprd.conf rename to buildroot/board/sipeed/lichee-nano/rootfs/etc/umtprd/umtprd.conf index 934c8811..f65ecef4 100644 --- a/buildroot/board/Sipeed/lichee-nano/rootfs/etc/umtprd/umtprd.conf +++ b/buildroot/board/sipeed/lichee-nano/rootfs/etc/umtprd/umtprd.conf @@ -15,7 +15,7 @@ storage "/" "rootfs" "rw" # Set the USB manufacturer string -manufacturer "Sipeed" +manufacturer "sipeed" # Set the USB Product string diff --git a/buildroot/board/Sipeed/lichee-zero/config/linux/linux_Sipeed_lichee_zero_defconfig b/buildroot/board/sipeed/lichee-zero/config/linux/linux_sipeed_lichee_zero_defconfig similarity index 100% rename from buildroot/board/Sipeed/lichee-zero/config/linux/linux_Sipeed_lichee_zero_defconfig rename to buildroot/board/sipeed/lichee-zero/config/linux/linux_sipeed_lichee_zero_defconfig diff --git a/buildroot/board/Sipeed/lichee-zero/config/uboot/uboot_Sipeed_lichee_zero_defconfig b/buildroot/board/sipeed/lichee-zero/config/uboot/uboot_sipeed_lichee_zero_defconfig similarity index 100% rename from buildroot/board/Sipeed/lichee-zero/config/uboot/uboot_Sipeed_lichee_zero_defconfig rename to buildroot/board/sipeed/lichee-zero/config/uboot/uboot_sipeed_lichee_zero_defconfig diff --git a/buildroot/board/Sipeed/lichee-zero/dts/sun8i-v3s-licheepi-zero-linux.dts b/buildroot/board/sipeed/lichee-zero/dts/sun8i-v3s-licheepi-zero-linux.dts similarity index 100% rename from buildroot/board/Sipeed/lichee-zero/dts/sun8i-v3s-licheepi-zero-linux.dts rename to buildroot/board/sipeed/lichee-zero/dts/sun8i-v3s-licheepi-zero-linux.dts diff --git a/buildroot/board/Sipeed/lichee-zero/dts/sun8i-v3s-licheepi-zero-uboot.dts b/buildroot/board/sipeed/lichee-zero/dts/sun8i-v3s-licheepi-zero-uboot.dts similarity index 100% rename from buildroot/board/Sipeed/lichee-zero/dts/sun8i-v3s-licheepi-zero-uboot.dts rename to buildroot/board/sipeed/lichee-zero/dts/sun8i-v3s-licheepi-zero-uboot.dts diff --git a/buildroot/board/Sipeed/lichee-zero/patch/linux/0001-add-support-for-ov5640-CCIR656.patch b/buildroot/board/sipeed/lichee-zero/patch/linux/0001-add-support-for-ov5640-CCIR656.patch similarity index 100% rename from buildroot/board/Sipeed/lichee-zero/patch/linux/0001-add-support-for-ov5640-CCIR656.patch rename to buildroot/board/sipeed/lichee-zero/patch/linux/0001-add-support-for-ov5640-CCIR656.patch diff --git a/buildroot/board/Sipeed/lichee-zero/patch/uboot/0001-uboot-arch-add-support-for-sun8i-v3s-licheepi-zero-u.patch b/buildroot/board/sipeed/lichee-zero/patch/uboot/0001-uboot-arch-add-support-for-sun8i-v3s-licheepi-zero-u.patch similarity index 100% rename from buildroot/board/Sipeed/lichee-zero/patch/uboot/0001-uboot-arch-add-support-for-sun8i-v3s-licheepi-zero-u.patch rename to buildroot/board/sipeed/lichee-zero/patch/uboot/0001-uboot-arch-add-support-for-sun8i-v3s-licheepi-zero-u.patch diff --git a/buildroot/board/Sipeed/lichee-zero/script/bootcmd b/buildroot/board/sipeed/lichee-zero/script/bootcmd similarity index 100% rename from buildroot/board/Sipeed/lichee-zero/script/bootcmd rename to buildroot/board/sipeed/lichee-zero/script/bootcmd diff --git a/buildroot/board/YuzukiHD/YuzukiCore-F1/config/linux/linux_YuzukiHD_YuzukiRuler_defconfig b/buildroot/board/yuzukihd/yuzukicore-f1/config/linux/linux_yuzukihd_yuzukicore-f1_defconfig similarity index 100% rename from buildroot/board/YuzukiHD/YuzukiCore-F1/config/linux/linux_YuzukiHD_YuzukiRuler_defconfig rename to buildroot/board/yuzukihd/yuzukicore-f1/config/linux/linux_yuzukihd_yuzukicore-f1_defconfig diff --git a/buildroot/board/YuzukiHD/YuzukiCore-F1/config/uboot/uboot_YuzukiHD_YuzukiRuler_defconfig b/buildroot/board/yuzukihd/yuzukicore-f1/config/uboot/uboot_yuzukihd_yuzukicore-f1_defconfig similarity index 100% rename from buildroot/board/YuzukiHD/YuzukiCore-F1/config/uboot/uboot_YuzukiHD_YuzukiRuler_defconfig rename to buildroot/board/yuzukihd/yuzukicore-f1/config/uboot/uboot_yuzukihd_yuzukicore-f1_defconfig diff --git a/buildroot/board/YuzukiHD/YuzukiRuler/dts/suniv-linux.dts b/buildroot/board/yuzukihd/yuzukicore-f1/dts/suniv-linux.dts similarity index 98% rename from buildroot/board/YuzukiHD/YuzukiRuler/dts/suniv-linux.dts rename to buildroot/board/yuzukihd/yuzukicore-f1/dts/suniv-linux.dts index 1f7e7de3..71a09558 100644 --- a/buildroot/board/YuzukiHD/YuzukiRuler/dts/suniv-linux.dts +++ b/buildroot/board/yuzukihd/yuzukicore-f1/dts/suniv-linux.dts @@ -4,7 +4,7 @@ #include "suniv-f1c100s-linux.dtsi" / { - model = "YuzukiHD YuzukiRuler"; + model = "yuzukihd yuzukiruler"; compatible = "allwinner,suniv-f1c200s", "allwinner,suniv-f1c100s"; chosen { diff --git a/buildroot/board/YuzukiHD/YuzukiCore-F1/dts/suniv-uboot.dts b/buildroot/board/yuzukihd/yuzukicore-f1/dts/suniv-uboot.dts similarity index 96% rename from buildroot/board/YuzukiHD/YuzukiCore-F1/dts/suniv-uboot.dts rename to buildroot/board/yuzukihd/yuzukicore-f1/dts/suniv-uboot.dts index f2fdad60..d23658f9 100644 --- a/buildroot/board/YuzukiHD/YuzukiCore-F1/dts/suniv-uboot.dts +++ b/buildroot/board/yuzukihd/yuzukicore-f1/dts/suniv-uboot.dts @@ -6,7 +6,7 @@ #include / { - model = "YuzukiHD YuzukiRuler"; + model = "yuzukihd yuzukiruler"; compatible = "allwinner,suniv-f1c100s", "allwinner,suniv"; aliases { diff --git a/buildroot/board/YuzukiHD/YuzukiCore-F1/patch/linux/0001-fbtft-support-kernel-5.4-add-st7789v.patch b/buildroot/board/yuzukihd/yuzukicore-f1/patch/linux/0001-fbtft-support-kernel-5.4-add-st7789v.patch similarity index 100% rename from buildroot/board/YuzukiHD/YuzukiCore-F1/patch/linux/0001-fbtft-support-kernel-5.4-add-st7789v.patch rename to buildroot/board/yuzukihd/yuzukicore-f1/patch/linux/0001-fbtft-support-kernel-5.4-add-st7789v.patch diff --git a/buildroot/board/YuzukiHD/YuzukiCore-F1/patch/linux/0002-fix-st7789v-init_display-para-add-new-shift-addr.patch b/buildroot/board/yuzukihd/yuzukicore-f1/patch/linux/0002-fix-st7789v-init_display-para-add-new-shift-addr.patch similarity index 100% rename from buildroot/board/YuzukiHD/YuzukiCore-F1/patch/linux/0002-fix-st7789v-init_display-para-add-new-shift-addr.patch rename to buildroot/board/yuzukihd/yuzukicore-f1/patch/linux/0002-fix-st7789v-init_display-para-add-new-shift-addr.patch diff --git a/buildroot/board/YuzukiHD/YuzukiCore-F1/patch/linux/0003-fbtft-fix-disp-init.patch b/buildroot/board/yuzukihd/yuzukicore-f1/patch/linux/0003-fbtft-fix-disp-init.patch similarity index 100% rename from buildroot/board/YuzukiHD/YuzukiCore-F1/patch/linux/0003-fbtft-fix-disp-init.patch rename to buildroot/board/yuzukihd/yuzukicore-f1/patch/linux/0003-fbtft-fix-disp-init.patch diff --git a/buildroot/board/YuzukiHD/YuzukiCore-F1/rootfs/etc/umtprd/umtprd.conf b/buildroot/board/yuzukihd/yuzukicore-f1/rootfs/etc/umtprd/umtprd.conf similarity index 97% rename from buildroot/board/YuzukiHD/YuzukiCore-F1/rootfs/etc/umtprd/umtprd.conf rename to buildroot/board/yuzukihd/yuzukicore-f1/rootfs/etc/umtprd/umtprd.conf index ddd39f67..c990d8c7 100644 --- a/buildroot/board/YuzukiHD/YuzukiCore-F1/rootfs/etc/umtprd/umtprd.conf +++ b/buildroot/board/yuzukihd/yuzukicore-f1/rootfs/etc/umtprd/umtprd.conf @@ -15,11 +15,11 @@ storage "/" "rootfs" "rw" # Set the USB manufacturer string -manufacturer "YuzukiHD" +manufacturer "yuzukihd" # Set the USB Product string -product "YuzukiRuler" +product "yuzukiruler" # Set the USB Serial number string diff --git a/buildroot/board/YuzukiHD/YuzukiCore-F1/rootfs/lib/firmware/goodix_911_cfg.bin b/buildroot/board/yuzukihd/yuzukicore-f1/rootfs/lib/firmware/goodix_911_cfg.bin similarity index 100% rename from buildroot/board/YuzukiHD/YuzukiCore-F1/rootfs/lib/firmware/goodix_911_cfg.bin rename to buildroot/board/yuzukihd/yuzukicore-f1/rootfs/lib/firmware/goodix_911_cfg.bin diff --git a/buildroot/board/YuzukiHD/YuzukiRuler/config/linux/linux_YuzukiHD_YuzukiRuler_defconfig b/buildroot/board/yuzukihd/yuzukiruler/config/linux/linux_yuzukihd_yuzukiruler_defconfig similarity index 100% rename from buildroot/board/YuzukiHD/YuzukiRuler/config/linux/linux_YuzukiHD_YuzukiRuler_defconfig rename to buildroot/board/yuzukihd/yuzukiruler/config/linux/linux_yuzukihd_yuzukiruler_defconfig diff --git a/buildroot/board/YuzukiHD/YuzukiRuler/config/uboot/uboot_YuzukiHD_YuzukiRuler_defconfig b/buildroot/board/yuzukihd/yuzukiruler/config/uboot/uboot_yuzukihd_yuzukiruler_defconfig similarity index 100% rename from buildroot/board/YuzukiHD/YuzukiRuler/config/uboot/uboot_YuzukiHD_YuzukiRuler_defconfig rename to buildroot/board/yuzukihd/yuzukiruler/config/uboot/uboot_yuzukihd_yuzukiruler_defconfig diff --git a/buildroot/board/YuzukiHD/YuzukiCore-F1/dts/suniv-linux.dts b/buildroot/board/yuzukihd/yuzukiruler/dts/suniv-linux.dts similarity index 98% rename from buildroot/board/YuzukiHD/YuzukiCore-F1/dts/suniv-linux.dts rename to buildroot/board/yuzukihd/yuzukiruler/dts/suniv-linux.dts index 1f7e7de3..71a09558 100644 --- a/buildroot/board/YuzukiHD/YuzukiCore-F1/dts/suniv-linux.dts +++ b/buildroot/board/yuzukihd/yuzukiruler/dts/suniv-linux.dts @@ -4,7 +4,7 @@ #include "suniv-f1c100s-linux.dtsi" / { - model = "YuzukiHD YuzukiRuler"; + model = "yuzukihd yuzukiruler"; compatible = "allwinner,suniv-f1c200s", "allwinner,suniv-f1c100s"; chosen { diff --git a/buildroot/board/YuzukiHD/YuzukiRuler/dts/suniv-uboot.dts b/buildroot/board/yuzukihd/yuzukiruler/dts/suniv-uboot.dts similarity index 96% rename from buildroot/board/YuzukiHD/YuzukiRuler/dts/suniv-uboot.dts rename to buildroot/board/yuzukihd/yuzukiruler/dts/suniv-uboot.dts index f2fdad60..d23658f9 100644 --- a/buildroot/board/YuzukiHD/YuzukiRuler/dts/suniv-uboot.dts +++ b/buildroot/board/yuzukihd/yuzukiruler/dts/suniv-uboot.dts @@ -6,7 +6,7 @@ #include / { - model = "YuzukiHD YuzukiRuler"; + model = "yuzukihd yuzukiruler"; compatible = "allwinner,suniv-f1c100s", "allwinner,suniv"; aliases { diff --git a/buildroot/board/YuzukiHD/YuzukiRuler/patch/linux/0001-fbtft-support-kernel-5.4-add-st7789v.patch b/buildroot/board/yuzukihd/yuzukiruler/patch/linux/0001-fbtft-support-kernel-5.4-add-st7789v.patch similarity index 100% rename from buildroot/board/YuzukiHD/YuzukiRuler/patch/linux/0001-fbtft-support-kernel-5.4-add-st7789v.patch rename to buildroot/board/yuzukihd/yuzukiruler/patch/linux/0001-fbtft-support-kernel-5.4-add-st7789v.patch diff --git a/buildroot/board/YuzukiHD/YuzukiRuler/patch/linux/0002-fix-st7789v-init_display-para-add-new-shift-addr.patch b/buildroot/board/yuzukihd/yuzukiruler/patch/linux/0002-fix-st7789v-init_display-para-add-new-shift-addr.patch similarity index 100% rename from buildroot/board/YuzukiHD/YuzukiRuler/patch/linux/0002-fix-st7789v-init_display-para-add-new-shift-addr.patch rename to buildroot/board/yuzukihd/yuzukiruler/patch/linux/0002-fix-st7789v-init_display-para-add-new-shift-addr.patch diff --git a/buildroot/board/YuzukiHD/YuzukiRuler/patch/linux/0003-fbtft-fix-disp-init.patch b/buildroot/board/yuzukihd/yuzukiruler/patch/linux/0003-fbtft-fix-disp-init.patch similarity index 100% rename from buildroot/board/YuzukiHD/YuzukiRuler/patch/linux/0003-fbtft-fix-disp-init.patch rename to buildroot/board/yuzukihd/yuzukiruler/patch/linux/0003-fbtft-fix-disp-init.patch diff --git a/buildroot/board/YuzukiHD/YuzukiRuler/rootfs/etc/umtprd/umtprd.conf b/buildroot/board/yuzukihd/yuzukiruler/rootfs/etc/umtprd/umtprd.conf similarity index 97% rename from buildroot/board/YuzukiHD/YuzukiRuler/rootfs/etc/umtprd/umtprd.conf rename to buildroot/board/yuzukihd/yuzukiruler/rootfs/etc/umtprd/umtprd.conf index ddd39f67..c990d8c7 100644 --- a/buildroot/board/YuzukiHD/YuzukiRuler/rootfs/etc/umtprd/umtprd.conf +++ b/buildroot/board/yuzukihd/yuzukiruler/rootfs/etc/umtprd/umtprd.conf @@ -15,11 +15,11 @@ storage "/" "rootfs" "rw" # Set the USB manufacturer string -manufacturer "YuzukiHD" +manufacturer "yuzukihd" # Set the USB Product string -product "YuzukiRuler" +product "yuzukiruler" # Set the USB Serial number string diff --git a/buildroot/board/YuzukiHD/YuzukiRuler/rootfs/lib/firmware/goodix_911_cfg.bin b/buildroot/board/yuzukihd/yuzukiruler/rootfs/lib/firmware/goodix_911_cfg.bin similarity index 100% rename from buildroot/board/YuzukiHD/YuzukiRuler/rootfs/lib/firmware/goodix_911_cfg.bin rename to buildroot/board/yuzukihd/yuzukiruler/rootfs/lib/firmware/goodix_911_cfg.bin diff --git a/buildroot/configs/AWOL_Nezha_defconfig b/buildroot/configs/awol_nezha_defconfig similarity index 99% rename from buildroot/configs/AWOL_Nezha_defconfig rename to buildroot/configs/awol_nezha_defconfig index 387bb7e0..fcff7f4b 100644 --- a/buildroot/configs/AWOL_Nezha_defconfig +++ b/buildroot/configs/awol_nezha_defconfig @@ -367,7 +367,7 @@ BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Tina-Linux/tina-d1x-u-boot- BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="origin/master" BR2_TARGET_UBOOT_PATCH="board/allwinner-generic/sun20i-d1/patch/uboot" BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y -BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE="board/AWOL/configs/uboot.defconfig" +BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE="board/awol/configs/uboot.defconfig" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y diff --git a/buildroot/configs/Sipeed_lichee_nano_defconfig b/buildroot/configs/sipeed_lichee_nano_defconfig similarity index 80% rename from buildroot/configs/Sipeed_lichee_nano_defconfig rename to buildroot/configs/sipeed_lichee_nano_defconfig index f94e4957..be742451 100644 --- a/buildroot/configs/Sipeed_lichee_nano_defconfig +++ b/buildroot/configs/sipeed_lichee_nano_defconfig @@ -7,9 +7,9 @@ BR2_PACKAGE_HOST_GDB=y BR2_PACKAGE_HOST_GDB_TUI=y BR2_PACKAGE_HOST_GDB_SIM=y BR2_TARGET_GENERIC_HOSTNAME="lichee-nano" -BR2_TARGET_GENERIC_ISSUE="Welcome to Sipeed Lichee Nano" +BR2_TARGET_GENERIC_ISSUE="Welcome to sipeed Lichee Nano" BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_OVERLAY="board/allwinner-generic/suniv-generic/rootfs board/allwinner-generic/suniv-f1c100s/rootfs board/Sipeed/lichee-nano/rootfs" +BR2_ROOTFS_OVERLAY="board/allwinner-generic/suniv-generic/rootfs board/allwinner-generic/suniv-f1c100s/rootfs board/sipeed/lichee-nano/rootfs" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/allwinner-generic/suniv-generic/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="${BR2_TARGET_UBOOT_SPL_NAME}" BR2_LINUX_KERNEL=y @@ -17,9 +17,9 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.180" BR2_LINUX_KERNEL_PATCH="board/allwinner-generic/suniv-f1c100s/patch/linux" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/Sipeed/lichee-nano/config/linux/linux_Sipeed_lichee_nano_defconfig" +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/sipeed/lichee-nano/config/linux/linux_sipeed_lichee_nano_defconfig" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/allwinner-generic/suniv-f1c100s/dts/linux/suniv-f1c100s-linux.dtsi board/Sipeed/lichee-nano/dts/suniv-linux.dts" +BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/allwinner-generic/suniv-f1c100s/dts/linux/suniv-f1c100s-linux.dtsi board/sipeed/lichee-nano/dts/suniv-linux.dts" BR2_PACKAGE_GDB=y BR2_PACKAGE_FB_TEST_APP=y BR2_PACKAGE_UMTPRD=y @@ -39,11 +39,11 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION=y BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07" BR2_TARGET_UBOOT_PATCH="board/allwinner-generic/suniv-f1c100s/patch/u-boot" BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y -BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=board/Sipeed/lichee-nano/config/uboot/uboot_Sipeed_lichee_nano_defconfig" +BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE=board/sipeed/lichee-nano/config/uboot/uboot_sipeed_lichee_nano_defconfig" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_SPL=y BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_TARGET_UBOOT_CUSTOM_DTS_PATH="board/allwinner-generic/suniv-f1c100s/dts/uboot/suniv-f1c100s-uboot.dtsi board/Sipeed/lichee-nano/dts/suniv-uboot.dts" +BR2_TARGET_UBOOT_CUSTOM_DTS_PATH="board/allwinner-generic/suniv-f1c100s/dts/uboot/suniv-f1c100s-uboot.dtsi board/sipeed/lichee-nano/dts/suniv-uboot.dts" BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot/configs/Sipeed_lichee_zero_defconfig b/buildroot/configs/sipeed_lichee_zero_defconfig similarity index 72% rename from buildroot/configs/Sipeed_lichee_zero_defconfig rename to buildroot/configs/sipeed_lichee_zero_defconfig index 2803ae79..6ffe729c 100644 --- a/buildroot/configs/Sipeed_lichee_zero_defconfig +++ b/buildroot/configs/sipeed_lichee_zero_defconfig @@ -13,11 +13,11 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/allwinner-generic/sun8i-generic/genimage.c BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.180" -BR2_LINUX_KERNEL_PATCH="board/Sipeed/lichee-zero/patch/linux/" +BR2_LINUX_KERNEL_PATCH="board/sipeed/lichee-zero/patch/linux/" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/Sipeed/lichee-zero/config/linux/linux_Sipeed_lichee_zero_defconfig" +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/sipeed/lichee-zero/config/linux/linux_sipeed_lichee_zero_defconfig" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/allwinner-generic/sun8i-v3s/linux/dts/sun8i-v3s-linux.dtsi board/Sipeed/lichee-zero/dts/sun8i-v3s-licheepi-zero-linux.dts" +BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/allwinner-generic/sun8i-v3s/dts/linux/sun8i-v3s-linux.dtsi board/sipeed/lichee-zero/dts/sun8i-v3s-licheepi-zero-linux.dts" BR2_PACKAGE_HTOP=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y @@ -25,17 +25,17 @@ BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07" -BR2_TARGET_UBOOT_PATCH="board/Sipeed/lichee-zero/patch/uboot" +BR2_TARGET_UBOOT_PATCH="board/sipeed/lichee-zero/patch/uboot" BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y -BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE="board/Sipeed/lichee-zero/config/uboot/uboot_Sipeed_lichee_zero_defconfig" +BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE="board/sipeed/lichee-zero/config/uboot/uboot_sipeed_lichee_zero_defconfig" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y BR2_TARGET_UBOOT_FORMAT_CUSTOM=y BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" -BR2_TARGET_UBOOT_CUSTOM_DTS_PATH="board/allwinner-generic/sun8i-v3s/dts/uboot/sun8i-v3s-uboot.dtsi board/Sipeed/lichee-zero/dts/sun8i-v3s-licheepi-zero-uboot.dts" +BR2_TARGET_UBOOT_CUSTOM_DTS_PATH="board/allwinner-generic/sun8i-v3s/dts/uboot/sun8i-v3s-uboot.dtsi board/sipeed/lichee-zero/dts/sun8i-v3s-licheepi-zero-uboot.dts" BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/Sipeed/lichee-zero/script/bootcmd" +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/sipeed/lichee-zero/script/bootcmd" diff --git a/buildroot/configs/YuzukiHD_YuzukiCore_F1_defconfig b/buildroot/configs/yuzukihd_yuzukicore_f1_defconfig similarity index 74% rename from buildroot/configs/YuzukiHD_YuzukiCore_F1_defconfig rename to buildroot/configs/yuzukihd_yuzukicore_f1_defconfig index 6446a067..e7444771 100644 --- a/buildroot/configs/YuzukiHD_YuzukiCore_F1_defconfig +++ b/buildroot/configs/yuzukihd_yuzukicore_f1_defconfig @@ -6,20 +6,20 @@ BR2_GCC_ENABLE_LTO=y BR2_PACKAGE_HOST_GDB=y BR2_PACKAGE_HOST_GDB_TUI=y BR2_PACKAGE_HOST_GDB_SIM=y -BR2_TARGET_GENERIC_HOSTNAME="YuzukiCore-F1" +BR2_TARGET_GENERIC_HOSTNAME="yuzukicore-f1" BR2_TARGET_GENERIC_ISSUE="Welcome to Yuzuki Core F1" BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_OVERLAY="board/YuzukiHD/YuzukiCore-F1/rootfs board/allwinner-generic/suniv-f1c100s/rootfs" +BR2_ROOTFS_OVERLAY="board/yuzukihd/yuzukicore-f1/rootfs board/allwinner-generic/suniv-f1c100s/rootfs" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/allwinner-generic/suniv-generic/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="${BR2_TARGET_UBOOT_SPL_NAME}" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.180" -BR2_LINUX_KERNEL_PATCH="board/allwinner-generic/suniv-f1c100s/patch/linux board/YuzukiHD/YuzukiCore-F1/patch/linux" +BR2_LINUX_KERNEL_PATCH="board/allwinner-generic/suniv-f1c100s/patch/linux board/yuzukihd/yuzukicore-f1/patch/linux" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/YuzukiHD/YuzukiCore-F1/config/linux/linux_YuzukiHD_YuzukiCore-F1_defconfig" +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/yuzukihd/yuzukicore-f1/config/linux/linux_yuzukihd_yuzukicore-f1_defconfig" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/allwinner-generic/suniv-f1c100s/dts/linux/suniv-f1c100s-linux.dtsi board/YuzukiHD/YuzukiCore-F1/dts/suniv-linux.dts" +BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/allwinner-generic/suniv-f1c100s/dts/linux/suniv-f1c100s-linux.dtsi board/yuzukihd/yuzukicore-f1/dts/suniv-linux.dts" BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y BR2_PACKAGE_GDB=y BR2_PACKAGE_FB_TEST_APP=y @@ -38,13 +38,13 @@ BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07" -BR2_TARGET_UBOOT_PATCH="board/allwinner-generic/suniv-f1c100s/patch/uboot board/YuzukiHD/YuzukiCore-F1/patch/uboot" +BR2_TARGET_UBOOT_PATCH="board/allwinner-generic/suniv-f1c100s/patch/uboot board/yuzukihd/yuzukicore-f1/patch/uboot" BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y -BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE="board/YuzukiHD/YuzukiCore-F1/config/uboot/uboot_YuzukiHD_YuzukiCore-F1_defconfig" +BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE="board/yuzukihd/yuzukicore-f1/config/uboot/uboot_yuzukihd_yuzukicore-f1_defconfig" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_SPL=y BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_TARGET_UBOOT_CUSTOM_DTS_PATH="board/allwinner-generic/suniv-f1c100s/dts/uboot/suniv-f1c100s-uboot.dtsi board/YuzukiHD/YuzukiCore-F1/dts/suniv-uboot.dts" +BR2_TARGET_UBOOT_CUSTOM_DTS_PATH="board/allwinner-generic/suniv-f1c100s/dts/uboot/suniv-f1c100s-uboot.dtsi board/yuzukihd/yuzukicore-f1/dts/suniv-uboot.dts" BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot/configs/YuzukiHD_YuzukiRuler_defconfig b/buildroot/configs/yuzukihd_yuzukiruler_defconfig similarity index 74% rename from buildroot/configs/YuzukiHD_YuzukiRuler_defconfig rename to buildroot/configs/yuzukihd_yuzukiruler_defconfig index c359ff4a..9be8dd41 100644 --- a/buildroot/configs/YuzukiHD_YuzukiRuler_defconfig +++ b/buildroot/configs/yuzukihd_yuzukiruler_defconfig @@ -6,20 +6,20 @@ BR2_GCC_ENABLE_LTO=y BR2_PACKAGE_HOST_GDB=y BR2_PACKAGE_HOST_GDB_TUI=y BR2_PACKAGE_HOST_GDB_SIM=y -BR2_TARGET_GENERIC_HOSTNAME="YuzukiRuler" +BR2_TARGET_GENERIC_HOSTNAME="yuzukiruler" BR2_TARGET_GENERIC_ISSUE="Welcome to Yuzuki Ruler" BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_OVERLAY="board/YuzukiHD/YuzukiRuler/rootfs board/allwinner-generic/suniv-f1c100s/rootfs" +BR2_ROOTFS_OVERLAY="board/yuzukihd/yuzukiruler/rootfs board/allwinner-generic/suniv-f1c100s/rootfs" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/allwinner-generic/suniv-generic/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="${BR2_TARGET_UBOOT_SPL_NAME}" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.180" -BR2_LINUX_KERNEL_PATCH="board/allwinner-generic/suniv-f1c100s/patch/linux board/YuzukiHD/YuzukiRuler/patch/linux" +BR2_LINUX_KERNEL_PATCH="board/allwinner-generic/suniv-f1c100s/patch/linux board/yuzukihd/yuzukiruler/patch/linux" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/YuzukiHD/YuzukiRuler/config/linux/linux_YuzukiHD_YuzukiRuler_defconfig" +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/yuzukihd/yuzukiruler/config/linux/linux_yuzukihd_yuzukiruler_defconfig" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/allwinner-generic/suniv-f1c100s/dts/linux/suniv-f1c100s-linux.dtsi board/YuzukiHD/YuzukiRuler/dts/suniv-linux.dts" +BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/allwinner-generic/suniv-f1c100s/dts/linux/suniv-f1c100s-linux.dtsi board/yuzukihd/yuzukiruler/dts/suniv-linux.dts" BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y BR2_PACKAGE_GDB=y BR2_PACKAGE_FB_TEST_APP=y @@ -38,13 +38,13 @@ BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07" -BR2_TARGET_UBOOT_PATCH="board/allwinner-generic/suniv-f1c100s/patch/uboot board/YuzukiHD/YuzukiRuler/patch/uboot" +BR2_TARGET_UBOOT_PATCH="board/allwinner-generic/suniv-f1c100s/patch/uboot board/yuzukihd/yuzukiruler/patch/uboot" BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y -BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE="board/YuzukiHD/YuzukiRuler/config/uboot/uboot_YuzukiHD_YuzukiRuler_defconfig" +BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE="board/yuzukihd/yuzukiruler/config/uboot/uboot_yuzukihd_yuzukiruler_defconfig" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_SPL=y BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_TARGET_UBOOT_CUSTOM_DTS_PATH="board/allwinner-generic/suniv-f1c100s/dts/uboot/suniv-f1c100s-uboot.dtsi board/YuzukiHD/YuzukiRuler/dts/suniv-uboot.dts" +BR2_TARGET_UBOOT_CUSTOM_DTS_PATH="board/allwinner-generic/suniv-f1c100s/dts/uboot/suniv-f1c100s-uboot.dtsi board/yuzukihd/yuzukiruler/dts/suniv-uboot.dts" BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y diff --git a/docs/README.md b/docs/README.md index eeb364fe..3ac7fcec 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,14 +1,14 @@

Buildroot for YuzukiSBC

-

Open Source development package for for YuzukiHD Boards and more boards

+

Open Source development package for for yuzukihd Boards and more boards

# Support Lists | Vender | Device | Chip | U-Boot | Linux | Defconfig | | -------- | ----------- | ------- | ------- | ------- | --------- | -| YuzukiHD | YuzukiRuler | F1C200s | 2020.07 | 5.4.180 | YuzukiHD_YuzukiRuler_defconfig | -| YuzukiHD | YuzukiCore F1 | F1C200s | 2020.07 | 5.4.180 | YuzukiHD_YuzukiCore_F1_defconfig | -| Sipeed | lichee nano | F1C100s | 2020.07 | 5.4.180 | Sipeed_lichee_nano_defconfig | -| Sipeed | lichee zero | V3s | 2020.07 | 5.4.180 | Sipeed_lichee_zero_defconfig | -| AWOL | nezha | D1 | smaeul,u-boot | smaeul,linux | aw-ol_nezha_defconfig | +| yuzukihd | yuzukiruler | F1C200s | 2020.07 | 5.4.180 | yuzukihd_yuzukiruler_defconfig | +| yuzukihd | YuzukiCore F1 | F1C200s | 2020.07 | 5.4.180 | yuzukihd_YuzukiCore_F1_defconfig | +| sipeed | lichee nano | F1C100s | 2020.07 | 5.4.180 | sipeed_lichee_nano_defconfig | +| sipeed | lichee zero | V3s | 2020.07 | 5.4.180 | sipeed_lichee_zero_defconfig | +| awol | nezha | D1 | smaeul,u-boot | smaeul,linux | aw-ol_nezha_defconfig | # Install @@ -24,7 +24,7 @@ sudo apt install python3-distutils ## Download Buildroot BSP **Notice: Root permission is not necessery for download or extract.** ```shell -git clone https://github.com/YuzukiHD/Buildroot-YuzukiSBC +git clone https://github.com/yuzukihd/Buildroot-YuzukiSBC cd Buildroot-YuzukiSBC ``` @@ -45,7 +45,7 @@ make *Defconfig Name* eg. -make YuzukiHD_YuzukiRuler_defconfig +make yuzukihd_yuzukiruler_defconfig ``` ### Regular build diff --git a/docs/index.html b/docs/index.html index b94fbbd4..6e422eb0 100644 --- a/docs/index.html +++ b/docs/index.html @@ -18,7 +18,7 @@ diff --git a/docs/zh-cn/README.md b/docs/zh-cn/README.md index 07dcf30a..1e9882c7 100644 --- a/docs/zh-cn/README.md +++ b/docs/zh-cn/README.md @@ -17,7 +17,7 @@ sudo apt install python3-distutils ### Download BSP **Notice: Root permission is not necessery for download or extract.** ```shell -git clone https://github.com/YuzukiHD/Buildroot-YuzukiSBC +git clone https://github.com/yuzukihd/Buildroot-YuzukiSBC ``` ## Make the first build @@ -30,7 +30,7 @@ Do not use `sudo` **Generally, you only need to apply it once.** ```shell -make YuzukiHD_YuzukiRuler_defconfig +make yuzukihd_yuzukiruler_defconfig ``` ### Regular build