rootfs: add /init to make ram boot working, use fakeboot, update README.md
This commit is contained in:
parent
71f9800e98
commit
8c760debc6
2
Makefile
2
Makefile
@ -14,7 +14,7 @@ all: kernel-axe-modules kernel
|
|||||||
#
|
#
|
||||||
|
|
||||||
fs.cpio:
|
fs.cpio:
|
||||||
tools/do_min_fs.py
|
fakeroot tools/do_min_fs.py
|
||||||
|
|
||||||
#
|
#
|
||||||
# kernel
|
# kernel
|
||||||
|
@ -1 +1,7 @@
|
|||||||
# satip-axe
|
# satip-axe
|
||||||
|
|
||||||
|
Requirements:
|
||||||
|
|
||||||
|
- git, python
|
||||||
|
- STLinux 2.4 (all-sh4-glibc) - http://www.stlinux.com - installed to /opt/STM/STLinux-2.4/
|
||||||
|
- fakeroot package/tools
|
||||||
|
@ -179,6 +179,9 @@ def setup_busybox():
|
|||||||
cmd = 'ln -s /bin/busybox fs/sbin/init'
|
cmd = 'ln -s /bin/busybox fs/sbin/init'
|
||||||
run_cmd(cmd)
|
run_cmd(cmd)
|
||||||
print cmd
|
print cmd
|
||||||
|
cmd = 'ln -s /sbin/init fs/init'
|
||||||
|
run_cmd(cmd)
|
||||||
|
print cmd
|
||||||
|
|
||||||
# init.d/rcS
|
# init.d/rcS
|
||||||
fd = open('fs/etc/init.d/rcS', 'wr')
|
fd = open('fs/etc/init.d/rcS', 'wr')
|
||||||
@ -291,7 +294,7 @@ def make_dev():
|
|||||||
print cmd
|
print cmd
|
||||||
run_cmd(cmd)
|
run_cmd(cmd)
|
||||||
|
|
||||||
run_cmd(' ln -s fs/dev/ram1 fs/dev/ram ')
|
run_cmd(' ln -s ram1 fs/dev/ram ')
|
||||||
|
|
||||||
#------------------------------------------------
|
#------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user