From fc9575fa63442ae87ced0b147ca1a14e30fd3d3d Mon Sep 17 00:00:00 2001 From: Han Gao Date: Sun, 21 Jul 2024 00:36:32 +0800 Subject: [PATCH] feat: add 8g emmc lpi4a som support Signed-off-by: Han Gao Signed-off-by: Han Gao --- .github/workflows/build.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16e3e830..1818db30 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -135,6 +135,19 @@ jobs: sed -i 's#thead/light-lpi4a-cluster-16gb.dtb#thead/th1520-lichee-cluster-4a-16g.dtb#' .config make -j$(nproc) find . -name "u-boot-with-spl.bin" | xargs -I{} cp -av {} ${GITHUB_WORKSPACE}/output/u-boot-with-spl-lc4a-16g-main.bin + + # 8g emmc support + sed -i 's/name=swap,size=4096MiB,type=swap/name=swap,size=2MiB,type=swap/' include/configs/light-c910.h + make clean + make light_lpi4a_defconfig + make -j$(nproc) + find . -name "u-boot-with-spl.bin" | xargs -I{} cp -av {} ${GITHUB_WORKSPACE}/output/u-boot-with-spl-lpi4a_8gemmc.bin + + make clean + make light_lpi4a_defconfig + sed -i 's#thead/light-lpi4a.dtb#thead/th1520-lichee-pi-4a.dtb#' .config + make -j$(nproc) + find . -name "u-boot-with-spl.bin" | xargs -I{} cp -av {} ${GITHUB_WORKSPACE}/output/u-boot-with-spl-lpi4a-main_8gemmc.bin popd tree ${GITHUB_WORKSPACE}/output