u-boot-brain/arch/arm
Manfred Schlaegl cdde7de036 ARM: fixed relocation using proper alignment
Using u-boot-2017.05 on i.MX6UL we ran into following problem:
Initially U-Boot could be started normally.
If we added one random command in configuration, the newly generated
image hung at startup (last output was DRAM:  256 MiB).

We tracked this down to a data abort within relocation (relocated_code).

relocated_code in arch/arm/lib/relocate.S copies 8 bytes per loop
iteration until the source pointer is equal to __image_copy_end.
In a good case __image_copy_end was aligned to 8 bytes, so the loop
stopped as suggested, but in an errornous case __image_copy_end was
not aligned to 8 bytes, so the loop ran out of bounds and caused a
data abort exception.

This patches solves the issue by aligning __image_copy_end to 8 byte
using the linker script related to arm.

I don't know if it's the correct way to solve this, so some review would
be very appreciated.
2017-06-12 08:36:18 -04:00
..
cpu ARM: fixed relocation using proper alignment 2017-06-12 08:36:18 -04:00
dts rockchip: Fix regualtor typo in veyron 2017-06-09 13:39:34 -06:00
imx-common Convert CONFIG_CMD_HDMIDETECT to Kconfig 2017-05-22 12:45:22 -04:00
include Merge git://git.denx.de/u-boot-dm 2017-06-10 18:01:22 -04:00
lib Merge git://git.denx.de/u-boot-dm 2017-06-10 18:01:22 -04:00
mach-aspeed
mach-at91
mach-bcm283x
mach-davinci common: arm: davinci: Move header file out of common 2017-06-05 12:31:23 -04:00
mach-exynos Kconfig: Finish migration of hashing commands 2017-05-31 19:38:14 -04:00
mach-highbank
mach-integrator
mach-keystone Convert CONFIG_SPL_BOARD_INIT to Kconfig 2017-05-22 07:29:48 -04:00
mach-kirkwood Kconfig: Add a CONFIG_IDE option 2017-05-22 12:45:27 -04:00
mach-meson
mach-mvebu dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
mach-omap2 arm: omap: Unify get_device_type() function 2017-06-09 20:34:53 -04:00
mach-orion5x
mach-rmobile mmc: sh_sdhi: Add MMC version 5.0 support 2017-06-09 20:25:16 +09:00
mach-rockchip rockchip: rk3288: Allow setting up clocks in U-Boot proper 2017-06-09 13:45:34 -06:00
mach-s5pc1xx
mach-snapdragon dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
mach-socfpga Convert CONFIG_SPL_BOARD_INIT to Kconfig 2017-05-22 07:29:48 -04:00
mach-sti
mach-stm32 spl: stm32f7: configure for xip booting 2017-06-09 11:24:00 -04:00
mach-sunxi
mach-tegra tegra: clock: Avoid a divide-by-zero error 2017-06-09 13:39:33 -06:00
mach-uniphier dm: Fix up inclusion of common.h 2017-06-01 07:03:03 -06:00
mach-versatile
mach-zynq
thumb1/include/asm/proc-armv
config.mk arm: Always keep the dtb section on objcopy 2017-06-05 14:13:11 -04:00
Kconfig arm: Add Kconfig symbols used for Linux asm compatibility 2017-06-05 14:13:13 -04:00
Kconfig.debug
Makefile