On Fri, Jun 1, 2018 at 7:36 AM, Paul R. Tagliamonte <paul...@gmail.com> wrote: > Gah. I rewrote this patch from a clean branch. You're right that's a typo. > I'll resend. > > T > > On Fri, Jun 1, 2018, 3:43 AM Vagrant Cascadian <vagr...@debian.org> wrote: >> >> On 2018-05-31, Paul R. Tagliamonte wrote: >> > Attached is a patch to add a nanopi_neo2 u-boot binary in the >> > u-boot-sunxi package. >> >> Thanks for working on it! >> >> >> > I'm in the middle of modifying `u-boot-install-sunxi64` to be a bit >> > more generic; but it's worked successfully with a bit of hacking. >> >> Cool! It might be worth it's own bug report when you've got patches for >> it. >> >> >> +++ u-boot-2018.05+dfsg/debian/targets 2018-05-31 19:53:21.000000000 >> -0400 >> +# Paul Tagliamonte <paul...@debian.org> >> +armhf sunxi nanopi_neo2 u-boot-sunxi-with-spl.bin >> >> Isn't the nanopi_neo2 an arm64 capable board (e.g. allwinner H5)? If so, >> I have some doubts about u-boot-sunxi-with-spl.bin being the correct >> target to install. The pine64_plus target might be a better basis. >> >> >> live well, >> vagrant
-- :wq
diff -Nru u-boot-2018.05+dfsg/debian/bin/u-boot-install-sunxi64 u-boot-2018.05+dfsg/debian/bin/u-boot-install-sunxi64 --- u-boot-2018.05+dfsg/debian/bin/u-boot-install-sunxi64 2018-05-10 15:07:03.000000000 -0400 +++ u-boot-2018.05+dfsg/debian/bin/u-boot-install-sunxi64 2018-05-31 19:53:32.000000000 -0400 @@ -58,7 +58,7 @@ $FIT_GENERATOR *.dtb > u-boot.its mkimage -f u-boot.its u-boot.itb echo "Writing sunxi-spl" -dd conv=notrunc if=sunxi-spl.bin of="$DEV" bs=8k seek=1 +dd conv=notrunc if=$(ls *sunxi*.bin) of="$DEV" bs=8k seek=1 echo "Writing u-boot FIT image" dd conv=notrunc if=u-boot.itb of="$DEV" bs=8k seek=5 sync "$DEV" diff -Nru u-boot-2018.05+dfsg/debian/changelog u-boot-2018.05+dfsg/debian/changelog --- u-boot-2018.05+dfsg/debian/changelog 2018-05-10 16:24:57.000000000 -0400 +++ u-boot-2018.05+dfsg/debian/changelog 2018-05-31 19:53:32.000000000 -0400 @@ -1,3 +1,9 @@ +u-boot (2018.05+dfsg-2) UNRELEASED; urgency=medium + + * u-boot-sunxi: Add nanopi_neo2 target. + + -- Paul Tagliamonte <paul...@debian.org> Thu, 31 May 2018 19:53:32 -0400 + u-boot (2018.05+dfsg-1) unstable; urgency=medium * New upstream release. diff -Nru u-boot-2018.05+dfsg/debian/targets u-boot-2018.05+dfsg/debian/targets --- u-boot-2018.05+dfsg/debian/targets 2018-05-10 15:59:27.000000000 -0400 +++ u-boot-2018.05+dfsg/debian/targets 2018-05-31 19:53:32.000000000 -0400 @@ -199,3 +199,6 @@ sh4 - r2dplus u-boot.bin sh4 - sh7785lcr_32bit u-boot.bin + +# Paul Tagliamonte <paul...@debian.org> +arm64 sunxi nanopi_neo2 u-boot-sunxi-with-spl.bin