summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/h2200-bootloader/.mtn2git_empty0
-rw-r--r--packages/h2200-bootloader/h2200-bootloader.bb10
2 files changed, 10 insertions, 0 deletions
diff --git a/packages/h2200-bootloader/.mtn2git_empty b/packages/h2200-bootloader/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/h2200-bootloader/.mtn2git_empty
diff --git a/packages/h2200-bootloader/h2200-bootloader.bb b/packages/h2200-bootloader/h2200-bootloader.bb
new file mode 100644
index 0000000000..bf41d9e10c
--- /dev/null
+++ b/packages/h2200-bootloader/h2200-bootloader.bb
@@ -0,0 +1,10 @@
+DESCRIPTION = "Bootloader firmware extractor for the h2200 iPAQ"
+RRECOMMENDS = "kernel-module-mtdblock kernel-module-hamcop-nand"
+ALLOW_EMPTY = "1"
+MAINTAINER = "Koen Kooi <koen@handhelds.org>"
+
+
+pkg_postinst() {
+#!/bin/sh
+modprobe mtdblock && mkdir -p /lib/firmware && modprobe hamcop_nand && dd if=/dev/mtdblock0 of=/lib/firmware/hamcop_bootloader.bin
+}