Build U-Boot specially made for PW-A7400

This commit is contained in:
Takumi Sueda 2024-02-04 11:18:54 +09:00
parent 086c5b08f5
commit 24e5428c62
2 changed files with 6 additions and 1 deletions

View File

@ -131,6 +131,9 @@ jobs:
- model: a7200 - model: a7200
nk: edna3exe.bin nk: edna3exe.bin
lilo: gen2.bin lilo: gen2.bin
- model: a7400
nk: edna3exe.bin
lilo: gen2_7400.bin
- model: sh1 - model: sh1
nk: edsa1exe.bin nk: edsa1exe.bin
lilo: gen3_1.bin lilo: gen3_1.bin

View File

@ -14,7 +14,7 @@ export CROSS_COMPILE=arm-linux-gnueabi-
mkdir -p ${WORK} mkdir -p ${WORK}
mkdir -p ${WORK}/lilobin mkdir -p ${WORK}/lilobin
for i in "a7200" "sh1" "sh2" "sh3" "sh4" "sh5" "sh6" "sh7"; do for i in "a7200" "a7400" "sh1" "sh2" "sh3" "sh4" "sh5" "sh6" "sh7"; do
NUM=$(echo $i | sed -E 's/sh//g') NUM=$(echo $i | sed -E 's/sh//g')
make -C ${REPO}/u-boot-brain distclean pw${i}_defconfig make -C ${REPO}/u-boot-brain distclean pw${i}_defconfig
@ -25,6 +25,8 @@ for i in "a7200" "sh1" "sh2" "sh3" "sh4" "sh5" "sh6" "sh7"; do
"a7200") "a7200")
mv ${REPO}/nk.bin ${WORK}/edna3exe.bin mv ${REPO}/nk.bin ${WORK}/edna3exe.bin
mv ${REPO}/u-boot-brain/u-boot.bin ${WORK}/lilobin/gen2.bin;; mv ${REPO}/u-boot-brain/u-boot.bin ${WORK}/lilobin/gen2.bin;;
"a7400")
mv ${REPO}/u-boot-brain/u-boot.bin ${WORK}/lilobin/gen2_7400.bin;;
"sh1" | "sh2" | "sh3") "sh1" | "sh2" | "sh3")
mv ${REPO}/nk.bin ${WORK}/edsa${NUM}exe.bin mv ${REPO}/nk.bin ${WORK}/edsa${NUM}exe.bin
mv ${REPO}/u-boot-brain/u-boot.bin ${WORK}/lilobin/gen3_${NUM}.bin;; mv ${REPO}/u-boot-brain/u-boot.bin ${WORK}/lilobin/gen3_${NUM}.bin;;