mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 14:03:29 +08:00
b235a2cffc
Newer versions of the kernel generate device trees that are not storable in a single 16kB sector. In these cases the kernel load address must be changed. The commit 2e499dcff3ef ("Add possibility to use custom kernel load address") adds the possibility to override the default (0x08008000) kernel load address. This also required changes to the stm32f429_disco_defconfig and stm32f469_disco_xip_defconfig configurations. Patching is no longer needed. Also update whitespaces in hash file (2 spaces). Signed-off-by: Dario Binacchi <dariobin@libero.it> Acked-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
23 lines
748 B
Makefile
23 lines
748 B
Makefile
################################################################################
|
|
#
|
|
# afboot-stm32
|
|
#
|
|
################################################################################
|
|
|
|
AFBOOT_STM32_VERSION = 3566acd582e5536fb60864281788a30f5527df2d
|
|
AFBOOT_STM32_SITE = $(call github,mcoquelin-stm32,afboot-stm32,$(AFBOOT_STM32_VERSION))
|
|
AFBOOT_STM32_INSTALL_IMAGES = YES
|
|
AFBOOT_STM32_INSTALL_TARGET = NO
|
|
|
|
define AFBOOT_STM32_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CROSS_COMPILE=$(TARGET_CROSS) all \
|
|
KERNEL_ADDR=$(BR2_TARGET_AFBOOT_STM32_KERNEL_ADDR) \
|
|
DTB_ADDR=$(BR2_TARGET_AFBOOT_STM32_DTB_ADDR)
|
|
endef
|
|
|
|
define AFBOOT_STM32_INSTALL_IMAGES_CMDS
|
|
$(INSTALL) -m 0755 -t $(BINARIES_DIR) -D $(@D)/stm32*.bin
|
|
endef
|
|
|
|
$(eval $(generic-package))
|