diff options
author | Rod Whitby <rod@whitby.id.au> | 2007-08-18 05:23:09 +0000 |
---|---|---|
committer | Rod Whitby <rod@whitby.id.au> | 2007-08-18 05:23:09 +0000 |
commit | 4e2de016b44bf488f5989a21f88ce716881b3a73 (patch) | |
tree | 334f9cd104df72dee089aa2be4d66b5b77a797be /classes | |
parent | 034d8f478c1542a22581aaf84d6780e01f4120b0 (diff) |
nslu2-image: Use apex to support larger images.
Diffstat (limited to 'classes')
-rw-r--r-- | classes/nslu2-image.bbclass | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/classes/nslu2-image.bbclass b/classes/nslu2-image.bbclass index a06c1d1468..662be2910a 100644 --- a/classes/nslu2-image.bbclass +++ b/classes/nslu2-image.bbclass @@ -3,6 +3,8 @@ nslu2_pack_image () { install -m 0644 ${STAGING_LIBDIR}/nslu2-binaries/RedBoot \ ${STAGING_LIBDIR}/nslu2-binaries/Trailer \ ${STAGING_LIBDIR}/nslu2-binaries/SysConf \ + ${STAGING_LOADER_DIR}/apex-nslu2.bin \ + ${STAGING_LOADER_DIR}/apex-nslu2-16mb.bin \ ${DEPLOY_DIR_IMAGE}/slug/ install -m 0644 ${DEPLOY_DIR_IMAGE}/zImage-nslu2${SITEINFO_ENDIANESS} \ ${DEPLOY_DIR_IMAGE}/slug/vmlinuz @@ -10,14 +12,14 @@ nslu2_pack_image () { ${DEPLOY_DIR_IMAGE}/slug/flashdisk.jffs2 install -m 0644 ${STAGING_FIRMWARE_DIR}/NPE-B ${DEPLOY_DIR_IMAGE}/slug/ cd ${DEPLOY_DIR_IMAGE}/slug - slugimage -p -b RedBoot -s SysConf -k vmlinuz \ - -r Ramdisk:1,Flashdisk:flashdisk.jffs2 -m NPE-B -t Trailer \ + slugimage -p -b RedBoot -s SysConf -k vmlinuz -L apex-nslu2.bin \ + -r Flashdisk:flashdisk.jffs2 -m NPE-B -t Trailer \ -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-nslu2.bin - slugimage -F -p -b RedBoot -s SysConf -k vmlinuz \ - -r Ramdisk:1,Flashdisk:flashdisk.jffs2 -m NPE-B -t Trailer \ + slugimage -F -p -b RedBoot -s SysConf -k vmlinuz -L apex-nslu2-16mb.bin \ + -r Flashdisk:flashdisk.jffs2 -m NPE-B -t Trailer \ -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-nslu2-16mb.bin rm -rf ${DEPLOY_DIR_IMAGE}/slug } -EXTRA_IMAGEDEPENDS_nslu2 += 'slugimage-native nslu2-linksys-firmware ixp4xx-npe upslug2-native' +EXTRA_IMAGEDEPENDS_nslu2 += 'slugimage-native nslu2-linksys-firmware ixp4xx-npe upslug2-native apex-nslu2 apex-nslu2-16mb' IMAGE_POSTPROCESS_COMMAND_nslu2 += "nslu2_pack_image; " |