Source: u-boot Severity: wishlist Tags: patch Hi,
The attached patch creates a rockchip package and enables the firefly-rk3288 platform. rock2-rk3288 and rock2-sd-rk3288 are commented out for now as those are not upstreamed yet. Sjoerd (Cc'ed) is working upstream on this, and has volunteered to keep this working / test new versions. I will be happy to do that too, so long as I still have the hardware. Thanks for considering. Cheers, Emilio
diff -ruNp -x '*patch' u-boot-2015.10~rc4+dfsg1/debian/changelog u-boot-2015.10+dfsg1/debian/changelog --- u-boot-2015.10~rc4+dfsg1/debian/changelog 2015-09-30 21:04:08.000000000 +0200 +++ u-boot-2015.10+dfsg1/debian/changelog 2015-10-27 11:45:43.127669284 +0100 @@ -1,3 +1,11 @@ +u-boot (2015.10+dfsg1-0.1) UNRELEASED; urgency=medium + + * New upstream release. + * Add rockchip platforms: firefly-rk3288, rock2-rk3288, rock2-sd-rk3288. + * Convert rockchip images to rksd. + + -- Emilio Pozuelo Monfort <po...@debian.org> Mon, 26 Oct 2015 13:12:45 +0100 + u-boot (2015.10~rc4+dfsg1-1) unstable; urgency=medium * New upstream release candidate. diff -ruNp -x '*patch' u-boot-2015.10~rc4+dfsg1/debian/control u-boot-2015.10+dfsg1/debian/control --- u-boot-2015.10~rc4+dfsg1/debian/control 2015-09-29 01:02:28.000000000 +0200 +++ u-boot-2015.10+dfsg1/debian/control 2015-10-26 13:20:11.000000000 +0100 @@ -96,6 +96,19 @@ Description: A boot loader for exynos sy . This package includes boot loaders for various Exynos platforms. +Package: u-boot-rockchip +Architecture: armhf +Multi-Arch: same +Depends: ${misc:Depends} +Description: A boot loader for rockchip systems + Das U-Boot is a cross-platform bootloader for embedded systems, + used as the default boot loader by several board vendors. It is + intended to be easy to port and to debug, and runs on many + supported architectures, including PPC, ARM, MIPS, x86, m68k, + NIOS, and Microblaze. + . + This package includes boot loaders for various Rockchip platforms. + Package: u-boot-tools Architecture: linux-any Multi-Arch: foreign diff -ruNp -x '*patch' u-boot-2015.10~rc4+dfsg1/debian/rules u-boot-2015.10+dfsg1/debian/rules --- u-boot-2015.10~rc4+dfsg1/debian/rules 2015-09-29 01:02:28.000000000 +0200 +++ u-boot-2015.10+dfsg1/debian/rules 2015-10-27 13:36:03.145766654 +0100 @@ -56,6 +56,11 @@ override_dh_auto_build: echo $$builddir/$$target /usr/lib/u-boot/$$platform/ \ >> debian/build/targets.$$subarch; \ done ;; \ + rockchip) \ + echo $$builddir/spl/u-boot-spl-dtb.rksd /usr/lib/u-boot/$$platform/ \ + >> debian/build/targets.$$subarch; \ + echo $$builddir >> debian/build/rksd; \ + ;; \ esac; \ done @@ -79,6 +84,10 @@ override_dh_auto_build: $(CROSS_COMPILE)strip --remove-section=.comment $(TOOLSDIR)/tools/kwboot $(CROSS_COMPILE)strip --remove-section=.comment $(TOOLSDIR)/tools/mksunxiboot + set -e; for platform in `cat debian/build/rksd`; do \ + $(TOOLSDIR)/tools/mkimage -T rksd -d $$platform/spl/u-boot-spl-dtb.bin $$platform/spl/u-boot-spl-dtb.rksd; \ + done + override_dh_auto_test: # skip tests. diff -ruNp -x '*patch' u-boot-2015.10~rc4+dfsg1/debian/targets u-boot-2015.10+dfsg1/debian/targets --- u-boot-2015.10~rc4+dfsg1/debian/targets 2015-09-30 21:03:57.000000000 +0200 +++ u-boot-2015.10+dfsg1/debian/targets 2015-10-27 16:46:01.339716562 +0100 @@ -62,6 +62,12 @@ armhf omap omap3_beagle u-boot.img spl/ # Robert Nelson <robertcnel...@gmail.com> armhf omap omap4_panda u-boot.img spl/u-boot-spl.bin MLO +# Emilio Pozuelo Monfort <po...@debian.org> +# Sjoerd Simons <sjo...@debian.org +armhf rockchip firefly-rk3288 u-boot.img spl/u-boot-spl-dtb.bin +#armhf rockchip rock2-rk3288 u-boot.img spl/u-boot-spl-dtb.bin +#armhf rockchip rock2-sd-rk3288 u-boot.img spl/u-boot-spl-dtb.bin + # Joey Hess <jo...@debian.org> # Christian Kastner <deb...@kvr.at> armhf sunxi A10-OLinuXino-Lime u-boot-sunxi-with-spl.bin diff -ruNp -x '*patch' u-boot-2015.10~rc4+dfsg1/debian/u-boot-rockchip.install u-boot-2015.10+dfsg1/debian/u-boot-rockchip.install --- u-boot-2015.10~rc4+dfsg1/debian/u-boot-rockchip.install 1970-01-01 01:00:00.000000000 +0100 +++ u-boot-2015.10+dfsg1/debian/u-boot-rockchip.install 2015-10-26 13:20:57.000000000 +0100 @@ -0,0 +1,2 @@ +#!/bin/sh +debian/bin/u-boot-install-targets rockchip