u-boot.git
6 years agoCommit "ARM: CPU: arm926ejs: Consolidate cache routines to common file" breaks u...
Leigh Brown [Wed, 27 Feb 2019 11:32:16 +0000 (11:32 +0000)]
Commit "ARM: CPU: arm926ejs: Consolidate cache routines to common file" breaks u-boot on Dreamplug

Hello,

Vagrant Cascadian asked for people to test the version of u-boot packaged
for Debian Buster.  I tested u-boot on my Dreamplug and found it was not
working correctly.  I raised a bug for Debian[1] but I have also tested
with the mainline version of u-boot and found the same issues.

The first issue is that the following commit caused u-boot to no longer
be able to access usb storage on the Dreamplug:

commit 93b283d49f933f95f3a6f40762936f454ac655a8
Author: Adam Ford <aford173@gmail.com>
Date:   Thu Aug 16 13:23:11 2018 -0500

    ARM: CPU: arm926ejs: Consolidate cache routines to common file

    Four different boards had different options for enabling cache
    that were virtually all the same.  This consolidates these
    common functions into arch/arm/cpu/arm926ejs/cache.c

    This also has the positive side-effect of enabling cache on
    the Davinci (da850) boards.

Signed-off-by: Adam Ford <aford173@gmail.com>
    [trini: Add mach-at91 to the list of consolidations]
Signed-off-by: Tom Rini <trini@konsulko.com>
I don't have much knowledge of ARM caching, but the following patch makes
it work again on my Dreamplug.

Gbp-Pq: Topic dreamplug
Gbp-Pq: Name Commit-ARM-CPU-arm926ejs-Consolidate-cache-routines-.patch

6 years agoARM: kirkwood: add spi0 alias for dreamplug
Chris Packham [Thu, 28 Feb 2019 07:53:23 +0000 (20:53 +1300)]
ARM: kirkwood: add spi0 alias for dreamplug

The conversion to DM_SPI managed to break accessing the environment on
dreamplug. This is because the environment code relies on being to able
to select the SPI device based on the sequence number. Add an alias so
that the spi0 bus gets sequence number 0.

Reported-by: Leigh Brown <leigh@solinno.co.uk>
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Gbp-Pq: Topic dreamplug
Gbp-Pq: Name ARM-kirkwood-add-spi0-alias-for-dreamplug.patch

6 years agoFix spelling of download.
Vagrant Cascadian [Fri, 1 Mar 2019 03:53:43 +0000 (19:53 -0800)]
Fix spelling of download.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
Gbp-Pq: Topic exynos
Gbp-Pq: Name 0002-Fix-spelling-of-download.patch

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 agoFix typo: missmatched -> mismatched.
Vagrant Cascadian [Tue, 8 Jan 2019 21:10:23 +0000 (13:10 -0800)]
Fix typo: missmatched -> mismatched.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0001-Fix-typo-missmatched-mismatched.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, 9 Apr 2019 02:47:02 +0000 (03:47 +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

6 years agoomap5_distro_bootcmd
Vagrant Cascadian [Tue, 9 Apr 2019 02:47:02 +0000 (03:47 +0100)]
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, 9 Apr 2019 02:47:02 +0000 (03:47 +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

6 years agosh4-fix-linker-name-prefix
Vagrant Cascadian [Tue, 9 Apr 2019 02:47:02 +0000 (03:47 +0100)]
sh4-fix-linker-name-prefix

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

6 years agoboard-spl-rule
Vagrant Cascadian [Tue, 9 Apr 2019 02:47:02 +0000 (03:47 +0100)]
board-spl-rule

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

6 years agon900-bootz-raw-initrd
Vagrant Cascadian [Tue, 9 Apr 2019 02:47:02 +0000 (03:47 +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

6 years agomx53loco
Vagrant Cascadian [Tue, 9 Apr 2019 02:47:02 +0000 (03:47 +0100)]
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, 9 Apr 2019 02:47:02 +0000 (03:47 +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

6 years agotools-generic-builds
Vagrant Cascadian [Tue, 9 Apr 2019 02:47:02 +0000 (03:47 +0100)]
tools-generic-builds

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

6 years agono-force-CROSS_COMPILE-powerpc
Vagrant Cascadian [Tue, 9 Apr 2019 02:47:02 +0000 (03:47 +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

6 years agoadd-debian-revision-to-u-boot-version
Vagrant Cascadian [Tue, 9 Apr 2019 02:47:02 +0000 (03:47 +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

6 years agou-boot (2019.01+dfsg-4) unstable; urgency=medium
Vagrant Cascadian [Tue, 9 Apr 2019 02:47:02 +0000 (03:47 +0100)]
u-boot (2019.01+dfsg-4) unstable; urgency=medium

  [ Martyn Welch ]
  * [armhf] u-boot-imx: Enable build for NXP SABRE Lite.

  [ Neil Armstrong ]
  * [arm64] u-boot-amlogic: Enable nanopi-k2 and khadas-vim/vim2.

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

6 years agoImport u-boot_2019.01+dfsg-4.debian.tar.xz
Vagrant Cascadian [Tue, 9 Apr 2019 02:47:02 +0000 (03:47 +0100)]
Import u-boot_2019.01+dfsg-4.debian.tar.xz

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

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]