[U-Boot] [PATCH] Enable thumb build to reduce build size of u-boot.kwb.

Chris Packham judge.packham at gmail.com
Sun Jun 3 21:01:57 UTC 2018


Hi,

On Mon, 4 Jun 2018, 7:39 AM Vagrant Cascadian, <vagrant at debian.org> wrote:

> Without this, u-boot.kwb overlaps where the u-boot environment is
> stored, and updating the environment can break u-boot and vice versa.
>
>   https://bugs.debian.org/897671
>   https://lists.denx.de/pipermail/u-boot/2018-May/327497.html
>
> Signed-off-by: Vagrant Cascadian <vagrant at debian.org>
> ---
>
>  configs/sheevaplug_defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/configs/sheevaplug_defconfig b/configs/sheevaplug_defconfig
> index 608e05e64e..d77d198f18 100644
> --- a/configs/sheevaplug_defconfig
> +++ b/configs/sheevaplug_defconfig
> @@ -36,3 +36,4 @@ CONFIG_USB=y
>  CONFIG_USB_EHCI_HCD=y
>  CONFIG_USB_STORAGE=y
>  CONFIG_LZMA=y
> +CONFIG_SYS_THUMB_BUILD=y
> --


Stefan sent a patch to move the environment for openrd is it worth doing
that instead?

Also isn't there an option to enforce a build size limit so that we notice
when we've expanded too far? That's how we noticed the problem for openrd.


More information about the U-Boot mailing list