u-boot.git
5 years ago[PATCH] fit_image: Use calloc() to fix reproducibility issue
Fabio Estevam [Tue, 28 Jul 2020 00:03:13 +0000 (21:03 -0300)]
[PATCH] fit_image: Use calloc() to fix reproducibility issue

From 7a66514f64dfb302dd9e763278d2d8a86b94a050 Mon Sep 17 00:00:00 2001
Origin: https://patchwork.ozlabs.org/project/uboot/patch/20200728000313.31130-1-festevam@gmail.com/

Vagrant Cascadian reported that mx6cuboxi target no longer builds
reproducibility on Debian.

One example of builds mismatches:

00096680: 696e 6700 736f 756e 642d 6461 6900 6465  ing.sound-dai.de
-00096690: 7465 6374 2d67 7069 6f73 0000            tect-gpios..
+00096690: 7465 6374 2d67 7069 6f73 0061            tect-gpios.a

This problem happens because all the buffers in fit_image.c are
allocated via malloc(), which does not zero out the allocated buffer.

Using calloc() fixes this unpredictable behaviour as it guarantees
that the allocated buffer are zero initialized.

Reported-by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Suggested-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Gbp-Pq: Topic reproducible
Gbp-Pq: Name 0001-fit_image-Use-calloc-to-fix-reproducibility-issue.patch

5 years agobootz_and_raw_initrd
Vagrant Cascadian [Fri, 28 Aug 2020 23:35:40 +0000 (00:35 +0100)]
bootz_and_raw_initrd

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

Gbp-Pq: Topic n900
Gbp-Pq: Name bootz_and_raw_initrd.patch

5 years ago[PATCH] qemu-riscv64_smode, sifive-fu540: fix extlinux (define preboot)
David Abdurachmanov [Wed, 21 Aug 2019 19:07:20 +0000 (12:07 -0700)]
[PATCH] qemu-riscv64_smode, sifive-fu540: fix extlinux (define preboot)

From 3fc056f0b9f7c26e58a1e947c8c0184e55919614 Mon Sep 17 00:00:00 2001
Forwarded: https://patchwork.ozlabs.org/patch/1151125/

Commit 37304aaf60bf92a5dc3ef222ba520698bd862a44 removed preboot
commands in RISC-V targets and broke extlinux support as reported
by Fu Wei <wefu@redhat.com>.

The patch finishes migration of CONFIG_USE_PREBOOT and CONFIG_REBOOT
to Kconfig.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
Gbp-Pq: Topic riscv64
Gbp-Pq: Name qemu-riscv64_smode-sifive-fu540-fix-extlinux-define-.patch

5 years ago[PATCH] arm: config: fix default console only to specify the device
Dongjin Kim [Sat, 28 Oct 2017 04:22:27 +0000 (00:22 -0400)]
[PATCH] 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

5 years agotest-imagetools-test-fixes
Vagrant Cascadian [Fri, 28 Aug 2020 23:35:40 +0000 (00:35 +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

5 years agoomap5_distro_bootcmd
Vagrant Cascadian [Fri, 28 Aug 2020 23:35:40 +0000 (00:35 +0100)]
omap5_distro_bootcmd

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

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

5 years agoensure-config-sandbox-for-make-env
Vagrant Cascadian [Fri, 28 Aug 2020 23:35:40 +0000 (00:35 +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

5 years agosh4-fix-linker-name-prefix.patch
Vagrant Cascadian [Fri, 28 Aug 2020 23:35:40 +0000 (00:35 +0100)]
sh4-fix-linker-name-prefix.patch

u-boot currently fails to build from source on sh4 since the
linker name prefix defined in arch/sh/config.mk is outdated.
On current Debian installations, the binaries of the GNU
toolchain are named using the triplett scheme
$arch-$kernel-$toolchain. Thus, on sh4, the proper name
is "sh4-linux-gnu-ld" instead of "sh4-linux-ld". This
patch updates build configuration on sh4 to reflect that.

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

5 years agoAdd spl/arndale-spl.bin rule
Ian Campbell [Fri, 28 Aug 2020 23:35:40 +0000 (00:35 +0100)]
Add spl/arndale-spl.bin rule

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

5 years agomx53loco
Vagrant Cascadian [Fri, 28 Aug 2020 23:35:40 +0000 (00:35 +0100)]
mx53loco

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

Gbp-Pq: Name mx53loco

5 years agoMakefile-add-kwb-target-to-all
Vagrant Cascadian [Fri, 28 Aug 2020 23:35:40 +0000 (00:35 +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

5 years agoEnable generic tools build
Hector Oron [Fri, 28 Aug 2020 23:35:40 +0000 (00:35 +0100)]
Enable generic tools build

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

5 years agono-force-CROSS_COMPILE-powerpc
Vagrant Cascadian [Fri, 28 Aug 2020 23:35:40 +0000 (00:35 +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

5 years agoadd-debian-revision-to-u-boot-version
Vagrant Cascadian [Fri, 28 Aug 2020 23:35:40 +0000 (00:35 +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

5 years agou-boot (2020.07+dfsg-2) unstable; urgency=medium
Vagrant Cascadian [Fri, 28 Aug 2020 23:35:40 +0000 (00:35 +0100)]
u-boot (2020.07+dfsg-2) unstable; urgency=medium

  [ Vagrant Cascadian ]
  * u-boot-install-rockchip: Update with additional RockPro64 names from
    linux 5.7 device-trees.

  [ Denis Pynkin ]
  * u-boot-rpi: Add rpi_arm64 target for arm64 (Closes: #966078).

  [ Vagrant Cascadian ]
  * debian/patches: Fix reproducibility of mx6cuboxi target.

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

5 years agoImport u-boot_2020.07+dfsg-2.debian.tar.xz
Vagrant Cascadian [Fri, 28 Aug 2020 23:35:40 +0000 (00:35 +0100)]
Import u-boot_2020.07+dfsg-2.debian.tar.xz

[dgit import tarball u-boot 2020.07+dfsg-2 u-boot_2020.07+dfsg-2.debian.tar.xz]

5 years agoImport u-boot_2020.07+dfsg.orig.tar.xz
Vagrant Cascadian [Wed, 8 Jul 2020 23:29:02 +0000 (00:29 +0100)]
Import u-boot_2020.07+dfsg.orig.tar.xz

[dgit import orig u-boot_2020.07+dfsg.orig.tar.xz]