Skip to content

Commit

Permalink
Add v86d for uvesafb support.
Browse files Browse the repository at this point in the history
No more 60hz. Hooray!
  • Loading branch information
gittup committed Nov 30, 2012
1 parent 849d664 commit cea87aa
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,6 @@
[submodule "libdvdread"]
path = libdvdread
url = git://github.com/gittup/libdvdread.git
[submodule "v86d"]
path = v86d
url = git://github.com/gittup/v86d.git
3 changes: 3 additions & 0 deletions initrd/Tupfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include_rules
# TODO: would be nice to automatically generate this list somehow.
files-y += init
files-y += bin
files-y += sbin

files-y += bin/busybox
files-@(AR) += bin/ar
Expand Down Expand Up @@ -364,6 +365,8 @@ files-@(SND) += usr/share/alsa/alsa.conf
files-y += etc/passwd
files-y += etc/inittab

files-y += sbin/v86d

: bin/busybox |> !ln |> init
: $(files-y) $(files-m) |> ^ MKINITRD^ (for i in $(files-y) $(files-m); do echo $i; done) | cpio --quiet -o -H newc > %o |> initrd.cpio
: initrd.cpio |> ^ GZIP %o^ gzip -c %f > %o |> initrd
Expand Down
4 changes: 4 additions & 0 deletions initrd/etc/init.d/01-mknod.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
mknod /dev/mem c 1 1
chmod 640 /dev/mem
mknod /dev/null c 1 3
chmod 666 /dev/null
mknod /dev/zero c 1 5
mknod /dev/random c 1 8
mknod /dev/urandom c 1 9
mknod /dev/tty c 5 0
chmod 666 /dev/tty
mknod /dev/console c 5 1
chmod 600 /dev/console
mknod /dev/tty1 c 4 1
mknod /dev/tty2 c 4 2
mknod /dev/tty3 c 4 3
Expand Down
6 changes: 6 additions & 0 deletions initrd/sbin/Tupfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ifeq (@(GITTUP_INITRD),y)
include_rules

: $(GITTUP_ROOT)/v86d/v86d |> !cp |> v86d

endif
2 changes: 1 addition & 1 deletion linux
Submodule linux updated 1 files
+2 −0 drivers/connector/Tupfile
1 change: 1 addition & 0 deletions v86d
Submodule v86d added at 7f3e69

0 comments on commit cea87aa

Please sign in to comment.