u-boot.git
6 years agoMerge u-boot (2019.01+dfsg-2) import into refs/heads/workingbranch
Vagrant Cascadian [Tue, 19 Feb 2019 09:09:37 +0000 (09:09 +0000)]
Merge u-boot (2019.01+dfsg-2) import into refs/heads/workingbranch

6 years agoarm: config: fix default console only to specify the device
Dongjin Kim [Sat, 28 Oct 2017 04:22:27 +0000 (00:22 -0400)]
arm: config: fix default console only to specify the device

This reverts commit 767edf0f6b3eaa0303f3fd6afdc14ddce0aca70c and restores
commit 232ed3ca534708527a9515c7c41bc3542949525c.

Debian's flash-kernel expect the console variable to just contain the device,
because it will set the bootargs to "console=${console}". So revert adding
"console=" to the console parameter, but also adjust the shipped bootscripts
for exynos boards to cope with it.

Bug-Debian: https://bugs.debian.org/920116
Signed-off-by: Benjamin Drung <bdrung@debian.org>
Gbp-Pq: Topic exynos
Gbp-Pq: Name 0001-arm-config-fix-default-console-only-to-specify-the-d.patch

6 years agofs: ext4: Unmount FS in do_fs_type()
Marek Vasut [Wed, 6 Feb 2019 12:19:29 +0000 (13:19 +0100)]
fs: ext4: Unmount FS in do_fs_type()

Unlike other generic FS accessors, fs_get_info() does not call fs_close()
at the end of it's operation. Thus, using fs_get_info() in do_fs_type()
without calling fs_close() causes potential memory leak by creating new
filesystem structures on each call of do_fs_type().

The test case to trigger this problem is as follows. It is required to
have ext4 filesystem on the first partition of the SDMMC device, since
ext4 requires stateful mount and causes memory allocation.
=> while true ; do mmc rescan ; fstype mmc 1 ; done
Eventually, the mounting of ext4 will fail due to malloc failures
and the filesystem will not be correctly detected.

This patch fixes the problem by adding the missing fs_close().

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name fs-ext4-Unmount-FS-in-do_fs_type.patch

6 years agotest-imagetools-test-fixes
Vagrant Cascadian [Tue, 19 Feb 2019 09:09:37 +0000 (09:09 +0000)]
test-imagetools-test-fixes

This patch allows testing in an alternate directory and also detects
failures to execute commands, treating that as a failure.

Gbp-Pq: Name test-imagetools-test-fixes

6 years agoomap5_distro_bootcmd
Vagrant Cascadian [Tue, 19 Feb 2019 09:09:37 +0000 (09:09 +0000)]
omap5_distro_bootcmd

Enable distro_bootcmd support (doc/README.distro) for omap5 targets.

Gbp-Pq: Topic am57xx
Gbp-Pq: Name omap5_distro_bootcmd

6 years agoensure-config-sandbox-for-make-env
Vagrant Cascadian [Tue, 19 Feb 2019 09:09:37 +0000 (09:09 +0000)]
ensure-config-sandbox-for-make-env

Ensure that CONFIG_SANDBOX is set when running "make env", avoiding a
failure to build caused by config_distro_bootcmd.h following the wrong
codepath...

Gbp-Pq: Name ensure-config-sandbox-for-make-env.patch

6 years agosh4-fix-linker-name-prefix
Vagrant Cascadian [Tue, 19 Feb 2019 09:09:37 +0000 (09:09 +0000)]
sh4-fix-linker-name-prefix

Gbp-Pq: Name sh4-fix-linker-name-prefix.patch

6 years agoboard-spl-rule
Vagrant Cascadian [Tue, 19 Feb 2019 09:09:37 +0000 (09:09 +0000)]
board-spl-rule

Gbp-Pq: Topic arndale
Gbp-Pq: Name board-spl-rule.diff

6 years agon900-bootz-raw-initrd
Vagrant Cascadian [Tue, 19 Feb 2019 09:09:37 +0000 (09:09 +0000)]
n900-bootz-raw-initrd

Enable booting of zImage/vmlinuz and initrd without requiring the use of
mkimage to create uImage/uInitrd.

Gbp-Pq: Name n900-bootz-raw-initrd.diff

6 years agomx53loco
Vagrant Cascadian [Tue, 19 Feb 2019 09:09:37 +0000 (09:09 +0000)]
mx53loco

Enables support for ext4, the "load" command, and using bootz with raw initrds.

Gbp-Pq: Name mx53loco

6 years agoMakefile-add-kwb-target-to-all
Vagrant Cascadian [Tue, 19 Feb 2019 09:09:37 +0000 (09:09 +0000)]
Makefile-add-kwb-target-to-all

Add u-boot.kwb to "make all" target on Kirkwood.

Gbp-Pq: Name Makefile-add-kwb-target-to-all.patch

6 years agotools-generic-builds
Vagrant Cascadian [Tue, 19 Feb 2019 09:09:37 +0000 (09:09 +0000)]
tools-generic-builds

Gbp-Pq: Name tools-generic-builds.patch

6 years agono-force-CROSS_COMPILE-powerpc
Vagrant Cascadian [Tue, 19 Feb 2019 09:09:37 +0000 (09:09 +0000)]
no-force-CROSS_COMPILE-powerpc

Debian typically builds natively, so disable forced use of
cross-compile.

Gbp-Pq: Name no-force-CROSS_COMPILE-powerpc.diff

6 years agoadd-debian-revision-to-u-boot-version
Vagrant Cascadian [Tue, 19 Feb 2019 09:09:37 +0000 (09:09 +0000)]
add-debian-revision-to-u-boot-version

Add the debian revision to the U-boot version, which is displayed at
boot and can be helpful to determine which specific version is used.

Gbp-Pq: Name add-debian-revision-to-u-boot-version

6 years agou-boot (2019.01+dfsg-2) unstable; urgency=medium
Vagrant Cascadian [Tue, 19 Feb 2019 09:09:37 +0000 (09:09 +0000)]
u-boot (2019.01+dfsg-2) unstable; urgency=medium

  [ Frédéric Danis ]
  * Enable libretech-cc target in u-boot-amlogic (Closes: #920947).

  [ Vagrant Cascadian ]
  * debian/patches: Add patch from upstream to unmount ext4 filesystems
    preventing a memory leak.
  * Add patch to fix console setting on exynos platforms.  Thanks to
    Dongjin Kim and Benjamin Drung.  (Closes: #920116).
  * Use wildcards for lintian overrides.
  * Update tester for p2371-2180 (Jetson-TX1).
  * Update tester for novena.

[dgit import unpatched u-boot 2019.01+dfsg-2]

6 years agoImport u-boot_2019.01+dfsg-2.debian.tar.xz
Vagrant Cascadian [Tue, 19 Feb 2019 09:09:37 +0000 (09:09 +0000)]
Import u-boot_2019.01+dfsg-2.debian.tar.xz

[dgit import tarball u-boot 2019.01+dfsg-2 u-boot_2019.01+dfsg-2.debian.tar.xz]

6 years agoMerge u-boot (2019.01+dfsg-1) import into refs/heads/workingbranch
Vagrant Cascadian [Tue, 15 Jan 2019 00:36:19 +0000 (00:36 +0000)]
Merge u-boot (2019.01+dfsg-1) import into refs/heads/workingbranch

6 years agoImport u-boot_2019.01+dfsg.orig.tar.xz
Vagrant Cascadian [Tue, 15 Jan 2019 00:36:19 +0000 (00:36 +0000)]
Import u-boot_2019.01+dfsg.orig.tar.xz

[dgit import orig u-boot_2019.01+dfsg.orig.tar.xz]

6 years agotest-imagetools-test-fixes
Vagrant Cascadian [Tue, 15 Jan 2019 00:36:19 +0000 (00:36 +0000)]
test-imagetools-test-fixes

This patch allows testing in an alternate directory and also detects
failures to execute commands, treating that as a failure.

Gbp-Pq: Name test-imagetools-test-fixes

6 years agoomap5_distro_bootcmd
Vagrant Cascadian [Tue, 15 Jan 2019 00:36:19 +0000 (00:36 +0000)]
omap5_distro_bootcmd

Enable distro_bootcmd support (doc/README.distro) for omap5 targets.

Gbp-Pq: Topic am57xx
Gbp-Pq: Name omap5_distro_bootcmd

6 years agoensure-config-sandbox-for-make-env
Vagrant Cascadian [Tue, 15 Jan 2019 00:36:19 +0000 (00:36 +0000)]
ensure-config-sandbox-for-make-env

Ensure that CONFIG_SANDBOX is set when running "make env", avoiding a
failure to build caused by config_distro_bootcmd.h following the wrong
codepath...

Gbp-Pq: Name ensure-config-sandbox-for-make-env.patch

6 years agosh4-fix-linker-name-prefix
Vagrant Cascadian [Tue, 15 Jan 2019 00:36:19 +0000 (00:36 +0000)]
sh4-fix-linker-name-prefix

Gbp-Pq: Name sh4-fix-linker-name-prefix.patch

6 years agoboard-spl-rule
Vagrant Cascadian [Tue, 15 Jan 2019 00:36:19 +0000 (00:36 +0000)]
board-spl-rule

Gbp-Pq: Topic arndale
Gbp-Pq: Name board-spl-rule.diff

6 years agon900-bootz-raw-initrd
Vagrant Cascadian [Tue, 15 Jan 2019 00:36:19 +0000 (00:36 +0000)]
n900-bootz-raw-initrd

Enable booting of zImage/vmlinuz and initrd without requiring the use of
mkimage to create uImage/uInitrd.

Gbp-Pq: Name n900-bootz-raw-initrd.diff

6 years agomx53loco
Vagrant Cascadian [Tue, 15 Jan 2019 00:36:19 +0000 (00:36 +0000)]
mx53loco

Enables support for ext4, the "load" command, and using bootz with raw initrds.

Gbp-Pq: Name mx53loco

6 years agoMakefile-add-kwb-target-to-all
Vagrant Cascadian [Tue, 15 Jan 2019 00:36:19 +0000 (00:36 +0000)]
Makefile-add-kwb-target-to-all

Add u-boot.kwb to "make all" target on Kirkwood.

Gbp-Pq: Name Makefile-add-kwb-target-to-all.patch

6 years agotools-generic-builds
Vagrant Cascadian [Tue, 15 Jan 2019 00:36:19 +0000 (00:36 +0000)]
tools-generic-builds

Gbp-Pq: Name tools-generic-builds.patch

6 years agono-force-CROSS_COMPILE-powerpc
Vagrant Cascadian [Tue, 15 Jan 2019 00:36:19 +0000 (00:36 +0000)]
no-force-CROSS_COMPILE-powerpc

Debian typically builds natively, so disable forced use of
cross-compile.

Gbp-Pq: Name no-force-CROSS_COMPILE-powerpc.diff

6 years agoadd-debian-revision-to-u-boot-version
Vagrant Cascadian [Tue, 15 Jan 2019 00:36:19 +0000 (00:36 +0000)]
add-debian-revision-to-u-boot-version

Add the debian revision to the U-boot version, which is displayed at
boot and can be helpful to determine which specific version is used.

Gbp-Pq: Name add-debian-revision-to-u-boot-version

6 years agou-boot (2019.01+dfsg-1) unstable; urgency=medium
Vagrant Cascadian [Tue, 15 Jan 2019 00:36:19 +0000 (00:36 +0000)]
u-boot (2019.01+dfsg-1) unstable; urgency=medium

  * New upstream release (Closes: #918940).
  * Update tester for firefly-rk3288.
  * debian/control: Build-Depends: use debhelper-compat.

[dgit import unpatched u-boot 2019.01+dfsg-1]

6 years agoImport u-boot_2019.01+dfsg-1.debian.tar.xz
Vagrant Cascadian [Tue, 15 Jan 2019 00:36:19 +0000 (00:36 +0000)]
Import u-boot_2019.01+dfsg-1.debian.tar.xz

[dgit import tarball u-boot 2019.01+dfsg-1 u-boot_2019.01+dfsg-1.debian.tar.xz]

7 years agoMerge u-boot (2018.11+dfsg-2) import into refs/heads/workingbranch
Vagrant Cascadian [Sun, 9 Dec 2018 07:16:44 +0000 (07:16 +0000)]
Merge u-boot (2018.11+dfsg-2) import into refs/heads/workingbranch

7 years agosunxi: DT: add support for Pinebook
Vasily Khoruzhick [Tue, 6 Nov 2018 04:24:31 +0000 (20:24 -0800)]
sunxi: DT: add support for Pinebook

Pinebook is a laptop produced by Pine64, with USB-connected keyboard,
USB-connected touchpad and an eDP LCD panel connected via a RGB-eDP
bridge from Analogix.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Vagrant Cascadian <vagrant@debian.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Gbp-Pq: Topic pinebook
Gbp-Pq: Name 0010-sunxi-DT-add-support-for-Pinebook.patch

7 years agosun50i: A64: add support for R_I2C controller
Vasily Khoruzhick [Tue, 6 Nov 2018 04:24:30 +0000 (20:24 -0800)]
sun50i: A64: add support for R_I2C controller

Allwinner A64 has a I2C controller, which is in the R_ MMIO zone and has
two groups of pinmuxes on PL bank, so it's called R_I2C.

Add support for this I2C controller and the pinmux which doesn't conflict
with RSB.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Vagrant Cascadian <vagrant@debian.org>
Acked-by: Jagan Teki <jagan@openedev.com>
Gbp-Pq: Topic pinebook
Gbp-Pq: Name 0009-sun50i-A64-add-support-for-R_I2C-controller.patch

7 years agodm: video: bridge: don't fail to activate bridge if reset or sleep GPIO is missing
Vasily Khoruzhick [Tue, 6 Nov 2018 04:24:29 +0000 (20:24 -0800)]
dm: video: bridge: don't fail to activate bridge if reset or sleep GPIO is missing

Both GPIOs are optional, so we shouldn't fail if any is missing.
Without this fix reset is not deasserted if sleep GPIO is missing.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Cc: Vagrant Cascadian <vagrant@debian.org>
Gbp-Pq: Topic pinebook
Gbp-Pq: Name 0008-dm-video-bridge-don-t-fail-to-activate-bridge-if-res.patch

7 years agommc: sunxi: add support for automatic delay calibration
Vasily Khoruzhick [Tue, 6 Nov 2018 04:24:28 +0000 (20:24 -0800)]
mmc: sunxi: add support for automatic delay calibration

A64 and H6 support automatic delay calibration and Linux driver uses it
instead of hardcoded delays. Add support for it to u-boot driver.

Fixes eMMC instability on Pinebook

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Cc: Vagrant Cascadian <vagrant@debian.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Gbp-Pq: Topic pinebook
Gbp-Pq: Name 0007-mmc-sunxi-add-support-for-automatic-delay-calibratio.patch

7 years agosunxi: A64: Re-add syscon to DT node
Andre Przywara [Mon, 29 Oct 2018 00:56:48 +0000 (00:56 +0000)]
sunxi: A64: Re-add syscon to DT node

The sun50i-a64.dtsi changes introduced in Linux v4.19-rc1 changed the
compatible name for the syscon controller, dropping the generic "syscon"
fallback. Using this new DT node will make the Ethernet driver in every
older kernel (or non-Linux kernels) fail to initialise the MAC device.

To allow booting distribution kernels (from installer images via UEFI,
for instance), re-add the syscon compatible string as a fallback. This
works with both older and newer kernels.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Gbp-Pq: Topic pinebook
Gbp-Pq: Name 0004-sunxi-A64-Re-add-syscon-to-DT-node.patch

7 years agosunxi: A64: Update .dts/.dtsi files
Andre Przywara [Mon, 29 Oct 2018 00:56:47 +0000 (00:56 +0000)]
sunxi: A64: Update .dts/.dtsi files

Update the .dts/.dtsi file from the Linux sunxi/dt64-for-4.20 tree:
commit 679294497be31596e1c9c61507746d72b6b05f26
Author: Rodrigo Exterckötter Tjäder <rodrigo@tjader.xyz>
Date:   Wed Sep 26 19:48:24 2018 +0000
    arm64: dts: allwinner: a64: a64-olinuxino: set the PHY TX delay

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Gbp-Pq: Topic pinebook
Gbp-Pq: Name 0003-sunxi-A64-Update-.dts-.dtsi-files.patch

7 years agotest-imagetools-test-fixes
Vagrant Cascadian [Sun, 9 Dec 2018 07:16:44 +0000 (07:16 +0000)]
test-imagetools-test-fixes

This patch allows testing in an alternate directory and also detects
failures to execute commands, treating that as a failure.

Gbp-Pq: Name test-imagetools-test-fixes

7 years agoomap5_distro_bootcmd
Vagrant Cascadian [Sun, 9 Dec 2018 07:16:44 +0000 (07:16 +0000)]
omap5_distro_bootcmd

Enable distro_bootcmd support (doc/README.distro) for omap5 targets.

Gbp-Pq: Topic am57xx
Gbp-Pq: Name omap5_distro_bootcmd

7 years agoensure-config-sandbox-for-make-env
Vagrant Cascadian [Sun, 9 Dec 2018 07:16:44 +0000 (07:16 +0000)]
ensure-config-sandbox-for-make-env

Ensure that CONFIG_SANDBOX is set when running "make env", avoiding a
failure to build caused by config_distro_bootcmd.h following the wrong
codepath...

Gbp-Pq: Name ensure-config-sandbox-for-make-env.patch

7 years agosh4-fix-linker-name-prefix
Vagrant Cascadian [Sun, 9 Dec 2018 07:16:44 +0000 (07:16 +0000)]
sh4-fix-linker-name-prefix

Gbp-Pq: Name sh4-fix-linker-name-prefix.patch

7 years agoboard-spl-rule
Vagrant Cascadian [Sun, 9 Dec 2018 07:16:44 +0000 (07:16 +0000)]
board-spl-rule

Gbp-Pq: Topic arndale
Gbp-Pq: Name board-spl-rule.diff

7 years agon900-bootz-raw-initrd
Vagrant Cascadian [Sun, 9 Dec 2018 07:16:44 +0000 (07:16 +0000)]
n900-bootz-raw-initrd

Enable booting of zImage/vmlinuz and initrd without requiring the use of
mkimage to create uImage/uInitrd.

Gbp-Pq: Name n900-bootz-raw-initrd.diff

7 years agomx53loco
Vagrant Cascadian [Sun, 9 Dec 2018 07:16:44 +0000 (07:16 +0000)]
mx53loco

Enables support for ext4, the "load" command, and using bootz with raw initrds.

Gbp-Pq: Name mx53loco

7 years agoMakefile-add-kwb-target-to-all
Vagrant Cascadian [Sun, 9 Dec 2018 07:16:44 +0000 (07:16 +0000)]
Makefile-add-kwb-target-to-all

Add u-boot.kwb to "make all" target on Kirkwood.

Gbp-Pq: Name Makefile-add-kwb-target-to-all.patch

7 years agotools-generic-builds
Vagrant Cascadian [Sun, 9 Dec 2018 07:16:44 +0000 (07:16 +0000)]
tools-generic-builds

Gbp-Pq: Name tools-generic-builds.patch

7 years agono-force-CROSS_COMPILE-powerpc
Vagrant Cascadian [Sun, 9 Dec 2018 07:16:44 +0000 (07:16 +0000)]
no-force-CROSS_COMPILE-powerpc

Debian typically builds natively, so disable forced use of
cross-compile.

Gbp-Pq: Name no-force-CROSS_COMPILE-powerpc.diff

7 years agomipsel-native-endianness
Vagrant Cascadian [Sun, 9 Dec 2018 07:16:44 +0000 (07:16 +0000)]
mipsel-native-endianness

[MIPS] Fix little-endian build with non-ELDK toolchains

We've been in trouble for a long time when cross compiling with non-ELDK
toolchains.  This is caused by -EB passed to CPPFLAGS incorrectly, by the
lack of an endian specifier to LDFLAGS, and by wrong OUTPUT_FORMATs.

We're going to implement two workarounds.  One is the endianness specifier
bugfix not to pass -EB / -EL to CPPFLAGS unless ELDK toolchain is used.
Note that ELDK and non-ELDK toolchains know their default endianness, so
the endianness specifier may not be necessary in principle.

The other is removal of OUTPUT_FORMAT in *.lds files.  If we have this,
it doesn't work unless an endianness specifier is added to LDFLAGS.  As
we haven't added that to LDFLAGS so far, it must have not worked properly,
except ELDK; I don't know why and how ELDK works, though.

With these two changes, all objects will be generated and linked in the
toolchain's default endianness.  Then MAKEALL mips_el will work even with
non-ELDK toolchain.

Note that Linux/MIPS kernel has CONFIG_CPU_BIG_ENDIAN and
CONFIG_CPU_LITTLE_ENDIAN alternatives to allow users to compile kernels
with a toolchain for the other endianness. But U-Boot does not have such
feature for now, and it's another story.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Gbp-Pq: Name mipsel-native-endianness.diff

7 years agoadd-debian-revision-to-u-boot-version
Vagrant Cascadian [Sun, 9 Dec 2018 07:16:44 +0000 (07:16 +0000)]
add-debian-revision-to-u-boot-version

Add the debian revision to the U-boot version, which is displayed at
boot and can be helpful to determine which specific version is used.

Gbp-Pq: Name add-debian-revision-to-u-boot-version

7 years agou-boot (2018.11+dfsg-2) unstable; urgency=medium
Vagrant Cascadian [Sun, 9 Dec 2018 07:16:44 +0000 (07:16 +0000)]
u-boot (2018.11+dfsg-2) unstable; urgency=medium

  * u-boot-install-sunxi64:
    - Detect target based on running device-tree.
    - Prefer BL31 from arm-trusted-firmware over atf-allwinner.
    - Error out when mkimage is not found and Recommend u-boot-tools
      (Closes: #913879).  Thanks to Nicolas Schier.
  * [arm64] u-boot-sunxi: Update Recommends to use arm-trusted-firmware
    instead of atf-allwinner.
  * [arm64] u-boot-amlogic: Add Recommends on arm-trusted-firmware.
  * Update upstream signing key.

[dgit import unpatched u-boot 2018.11+dfsg-2]

7 years agoImport u-boot_2018.11+dfsg-2.debian.tar.xz
Vagrant Cascadian [Sun, 9 Dec 2018 07:16:44 +0000 (07:16 +0000)]
Import u-boot_2018.11+dfsg-2.debian.tar.xz

[dgit import tarball u-boot 2018.11+dfsg-2 u-boot_2018.11+dfsg-2.debian.tar.xz]

7 years agoMerge u-boot (2018.11+dfsg-1) import into refs/heads/workingbranch
Vagrant Cascadian [Wed, 14 Nov 2018 21:32:35 +0000 (21:32 +0000)]
Merge u-boot (2018.11+dfsg-1) import into refs/heads/workingbranch

7 years agoImport u-boot_2018.11+dfsg.orig.tar.xz
Vagrant Cascadian [Wed, 14 Nov 2018 21:32:35 +0000 (21:32 +0000)]
Import u-boot_2018.11+dfsg.orig.tar.xz

[dgit import orig u-boot_2018.11+dfsg.orig.tar.xz]

7 years agosunxi: DT: add support for Pinebook
Vasily Khoruzhick [Tue, 6 Nov 2018 04:24:31 +0000 (20:24 -0800)]
sunxi: DT: add support for Pinebook

Pinebook is a laptop produced by Pine64, with USB-connected keyboard,
USB-connected touchpad and an eDP LCD panel connected via a RGB-eDP
bridge from Analogix.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Vagrant Cascadian <vagrant@debian.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Gbp-Pq: Topic pinebook
Gbp-Pq: Name 0010-sunxi-DT-add-support-for-Pinebook.patch

7 years agosun50i: A64: add support for R_I2C controller
Vasily Khoruzhick [Tue, 6 Nov 2018 04:24:30 +0000 (20:24 -0800)]
sun50i: A64: add support for R_I2C controller

Allwinner A64 has a I2C controller, which is in the R_ MMIO zone and has
two groups of pinmuxes on PL bank, so it's called R_I2C.

Add support for this I2C controller and the pinmux which doesn't conflict
with RSB.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Vagrant Cascadian <vagrant@debian.org>
Acked-by: Jagan Teki <jagan@openedev.com>
Gbp-Pq: Topic pinebook
Gbp-Pq: Name 0009-sun50i-A64-add-support-for-R_I2C-controller.patch

7 years agodm: video: bridge: don't fail to activate bridge if reset or sleep GPIO is missing
Vasily Khoruzhick [Tue, 6 Nov 2018 04:24:29 +0000 (20:24 -0800)]
dm: video: bridge: don't fail to activate bridge if reset or sleep GPIO is missing

Both GPIOs are optional, so we shouldn't fail if any is missing.
Without this fix reset is not deasserted if sleep GPIO is missing.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Cc: Vagrant Cascadian <vagrant@debian.org>
Gbp-Pq: Topic pinebook
Gbp-Pq: Name 0008-dm-video-bridge-don-t-fail-to-activate-bridge-if-res.patch

7 years agommc: sunxi: add support for automatic delay calibration
Vasily Khoruzhick [Tue, 6 Nov 2018 04:24:28 +0000 (20:24 -0800)]
mmc: sunxi: add support for automatic delay calibration

A64 and H6 support automatic delay calibration and Linux driver uses it
instead of hardcoded delays. Add support for it to u-boot driver.

Fixes eMMC instability on Pinebook

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Cc: Vagrant Cascadian <vagrant@debian.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Gbp-Pq: Topic pinebook
Gbp-Pq: Name 0007-mmc-sunxi-add-support-for-automatic-delay-calibratio.patch

7 years agosunxi: A64: Re-add syscon to DT node
Andre Przywara [Mon, 29 Oct 2018 00:56:48 +0000 (00:56 +0000)]
sunxi: A64: Re-add syscon to DT node

The sun50i-a64.dtsi changes introduced in Linux v4.19-rc1 changed the
compatible name for the syscon controller, dropping the generic "syscon"
fallback. Using this new DT node will make the Ethernet driver in every
older kernel (or non-Linux kernels) fail to initialise the MAC device.

To allow booting distribution kernels (from installer images via UEFI,
for instance), re-add the syscon compatible string as a fallback. This
works with both older and newer kernels.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Gbp-Pq: Topic pinebook
Gbp-Pq: Name 0004-sunxi-A64-Re-add-syscon-to-DT-node.patch

7 years agosunxi: A64: Update .dts/.dtsi files
Andre Przywara [Mon, 29 Oct 2018 00:56:47 +0000 (00:56 +0000)]
sunxi: A64: Update .dts/.dtsi files

Update the .dts/.dtsi file from the Linux sunxi/dt64-for-4.20 tree:
commit 679294497be31596e1c9c61507746d72b6b05f26
Author: Rodrigo Exterckötter Tjäder <rodrigo@tjader.xyz>
Date:   Wed Sep 26 19:48:24 2018 +0000
    arm64: dts: allwinner: a64: a64-olinuxino: set the PHY TX delay

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Gbp-Pq: Topic pinebook
Gbp-Pq: Name 0003-sunxi-A64-Update-.dts-.dtsi-files.patch

7 years agotest-imagetools-test-fixes
Vagrant Cascadian [Wed, 14 Nov 2018 21:32:35 +0000 (21:32 +0000)]
test-imagetools-test-fixes

This patch allows testing in an alternate directory and also detects
failures to execute commands, treating that as a failure.

Gbp-Pq: Name test-imagetools-test-fixes

7 years agoomap5_distro_bootcmd
Vagrant Cascadian [Wed, 14 Nov 2018 21:32:35 +0000 (21:32 +0000)]
omap5_distro_bootcmd

Enable distro_bootcmd support (doc/README.distro) for omap5 targets.

Gbp-Pq: Topic am57xx
Gbp-Pq: Name omap5_distro_bootcmd

7 years agoensure-config-sandbox-for-make-env
Vagrant Cascadian [Wed, 14 Nov 2018 21:32:35 +0000 (21:32 +0000)]
ensure-config-sandbox-for-make-env

Ensure that CONFIG_SANDBOX is set when running "make env", avoiding a
failure to build caused by config_distro_bootcmd.h following the wrong
codepath...

Gbp-Pq: Name ensure-config-sandbox-for-make-env.patch

7 years agosh4-fix-linker-name-prefix
Vagrant Cascadian [Wed, 14 Nov 2018 21:32:35 +0000 (21:32 +0000)]
sh4-fix-linker-name-prefix

Gbp-Pq: Name sh4-fix-linker-name-prefix.patch

7 years agoboard-spl-rule
Vagrant Cascadian [Wed, 14 Nov 2018 21:32:35 +0000 (21:32 +0000)]
board-spl-rule

Gbp-Pq: Topic arndale
Gbp-Pq: Name board-spl-rule.diff

7 years agon900-bootz-raw-initrd
Vagrant Cascadian [Wed, 14 Nov 2018 21:32:35 +0000 (21:32 +0000)]
n900-bootz-raw-initrd

Enable booting of zImage/vmlinuz and initrd without requiring the use of
mkimage to create uImage/uInitrd.

Gbp-Pq: Name n900-bootz-raw-initrd.diff

7 years agomx53loco
Vagrant Cascadian [Wed, 14 Nov 2018 21:32:35 +0000 (21:32 +0000)]
mx53loco

Enables support for ext4, the "load" command, and using bootz with raw initrds.

Gbp-Pq: Name mx53loco

7 years agoMakefile-add-kwb-target-to-all
Vagrant Cascadian [Wed, 14 Nov 2018 21:32:35 +0000 (21:32 +0000)]
Makefile-add-kwb-target-to-all

Add u-boot.kwb to "make all" target on Kirkwood.

Gbp-Pq: Name Makefile-add-kwb-target-to-all.patch

7 years agotools-generic-builds
Vagrant Cascadian [Wed, 14 Nov 2018 21:32:35 +0000 (21:32 +0000)]
tools-generic-builds

Gbp-Pq: Name tools-generic-builds.patch

7 years agono-force-CROSS_COMPILE-powerpc
Vagrant Cascadian [Wed, 14 Nov 2018 21:32:35 +0000 (21:32 +0000)]
no-force-CROSS_COMPILE-powerpc

Debian typically builds natively, so disable forced use of
cross-compile.

Gbp-Pq: Name no-force-CROSS_COMPILE-powerpc.diff

7 years agomipsel-native-endianness
Vagrant Cascadian [Wed, 14 Nov 2018 21:32:35 +0000 (21:32 +0000)]
mipsel-native-endianness

[MIPS] Fix little-endian build with non-ELDK toolchains

We've been in trouble for a long time when cross compiling with non-ELDK
toolchains.  This is caused by -EB passed to CPPFLAGS incorrectly, by the
lack of an endian specifier to LDFLAGS, and by wrong OUTPUT_FORMATs.

We're going to implement two workarounds.  One is the endianness specifier
bugfix not to pass -EB / -EL to CPPFLAGS unless ELDK toolchain is used.
Note that ELDK and non-ELDK toolchains know their default endianness, so
the endianness specifier may not be necessary in principle.

The other is removal of OUTPUT_FORMAT in *.lds files.  If we have this,
it doesn't work unless an endianness specifier is added to LDFLAGS.  As
we haven't added that to LDFLAGS so far, it must have not worked properly,
except ELDK; I don't know why and how ELDK works, though.

With these two changes, all objects will be generated and linked in the
toolchain's default endianness.  Then MAKEALL mips_el will work even with
non-ELDK toolchain.

Note that Linux/MIPS kernel has CONFIG_CPU_BIG_ENDIAN and
CONFIG_CPU_LITTLE_ENDIAN alternatives to allow users to compile kernels
with a toolchain for the other endianness. But U-Boot does not have such
feature for now, and it's another story.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Gbp-Pq: Name mipsel-native-endianness.diff

7 years agoadd-debian-revision-to-u-boot-version
Vagrant Cascadian [Wed, 14 Nov 2018 21:32:35 +0000 (21:32 +0000)]
add-debian-revision-to-u-boot-version

Add the debian revision to the U-boot version, which is displayed at
boot and can be helpful to determine which specific version is used.

Gbp-Pq: Name add-debian-revision-to-u-boot-version

7 years agou-boot (2018.11+dfsg-1) unstable; urgency=medium
Vagrant Cascadian [Wed, 14 Nov 2018 21:32:35 +0000 (21:32 +0000)]
u-boot (2018.11+dfsg-1) unstable; urgency=medium

  * New upstream release.
  * [armhf] u-boot-imx: Drop udoo patches, full support for distro_bootcmd
    is enabled upstream.
  * [armhf] u-boot-rockchip: Drop firefly-rk3288 target (Closes: #898520).
  * [arm64] u-boot-sunxi: Enable a64-olinuxino target (Closes: #881564).
    Thanks to Rodrigo Exterckötter Tjäder.
  * Add Pinebook support patches from sunxi maintainer tree.
  * [arm64] u-boot-sunxi: Add pinebook target.
  * [armel] Drop openrd targets, which FTBFS and are orphaned upstream.

[dgit import unpatched u-boot 2018.11+dfsg-1]

7 years agoImport u-boot_2018.11+dfsg-1.debian.tar.xz
Vagrant Cascadian [Wed, 14 Nov 2018 21:32:35 +0000 (21:32 +0000)]
Import u-boot_2018.11+dfsg-1.debian.tar.xz

[dgit import tarball u-boot 2018.11+dfsg-1 u-boot_2018.11+dfsg-1.debian.tar.xz]

7 years agoMerge u-boot (2018.05+dfsg-1) import into refs/heads/workingbranch
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
Merge u-boot (2018.05+dfsg-1) import into refs/heads/workingbranch

7 years agorockchip: set SYS_NS16550_MEM32 for all SoCs
Jonathan Gray [Tue, 8 May 2018 10:43:01 +0000 (20:43 +1000)]
rockchip: set SYS_NS16550_MEM32 for all SoCs

Add back part of patch send out as
'rockchip: enable SYS_NS16550 for all SoCs by default' that seems to have
gotten lost when it got merged to set SYS_NS16550_MEM32.

Allows serial output to work on tinker-rk3288 again after
c3c0331db1fb7b1f4ff41e144fc04353b37c785c.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Gbp-Pq: Topic rockchip
Gbp-Pq: Name 0001-rockchip-set-SYS_NS16550_MEM32-for-all-SoCs.patch

7 years agosys_thumb_build
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
sys_thumb_build

Enable thumb build to reduce build size of u-boot.kwb (Closes: #897671).

Without this, u-boot.kwb overlaps where the u-boot environment is
stored, and updating the environment can break u-boot and vice versa.

Gbp-Pq: Topic sheevaplug
Gbp-Pq: Name sys_thumb_build

7 years agoset-time-and-umask-on-spl-fit-files
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
set-time-and-umask-on-spl-fit-files

When building compressed (lzop, gzip) multi-dtb fit images, the
compression tool may embed the time or umask in the image.

Work around this by manually setting the time of the source file using
SOURCE_DATE_EPOCH and a hard-coded 0600 umask.

With gzip, this could be accomplished by using -n/--no-name, but lzop
has no current workaround:

  https://bugs.debian.org/896520

Gbp-Pq: Topic reproducible
Gbp-Pq: Name set-time-and-umask-on-spl-fit-files

7 years agotest-imagetools-test-fixes
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
test-imagetools-test-fixes

This patch allows testing in an alternate directory and also detects
failures to execute commands, treating that as a failure.

Gbp-Pq: Name test-imagetools-test-fixes

7 years agoBug#877074: u-boot-exynos: Default environment for Odroid XU3 has wrong console var
Peter Lebbing [Thu, 28 Sep 2017 12:40:24 +0000 (14:40 +0200)]
Bug#877074: u-boot-exynos: Default environment for Odroid XU3 has wrong console var

Package: u-boot-exynos
Version: 2017.09+dfsg1-1
Severity: normal
Tags: patch

The odroid-xu3 platform passes a wrong "console" argument on the kernel commandline:

console=console=ttySAC2,115200n8

>From the source, it's clear where this comes from:
include/configs/odroid_xu3.h:
#define CONFIG_DEFAULT_CONSOLE         "console=ttySAC2,115200n8\0"
#define CONFIG_EXTRA_ENV_SETTINGS \
[...]
        "console=" CONFIG_DEFAULT_CONSOLE \

/etc/flash-kernel/bootscript/bootscr.uboot-generic:
  setenv bootargs "${bootargs} console=${console}"

The patch below makes the situation equal to what Debian patches in odroid.h: drop it from CONFIG_DEFAULT_CONSOLE. Judging from a grep in include/configs, I think the same situation exists for s5pc210_universal.h, s5p_goni.h, trats2.h and trats.h, but I don't have these devices. There are many more header files that have a "console=" in their CONFIG_DEFAULT_CONSOLE, but I don't see that definition being subsequently used somewhere, so I don't know whether it's being used wrongly or not.

Thanks for your efforts,

Peter.

Gbp-Pq: Topic odroid-xu3
Gbp-Pq: Name 877074-u-boot-exynos-Default-environment-for-Odr.patch

7 years agobootdelay
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
bootdelay

Use the default bootdelay from distro_bootcmd.

Gbp-Pq: Topic odroid-xu3
Gbp-Pq: Name bootdelay

7 years agoConvert odroid to use distro_bootcmd.
Vagrant Cascadian [Sat, 28 May 2016 23:08:39 +0000 (16:08 -0700)]
Convert odroid to use distro_bootcmd.

Gbp-Pq: Topic odroid
Gbp-Pq: Name 0001-Convert-odroid-to-use-distro_bootcmd.patch

7 years agoomap5_distro_bootcmd
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
omap5_distro_bootcmd

Enable distro_bootcmd support (doc/README.distro) for omap5 targets.

Gbp-Pq: Topic am57xx
Gbp-Pq: Name omap5_distro_bootcmd

7 years agoi4x4-ram
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
i4x4-ram

Gbp-Pq: Topic mx6cuboxi
Gbp-Pq: Name i4x4-ram.patch

7 years agoensure-config-sandbox-for-make-env
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
ensure-config-sandbox-for-make-env

Ensure that CONFIG_SANDBOX is set when running "make env", avoiding a
failure to build caused by config_distro_bootcmd.h following the wrong
codepath...

Gbp-Pq: Name ensure-config-sandbox-for-make-env.patch

7 years agosh4-fix-linker-name-prefix
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
sh4-fix-linker-name-prefix

Gbp-Pq: Name sh4-fix-linker-name-prefix.patch

7 years agoboard-spl-rule
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
board-spl-rule

Gbp-Pq: Topic arndale
Gbp-Pq: Name board-spl-rule.diff

7 years agon900-bootz-raw-initrd
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
n900-bootz-raw-initrd

Enable booting of zImage/vmlinuz and initrd without requiring the use of
mkimage to create uImage/uInitrd.

Gbp-Pq: Name n900-bootz-raw-initrd.diff

7 years agomx53loco
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
mx53loco

Enables support for ext4, the "load" command, and using bootz with raw initrds.

Gbp-Pq: Name mx53loco

7 years agoudoo-standardized-variables
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
udoo-standardized-variables

Adds standardized variables, fdtfile, fdt_addr_r, ramdisk_addr_r and
kernel_addr_r.

Gbp-Pq: Topic udoo
Gbp-Pq: Name udoo-standardized-variables

7 years agoudoo_quad-support
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
udoo_quad-support

Gbp-Pq: Topic udoo
Gbp-Pq: Name udoo_quad-support.patch

7 years agoMakefile-add-kwb-target-to-all
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
Makefile-add-kwb-target-to-all

Add u-boot.kwb to "make all" target on Kirkwood.

Gbp-Pq: Name Makefile-add-kwb-target-to-all.patch

7 years agotools-generic-builds
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
tools-generic-builds

Gbp-Pq: Name tools-generic-builds.patch

7 years agono-force-CROSS_COMPILE-powerpc
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
no-force-CROSS_COMPILE-powerpc

Debian typically builds natively, so disable forced use of
cross-compile.

Gbp-Pq: Name no-force-CROSS_COMPILE-powerpc.diff

7 years agomipsel-native-endianness
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
mipsel-native-endianness

[MIPS] Fix little-endian build with non-ELDK toolchains

We've been in trouble for a long time when cross compiling with non-ELDK
toolchains.  This is caused by -EB passed to CPPFLAGS incorrectly, by the
lack of an endian specifier to LDFLAGS, and by wrong OUTPUT_FORMATs.

We're going to implement two workarounds.  One is the endianness specifier
bugfix not to pass -EB / -EL to CPPFLAGS unless ELDK toolchain is used.
Note that ELDK and non-ELDK toolchains know their default endianness, so
the endianness specifier may not be necessary in principle.

The other is removal of OUTPUT_FORMAT in *.lds files.  If we have this,
it doesn't work unless an endianness specifier is added to LDFLAGS.  As
we haven't added that to LDFLAGS so far, it must have not worked properly,
except ELDK; I don't know why and how ELDK works, though.

With these two changes, all objects will be generated and linked in the
toolchain's default endianness.  Then MAKEALL mips_el will work even with
non-ELDK toolchain.

Note that Linux/MIPS kernel has CONFIG_CPU_BIG_ENDIAN and
CONFIG_CPU_LITTLE_ENDIAN alternatives to allow users to compile kernels
with a toolchain for the other endianness. But U-Boot does not have such
feature for now, and it's another story.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Gbp-Pq: Name mipsel-native-endianness.diff

7 years agoadd-debian-revision-to-u-boot-version
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
add-debian-revision-to-u-boot-version

Add the debian revision to the U-boot version, which is displayed at
boot and can be helpful to determine which specific version is used.

Gbp-Pq: Name add-debian-revision-to-u-boot-version

7 years agou-boot (2018.05+dfsg-1) unstable; urgency=medium
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
u-boot (2018.05+dfsg-1) unstable; urgency=medium

  * New upstream release.
  * Refresh debian/patches for 2018.05.
  * [armel] sheevaplug: Add patch to enable thumb build to reduce size of
    u-boot.kwb (Closes: #897671).
  * u-boot-rockchip: Add patch to fix serial output (Closes: #898276).

[dgit import unpatched u-boot 2018.05+dfsg-1]

7 years agoImport u-boot_2018.05+dfsg.orig.tar.xz
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
Import u-boot_2018.05+dfsg.orig.tar.xz

[dgit import orig u-boot_2018.05+dfsg.orig.tar.xz]

7 years agoImport u-boot_2018.05+dfsg-1.debian.tar.xz
Vagrant Cascadian [Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)]
Import u-boot_2018.05+dfsg-1.debian.tar.xz

[dgit import tarball u-boot 2018.05+dfsg-1 u-boot_2018.05+dfsg-1.debian.tar.xz]

7 years agoMerge u-boot (2018.03+dfsg1-2) import into refs/heads/workingbranch
Vagrant Cascadian [Mon, 2 Apr 2018 01:20:06 +0000 (02:20 +0100)]
Merge u-boot (2018.03+dfsg1-2) import into refs/heads/workingbranch