All of lore.kernel.org
 help / color / mirror / Atom feed
* PATCH: make h2200-bootloader load & depend on mtdblock
@ 2008-07-23 23:48 Paul Eggleton
  2008-07-24  1:06 ` Rolf Leggewie
  2008-07-24  7:19 ` Koen Kooi
  0 siblings, 2 replies; 10+ messages in thread
From: Paul Eggleton @ 2008-07-23 23:48 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 262 bytes --]

Hi there,

The attached patch fixes bug 4451 by making h2200-bootloader depend on 
kernel-module-mtdblock and load the mtdblock module before attempting to use 
it.

http://bugs.openembedded.net/show_bug.cgi?id=4451

Does this look OK?

Cheers,
Paul

[-- Attachment #2: h2200-suspend-dev.patch --]
[-- Type: text/x-diff, Size: 969 bytes --]

#
# old_revision [87bf384fc6b31f73e5ad8bbd29b113adcc5cd9e0]
#
# patch "packages/h2200-bootloader/h2200-bootloader.bb"
#  from [d015a17dbeb17e4fef0f6d6df88a9ca9620cc88f]
#    to [80838c3d05408a49597b6fad5a441fecf5af0af7]
#
============================================================
--- packages/h2200-bootloader/h2200-bootloader.bb	d015a17dbeb17e4fef0f6d6df88a9ca9620cc88f
+++ packages/h2200-bootloader/h2200-bootloader.bb	80838c3d05408a49597b6fad5a441fecf5af0af7
@@ -1,6 +1,7 @@ DESCRIPTION = "Bootloader firmware extra
 DESCRIPTION = "Bootloader firmware extractor for the h2200 iPAQ"
+RDEPENDS = kernel-module-mtdblock
 ALLOW_EMPTY = "1"
-PR="r2"
+PR="r3"
 
 COMPATIBLE_MACHINE = "h2200"
 #it is a shell script, but lets protect the innocent some more
@@ -9,5 +10,6 @@ mkdir -p /lib/firmware
 pkg_postinst() {
 #!/bin/sh
 mkdir -p /lib/firmware
+modprobe mtdblock
 dd if=/dev/mtdblock0 of=/lib/firmware/h2200_bootloader.bin 2>/dev/null
 }

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-07-24 19:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-23 23:48 PATCH: make h2200-bootloader load & depend on mtdblock Paul Eggleton
2008-07-24  1:06 ` Rolf Leggewie
2008-07-24  7:19 ` Koen Kooi
2008-07-24  8:08   ` Paul Eggleton
2008-07-24  9:01     ` Koen Kooi
2008-07-24  9:08     ` Richard Purdie
2008-07-24 13:04       ` Udo van den Heuvel
2008-07-24 13:23         ` Richard Purdie
2008-07-24 13:43           ` Udo van den Heuvel
2008-07-24 19:50       ` Paul Eggleton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.