initframfs: W/A for boot with current platform images
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Wed, 23 Jan 2013 10:33:39 +0000 (19:33 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Wed, 23 Jan 2013 10:33:39 +0000 (19:33 +0900)
Until vdpram compatibility symlink - udev rules - is added on platform image, we should populate dpram manually.

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
ramfs/init

index 8f14404fe4efe1c7af3af1d64985d6eee5bc4a13..486c2f26641c5027a65242340a4fb070e23e2194 100644 (file)
@@ -51,6 +51,11 @@ echo "create device filesystem"
 # create device filesystem
 /bin/mkdir -p /new_root/dev
 /bin/mount -t devtmpfs devtmpfs /new_root/dev
+# FIXME: W/A for boot until udev rules on platform is applied
+/bin/mkdir -p /new_root/dev/dpram       
+/bin/mknod /new_root/dev/dpram/0 c 249 0        
+/bin/mknod /new_root/dev/dpram/1 c 249 1
+#
 /bin/mkdir -p /new_root/sys
 
 >${CONSOLE} <${CONSOLE} 2>&1