Leigh Brown [Wed, 27 Feb 2019 11:32:16 +0000 (11:32 +0000)]
[PATCH] 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:
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
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
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
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.
* New upstream release.
* debian/rules: Do not call qcom wrapper script.
* debian/control: Drop Build-Depends on "skales", removed from testing.
* u-boot-rockchip: Use python3 in rockchip_make_fit_atf.
* generate-rksd: Only generate SPL rksd on targets not using TPL.
* Add build profile pkg.uboot.subarch.* to build only subsets of
packages.
* [arm64] u-boot-rockchip: Add arm-trusted-firmware and u-boot-tools to
Recommends.