diff options
author | Koen Kooi <koen@openembedded.org> | 2009-01-30 14:42:26 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-01-30 14:42:26 +0100 |
commit | 267aa2df85c912acba5e56f5bb4629cd5326b051 (patch) | |
tree | eb29b611e1831b906b5db4c0e0b0dc70b768fb2a | |
parent | 9fba646c971c06e229355a0888511128101b20e1 (diff) |
initramfs-kexecboot-image: specify custom device tables from hx4700 and h2200 since those are from the pre dynamic mmc dark ages
-rw-r--r-- | packages/kexecboot/device_table-oldmmc.txt | 36 | ||||
-rw-r--r-- | packages/kexecboot/initramfs-kexecboot-image.bb | 4 |
2 files changed, 40 insertions, 0 deletions
diff --git a/packages/kexecboot/device_table-oldmmc.txt b/packages/kexecboot/device_table-oldmmc.txt new file mode 100644 index 0000000000..eb1fa6bf34 --- /dev/null +++ b/packages/kexecboot/device_table-oldmmc.txt @@ -0,0 +1,36 @@ +#<path> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count> +#/dev/mem c 640 0 0 1 1 0 0 - +# +#type can be one of: +# f A regular file +# d Directory +# c Character special device file +# b Block special device file +# p Fifo (named pipe) + +/dev d 755 0 0 - - - - - +/dev/initctl p 600 0 0 - - - - - +/dev/apm_bios c 660 0 46 10 134 - - - +/dev/fb0 c 600 0 0 29 0 - - - +/dev/hda b 660 0 6 3 0 - - - +/dev/hda b 660 0 6 3 1 1 1 20 +/dev/kmem c 640 0 15 1 2 - - - +/dev/mem c 640 0 15 1 1 - - - +/dev/null c 666 0 0 1 3 - - - +/dev/ram b 640 0 0 1 0 0 1 4 +/dev/tty c 662 0 5 5 0 - - - +/dev/tty c 666 0 5 4 0 0 1 9 +/dev/ttyS c 640 0 5 4 64 0 1 1 +/dev/ttySA c 640 0 5 204 5 0 1 1 +/dev/zero c 644 0 0 1 5 - - - +/dev/mtd c 660 0 6 90 0 0 2 8 +/dev/mtdblock b 640 0 0 31 0 0 1 8 +/dev/console c 662 0 5 5 1 - - - +/dev/random c 644 0 0 1 8 - - - +/dev/urandom c 644 0 0 1 9 - - - +/dev/ptmx c 644 0 0 5 2 - - - + +# mmc numbers are assigned dynamicly so if you have other dynamic assigned block devices it may be wrong +/dev/mmcblk0 b 660 0 6 254 0 - - - +/dev/mmcblk0p1 b 660 0 6 254 1 1 1 7 +/dev/event0 c 660 0 0 13 64 - - - diff --git a/packages/kexecboot/initramfs-kexecboot-image.bb b/packages/kexecboot/initramfs-kexecboot-image.bb index 6c3a76bf78..3fc3c93f3e 100644 --- a/packages/kexecboot/initramfs-kexecboot-image.bb +++ b/packages/kexecboot/initramfs-kexecboot-image.bb @@ -4,6 +4,10 @@ ONLINE_PACKAGE_MANAGEMENT = "none" IMAGE_FSTYPES += " cpio.gz" inherit image +# These devices need mmcblk* to be 254 instead of 179 +IMAGE_DEVICE_TABLES_hx4700 = "device_table-oldmmc.txt" +IMAGE_DEVICE_TABLES_h2200 = "device_table-oldmmc.txt" + export IMAGE_BASENAME = "initramfs-kexecboot-image" IMAGE_INSTALL = "kexecboot" |