summaryrefslogtreecommitdiffstats
path: root/fpga/ebaz4205/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fpga/ebaz4205/Makefile')
-rw-r--r--fpga/ebaz4205/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/fpga/ebaz4205/Makefile b/fpga/ebaz4205/Makefile
index 4dc7ffc..f2018c0 100644
--- a/fpga/ebaz4205/Makefile
+++ b/fpga/ebaz4205/Makefile
@@ -3,10 +3,12 @@ CCC=CROSS_COMPILE=arm-none-eabi-
UB=u-boot
UBO=${UB}/spl/boot.bin ${UB}/u-boot.img
LO=build/uImage
-LD=linux-4.19
+#LD=linux-4.19
+LD=linux-6.16.4
FD=ebaz4205_fpga
-DP=10.16.66.108:/boot/uboot/ebaz4205_top.bin
+DP=${DIP}:/boot/uboot/
+DIP=10.16.66.108
VIVO=${FD}/build/ebaz4205_top.runs/impl_1/ebaz4205_top.bin
@@ -23,8 +25,10 @@ staged/stamp:${OUTS}
for i in ${OUTS}; do install -m 644 $$i staged; done
touch $@
-sendbit:${VIVO}
- scp ${VIVO} ${DP}
+sync: staged/stamp
+ rsync -varP staged/ ${DP}
+ ssh -n ${DIP} "reboot" &
+
${RDO}:build/nowt.cpio
@@ -37,10 +41,10 @@ build/nowt.cpio:
${VIVO}: dummy
- ${MAKE} -C ${FD}
+ (cd ${FD} && ${MAKE})
build/%.dtb:src/%.dts ${LD}/arch/arm/boot/zImage
- ${LD}/scripts/dtc/dtc -O dtb -o $@ -b 0 -i ${LD}/arch/arm/boot/dts $<
+ ${LD}/scripts/dtc/dtc -O dtb -o $@ -b 0 -i ${LD}/arch/arm/boot/dts/xilinx $<
${LO}:${LD}/arch/arm/boot/zImage
mkimage -A ARM -O Linux -T Kernel -C none -d $< $@
@@ -63,7 +67,8 @@ ${LD}/Makefile:build/${LD}.tar.xz
build/${LD}.tar.xz:
mkdir -p build
- wget -O $@ https://www.kernel.org/pub/linux/kernel/v4.x/${LD}.tar.xz
+ #wget -O $@ https://www.kernel.org/pub/linux/kernel/v4.x/${LD}.tar.xz
+ wget -O $@ https://www.kernel.org/pub/linux/kernel/v6.x/${LD}.tar.xz
${UBO}:${UB}/.config #dummy