diff options
author | Matt Reimer <mattjreimer@gmail.com> | 2006-08-17 18:46:59 +0000 |
---|---|---|
committer | Matt Reimer <mattjreimer@gmail.com> | 2006-08-17 18:46:59 +0000 |
commit | 21ebea1e2e218581fcbc73ceae2fd5aab5a9e98c (patch) | |
tree | 9685df91b07364f2f3401b31f45f9b6a01556b92 /packages | |
parent | cf6b8bd5524c57bff10e090df71c5f229d351050 (diff) |
LAB-kernel: Generate a LAB kernel suitable for flashing using the HTC
rescue bootloader. The kernel is installed to tmp/deploy/images and
its filename ends with .htc.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/linux/LAB-kernel/greatwall_header | bin | 0 -> 156 bytes | |||
-rw-r--r-- | packages/linux/LAB-kernel/greatwall_trailer | 1 | ||||
-rw-r--r-- | packages/linux/LAB-kernel_cvs.bb | 9 |
3 files changed, 8 insertions, 2 deletions
diff --git a/packages/linux/LAB-kernel/greatwall_header b/packages/linux/LAB-kernel/greatwall_header Binary files differnew file mode 100644 index 0000000000..8a9589627e --- /dev/null +++ b/packages/linux/LAB-kernel/greatwall_header diff --git a/packages/linux/LAB-kernel/greatwall_trailer b/packages/linux/LAB-kernel/greatwall_trailer new file mode 100644 index 0000000000..96f565db6b --- /dev/null +++ b/packages/linux/LAB-kernel/greatwall_trailer @@ -0,0 +1 @@ +HTCE
\ No newline at end of file diff --git a/packages/linux/LAB-kernel_cvs.bb b/packages/linux/LAB-kernel_cvs.bb index 156c26693b..aae29cd23f 100644 --- a/packages/linux/LAB-kernel_cvs.bb +++ b/packages/linux/LAB-kernel_cvs.bb @@ -15,7 +15,9 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/handhelds-pxa-${PV}" SRC_URI = "${HANDHELDS_CVS};module=linux/kernel26 \ file://initramfs_list \ - file://defconfig" + file://defconfig \ + file://greatwall_header \ + file://greatwall_trailer" S = "${WORKDIR}/kernel26" @@ -26,7 +28,7 @@ ALLOW_EMPTY_kernel-image_h2200 = 1 K_MAJOR = "2" K_MINOR = "6" -K_MICRO = "15" +K_MICRO = "16" HHV = "0" # @@ -47,6 +49,9 @@ do_configure() { 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() { |