at91bootstrap-2.13: Bump version, build multiple
PATCH 1/1 at91bootstrap-2.13: Bump version, build multiple
Bump version of at91bootstrap to 2.13
This fixed a linker error which causes a boot failure Add support for sam9g45, sam9g10, sam9m10
The variable AT91BOOTSTRAP_BOARD can be a list of boards allowing multiple configurations to be built.
Example of use:AT91BOOTSTRAP_BOARD = "at91sam9g20df at91sam9g20ek"
As long as a suitable board is available in at91bootstrap the defconfig file previously used wont be needed.
Signed-off-by Ulf Samuelsson <[email protected]>
--- .../at91bootstrap-2.13/at91cap9adk/defconfig | 110 ------------------- .../at91bootstrap-2.13/at91sam9260ek/defconfig | 110 ------------------- .../at91bootstrap-2.13/at91sam9261ek/defconfig | 110 ------------------- .../at91bootstrap-2.13/at91sam9263ek/defconfig | 113 -------------------- .../at91bootstrap-2.13/at91sam9g20ek/defconfig | 110 ------------------- .../at91bootstrap-2.13/at91sam9g45ek/defconfig | 110 ------------------- .../at91bootstrap-2.13/at91sam9rlek/defconfig | 110 ------------------- .../at91bootstrap-2.13/at91sam9xeek/defconfig | 110 ------------------- recipes/at91bootstrap/at91bootstrap_2.0.inc | 33 ++++++ recipes/at91bootstrap/at91bootstrap_2.13.bb | 4 +- 10 files changed, 35 insertions(+), 885 deletions(-) delete mode 100644 recipes/at91bootstrap/at91bootstrap-2.13/at91cap9adk/defconfig delete mode 100644 recipes/at91bootstrap/at91bootstrap-2.13/at91sam9260ek/defconfig delete mode 100644 recipes/at91bootstrap/at91bootstrap-2.13/at91sam9261ek/defconfig delete mode 100644 recipes/at91bootstrap/at91bootstrap-2.13/at91sam9263ek/defconfig delete mode 100644 recipes/at91bootstrap/at91bootstrap-2.13/at91sam9g20ek/defconfig delete mode 100644 recipes/at91bootstrap/at91bootstrap-2.13/at91sam9g45ek/defconfig delete mode 100644 recipes/at91bootstrap/at91bootstrap-2.13/at91sam9rlek/defconfig delete mode 100644 recipes/at91bootstrap/at91bootstrap-2.13/at91sam9xeek/defconfig create mode 100644 recipes/at91bootstrap/at91bootstrap_2.0.inc
recipes/at91bootstrap/at91bootstrap-2.13/at91cap9adk/defconfig deleted +0 -110
@@ -1,110 +0,0 @@ -# -# Automatically generated make config: don't edit -# Tue Jan 12 22:00:30 2010 -# -HAVE_DOT_CONFIG=y -CONFIG_BOARDNAME="at91cap9df" -# CONFIG_AT91SAM9260EK is not set -# CONFIG_AT91SAM9261EK is not set -# CONFIG_AT91SAM9263EK is not set -# CONFIG_AT91SAM9RLEK is not set -# CONFIG_AT91SAM9XEEK is not set -# CONFIG_AT91SAM9G10EK is not set -# CONFIG_AT91SAM9G20EK is not set -# CONFIG_AT91SAM9G45EK is not set -# CONFIG_AT91SAM9G45EKES is not set -# CONFIG_AT91SAM9M10EK is not set -CONFIG_AT91CAP9ADK=y -# CONFIG_AT91CAP9STK is not set -# CONFIG_AFEB9260 is not set -CONFIG_CHIP="AT91CAP9" -CONFIG_BOARD="at91cap9adk" -CONFIG_MACH_TYPE="0x61E" -CONFIG_LINK_ADDR="0x000000" -CONFIG_TOP_OF_MEMORY="0x108000" -CONFIG_BOOTSTRAP_MAXSIZE="13000" -CONFIG_CRYSTAL_12_000MHZ=y -# CONFIG_CRYSTAL_16_000MHZ is not set -# CONFIG_CRYSTAL_16_36766MHZ is not set -# CONFIG_CRYSTAL_18_432MHZ is not set -ALLOW_CRYSTAL_12_000MHZ=y -CONFIG_CRYSTAL="CRYSTAL_18_432MHZ" -# CONFIG_CPU_CLK_166MHZ is not set -# CONFIG_CPU_CLK_180MHZ is not set -CONFIG_CPU_CLK_200MHZ=y -# CONFIG_CPU_CLK_240MHZ is not set -# CONFIG_CPU_CLK_266MHZ is not set -# CONFIG_CPU_CLK_400MHZ is not set -ALLOW_CPU_CLK_200MHZ=y -ALLOW_CPU_CLK_240MHZ=y -# DISABLE_CPU_CLK_240MHZ is not set -# CONFIG_BUS_SPEED_83MHZ is not set -# CONFIG_BUS_SPEED_90MHZ is not set -CONFIG_BUS_SPEED_100MHZ=y -# CONFIG_BUS_SPEED_133MHZ is not set - -# -# Memory selection -# -# CONFIG_SDRAM is not set -CONFIG_SDDRC=y -# CONFIG_DDR2 is not set -ALLOW_DATAFLASH=y -ALLOW_FLASH=y -# ALLOW_NANDFLASH is not set -# ALLOW_SDCARD is not set -# ALLOW_PSRAM is not set -# ALLOW_SDRAM_16BIT is not set -# CONFIG_RAM_32MB is not set -CONFIG_RAM_64MB=y -# CONFIG_RAM_128MB is not set -# CONFIG_RAM_256MB is not set -CONFIG_DATAFLASH=y -# CONFIG_FLASH is not set -# CONFIG_NANDFLASH is not set -# CONFIG_SDCARD is not set -CONFIG_MEMORY="dataflash" - -# -# SPI configuration -# -CONFIG_SPI_CLK=33000000 -CONFIG_SMALL_DATAFLASH=y -# ALLOW_DATAFLASH_RECOVERY is not set -CONFIG_SPI_BOOT_CS0=y -# CONFIG_SPI_BOOT_CS1 is not set -# CONFIG_SPI_BOOT_CS2 is not set -# CONFIG_SPI_BOOT_CS3 is not set -ALLOW_BOOT_FROM_DATAFLASH_CS0=y -# ALLOW_BOOT_FROM_DATAFLASH_CS1 is not set -# ALLOW_BOOT_FROM_DATAFLASH_CS2 is not set -# ALLOW_BOOT_FROM_DATAFLASH_CS3 is not set -DATAFLASHCARD_ON_CS0=y -# DATAFLASHCARD_ON_CS1 is not set -# DATAFLASHCARD_ON_CS2 is not set -# DATAFLASHCARD_ON_CS3 is not set -CONFIG_DATAFLASHCARD=y -CONFIG_CARD_SUFFIX="card" -CONFIG_SPI_BOOT="AT91C_SPI_PCS0_DATAFLASH" -CONFIG_SPI_MODE_0=y -# CONFIG_SPI_MODE_1 is not set -# CONFIG_SPI_MODE_2 is not set -# CONFIG_SPI_MODE_3 is not set -CONFIG_SPI_MODE=0 -CONFIG_PROJECT="dataflash" -CONFIG_LOAD_UBOOT=y -# CONFIG_LOAD_64KB is not set -# CONFIG_LOAD_1MB is not set -# CONFIG_LOAD_4MB is not set -CONFIG_IMG_ADDRESS="0x00008400" -CONFIG_IMG_SIZE="0x00040000" -CONFIG_JUMP_ADDR="0x73F00000" -CONFIG_APP_CHECK=y -# CONFIG_LONG_TEST is not set -CONFIG_DEBUG=y -CONFIG_VERBOSE=y -CONFIG_HW_INIT=y -# CONFIG_USER_HW_INIT is not set -# CONFIG_THUMB is not set -CONFIG_SX_AT91=y -CONFIG_RAW_AT91=y
recipes/at91bootstrap/at91bootstrap-2.13/at91sam9260ek/defconfig deleted +0 -110
110 lines not on this page · raw message
recipes/at91bootstrap/at91bootstrap-2.13/at91sam9261ek/defconfig deleted +0 -110
110 lines not on this page · raw message
recipes/at91bootstrap/at91bootstrap-2.13/at91sam9263ek/defconfig deleted +0 -113
113 lines not on this page · raw message
recipes/at91bootstrap/at91bootstrap-2.13/at91sam9g20ek/defconfig deleted +0 -110
110 lines not on this page · raw message
recipes/at91bootstrap/at91bootstrap-2.13/at91sam9g45ek/defconfig deleted +0 -110
110 lines not on this page · raw message
recipes/at91bootstrap/at91bootstrap-2.13/at91sam9rlek/defconfig deleted +0 -110
110 lines not on this page · raw message
recipes/at91bootstrap/at91bootstrap-2.13/at91sam9xeek/defconfig deleted +0 -110
110 lines not on this page · raw message
recipes/at91bootstrap/at91bootstrap_2.0.inc new file +33 -0
@@ -0,0 +1,33 @@ +DESCRIPTION = "at91bootstrap: loaded into internal SRAM by AT91 BootROM" +SECTION = "bootloaders" + +PARALLEL_MAKE = "" + +SRC_URI = "ftp://www.at91.com/pub/buildroot/${PN}-${PV}.tar.bz2 \ + " + +S = "${WORKDIR}/${PN}-${PV}" +PACKAGE_ARCH = "${MACHINE_ARCH}" +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} DESTDIR=${DEPLOY_DIR_IMAGE} REVISION=${PR}" + +do_compile () { + unset LDFLAGS + unset CFLAGS + unset CPPFLAGS + + rm -Rf ${S}/binaries + if ! [ "x${AT91BOOTSTRAP_BOARD}" == "x" ] ; then + for board in ${AT91BOOTSTRAP_BOARD} ; do + cp `find ./board/ -name ${board}_defconfig` .config + oe_runmake AT91_CUSTOM_FLAGS="${AT91BOOTSTRAP_FLAGS}" + oe_runmake AT91_CUSTOM_FLAGS="${AT91BOOTSTRAP_FLAGS}" boot + oe_runmake AT91_CUSTOM_FLAGS="${AT91BOOTSTRAP_FLAGS}" install + done + else + cp ${S}/../defconfig ${S}/.config + oe_runmake AT91_CUSTOM_FLAGS="${AT91BOOTSTRAP_FLAGS}" + oe_runmake AT91_CUSTOM_FLAGS="${AT91BOOTSTRAP_FLAGS}" boot + oe_runmake AT91_CUSTOM_FLAGS="${AT91BOOTSTRAP_FLAGS}" install + fi + +}
recipes/at91bootstrap/at91bootstrap_2.13.bb +2 -2
@@ -1,5 +1,5 @@ -require at91bootstrap.inc -PR = "r0" +require at91bootstrap_2.0.inc +PR = "r1" DEFAULT_PREFERENCE = "-1" DEFAULT_PREFERENCE_at91sam9g45ek = "1" DEFAULT_PREFERENCE_at91sam9g45ekes = "1"
Signature · 1 line
1.6.0.2