leo: Added the initrd uncompressed

will try to add to the build process somehow to create the initrd.gz from this directory
This commit is contained in:
2011-09-04 11:59:04 +01:00
parent 491578e176
commit bde4c9ced6
377 changed files with 1376 additions and 0 deletions

14
initrd/Android.mk Normal file
View File

@@ -0,0 +1,14 @@
LOCAL_PATH := $(call my-dir)
INITRD_FILES := $(LOCAL_PATH)/initrd_files
INITRD_TARGET := $(LOCAL_PATH)/../initrd.gz
$(INITRD_TARGET) : $(INITRD_FILES)/init.htcleo.rc
@echo "Creating initrd in $@"
@rm -rf $@
$(hide) (cd $(INITRD_FILES) && find . | cpio --quiet -H newc -o | gzip -9 -c - > $@)
ALL_PREBUILT += $(INITRD_TARGET)
include $(BUILD_PREBUILT)

View File

@@ -0,0 +1,62 @@
#!/bin/sh
#mtd nodes
mkdir -m 0777 /dev/mtd
mknod -m 0666 /dev/mtd/mtd0 c 90 0
mknod -m 0666 /dev/mtd/mtd0ro c 90 1
mknod -m 0666 /dev/mtd/mtd1 c 90 2
mknod -m 0666 /dev/mtd/mtd1ro c 90 3
mknod -m 0666 /dev/mtd/mtd2 c 90 4
mknod -m 0666 /dev/mtd/mtd2ro c 90 5
mknod -m 0666 /dev/mtd/mtd3 c 90 6
mknod -m 0666 /dev/mtd/mtd3ro c 90 7
mknod -m 0666 /dev/mtd/mtd4 c 90 8
mknod -m 0666 /dev/mtd/mtd4ro c 90 9
mknod -m 0666 /dev/mtd/mtd5 c 90 10
mknod -m 0666 /dev/mtd/mtd5ro c 90 11
mknod -m 0666 /dev/mtd/mtd6 c 90 12
mknod -m 0666 /dev/mtd/mtd6ro c 90 13
mknod -m 0666 /dev/mtd/mtd7 c 90 14
mknod -m 0666 /dev/mtd/mtd7ro c 90 15
#block nodes
mkdir -m 0777 /dev/block
mknod -m 0666 /dev/block/loop0 b 7 0
mknod -m 0666 /dev/block/loop1 b 7 1
mknod -m 0666 /dev/block/loop2 b 7 2
#mtd block nodes
mknod -m 0666 /dev/block/mtdblock0 b 31 0
mknod -m 0666 /dev/block/mtdblock1 b 31 1
mknod -m 0666 /dev/block/mtdblock2 b 31 2
mknod -m 0666 /dev/block/mtdblock3 b 31 3
mknod -m 0666 /dev/block/mtdblock4 b 31 4
mknod -m 0666 /dev/block/mtdblock5 b 31 5
mknod -m 0666 /dev/block/mtdblock6 b 31 6
mknod -m 0666 /dev/block/mtdblock7 b 31 7
#sd block nodes
mknod -m 0666 /dev/block/mmcblk0 b 179 0
mknod -m 0666 /dev/block/mmcblk0p1 b 179 1
mknod -m 0666 /dev/block/mmcblk0p2 b 179 2
mknod -m 0666 /dev/block/mmcblk0p3 b 179 3
mknod -m 0666 /dev/block/mmcblk0p4 b 179 4
#dev nodes
mkdir -m 0777 /dev/input
mknod -m 0644 /dev/input/event0 c 13 64
mknod -m 0644 /dev/input/event1 c 13 65
mknod -m 0644 /dev/input/event2 c 13 66
mknod -m 0644 /dev/input/event3 c 13 67
mknod -m 0666 /dev/null c 1 3
mknod -m 0444 /dev/zero c 1 5
mknod -m 0644 /dev/ppp0 c 108 0
mknod -m 0644 /dev/smd0 c 253 0
mknod -m 0644 /dev/smd1 c 253 1
#camera nodes
mkdir /dev/msm_camera
mknod /dev/msm_camera/control0 c 250 0
mknod /dev/msm_camera/config0 c 250 1
mknod /dev/msm_camera/frame0 c 250 2

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

1
initrd/initrd_files/bin/ar Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
initrd/initrd_files/bin/arp Symbolic link
View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

1
initrd/initrd_files/bin/ash Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
initrd/initrd_files/bin/awk Symbolic link
View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

BIN
initrd/initrd_files/bin/busybox Executable file

Binary file not shown.

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

1
initrd/initrd_files/bin/cal Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
initrd/initrd_files/bin/cat Symbolic link
View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

1
initrd/initrd_files/bin/cmp Symbolic link
View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

1
initrd/initrd_files/bin/cp Symbolic link
View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

1
initrd/initrd_files/bin/cut Symbolic link
View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

1
initrd/initrd_files/bin/dc Symbolic link
View File

@@ -0,0 +1 @@
busybox

1
initrd/initrd_files/bin/dd Symbolic link
View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

1
initrd/initrd_files/bin/df Symbolic link
View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

1
initrd/initrd_files/bin/du Symbolic link
View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

1
initrd/initrd_files/bin/ed Symbolic link
View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

1
initrd/initrd_files/bin/env Symbolic link
View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

View File

@@ -0,0 +1 @@
busybox

Some files were not shown because too many files have changed in this diff Show More