Date:2011-05-31 04:27:32 (12 years 9 months ago)
Author:Maarten ter Huurne
Commit:fd968b4880f22c2fa9512e5be0a22fd9336636b2
Message:OpenDingux: Add initrd

The initrd contents are specified using initrd/tree.txt. The gen_init_cpio
tool will parse that text file and generate a cpio archive.

splashkill is a simple program that is meant to be launched directly by the
kernel, before mininit. It forks itself and sleeps until the ENTER key is
pressed; when it occurs, it enables the framebuffer console by writting to
a file in /sys. This permits to 'kill' the kernel splash screen, in order
to display the boot log.

The source for the mininit and splashkill binaries can be found here:
https://github.com/Ayla-/mininit
Files: initrd/mininit (0 diffs)
initrd/splashkill (0 diffs)
initrd/tree.txt (1 diff)

Change Details

initrd/mininit
initrd/splashkill
initrd/tree.txt
1# device nodes:
2dir /dev 0755 0 0
3nod /dev/console 0644 0 0 c 5 1
4nod /dev/event0 0644 0 0 c 13 64
5nod /dev/loop0 0660 0 0 b 7 0
6nod /dev/ccnandb 0644 0 0 b 242 16
7nod /dev/ccnandb1 0644 0 0 b 242 17
8nod /dev/ccnandb2 0644 0 0 b 242 18
9nod /dev/ccnandb3 0644 0 0 b 242 19
10nod /dev/ccnandb4 0644 0 0 b 242 20
11nod /dev/ccnandb5 0644 0 0 b 242 21
12nod /dev/ccnandb6 0644 0 0 b 242 22
13nod /dev/ccnandb7 0644 0 0 b 242 23
14nod /dev/mmcblk0 0644 0 0 b 179 0
15nod /dev/mmcblk0p1 0644 0 0 b 179 1
16nod /dev/mmcblk0p2 0644 0 0 b 179 2
17nod /dev/mmcblk0p3 0644 0 0 b 179 3
18nod /dev/mmcblk0p4 0644 0 0 b 179 4
19nod /dev/mmcblk0p5 0644 0 0 b 179 5
20nod /dev/mmcblk0p6 0644 0 0 b 179 6
21nod /dev/mmcblk0p7 0644 0 0 b 179 7
22# mount points:
23dir /boot 0755 0 0
24dir /root 0755 0 0
25dir /proc 0755 0 0
26dir /sys 0755 0 0
27# mininit:
28file /init initrd/splashkill 0755 0 0
29file /mininit initrd/mininit 0755 0 0

Archive Download the corresponding diff file



interactive