rescue bootloader. The kernel is installed to tmp/deploy/images and
its filename ends with .htc.
--- /dev/null
+HTCE
\ No newline at end of file
SRC_URI = "${HANDHELDS_CVS};module=linux/kernel26 \
file://initramfs_list \
- file://defconfig"
+ file://defconfig \
+ file://greatwall_header \
+ file://greatwall_trailer"
S = "${WORKDIR}/kernel26"
K_MAJOR = "2"
K_MINOR = "6"
-K_MICRO = "15"
+K_MICRO = "16"
HHV = "0"
#
do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}
install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/LAB-image-${MACHINE}
+
+ # Generate the HTC flavor, which must be a multiple of 512 bytes long.
+ cat ${WORKDIR}/greatwall_header arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${WORKDIR}/greatwall_trailer | dd conv=sync of=${DEPLOY_DIR_IMAGE}/LAB-image-${MACHINE}.htc
}
do_stage() {