diff options
author | Koen Kooi <koen@openembedded.org> | 2005-12-30 14:10:43 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-12-30 14:10:43 +0000 |
commit | 951dbf0e3eae5d580a5de9b7ef209b6bbe0d9b6e (patch) | |
tree | 9cf107e831505c3adeacabd5127db0991b2fe7ae | |
parent | be9def82d44c0fa52f4d53490579c2d049bcc2e0 (diff) |
h2200: machine and bootloader fixes
-rw-r--r-- | conf/machine/h2200.conf | 5 | ||||
-rw-r--r-- | packages/h2200-bootloader/h2200-bootloader.bb | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/conf/machine/h2200.conf b/conf/machine/h2200.conf index 533cd08092..354e3a9552 100644 --- a/conf/machine/h2200.conf +++ b/conf/machine/h2200.conf @@ -19,7 +19,7 @@ BOOTSTRAP_EXTRA_RRECOMMENDS = " ${@linux_module_packages('${H2200_MODULES}', d)} BOOTSTRAP_EXTRA_RDEPENDS_append = " h2200-bootloader kernel udev module-init-tools" #ship in rootfs: -H2200_MODULES = "g_ether g_serial g_file_storage sa1100-rtc apm pcmcia-core snd-pcm-oss snd-pxa2xx-i2sound pxa2xx_h2200 h2200_pm h2200_lcd h2200_kbd h2200_battery mq11xx_base mq1100fb samcop_adcts w1_ds2760 w1_samcop " +H2200_MODULES = "g_ether g_serial g_file_storage sa1100-rtc apm pcmcia-core snd-pcm-oss snd-h2200_audio pxa2xx_h2200 h2200_pm h2200_lcd h2200_kbd h2200_battery mq11xx_base mq1100fb samcop_adcts w1_ds2760 w1_samcop " #autoload on boot: @@ -31,10 +31,11 @@ module_autoload_mq1100fb = "mq1100fb" module_autoload_samcop_adcts = "samcop_adcts" module_autoload_samcop_sdi = "samcop_sdi" module_autoload_w1_ds2760 = "w1_ds2760" +module_autoload_w1_samcop = "w1_samcop" module_autoload_h2200_battery = "h2200_battery" module_autoload_hamcop_nand = "hamcop_nand" module_autoload_pxa2xx_h2200 = "pxa2xx_h2200" -module_autoload_snd-pxa2xx-i2sound= "snd-pxa2xx-i2sound" +module_autoload_snd_h2200_audio = "snd-h2200_audio" module_autoload_snd-pcm-oss = "snd-pcm-oss" SERIAL_CONSOLE = "115200 tts/0 vt100" diff --git a/packages/h2200-bootloader/h2200-bootloader.bb b/packages/h2200-bootloader/h2200-bootloader.bb index 9e97cd4ea9..e0fbcac75a 100644 --- a/packages/h2200-bootloader/h2200-bootloader.bb +++ b/packages/h2200-bootloader/h2200-bootloader.bb @@ -2,9 +2,12 @@ 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>" - +PR="r1" pkg_postinst() { #!/bin/sh -modprobe mtdblock; mkdir -p /lib/firmware ; modprobe hamcop_nand ; dd if=/dev/mtdblock0 of=/lib/firmware/hamcop_bootloader.bin +modprobe mtdblock +modprobe hamcop_nand +mkdir -p /lib/firmware +dd if=/dev/mtdblock0 of=/lib/firmware/hamcop_bootloader.bin } |