minix/drivers/ramdisk/proto
Ben Gras 5acaa0814f kernel, ramdisk: some boot unification
To use the new SD building script, Linux has to be configured with
loop.max_part=15 on the command line (or set at module load time)
to make the loopback device see the partitions.

This commit removes a lot of differences between the ARM and x86
boot ramdisk and rc scripts. It changes the ARM build from running
from ramdisk to requiring a full filesystem on the SD image and
booting into it.

	. ramdisk: remove some arm-only utilities only used for running
	  from the shell
	. remove ARM-only rc.arm, proto.arm.small, ttys and mylogin.sh
	  boot-time ramdisk files
	. change kernel to add "arch" variable so userland knows what
	  we're running on from sysenv
	. make ARM use the regular ramdisk rc file, changed to distinguish
	  i386-only and ARM-only drivers; requires rootdevname to be set
	. change /etc/rc and /usr/etc/rc to start i386-only drivers only on
	  i386 systems
	. change the kernel/arm to have a special case for the memory
	  driver to load it higher so it can be bigger
	. add uEnv.txt, cmdline.txt and a for now highly linux-dependent
	  SD preparation script arm_sdimage.sh to the git repository in
	  releasetools/

Change-Id: I68910ba4e96ee80f7a12b65e48b5d39b43ca6397
2013-03-07 14:29:27 +00:00

52 lines
890 B
Text

boot
0 0
d--755 0 0
bin d--755 0 0
#ifdef __i386__
cdprobe ---755 0 0 cdprobe
#endif
sysenv ---755 0 0 sysenv
#if RAMDISK_SMALL == 1
fsck.mfs ---755 0 0 fsck.mfs
#endif
mount ---755 0 0 mount
sh ---755 0 0 sh
service ---755 0 0 service
$
sbin d--755 0 0
#ifdef __i386__
floppy ---755 0 0 floppy
ahci ---755 0 0 ahci
virtio_blk ---755 0 0 virtio_blk
at_wini ---755 0 0 at_wini
#if RAMDISK_SMALL == 1
ext2 ---755 0 0 ext2
#endif
#endif
#ifdef __arm__
mmc ---755 0 0 mmc
#endif
mfs ---755 0 0 mfs
procfs ---755 0 0 procfs
$
usr d--755 0 0
bin d--755 0 0
loadramdisk ---755 0 0 loadramdisk
$
sbin d--755 0 0
#ifdef __i386__
#if RAMDISK_INC_ACPI == 1
acpi ---755 0 0 acpi
#endif
pci ---755 0 0 pci
#endif
$
$
dev d--755 0 0
#include "proto.dev"
$
#include "proto.common.etc"
#if RAMDISK_DYNAMIC == 1
#include "proto.common.dynamic"
#endif
$