diff options
author | Rod Whitby <rod@whitby.id.au> | 2005-07-19 20:16:23 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-07-19 20:16:23 +0000 |
commit | 8b1c4a494721baaffe283cb55c204d444ca57770 (patch) | |
tree | 547b50304921819cf7b786972d0a3413386c96a8 /packages | |
parent | cb488f4ae17a5d675fede6b25f86034cd790bf60 (diff) |
Added the Apex bootloader (initially configured for nslu2)
Diffstat (limited to 'packages')
-rw-r--r-- | packages/apex/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/apex/apex_1.2.19.bb | 27 | ||||
-rw-r--r-- | packages/apex/nslu2/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/apex/nslu2/defconfig | 88 |
4 files changed, 115 insertions, 0 deletions
diff --git a/packages/apex/.mtn2git_empty b/packages/apex/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/apex/.mtn2git_empty diff --git a/packages/apex/apex_1.2.19.bb b/packages/apex/apex_1.2.19.bb new file mode 100644 index 0000000000..2b022e94e7 --- /dev/null +++ b/packages/apex/apex_1.2.19.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "APEX Boot Loader" +SECTION = "" +PRIORITY = "optional" +MAINTAINER = "NSLU2 Linux <www.nslu2-linux.org>" +HOMEPAGE = "http://wiki.buici.com/twiki/bin/view/Main/ApexBootloader" +LICENSE = "GPL" +PR = "r0" + +SRC_URI = "ftp://ftp.buici.com/pub/apex/apex-${PV}.tar.gz \ + file://defconfig" + +EXTRA_OEMAKE_append = " CROSS_COMPILE=${CROSS_DIR}/bin/${HOST_PREFIX}" + +oe_runmake() { + oenote make ${PARALLEL_MAKE} CROSS_COMPILE=/home/slug/openslug/tmp/cross/bin/armeb-linux- "$@" + make ${PARALLEL_MAKE} LDFLAGS= CROSS_COMPILE=/home/slug/openslug/tmp/cross/bin/armeb-linux- "$@" || die "oe_runmake failed" +} + +do_configure() { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config + oe_runmake oldconfig +} + +do_populate_staging() { + install -d ${STAGING_LOADER_DIR} + install -m 0755 src/arch-arm/rom/apex.bin ${STAGING_LOADER_DIR}/apex.bin +} diff --git a/packages/apex/nslu2/.mtn2git_empty b/packages/apex/nslu2/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/apex/nslu2/.mtn2git_empty diff --git a/packages/apex/nslu2/defconfig b/packages/apex/nslu2/defconfig new file mode 100644 index 0000000000..138ed749a4 --- /dev/null +++ b/packages/apex/nslu2/defconfig @@ -0,0 +1,88 @@ +# +# Automatically generated make config: don't edit +# Linux kernel version: +# Tue May 17 09:42:40 2005 +# +CONFIG_ARM=y +# CONFIG_ARCH_LH7952X is not set +# CONFIG_ARCH_LH7A40X is not set +CONFIG_ARCH_IXP42X=y +# CONFIG_EXPERIMENTAL is not set + +# +# General Setup +# +CONFIG_CROSS_COMPILE="/usr/armv5b-softfloat-linux/gcc-3.4.2-glibc-2.3.3/bin/armv5b-softfloat-linux-" +# CONFIG_SMALL is not set +# CONFIG_DEBUG_LL is not set +CONFIG_SPINNER=y +CONFIG_ATAG=y +CONFIG_DISABLE_MMU_AT_BOOT=y +CONFIG_ATAG_PHYS=0x00000100 +CONFIG_ARCH_NUMBER=597 +CONFIG_APEX_VMA=0x00200000 +CONFIG_KERNEL_LMA=0x00008000 +CONFIG_SDRAM_BANK0=y +# CONFIG_SDRAM_BANK1 is not set +CONFIG_NOR_BUSWIDTH=16 +CONFIG_NOR_BANK0=y +CONFIG_NOR_BANK0_START=0x50000000 +CONFIG_NOR_BANK0_LENGTH=0x00800000 +CONFIG_ENV_STARTUP="" +CONFIG_MACH="ixp42x" +CONFIG_MACH_NSLU2=y +# CONFIG_MACH_AVILA2347 is not set + +# +# Platform Setup +# +CONFIG_USE_RAMDISK=y +CONFIG_RAMDISK_LMA=0x01000000 +CONFIG_SDRAM_BANK_LENGTH=0x02000000 +CONFIG_ARCH_IXP420=y + +# +# Commands +# +CONFIG_ALLHELP=y +CONFIG_CMD_CHECKSUM=y +CONFIG_CMD_COPY=y +CONFIG_CMD_COMPARE=y +CONFIG_CMD_DRVINFO=y +CONFIG_CMD_DUMP=y +CONFIG_CMD_ENV=y +# CONFIG_CMD_ERASEENV is not set +CONFIG_CMD_SETENV=y +CONFIG_CMD_ERASE=y +CONFIG_CMD_FILL=y +CONFIG_CMD_INFO=y +CONFIG_CMD_GO=y +# CONFIG_CMD_PAUSE is not set +CONFIG_CMD_WAIT=y +CONFIG_CMD_XRECEIVE=y + +# +# Generic Drivers +# +# CONFIG_DRIVER_FAT is not set +# CONFIG_DRIVER_EXT2 is not set +# CONFIG_DRIVER_JFFS2 is not set +CONFIG_DRIVER_NOR_CFI=y +CONFIG_USES_NOR_CFI=y + +# +# Environment +# +CONFIG_NOR_BOOT=y +# CONFIG_NAND_BOOT is not set +CONFIG_AUTOBOOT=y +CONFIG_AUTOBOOT_DELAY=10 +CONFIG_ENV_MUTABLE=y +CONFIG_ENV_REGION="nor:128k+64k" +CONFIG_ENV_STARTUP_KERNEL_COPY=y +CONFIG_ENV_REGION_KERNEL="nor:0x60010+0xffff0" +CONFIG_ENV_STARTUP_RAMDISK_COPY=y +CONFIG_ENV_REGION_RAMDISK="nor:0x160010+0x69fff0" +# CONFIG_ENV_DEFAULT_CMDLINE_OVERRIDE is not set +CONFIG_USES_NOR_BOOTFLASH=y +CONFIG_BIGENDIAN=y |