Bump u-boot to -2009.01-rc3, and add possibility to apply the arch-at91 patches if using an at91
This commit is contained in:
parent
b71c76a10a
commit
5a46761446
target
device
Atmel/arch-arm
Makefile.in
Config.in.u-bootu-boot
2009.01-rc3
u-boot-2009.01-rc1-001-at91rm9200.patchu-boot-2009.01-rc1-002-at91rm9200dk.h.patchu-boot-2009.01-rc1-003-at91rm9200dk.patchu-boot-2009.01-rc1-004-at91rm9200ek.patchu-boot-2009.01-rc1-005-at91sam9g20ek.patchu-boot-2009.01-rc1-006-drivers-net-macb.c.patchu-boot-2009.01-rc1-007-tools.patchu-boot-2009.01-rc1-008-Makefile.patchu-boot-2009.01-rc1-009-factory.patchu-boot-2009.01-rc1-010-coloured_led.patchu-boot-2009.01-rc1-011-spimux.patchu-boot-2009.01-rc1-012-ethinit.patchu-boot-2009.01-rc1-013-configs.patch
Config.inMakefile.inu-boot
@ -0,0 +1,2 @@
|
||||
include target/device/Atmel/arch-arm/u-boot/Makefile.in
|
||||
|
20
target/device/Atmel/arch-arm/u-boot/Config.in
Normal file
20
target/device/Atmel/arch-arm/u-boot/Config.in
Normal file
@ -0,0 +1,20 @@
|
||||
choice
|
||||
prompt "Add AT91 specific patches to u-Boot"
|
||||
default BR2_TARGET_U_BOOT_2009_01_RC3_ARCH_AT91
|
||||
help
|
||||
Select a patch to add to U-Boot
|
||||
|
||||
config BR2_TARGET_U_BOOT_2009_01_RC3_ARCH_AT91
|
||||
bool "AT91 patches for u-boot-2009.03-rc3"
|
||||
depends on BR2_TARGET_ATMEL && BR2_arm
|
||||
help
|
||||
Apply the at91 linux-2.6.28-rc6 patches
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_TARGET_U_BOOT_ARCH_AT91_PATCH_DIR
|
||||
string
|
||||
depends on BR2_TARGET_U_BOOT_ARCH_PATCH
|
||||
default "target/device/Atmel/arch-arm/u-boot/2009.01-rc3" if BR2_TARGET_U_BOOT_2009_01_RC3_ARCH_AT91
|
||||
default ""
|
||||
|
5
target/device/Atmel/arch-arm/u-boot/Makefile.in
Normal file
5
target/device/Atmel/arch-arm/u-boot/Makefile.in
Normal file
@ -0,0 +1,5 @@
|
||||
ifneq ($(BR2_TARGET_U_BOOT_ARCH_AT91_PATCH_DIR),)
|
||||
U_BOOT_ARCH_PATCH_DIR:=$(strip $(subst ",, $(BR2_TARGET_U_BOOT_ARCH_AT91_PATCH_DIR)))
|
||||
#"))
|
||||
endif
|
||||
|
9
target/device/Config.in.u-boot
Normal file
9
target/device/Config.in.u-boot
Normal file
@ -0,0 +1,9 @@
|
||||
menuconfig BR2_TARGET_U_BOOT_ARCH_PATCH
|
||||
bool "Add architecture specific patch"
|
||||
help
|
||||
Patch U-Boot for a specific family of chips
|
||||
|
||||
if BR2_TARGET_U_BOOT_ARCH_PATCH
|
||||
source "target/device/Atmel/arch-arm/u-boot/Config.in"
|
||||
endif # BR2_TARGET_U_BOOT_ARCH_PATCH
|
||||
|
@ -17,8 +17,11 @@ choice
|
||||
help
|
||||
Select the specific U-Boot version you want to use
|
||||
|
||||
config BR2_TARGET_UBOOT_2009_01_RC1
|
||||
bool "u-boot-2009.01-rc1"
|
||||
#config BR2_TARGET_UBOOT_2009_01
|
||||
# bool "u-boot-2009.01"
|
||||
|
||||
config BR2_TARGET_UBOOT_2009_01_RC3
|
||||
bool "u-boot-2009.01-rc3"
|
||||
|
||||
config BR2_TARGET_UBOOT_2008_10
|
||||
bool "u-boot-2008.10"
|
||||
@ -31,24 +34,23 @@ config BR2_TARGET_UBOOT_1_2_0_ATMEL
|
||||
bool "u-boot-1.2.0-atmel"
|
||||
depends on BR2_TARGET_AT91
|
||||
|
||||
#config BR2_TARGET_UBOOT_2009_01
|
||||
# bool "u-boot-2009.01"
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_UBOOT_VERSION
|
||||
string
|
||||
default "2009.01-rc1" if BR2_TARGET_UBOOT_2009_01_RC1
|
||||
default "2009.01" if BR2_TARGET_UBOOT_2009_01
|
||||
default "2009.01-rc3" if BR2_TARGET_UBOOT_2009_01_RC3
|
||||
default "2008.10" if BR2_TARGET_UBOOT_2008_10
|
||||
default "1.3.4" if BR2_TARGET_UBOOT_1_3_4
|
||||
default "1.2.0-atmel" if BR2_TARGET_UBOOT_1_2_0_ATMEL
|
||||
default "2009.01" if BR2_TARGET_UBOOT_2009_01
|
||||
|
||||
config BR2_U_BOOT_SITE
|
||||
string
|
||||
default "$(BR2_ATMEL_MIRROR)" if BR2_TARGET_UBOOT_1_2_0_ATMEL
|
||||
default "ftp://ftp.denx.de/pub/u-boot"
|
||||
|
||||
source "target/device/Config.in.u-boot"
|
||||
|
||||
config BR2_TARGET_UBOOT_CUSTOM_PATCH
|
||||
string "custom patch"
|
||||
help
|
||||
|
@ -88,6 +88,9 @@ $(U_BOOT_DIR)/.patched: $(U_BOOT_DIR)/.unpacked
|
||||
toolchain/patch-kernel.sh $(U_BOOT_DIR) target/u-boot/$(U_BOOT_VERSION) \
|
||||
u-boot-$(U_BOOT_VERSION)-\*.patch \
|
||||
u-boot-$(U_BOOT_VERSION)-\*.patch.$(ARCH)
|
||||
ifneq ($(strip $(U_BOOT_ARCH_PATCH_DIR)),"")
|
||||
toolchain/patch-kernel.sh $(U_BOOT_DIR) $(U_BOOT_ARCH_PATCH_DIR) \*.patch
|
||||
endif
|
||||
ifneq ($(strip $(BR2_TARGET_UBOOT_CUSTOM_PATCH)),"")
|
||||
@mkdir -p $(U_BOOT_PATCH_DIR)
|
||||
cp -dpr $(BR2_TARGET_UBOOT_CUSTOM_PATCH) $(U_BOOT_PATCH_DIR)
|
||||
|
Loading…
Reference in New Issue
Block a user