[ramdisk] add cvitek pre-built ramdisk
Change-Id: Ic7d2046a23358129eaf621b5558984a64fa7361d
This commit is contained in:
19
ramdisk/README
Normal file
19
ramdisk/README
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
we have these folders in this repo:
|
||||||
|
|
||||||
|
prebuild:
|
||||||
|
to store header files and libraries for cross compling.
|
||||||
|
target:
|
||||||
|
file to build up a root filesystem. there are two subfolders:
|
||||||
|
1. common: for platform independent files
|
||||||
|
2. overlay: for platform dependent files
|
||||||
|
when building rootfs, files in overlay folder will be merged
|
||||||
|
into common folder.
|
||||||
|
|
||||||
|
|
||||||
|
tools:
|
||||||
|
bin and scritps for generating rootfs
|
||||||
|
|
||||||
|
configs:
|
||||||
|
we have two types of configuration file:
|
||||||
|
1. txt: for file list in ramdisk
|
||||||
|
2. its: for generating itb file
|
||||||
46
ramdisk/configs/cv180x/multi.its
Normal file
46
ramdisk/configs/cv180x/multi.its
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* U-Boot uImage source file with multiple kernels, ramdisks and FDT blobs
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
|
||||||
|
/ {
|
||||||
|
description = "Various kernels, ramdisks and FDT blobs";
|
||||||
|
#address-cells = <2>;
|
||||||
|
|
||||||
|
images {
|
||||||
|
kernel-1 {
|
||||||
|
description = "cvitek kernel";
|
||||||
|
data = /incbin/("./Image.gz");
|
||||||
|
type = "kernel";
|
||||||
|
arch = "arm64";
|
||||||
|
os = "linux";
|
||||||
|
compression = "gzip";
|
||||||
|
load = <0x0 0x80080000>;
|
||||||
|
entry = <0x0 0x80080000>;
|
||||||
|
hash-2 {
|
||||||
|
algo = "crc32";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
ramdisk-1 {
|
||||||
|
description = "cvitek ramdisk";
|
||||||
|
data = /incbin/("./rootfs.cpio.gz");
|
||||||
|
type = "ramdisk";
|
||||||
|
arch = "arm64";
|
||||||
|
os = "linux";
|
||||||
|
compression = "gzip";
|
||||||
|
load = <00000000>;
|
||||||
|
entry = <00000000>;
|
||||||
|
hash-1 {
|
||||||
|
algo = "crc32";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
/*FDT*/
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
/*CFG*/
|
||||||
|
|
||||||
|
};
|
||||||
33
ramdisk/configs/cv180x/onekernel_fixed_files.txt.sqsh
Normal file
33
ramdisk/configs/cv180x/onekernel_fixed_files.txt.sqsh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a real root system
|
||||||
|
|
||||||
|
file /init ../target/init.sh.sqsh 775 0 0
|
||||||
|
file /init_recovery ../target/init.sh.recoverysh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
file /root/cmdline.sh ../target/cmdline.sh 775 0 0
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
dir /usr 755 1000 1000
|
||||||
|
dir /usr/sbin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
file /usr/sbin/blkid ../target/usr/sbin/blkid 755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /bin/su /bin/busybox 755 0 0
|
||||||
|
slink /bin/mount /bin/busybox 755 0 0
|
||||||
|
slink /bin/umount /bin/busybox 755 0 0
|
||||||
|
slink /bin/findfs /bin/busybox 755 0 0
|
||||||
|
slink /bin/chown /bin/busybox 755 0 0
|
||||||
|
slink /bin/chmod /bin/busybox 755 0 0
|
||||||
|
slink /bin/switch_root /bin/busybox 755 0 0
|
||||||
37
ramdisk/configs/cv180x/overlayfs_fixed_files.txt.sqsh
Normal file
37
ramdisk/configs/cv180x/overlayfs_fixed_files.txt.sqsh
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a real root system
|
||||||
|
|
||||||
|
file /init ../target/init.sh.overlayfssh 775 0 0
|
||||||
|
file /init_recovery ../target/init.sh.recoverysh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
file /root/cmdline.sh ../target/cmdline.sh 775 0 0
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
dir /sbin 755 1000 1000
|
||||||
|
dir /usr 755 1000 1000
|
||||||
|
dir /usr/sbin 755 1000 1000
|
||||||
|
dir /usr/bin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
file /usr/sbin/blkid ../target/usr/sbin/blkid 755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /bin/su /bin/busybox 755 0 0
|
||||||
|
slink /bin/mount /bin/busybox 755 0 0
|
||||||
|
slink /bin/umount /bin/busybox 755 0 0
|
||||||
|
slink /bin/switch_root /bin/busybox 755 0 0
|
||||||
|
slink /bin/ubiattach /bin/busybox 755 0 0
|
||||||
|
slink /bin/ubimkvol /bin/busybox 755 0 0
|
||||||
|
slink /bin/cut /bin/busybox 755 0 0
|
||||||
|
slink /bin/mdev /bin/busybox 755 0 0
|
||||||
|
slink /bin/mkdir /bin/busybox 755 0 0
|
||||||
67
ramdisk/configs/cv180x/ramboot_fixed_files.txt
Normal file
67
ramdisk/configs/cv180x/ramboot_fixed_files.txt
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a minimal system
|
||||||
|
|
||||||
|
file /init ../target/init_ramboot.sh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /dev/shm 755 0 0
|
||||||
|
dir /dev/pts 755 0 0
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
file /bin/su ../target/bin/busybox 4755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /linuxrc /bin/busybox 755 0 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
dir /sbin 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
dir /run 755 0 0
|
||||||
|
dir /tmp 755 0 0
|
||||||
|
|
||||||
|
dir /var 755 0 0
|
||||||
|
dir /var/run 755 0 0
|
||||||
|
dir /var/log 755 0 0
|
||||||
|
dir /var/empty 755 0 0
|
||||||
|
|
||||||
|
dir /usr 755 0 0
|
||||||
|
dir /usr/lib 755 0 0
|
||||||
|
dir /usr/bin 755 0 0
|
||||||
|
dir /usr/sbin 755 0 0
|
||||||
|
dir /usr/local 755 0 0
|
||||||
|
dir /usr/local/bin 755 0 0
|
||||||
|
file /usr/local/bin/autologin ../target/usr/local/bin/autologin 755 1000 1000
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /etc/init.d 755 0 0
|
||||||
|
dir /etc/network 755 1000 1000
|
||||||
|
dir /etc/network/if-pre-up.d 755 1000 1000
|
||||||
|
dir /etc/network/if-up.d 755 1000 1000
|
||||||
|
dir /etc/network/if-down.d 755 1000 1000
|
||||||
|
dir /etc/network/if-post-down.d 755 1000 1000
|
||||||
|
file /etc/inittab ../target/etc/inittab 644 0 0
|
||||||
|
file /etc/fstab ../target/etc/fstab 644 0 0
|
||||||
|
file /etc/group ../target/etc/group 644 0 0
|
||||||
|
file /etc/passwd ../target/etc/passwd 644 0 0
|
||||||
|
file /etc/shadow ../target/etc/shadow 644 0 0
|
||||||
|
file /etc/hostname ../target/etc/hostname 644 0 0
|
||||||
|
file /etc/issue ../target/etc/issue 644 0 0
|
||||||
|
file /etc/os-release ../target/etc/os-release 644 0 0
|
||||||
|
file /etc/run_usb.sh ../target/etc/run_usb.sh 775 1000 1000
|
||||||
|
file /etc/uhubon.sh ../target/etc/uhubon.sh 775 1000 1000
|
||||||
|
file /etc/init.d/rcK ../target/etc/init.d/rcK 775 1000 1000
|
||||||
|
file /etc/init.d/rcS ../target/etc/init.d/rcS 755 0 0
|
||||||
|
file /etc/init.d/S00board ../target/etc/init.d/S00board 755 0 0
|
||||||
|
file /etc/mdev.conf ../target/etc/mdev.conf 644 0 0
|
||||||
|
|
||||||
|
dir /lib 755 0 0
|
||||||
|
|
||||||
29
ramdisk/configs/cv180x/sdboot_fixed_files.txt
Normal file
29
ramdisk/configs/cv180x/sdboot_fixed_files.txt
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a real root system
|
||||||
|
|
||||||
|
file /init ../target/init_sdboot.sh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /bin/su /bin/busybox 755 0 0
|
||||||
|
slink /bin/mount /bin/busybox 755 0 0
|
||||||
|
slink /bin/umount /bin/busybox 755 0 0
|
||||||
|
slink /bin/findfs /bin/busybox 755 0 0
|
||||||
|
slink /bin/chown /bin/busybox 755 0 0
|
||||||
|
slink /bin/chmod /bin/busybox 755 0 0
|
||||||
|
slink /bin/switch_root /bin/busybox 755 0 0
|
||||||
|
|
||||||
46
ramdisk/configs/cv181x/multi.its
Normal file
46
ramdisk/configs/cv181x/multi.its
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* U-Boot uImage source file with multiple kernels, ramdisks and FDT blobs
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
|
||||||
|
/ {
|
||||||
|
description = "Various kernels, ramdisks and FDT blobs";
|
||||||
|
#address-cells = <2>;
|
||||||
|
|
||||||
|
images {
|
||||||
|
kernel-1 {
|
||||||
|
description = "cvitek kernel";
|
||||||
|
data = /incbin/("./Image.gz");
|
||||||
|
type = "kernel";
|
||||||
|
arch = "arm64";
|
||||||
|
os = "linux";
|
||||||
|
compression = "gzip";
|
||||||
|
load = <0x0 0x80080000>;
|
||||||
|
entry = <0x0 0x80080000>;
|
||||||
|
hash-2 {
|
||||||
|
algo = "crc32";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
ramdisk-1 {
|
||||||
|
description = "cvitek ramdisk";
|
||||||
|
data = /incbin/("./rootfs.cpio.gz");
|
||||||
|
type = "ramdisk";
|
||||||
|
arch = "arm64";
|
||||||
|
os = "linux";
|
||||||
|
compression = "gzip";
|
||||||
|
load = <00000000>;
|
||||||
|
entry = <00000000>;
|
||||||
|
hash-1 {
|
||||||
|
algo = "crc32";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
/*FDT*/
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
/*CFG*/
|
||||||
|
|
||||||
|
};
|
||||||
33
ramdisk/configs/cv181x/onekernel_fixed_files.txt.sqsh
Normal file
33
ramdisk/configs/cv181x/onekernel_fixed_files.txt.sqsh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a real root system
|
||||||
|
|
||||||
|
file /init ../target/init.sh.sqsh 775 0 0
|
||||||
|
file /init_recovery ../target/init.sh.recoverysh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
file /root/cmdline.sh ../target/cmdline.sh 775 0 0
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
dir /usr 755 1000 1000
|
||||||
|
dir /usr/sbin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
file /usr/sbin/blkid ../target/usr/sbin/blkid 755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /bin/su /bin/busybox 755 0 0
|
||||||
|
slink /bin/mount /bin/busybox 755 0 0
|
||||||
|
slink /bin/umount /bin/busybox 755 0 0
|
||||||
|
slink /bin/findfs /bin/busybox 755 0 0
|
||||||
|
slink /bin/chown /bin/busybox 755 0 0
|
||||||
|
slink /bin/chmod /bin/busybox 755 0 0
|
||||||
|
slink /bin/switch_root /bin/busybox 755 0 0
|
||||||
37
ramdisk/configs/cv181x/overlayfs_fixed_files.txt.sqsh
Normal file
37
ramdisk/configs/cv181x/overlayfs_fixed_files.txt.sqsh
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a real root system
|
||||||
|
|
||||||
|
file /init ../target/init.sh.overlayfssh 775 0 0
|
||||||
|
file /init_recovery ../target/init.sh.recoverysh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
file /root/cmdline.sh ../target/cmdline.sh 775 0 0
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
dir /sbin 755 1000 1000
|
||||||
|
dir /usr 755 1000 1000
|
||||||
|
dir /usr/sbin 755 1000 1000
|
||||||
|
dir /usr/bin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
file /usr/sbin/blkid ../target/usr/sbin/blkid 755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /bin/su /bin/busybox 755 0 0
|
||||||
|
slink /bin/mount /bin/busybox 755 0 0
|
||||||
|
slink /bin/umount /bin/busybox 755 0 0
|
||||||
|
slink /bin/switch_root /bin/busybox 755 0 0
|
||||||
|
slink /bin/ubiattach /bin/busybox 755 0 0
|
||||||
|
slink /bin/ubimkvol /bin/busybox 755 0 0
|
||||||
|
slink /bin/cut /bin/busybox 755 0 0
|
||||||
|
slink /bin/mdev /bin/busybox 755 0 0
|
||||||
|
slink /bin/mkdir /bin/busybox 755 0 0
|
||||||
67
ramdisk/configs/cv181x/ramboot_fixed_files.txt
Normal file
67
ramdisk/configs/cv181x/ramboot_fixed_files.txt
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a minimal system
|
||||||
|
|
||||||
|
file /init ../target/init_ramboot.sh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /dev/shm 755 0 0
|
||||||
|
dir /dev/pts 755 0 0
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
file /bin/su ../target/bin/busybox 4755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /linuxrc /bin/busybox 755 0 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
dir /sbin 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
dir /run 755 0 0
|
||||||
|
dir /tmp 755 0 0
|
||||||
|
|
||||||
|
dir /var 755 0 0
|
||||||
|
dir /var/run 755 0 0
|
||||||
|
dir /var/log 755 0 0
|
||||||
|
dir /var/empty 755 0 0
|
||||||
|
|
||||||
|
dir /usr 755 0 0
|
||||||
|
dir /usr/lib 755 0 0
|
||||||
|
dir /usr/bin 755 0 0
|
||||||
|
dir /usr/sbin 755 0 0
|
||||||
|
dir /usr/local 755 0 0
|
||||||
|
dir /usr/local/bin 755 0 0
|
||||||
|
file /usr/local/bin/autologin ../target/usr/local/bin/autologin 755 1000 1000
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /etc/init.d 755 0 0
|
||||||
|
dir /etc/network 755 1000 1000
|
||||||
|
dir /etc/network/if-pre-up.d 755 1000 1000
|
||||||
|
dir /etc/network/if-up.d 755 1000 1000
|
||||||
|
dir /etc/network/if-down.d 755 1000 1000
|
||||||
|
dir /etc/network/if-post-down.d 755 1000 1000
|
||||||
|
file /etc/inittab ../target/etc/inittab 644 0 0
|
||||||
|
file /etc/fstab ../target/etc/fstab 644 0 0
|
||||||
|
file /etc/group ../target/etc/group 644 0 0
|
||||||
|
file /etc/passwd ../target/etc/passwd 644 0 0
|
||||||
|
file /etc/shadow ../target/etc/shadow 644 0 0
|
||||||
|
file /etc/hostname ../target/etc/hostname 644 0 0
|
||||||
|
file /etc/issue ../target/etc/issue 644 0 0
|
||||||
|
file /etc/os-release ../target/etc/os-release 644 0 0
|
||||||
|
file /etc/run_usb.sh ../target/etc/run_usb.sh 775 1000 1000
|
||||||
|
file /etc/uhubon.sh ../target/etc/uhubon.sh 775 1000 1000
|
||||||
|
file /etc/init.d/rcK ../target/etc/init.d/rcK 775 1000 1000
|
||||||
|
file /etc/init.d/rcS ../target/etc/init.d/rcS 755 0 0
|
||||||
|
file /etc/init.d/S00board ../target/etc/init.d/S00board 755 0 0
|
||||||
|
file /etc/mdev.conf ../target/etc/mdev.conf 644 0 0
|
||||||
|
|
||||||
|
dir /lib 755 0 0
|
||||||
|
|
||||||
29
ramdisk/configs/cv181x/sdboot_fixed_files.txt
Normal file
29
ramdisk/configs/cv181x/sdboot_fixed_files.txt
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a real root system
|
||||||
|
|
||||||
|
file /init ../target/init_sdboot.sh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /bin/su /bin/busybox 755 0 0
|
||||||
|
slink /bin/mount /bin/busybox 755 0 0
|
||||||
|
slink /bin/umount /bin/busybox 755 0 0
|
||||||
|
slink /bin/findfs /bin/busybox 755 0 0
|
||||||
|
slink /bin/chown /bin/busybox 755 0 0
|
||||||
|
slink /bin/chmod /bin/busybox 755 0 0
|
||||||
|
slink /bin/switch_root /bin/busybox 755 0 0
|
||||||
|
|
||||||
1
ramdisk/configs/cv1820
Symbolic link
1
ramdisk/configs/cv1820
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
cv1822
|
||||||
1
ramdisk/configs/cv1821
Symbolic link
1
ramdisk/configs/cv1821
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
cv1822
|
||||||
46
ramdisk/configs/cv1822/multi.its
Normal file
46
ramdisk/configs/cv1822/multi.its
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* U-Boot uImage source file with multiple kernels, ramdisks and FDT blobs
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
|
||||||
|
/ {
|
||||||
|
description = "Various kernels, ramdisks and FDT blobs";
|
||||||
|
#address-cells = <2>;
|
||||||
|
|
||||||
|
images {
|
||||||
|
kernel-1 {
|
||||||
|
description = "cvitek kernel";
|
||||||
|
data = /incbin/("./Image.gz");
|
||||||
|
type = "kernel";
|
||||||
|
arch = "arm64";
|
||||||
|
os = "linux";
|
||||||
|
compression = "gzip";
|
||||||
|
load = <0x0 0x80080000>;
|
||||||
|
entry = <0x0 0x80080000>;
|
||||||
|
hash-2 {
|
||||||
|
algo = "sha256";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
ramdisk-1 {
|
||||||
|
description = "cvitek ramdisk";
|
||||||
|
data = /incbin/("./rootfs.cpio.gz");
|
||||||
|
type = "ramdisk";
|
||||||
|
arch = "arm64";
|
||||||
|
os = "linux";
|
||||||
|
compression = "gzip";
|
||||||
|
load = <00000000>;
|
||||||
|
entry = <00000000>;
|
||||||
|
hash-1 {
|
||||||
|
algo = "sha256";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
/*FDT*/
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
/*CFG*/
|
||||||
|
|
||||||
|
};
|
||||||
33
ramdisk/configs/cv1822/onekernel_fixed_files.txt.sqsh
Normal file
33
ramdisk/configs/cv1822/onekernel_fixed_files.txt.sqsh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a real root system
|
||||||
|
|
||||||
|
file /init ../target/init.sh.sqsh 775 0 0
|
||||||
|
file /init_recovery ../target/init.sh.recoverysh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
file /root/cmdline.sh ../target/cmdline.sh 775 0 0
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
dir /usr 755 1000 1000
|
||||||
|
dir /usr/sbin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
file /usr/sbin/blkid ../target/usr/sbin/blkid 755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /bin/su /bin/busybox 755 0 0
|
||||||
|
slink /bin/mount /bin/busybox 755 0 0
|
||||||
|
slink /bin/umount /bin/busybox 755 0 0
|
||||||
|
slink /bin/findfs /bin/busybox 755 0 0
|
||||||
|
slink /bin/chown /bin/busybox 755 0 0
|
||||||
|
slink /bin/chmod /bin/busybox 755 0 0
|
||||||
|
slink /bin/switch_root /bin/busybox 755 0 0
|
||||||
37
ramdisk/configs/cv1822/overlayfs_fixed_files.txt.sqsh
Normal file
37
ramdisk/configs/cv1822/overlayfs_fixed_files.txt.sqsh
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a real root system
|
||||||
|
|
||||||
|
file /init ../target/init.sh.overlayfssh 775 0 0
|
||||||
|
file /init_recovery ../target/init.sh.recoverysh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
file /root/cmdline.sh ../target/cmdline.sh 775 0 0
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
dir /sbin 755 1000 1000
|
||||||
|
dir /usr 755 1000 1000
|
||||||
|
dir /usr/sbin 755 1000 1000
|
||||||
|
dir /usr/bin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
file /usr/sbin/blkid ../target/usr/sbin/blkid 755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /bin/su /bin/busybox 755 0 0
|
||||||
|
slink /bin/mount /bin/busybox 755 0 0
|
||||||
|
slink /bin/umount /bin/busybox 755 0 0
|
||||||
|
slink /bin/switch_root /bin/busybox 755 0 0
|
||||||
|
slink /bin/ubiattach /bin/busybox 755 0 0
|
||||||
|
slink /bin/ubimkvol /bin/busybox 755 0 0
|
||||||
|
slink /bin/cut /bin/busybox 755 0 0
|
||||||
|
slink /bin/mdev /bin/busybox 755 0 0
|
||||||
|
slink /bin/mkdir /bin/busybox 755 0 0
|
||||||
66
ramdisk/configs/cv1822/ramboot_fixed_files.txt
Normal file
66
ramdisk/configs/cv1822/ramboot_fixed_files.txt
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a minimal system
|
||||||
|
|
||||||
|
file /init ../target/init_ramboot.sh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /dev/shm 755 0 0
|
||||||
|
dir /dev/pts 755 0 0
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
file /bin/su ../target/bin/busybox 4755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /linuxrc /bin/busybox 755 0 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
dir /sbin 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
dir /run 755 0 0
|
||||||
|
dir /tmp 755 0 0
|
||||||
|
|
||||||
|
dir /var 755 0 0
|
||||||
|
dir /var/run 755 0 0
|
||||||
|
dir /var/log 755 0 0
|
||||||
|
dir /var/empty 755 0 0
|
||||||
|
|
||||||
|
dir /usr 755 0 0
|
||||||
|
dir /usr/lib 755 0 0
|
||||||
|
dir /usr/bin 755 0 0
|
||||||
|
dir /usr/sbin 755 0 0
|
||||||
|
dir /usr/local 755 0 0
|
||||||
|
dir /usr/local/bin 755 0 0
|
||||||
|
file /usr/local/bin/autologin ../target/usr/local/bin/autologin 755 1000 1000
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /etc/init.d 755 0 0
|
||||||
|
dir /etc/network 755 1000 1000
|
||||||
|
dir /etc/network/if-pre-up.d 755 1000 1000
|
||||||
|
dir /etc/network/if-up.d 755 1000 1000
|
||||||
|
dir /etc/network/if-down.d 755 1000 1000
|
||||||
|
dir /etc/network/if-post-down.d 755 1000 1000
|
||||||
|
file /etc/inittab ../target/etc/inittab 644 0 0
|
||||||
|
file /etc/fstab ../target/etc/fstab 644 0 0
|
||||||
|
file /etc/group ../target/etc/group 644 0 0
|
||||||
|
file /etc/passwd ../target/etc/passwd 644 0 0
|
||||||
|
file /etc/shadow ../target/etc/shadow 644 0 0
|
||||||
|
file /etc/hostname ../target/etc/hostname 644 0 0
|
||||||
|
file /etc/issue ../target/etc/issue 644 0 0
|
||||||
|
file /etc/os-release ../target/etc/os-release 644 0 0
|
||||||
|
file /etc/run_usb.sh ../target/etc/run_usb.sh 775 1000 1000
|
||||||
|
file /etc/uhubon.sh ../target/etc/uhubon.sh 775 1000 1000
|
||||||
|
file /etc/init.d/rcK ../target/etc/init.d/rcK 775 1000 1000
|
||||||
|
file /etc/init.d/rcS ../target/etc/init.d/rcS 755 0 0
|
||||||
|
file /etc/mdev.conf ../target/etc/mdev.conf 644 0 0
|
||||||
|
|
||||||
|
dir /lib 755 0 0
|
||||||
|
|
||||||
29
ramdisk/configs/cv1822/sdboot_fixed_files.txt
Normal file
29
ramdisk/configs/cv1822/sdboot_fixed_files.txt
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a real root system
|
||||||
|
|
||||||
|
file /init ../target/init_sdboot.sh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /bin/su /bin/busybox 755 0 0
|
||||||
|
slink /bin/mount /bin/busybox 755 0 0
|
||||||
|
slink /bin/umount /bin/busybox 755 0 0
|
||||||
|
slink /bin/findfs /bin/busybox 755 0 0
|
||||||
|
slink /bin/chown /bin/busybox 755 0 0
|
||||||
|
slink /bin/chmod /bin/busybox 755 0 0
|
||||||
|
slink /bin/switch_root /bin/busybox 755 0 0
|
||||||
|
|
||||||
1
ramdisk/configs/cv1823
Symbolic link
1
ramdisk/configs/cv1823
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
cv1822
|
||||||
1
ramdisk/configs/cv1825
Symbolic link
1
ramdisk/configs/cv1825
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
cv1822
|
||||||
1
ramdisk/configs/cv1826
Symbolic link
1
ramdisk/configs/cv1826
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
cv1822
|
||||||
1
ramdisk/configs/cv1829
Symbolic link
1
ramdisk/configs/cv1829
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
cv1835
|
||||||
1
ramdisk/configs/cv1832
Symbolic link
1
ramdisk/configs/cv1832
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
cv1835
|
||||||
1
ramdisk/configs/cv1835/32bit
Symbolic link
1
ramdisk/configs/cv1835/32bit
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
uclibc
|
||||||
44
ramdisk/configs/cv1835/multi.its
Normal file
44
ramdisk/configs/cv1835/multi.its
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
/*
|
||||||
|
* U-Boot uImage source file with multiple kernels, ramdisks and FDT blobs
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
|
||||||
|
/ {
|
||||||
|
description = "Various kernels, ramdisks and FDT blobs";
|
||||||
|
#address-cells = <2>;
|
||||||
|
|
||||||
|
images {
|
||||||
|
kernel-1 {
|
||||||
|
description = "cvitek kernel";
|
||||||
|
data = /incbin/("./Image.gz");
|
||||||
|
type = "kernel";
|
||||||
|
arch = "arm64";
|
||||||
|
os = "linux";
|
||||||
|
compression = "gzip";
|
||||||
|
load = <0x1 0x00080000>;
|
||||||
|
entry = <0x1 0x00080000>;
|
||||||
|
hash-2 {
|
||||||
|
algo = "sha256";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
ramdisk-1 {
|
||||||
|
description = "cvitek ramdisk";
|
||||||
|
data = /incbin/("./rootfs.cpio.gz");
|
||||||
|
type = "ramdisk";
|
||||||
|
arch = "arm64";
|
||||||
|
os = "linux";
|
||||||
|
compression = "gzip";
|
||||||
|
load = <00000000>;
|
||||||
|
entry = <00000000>;
|
||||||
|
hash-1 {
|
||||||
|
algo = "sha256";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
/*FDT*/
|
||||||
|
};
|
||||||
|
|
||||||
|
/*CFG*/
|
||||||
|
};
|
||||||
33
ramdisk/configs/cv1835/onekernel_fixed_files.txt.sqsh
Normal file
33
ramdisk/configs/cv1835/onekernel_fixed_files.txt.sqsh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a real root system
|
||||||
|
|
||||||
|
file /init ../target/init.sh.sqsh 775 0 0
|
||||||
|
file /init_recovery ../target/init.sh.recoverysh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
file /root/cmdline.sh ../target/cmdline.sh 775 0 0
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
dir /usr 755 1000 1000
|
||||||
|
dir /usr/sbin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
file /usr/sbin/blkid ../target/usr/sbin/blkid 755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /bin/su /bin/busybox 755 0 0
|
||||||
|
slink /bin/mount /bin/busybox 755 0 0
|
||||||
|
slink /bin/umount /bin/busybox 755 0 0
|
||||||
|
slink /bin/findfs /bin/busybox 755 0 0
|
||||||
|
slink /bin/chown /bin/busybox 755 0 0
|
||||||
|
slink /bin/chmod /bin/busybox 755 0 0
|
||||||
|
slink /bin/switch_root /bin/busybox 755 0 0
|
||||||
37
ramdisk/configs/cv1835/overlayfs_fixed_files.txt.sqsh
Normal file
37
ramdisk/configs/cv1835/overlayfs_fixed_files.txt.sqsh
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a real root system
|
||||||
|
|
||||||
|
file /init ../target/init.sh.overlayfssh 775 0 0
|
||||||
|
file /init_recovery ../target/init.sh.recoverysh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
file /root/cmdline.sh ../target/cmdline.sh 775 0 0
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
dir /sbin 755 1000 1000
|
||||||
|
dir /usr 755 1000 1000
|
||||||
|
dir /usr/sbin 755 1000 1000
|
||||||
|
dir /usr/bin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
file /usr/sbin/blkid ../target/usr/sbin/blkid 755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /bin/su /bin/busybox 755 0 0
|
||||||
|
slink /bin/mount /bin/busybox 755 0 0
|
||||||
|
slink /bin/umount /bin/busybox 755 0 0
|
||||||
|
slink /bin/switch_root /bin/busybox 755 0 0
|
||||||
|
slink /bin/ubiattach /bin/busybox 755 0 0
|
||||||
|
slink /bin/ubimkvol /bin/busybox 755 0 0
|
||||||
|
slink /bin/cut /bin/busybox 755 0 0
|
||||||
|
slink /bin/mdev /bin/busybox 755 0 0
|
||||||
|
slink /bin/mkdir /bin/busybox 755 0 0
|
||||||
67
ramdisk/configs/cv1835/ramboot_fixed_files.txt
Normal file
67
ramdisk/configs/cv1835/ramboot_fixed_files.txt
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a minimal system
|
||||||
|
|
||||||
|
file /init ../target/init_ramboot.sh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /dev/shm 755 0 0
|
||||||
|
dir /dev/pts 755 0 0
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
file /bin/su ../target/bin/busybox 4755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /linuxrc /bin/busybox 755 0 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
dir /sbin 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
dir /run 755 0 0
|
||||||
|
dir /tmp 755 0 0
|
||||||
|
|
||||||
|
dir /var 755 0 0
|
||||||
|
dir /var/run 755 0 0
|
||||||
|
dir /var/log 755 0 0
|
||||||
|
dir /var/empty 755 0 0
|
||||||
|
|
||||||
|
dir /usr 755 0 0
|
||||||
|
dir /usr/lib 755 0 0
|
||||||
|
dir /usr/bin 755 0 0
|
||||||
|
dir /usr/sbin 755 0 0
|
||||||
|
dir /usr/local 755 0 0
|
||||||
|
dir /usr/local/bin 755 0 0
|
||||||
|
file /usr/local/bin/autologin ../target/usr/local/bin/autologin 755 1000 1000
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /etc/init.d 755 0 0
|
||||||
|
dir /etc/network 755 1000 1000
|
||||||
|
dir /etc/network/if-pre-up.d 755 1000 1000
|
||||||
|
dir /etc/network/if-up.d 755 1000 1000
|
||||||
|
dir /etc/network/if-down.d 755 1000 1000
|
||||||
|
dir /etc/network/if-post-down.d 755 1000 1000
|
||||||
|
file /etc/inittab ../target/etc/inittab 644 0 0
|
||||||
|
file /etc/fstab ../target/etc/fstab 644 0 0
|
||||||
|
file /etc/group ../target/etc/group 644 0 0
|
||||||
|
file /etc/passwd ../target/etc/passwd 644 0 0
|
||||||
|
file /etc/shadow ../target/etc/shadow 644 0 0
|
||||||
|
file /etc/hostname ../target/etc/hostname 644 0 0
|
||||||
|
file /etc/issue ../target/etc/issue 644 0 0
|
||||||
|
file /etc/os-release ../target/etc/os-release 644 0 0
|
||||||
|
file /etc/run_usb.sh ../target/etc/run_usb.sh 775 1000 1000
|
||||||
|
file /etc/uhubon.sh ../target/etc/uhubon.sh 775 1000 1000
|
||||||
|
file /etc/init.d/rcK ../target/etc/init.d/rcK 775 1000 1000
|
||||||
|
file /etc/init.d/rcS ../target/etc/init.d/rcS 755 0 0
|
||||||
|
file /etc/mdev.conf ../target/etc/mdev.conf 644 0 0
|
||||||
|
|
||||||
|
dir /lib 755 0 0
|
||||||
|
file /lib/ld-linux-aarch64.so.1 ../target/lib/ld-linux-aarch64.so.1 775 1000 1000
|
||||||
|
|
||||||
29
ramdisk/configs/cv1835/sdboot_fixed_files.txt
Normal file
29
ramdisk/configs/cv1835/sdboot_fixed_files.txt
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a real root system
|
||||||
|
|
||||||
|
file /init ../target/init_sdboot.sh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /bin/su /bin/busybox 755 0 0
|
||||||
|
slink /bin/mount /bin/busybox 755 0 0
|
||||||
|
slink /bin/umount /bin/busybox 755 0 0
|
||||||
|
slink /bin/findfs /bin/busybox 755 0 0
|
||||||
|
slink /bin/chown /bin/busybox 755 0 0
|
||||||
|
slink /bin/chmod /bin/busybox 755 0 0
|
||||||
|
slink /bin/switch_root /bin/busybox 755 0 0
|
||||||
|
|
||||||
67
ramdisk/configs/cv1835/uclibc/ramboot_fixed_files.txt
Normal file
67
ramdisk/configs/cv1835/uclibc/ramboot_fixed_files.txt
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a minimal system
|
||||||
|
|
||||||
|
file /init ../target/init_ramboot.sh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /dev/shm 755 0 0
|
||||||
|
dir /dev/pts 755 0 0
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
file /bin/su ../target/bin/busybox 4755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /linuxrc /bin/busybox 755 0 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
dir /sbin 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
dir /run 755 0 0
|
||||||
|
dir /tmp 755 0 0
|
||||||
|
|
||||||
|
dir /var 755 0 0
|
||||||
|
dir /var/run 755 0 0
|
||||||
|
dir /var/log 755 0 0
|
||||||
|
dir /var/empty 755 0 0
|
||||||
|
|
||||||
|
dir /usr 755 0 0
|
||||||
|
dir /usr/lib 755 0 0
|
||||||
|
dir /usr/bin 755 0 0
|
||||||
|
dir /usr/sbin 755 0 0
|
||||||
|
dir /usr/local 755 0 0
|
||||||
|
dir /usr/local/bin 755 0 0
|
||||||
|
file /usr/local/bin/autologin ../target/usr/local/bin/autologin 755 1000 1000
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /etc/init.d 755 0 0
|
||||||
|
dir /etc/network 755 1000 1000
|
||||||
|
dir /etc/network/if-pre-up.d 755 1000 1000
|
||||||
|
dir /etc/network/if-up.d 755 1000 1000
|
||||||
|
dir /etc/network/if-down.d 755 1000 1000
|
||||||
|
dir /etc/network/if-post-down.d 755 1000 1000
|
||||||
|
file /etc/inittab ../target/etc/inittab 644 0 0
|
||||||
|
file /etc/fstab ../target/etc/fstab 644 0 0
|
||||||
|
file /etc/group ../target/etc/group 644 0 0
|
||||||
|
file /etc/passwd ../target/etc/passwd 644 0 0
|
||||||
|
file /etc/shadow ../target/etc/shadow 644 0 0
|
||||||
|
file /etc/hostname ../target/etc/hostname 644 0 0
|
||||||
|
file /etc/issue ../target/etc/issue 644 0 0
|
||||||
|
file /etc/os-release ../target/etc/os-release 644 0 0
|
||||||
|
file /etc/run_usb.sh ../target/etc/run_usb.sh 775 1000 1000
|
||||||
|
file /etc/uhubon.sh ../target/etc/uhubon.sh 775 1000 1000
|
||||||
|
file /etc/init.d/rcK ../target/etc/init.d/rcK 775 1000 1000
|
||||||
|
file /etc/init.d/rcS ../target/etc/init.d/rcS 755 0 0
|
||||||
|
file /etc/mdev.conf ../target/etc/mdev.conf 644 0 0
|
||||||
|
|
||||||
|
dir /lib 755 0 0
|
||||||
|
#file /lib/ld-linux-aarch64.so.1 ../target/lib/ld-linux-aarch64.so.1 775 1000 1000
|
||||||
|
|
||||||
1
ramdisk/configs/cv1838
Symbolic link
1
ramdisk/configs/cv1838
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
cv1835
|
||||||
1
ramdisk/configs/cv7327
Symbolic link
1
ramdisk/configs/cv7327
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
cv1822
|
||||||
1
ramdisk/configs/cv7357
Symbolic link
1
ramdisk/configs/cv7357
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
cv1822
|
||||||
1
ramdisk/configs/cv7581
Symbolic link
1
ramdisk/configs/cv7581
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
cv1835
|
||||||
44
ramdisk/configs/cv9520/multi.its
Normal file
44
ramdisk/configs/cv9520/multi.its
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
/*
|
||||||
|
* U-Boot uImage source file with multiple kernels, ramdisks and FDT blobs
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
|
||||||
|
/ {
|
||||||
|
description = "Various kernels, ramdisks and FDT blobs";
|
||||||
|
#address-cells = <2>;
|
||||||
|
|
||||||
|
images {
|
||||||
|
kernel-1 {
|
||||||
|
description = "cvitek kernel";
|
||||||
|
data = /incbin/("./Image.gz");
|
||||||
|
type = "kernel";
|
||||||
|
arch = "arm64";
|
||||||
|
os = "linux";
|
||||||
|
compression = "gzip";
|
||||||
|
load = <0x1 0x00080000>;
|
||||||
|
entry = <0x1 0x00080000>;
|
||||||
|
hash-2 {
|
||||||
|
algo = "sha256";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
ramdisk-1 {
|
||||||
|
description = "cvitek ramdisk";
|
||||||
|
data = /incbin/("./rootfs.cpio.gz");
|
||||||
|
type = "ramdisk";
|
||||||
|
arch = "arm64";
|
||||||
|
os = "linux";
|
||||||
|
compression = "gzip";
|
||||||
|
load = <00000000>;
|
||||||
|
entry = <00000000>;
|
||||||
|
hash-1 {
|
||||||
|
algo = "sha256";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
/*FDT*/
|
||||||
|
};
|
||||||
|
|
||||||
|
/*CFG*/
|
||||||
|
};
|
||||||
34
ramdisk/configs/cv9520/onekernel_fixed_files.txt.sqsh
Normal file
34
ramdisk/configs/cv9520/onekernel_fixed_files.txt.sqsh
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a real root system
|
||||||
|
|
||||||
|
file /init ../target/init.sh.sqsh 775 0 0
|
||||||
|
file /init_recovery ../target/init.sh.recoverysh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
file /root/cmdline.sh ../target/cmdline.sh 775 0 0
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
dir /usr 755 1000 1000
|
||||||
|
dir /usr/sbin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
file /bin/e2fsck ../target/bin/e2fsck.static 755 0 0
|
||||||
|
file /usr/sbin/blkid ../target/usr/sbin/blkid 755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /bin/su /bin/busybox 755 0 0
|
||||||
|
slink /bin/mount /bin/busybox 755 0 0
|
||||||
|
slink /bin/umount /bin/busybox 755 0 0
|
||||||
|
slink /bin/findfs /bin/busybox 755 0 0
|
||||||
|
slink /bin/chown /bin/busybox 755 0 0
|
||||||
|
slink /bin/chmod /bin/busybox 755 0 0
|
||||||
|
slink /bin/switch_root /bin/busybox 755 0 0
|
||||||
37
ramdisk/configs/cv9520/overlayfs_fixed_files.txt.sqsh
Normal file
37
ramdisk/configs/cv9520/overlayfs_fixed_files.txt.sqsh
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a real root system
|
||||||
|
|
||||||
|
file /init ../target/init.sh.overlayfssh 775 0 0
|
||||||
|
file /init_recovery ../target/init.sh.recoverysh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
file /root/cmdline.sh ../target/cmdline.sh 775 0 0
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
dir /sbin 755 1000 1000
|
||||||
|
dir /usr 755 1000 1000
|
||||||
|
dir /usr/sbin 755 1000 1000
|
||||||
|
dir /usr/bin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
file /usr/sbin/blkid ../target/usr/sbin/blkid 755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /bin/su /bin/busybox 755 0 0
|
||||||
|
slink /bin/mount /bin/busybox 755 0 0
|
||||||
|
slink /bin/umount /bin/busybox 755 0 0
|
||||||
|
slink /bin/switch_root /bin/busybox 755 0 0
|
||||||
|
slink /bin/ubiattach /bin/busybox 755 0 0
|
||||||
|
slink /bin/ubimkvol /bin/busybox 755 0 0
|
||||||
|
slink /bin/cut /bin/busybox 755 0 0
|
||||||
|
slink /bin/mdev /bin/busybox 755 0 0
|
||||||
|
slink /bin/mkdir /bin/busybox 755 0 0
|
||||||
67
ramdisk/configs/cv9520/ramboot_fixed_files.txt
Normal file
67
ramdisk/configs/cv9520/ramboot_fixed_files.txt
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a minimal system
|
||||||
|
|
||||||
|
file /init ../target/init_ramboot.sh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /dev/shm 755 0 0
|
||||||
|
dir /dev/pts 755 0 0
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
file /bin/su ../target/bin/busybox 4755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /linuxrc /bin/busybox 755 0 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
dir /sbin 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
dir /run 755 0 0
|
||||||
|
dir /tmp 755 0 0
|
||||||
|
|
||||||
|
dir /var 755 0 0
|
||||||
|
dir /var/run 755 0 0
|
||||||
|
dir /var/log 755 0 0
|
||||||
|
dir /var/empty 755 0 0
|
||||||
|
|
||||||
|
dir /usr 755 0 0
|
||||||
|
dir /usr/lib 755 0 0
|
||||||
|
dir /usr/bin 755 0 0
|
||||||
|
dir /usr/sbin 755 0 0
|
||||||
|
dir /usr/local 755 0 0
|
||||||
|
dir /usr/local/bin 755 0 0
|
||||||
|
file /usr/local/bin/autologin ../target/usr/local/bin/autologin 755 1000 1000
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /etc/init.d 755 0 0
|
||||||
|
dir /etc/network 755 1000 1000
|
||||||
|
dir /etc/network/if-pre-up.d 755 1000 1000
|
||||||
|
dir /etc/network/if-up.d 755 1000 1000
|
||||||
|
dir /etc/network/if-down.d 755 1000 1000
|
||||||
|
dir /etc/network/if-post-down.d 755 1000 1000
|
||||||
|
file /etc/inittab ../target/etc/inittab 644 0 0
|
||||||
|
file /etc/fstab ../target/etc/fstab 644 0 0
|
||||||
|
file /etc/group ../target/etc/group 644 0 0
|
||||||
|
file /etc/passwd ../target/etc/passwd 644 0 0
|
||||||
|
file /etc/shadow ../target/etc/shadow 644 0 0
|
||||||
|
file /etc/hostname ../target/etc/hostname 644 0 0
|
||||||
|
file /etc/issue ../target/etc/issue 644 0 0
|
||||||
|
file /etc/os-release ../target/etc/os-release 644 0 0
|
||||||
|
file /etc/run_usb.sh ../target/etc/run_usb.sh 775 1000 1000
|
||||||
|
file /etc/uhubon.sh ../target/etc/uhubon.sh 775 1000 1000
|
||||||
|
file /etc/init.d/rcK ../target/etc/init.d/rcK 775 1000 1000
|
||||||
|
file /etc/init.d/rcS ../target/etc/init.d/rcS 755 0 0
|
||||||
|
file /etc/mdev.conf ../target/etc/mdev.conf 644 0 0
|
||||||
|
|
||||||
|
dir /lib 755 0 0
|
||||||
|
file /lib/ld-linux-aarch64.so.1 ../target/lib/ld-linux-aarch64.so.1 775 1000 1000
|
||||||
|
|
||||||
29
ramdisk/configs/cv9520/sdboot_fixed_files.txt
Normal file
29
ramdisk/configs/cv9520/sdboot_fixed_files.txt
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
|
||||||
|
#####################
|
||||||
|
# files to boot a real root system
|
||||||
|
|
||||||
|
file /init ../target/init_sdboot.sh 775 0 0
|
||||||
|
|
||||||
|
dir /dev 755 0 0
|
||||||
|
dir /etc 755 0 0
|
||||||
|
dir /proc 755 0 0
|
||||||
|
dir /sys 755 0 0
|
||||||
|
dir /mnt 755 0 0
|
||||||
|
|
||||||
|
nod /dev/console 644 0 0 c 5 1
|
||||||
|
|
||||||
|
dir /root 755 0 0
|
||||||
|
dir /home 755 0 0
|
||||||
|
dir /home/cvitek 755 1000 1000
|
||||||
|
|
||||||
|
dir /bin 755 1000 1000
|
||||||
|
file /bin/busybox ../target/bin/busybox 755 0 0
|
||||||
|
slink /bin/sh /bin/busybox 755 0 0
|
||||||
|
slink /bin/su /bin/busybox 755 0 0
|
||||||
|
slink /bin/mount /bin/busybox 755 0 0
|
||||||
|
slink /bin/umount /bin/busybox 755 0 0
|
||||||
|
slink /bin/findfs /bin/busybox 755 0 0
|
||||||
|
slink /bin/chown /bin/busybox 755 0 0
|
||||||
|
slink /bin/chmod /bin/busybox 755 0 0
|
||||||
|
slink /bin/switch_root /bin/busybox 755 0 0
|
||||||
|
|
||||||
2
ramdisk/initramfs/glibc_arm/bin/autologin
Executable file
2
ramdisk/initramfs/glibc_arm/bin/autologin
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
exec /bin/login -f root
|
||||||
BIN
ramdisk/initramfs/glibc_arm/bin/busybox
Executable file
BIN
ramdisk/initramfs/glibc_arm/bin/busybox
Executable file
Binary file not shown.
8
ramdisk/initramfs/glibc_arm/etc/fstab
Normal file
8
ramdisk/initramfs/glibc_arm/etc/fstab
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# <file system> <mount pt> <type> <options> <dump> <pass>
|
||||||
|
/dev/root / ext2 rw,noauto 0 1
|
||||||
|
proc /proc proc defaults 0 0
|
||||||
|
devpts /dev/pts devpts defaults,gid=5,mode=620,ptmxmode=0666 0 0
|
||||||
|
tmpfs /dev/shm tmpfs mode=0777 0 0
|
||||||
|
tmpfs /tmp tmpfs mode=1777 0 0
|
||||||
|
tmpfs /run tmpfs mode=0755,nosuid,nodev 0 0
|
||||||
|
sysfs /sys sysfs defaults 0 0
|
||||||
26
ramdisk/initramfs/glibc_arm/etc/group
Normal file
26
ramdisk/initramfs/glibc_arm/etc/group
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
root:x:0:
|
||||||
|
daemon:x:1:
|
||||||
|
bin:x:2:
|
||||||
|
sys:x:3:
|
||||||
|
adm:x:4:
|
||||||
|
tty:x:5:
|
||||||
|
disk:x:6:
|
||||||
|
lp:x:7:
|
||||||
|
mail:x:8:
|
||||||
|
kmem:x:9:
|
||||||
|
wheel:x:10:root
|
||||||
|
cdrom:x:11:
|
||||||
|
dialout:x:18:
|
||||||
|
floppy:x:19:
|
||||||
|
video:x:28:
|
||||||
|
audio:x:29:
|
||||||
|
tape:x:32:
|
||||||
|
www-data:x:33:
|
||||||
|
operator:x:37:
|
||||||
|
utmp:x:43:
|
||||||
|
plugdev:x:46:
|
||||||
|
staff:x:50:
|
||||||
|
lock:x:54:
|
||||||
|
netdev:x:82:
|
||||||
|
users:x:100:
|
||||||
|
nogroup:x:65534:
|
||||||
1
ramdisk/initramfs/glibc_arm/etc/hostname
Normal file
1
ramdisk/initramfs/glibc_arm/etc/hostname
Normal file
@ -0,0 +1 @@
|
|||||||
|
cvitek
|
||||||
2
ramdisk/initramfs/glibc_arm/etc/hosts
Normal file
2
ramdisk/initramfs/glibc_arm/etc/hosts
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
127.0.0.1 localhost
|
||||||
|
127.0.1.1 cvitek
|
||||||
56
ramdisk/initramfs/glibc_arm/etc/init.d/S01syslogd
Executable file
56
ramdisk/initramfs/glibc_arm/etc/init.d/S01syslogd
Executable file
@ -0,0 +1,56 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
${CVI_SHOPTS}
|
||||||
|
|
||||||
|
DAEMON="syslogd"
|
||||||
|
PIDFILE="/var/run/$DAEMON.pid"
|
||||||
|
|
||||||
|
SYSLOGD_ARGS=""
|
||||||
|
|
||||||
|
# shellcheck source=/dev/null
|
||||||
|
[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON"
|
||||||
|
|
||||||
|
# BusyBox' syslogd does not create a pidfile, so pass "-n" in the command line
|
||||||
|
# and use "-m" to instruct start-stop-daemon to create one.
|
||||||
|
start() {
|
||||||
|
printf 'Starting %s: ' "$DAEMON"
|
||||||
|
# shellcheck disable=SC2086 # we need the word splitting
|
||||||
|
start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/sbin/$DAEMON" \
|
||||||
|
-- -n $SYSLOGD_ARGS
|
||||||
|
status=$?
|
||||||
|
if [ "$status" -eq 0 ]; then
|
||||||
|
echo "OK"
|
||||||
|
else
|
||||||
|
echo "FAIL"
|
||||||
|
fi
|
||||||
|
return "$status"
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
printf 'Stopping %s: ' "$DAEMON"
|
||||||
|
start-stop-daemon -K -q -p "$PIDFILE"
|
||||||
|
status=$?
|
||||||
|
if [ "$status" -eq 0 ]; then
|
||||||
|
rm -f "$PIDFILE"
|
||||||
|
echo "OK"
|
||||||
|
else
|
||||||
|
echo "FAIL"
|
||||||
|
fi
|
||||||
|
return "$status"
|
||||||
|
}
|
||||||
|
|
||||||
|
restart() {
|
||||||
|
stop
|
||||||
|
sleep 1
|
||||||
|
start
|
||||||
|
}
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start|stop|restart)
|
||||||
|
"$1";;
|
||||||
|
reload)
|
||||||
|
# Restart, since there is no true "reload" feature.
|
||||||
|
restart;;
|
||||||
|
*)
|
||||||
|
echo "Usage: $0 {start|stop|restart|reload}"
|
||||||
|
exit 1
|
||||||
|
esac
|
||||||
56
ramdisk/initramfs/glibc_arm/etc/init.d/S02klogd
Executable file
56
ramdisk/initramfs/glibc_arm/etc/init.d/S02klogd
Executable file
@ -0,0 +1,56 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
${CVI_SHOPTS}
|
||||||
|
|
||||||
|
DAEMON="klogd"
|
||||||
|
PIDFILE="/var/run/$DAEMON.pid"
|
||||||
|
|
||||||
|
KLOGD_ARGS=""
|
||||||
|
|
||||||
|
# shellcheck source=/dev/null
|
||||||
|
[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON"
|
||||||
|
|
||||||
|
# BusyBox' klogd does not create a pidfile, so pass "-n" in the command line
|
||||||
|
# and use "-m" to instruct start-stop-daemon to create one.
|
||||||
|
start() {
|
||||||
|
printf 'Starting %s: ' "$DAEMON"
|
||||||
|
# shellcheck disable=SC2086 # we need the word splitting
|
||||||
|
start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/sbin/$DAEMON" \
|
||||||
|
-- -n $KLOGD_ARGS
|
||||||
|
status=$?
|
||||||
|
if [ "$status" -eq 0 ]; then
|
||||||
|
echo "OK"
|
||||||
|
else
|
||||||
|
echo "FAIL"
|
||||||
|
fi
|
||||||
|
return "$status"
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
printf 'Stopping %s: ' "$DAEMON"
|
||||||
|
start-stop-daemon -K -q -p "$PIDFILE"
|
||||||
|
status=$?
|
||||||
|
if [ "$status" -eq 0 ]; then
|
||||||
|
rm -f "$PIDFILE"
|
||||||
|
echo "OK"
|
||||||
|
else
|
||||||
|
echo "FAIL"
|
||||||
|
fi
|
||||||
|
return "$status"
|
||||||
|
}
|
||||||
|
|
||||||
|
restart() {
|
||||||
|
stop
|
||||||
|
sleep 1
|
||||||
|
start
|
||||||
|
}
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start|stop|restart)
|
||||||
|
"$1";;
|
||||||
|
reload)
|
||||||
|
# Restart, since there is no true "reload" feature.
|
||||||
|
restart;;
|
||||||
|
*)
|
||||||
|
echo "Usage: $0 {start|stop|restart|reload}"
|
||||||
|
exit 1
|
||||||
|
esac
|
||||||
95
ramdisk/initramfs/glibc_arm/etc/init.d/S02sysctl
Executable file
95
ramdisk/initramfs/glibc_arm/etc/init.d/S02sysctl
Executable file
@ -0,0 +1,95 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
${CVI_SHOPTS}
|
||||||
|
#
|
||||||
|
# This script is used by busybox and procps-ng.
|
||||||
|
#
|
||||||
|
# With procps-ng, the "--system" option of sysctl also enables "--ignore", so
|
||||||
|
# errors are not reported via syslog. Use the run_logger function to mimic the
|
||||||
|
# --system behavior, still reporting errors via syslog. Users not interested
|
||||||
|
# on error reports can add "-e" to SYSCTL_ARGS.
|
||||||
|
#
|
||||||
|
# busybox does not have a "--system" option neither reports errors via syslog,
|
||||||
|
# so the scripting provides a consistent behavior between the implementations.
|
||||||
|
# Testing the busybox sysctl exit code is fruitless, as at the moment, since
|
||||||
|
# its exit status is zero even if errors happen. Hopefully this will be fixed
|
||||||
|
# in a future busybox version.
|
||||||
|
|
||||||
|
PROGRAM="sysctl"
|
||||||
|
|
||||||
|
SYSCTL_ARGS=""
|
||||||
|
|
||||||
|
# shellcheck source=/dev/null
|
||||||
|
[ -r "/etc/default/$PROGRAM" ] && . "/etc/default/$PROGRAM"
|
||||||
|
|
||||||
|
# Files are read from directories in the SYSCTL_SOURCES list, in the given
|
||||||
|
# order. A file may be used more than once, since there can be multiple
|
||||||
|
# symlinks to it. No attempt is made to prevent this.
|
||||||
|
SYSCTL_SOURCES="/etc/sysctl.d/ /usr/local/lib/sysctl.d/ /usr/lib/sysctl.d/ /lib/sysctl.d/ /etc/sysctl.conf"
|
||||||
|
|
||||||
|
# If the logger utility is available all messages are sent to syslog, except
|
||||||
|
# for the final status. The file redirections do the following:
|
||||||
|
#
|
||||||
|
# - stdout is redirected to syslog with facility.level "kern.info"
|
||||||
|
# - stderr is redirected to syslog with facility.level "kern.err"
|
||||||
|
# - file dscriptor 4 is used to pass the result to the "start" function.
|
||||||
|
#
|
||||||
|
run_logger() {
|
||||||
|
# shellcheck disable=SC2086 # we need the word splitting
|
||||||
|
find $SYSCTL_SOURCES -maxdepth 1 -name '*.conf' -print0 2> /dev/null | \
|
||||||
|
xargs -0 -r -n 1 readlink -f | {
|
||||||
|
prog_status="OK"
|
||||||
|
while :; do
|
||||||
|
read -r file || {
|
||||||
|
echo "$prog_status" >&4
|
||||||
|
break
|
||||||
|
}
|
||||||
|
echo "* Applying $file ..."
|
||||||
|
/sbin/sysctl -p "$file" $SYSCTL_ARGS || prog_status="FAIL"
|
||||||
|
done 2>&1 >&3 | /usr/bin/logger -t sysctl -p kern.err
|
||||||
|
} 3>&1 | /usr/bin/logger -t sysctl -p kern.info
|
||||||
|
}
|
||||||
|
|
||||||
|
# If logger is not available all messages are sent to stdout/stderr.
|
||||||
|
run_std() {
|
||||||
|
# shellcheck disable=SC2086 # we need the word splitting
|
||||||
|
find $SYSCTL_SOURCES -maxdepth 1 -name '*.conf' -print0 2> /dev/null | \
|
||||||
|
xargs -0 -r -n 1 readlink -f | {
|
||||||
|
prog_status="OK"
|
||||||
|
while :; do
|
||||||
|
read -r file || {
|
||||||
|
echo "$prog_status" >&4
|
||||||
|
break
|
||||||
|
}
|
||||||
|
echo "* Applying $file ..."
|
||||||
|
/sbin/sysctl -p "$file" $SYSCTL_ARGS || prog_status="FAIL"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ -x /usr/bin/logger ]; then
|
||||||
|
run_program="run_logger"
|
||||||
|
else
|
||||||
|
run_program="run_std"
|
||||||
|
fi
|
||||||
|
|
||||||
|
start() {
|
||||||
|
printf '%s %s: ' "$1" "$PROGRAM"
|
||||||
|
status=$("$run_program" 4>&1)
|
||||||
|
echo "$status"
|
||||||
|
if [ "$status" = "OK" ]; then
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
start "Running";;
|
||||||
|
restart|reload)
|
||||||
|
start "Rerunning";;
|
||||||
|
stop)
|
||||||
|
:;;
|
||||||
|
*)
|
||||||
|
echo "Usage: $0 {start|stop|restart|reload}"
|
||||||
|
exit 1
|
||||||
|
esac
|
||||||
43
ramdisk/initramfs/glibc_arm/etc/init.d/S10mdev
Executable file
43
ramdisk/initramfs/glibc_arm/etc/init.d/S10mdev
Executable file
@ -0,0 +1,43 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
${CVI_SHOPTS}
|
||||||
|
#
|
||||||
|
# Run the mdev daemon
|
||||||
|
#
|
||||||
|
|
||||||
|
DAEMON="mdev"
|
||||||
|
PIDFILE="/var/run/$DAEMON.pid"
|
||||||
|
|
||||||
|
|
||||||
|
start() {
|
||||||
|
echo -n "Starting $DAEMON... "
|
||||||
|
start-stop-daemon -S -b -m -p $PIDFILE -x /sbin/mdev -- -df
|
||||||
|
[ $? -eq 0 ] && echo "OK" || echo "ERROR"
|
||||||
|
|
||||||
|
# coldplug modules
|
||||||
|
#find /sys/ -name modalias -print0 | \
|
||||||
|
# xargs -0 sort -u | \
|
||||||
|
# tr '\n' '\0' | \
|
||||||
|
# xargs -0 modprobe -abq
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
echo -n "Stopping $DAEMON... "
|
||||||
|
start-stop-daemon -K -p $PIDFILE
|
||||||
|
[ $? -eq 0 ] && echo "OK" || echo "ERROR"
|
||||||
|
}
|
||||||
|
|
||||||
|
restart() {
|
||||||
|
stop
|
||||||
|
start
|
||||||
|
}
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start|stop|restart)
|
||||||
|
"$1"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Usage: $0 {start|stop|restart}"
|
||||||
|
exit 1
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit $?
|
||||||
74
ramdisk/initramfs/glibc_arm/etc/init.d/S20urandom
Executable file
74
ramdisk/initramfs/glibc_arm/etc/init.d/S20urandom
Executable file
@ -0,0 +1,74 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
#
|
||||||
|
# Preserve the random seed between reboots. See urandom(4).
|
||||||
|
#
|
||||||
|
|
||||||
|
# Quietly do nothing if /dev/urandom does not exist
|
||||||
|
[ -c /dev/urandom ] || exit 0
|
||||||
|
|
||||||
|
URANDOM_SEED="/var/lib/random-seed"
|
||||||
|
|
||||||
|
# shellcheck source=/dev/null
|
||||||
|
[ -r "/etc/default/urandom" ] && . "/etc/default/urandom"
|
||||||
|
|
||||||
|
if pool_bits=$(cat /proc/sys/kernel/random/poolsize 2> /dev/null); then
|
||||||
|
pool_size=$((pool_bits/8))
|
||||||
|
else
|
||||||
|
pool_size=512
|
||||||
|
fi
|
||||||
|
|
||||||
|
check_file_size() {
|
||||||
|
[ -f "$URANDOM_SEED" ] || return 1
|
||||||
|
# Try to read two blocks but exactly one will be read if the file has
|
||||||
|
# the correct size.
|
||||||
|
size=$(dd if="$URANDOM_SEED" bs="$pool_size" count=2 2> /dev/null | wc -c)
|
||||||
|
test "$size" -eq "$pool_size"
|
||||||
|
}
|
||||||
|
|
||||||
|
init_rng() {
|
||||||
|
if check_file_size; then
|
||||||
|
printf 'Initializing random number generator: '
|
||||||
|
dd if="$URANDOM_SEED" bs="$pool_size" of=/dev/urandom count=1 2> /dev/null
|
||||||
|
status=$?
|
||||||
|
if [ "$status" -eq 0 ]; then
|
||||||
|
echo "OK"
|
||||||
|
else
|
||||||
|
echo "FAIL"
|
||||||
|
fi
|
||||||
|
return "$status"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
save_random_seed() {
|
||||||
|
printf 'Saving random seed: '
|
||||||
|
if touch "$URANDOM_SEED" 2> /dev/null; then
|
||||||
|
old_umask=$(umask)
|
||||||
|
umask 077
|
||||||
|
dd if=/dev/urandom of="$URANDOM_SEED" bs="$pool_size" count=1 2> /dev/null
|
||||||
|
status=$?
|
||||||
|
umask "$old_umask"
|
||||||
|
if [ "$status" -eq 0 ]; then
|
||||||
|
echo "OK"
|
||||||
|
else
|
||||||
|
echo "FAIL"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
status=$?
|
||||||
|
echo "SKIP (read-only file system detected)"
|
||||||
|
fi
|
||||||
|
return "$status"
|
||||||
|
}
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start|restart|reload)
|
||||||
|
# Carry a random seed from start-up to start-up
|
||||||
|
# Load and then save the whole entropy pool
|
||||||
|
init_rng && save_random_seed;;
|
||||||
|
stop)
|
||||||
|
# Carry a random seed from shut-down to start-up
|
||||||
|
# Save the whole entropy pool
|
||||||
|
save_random_seed;;
|
||||||
|
*)
|
||||||
|
echo "Usage: $0 {start|stop|restart|reload}"
|
||||||
|
exit 1
|
||||||
|
esac
|
||||||
31
ramdisk/initramfs/glibc_arm/etc/init.d/S40network
Executable file
31
ramdisk/initramfs/glibc_arm/etc/init.d/S40network
Executable file
@ -0,0 +1,31 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
${CVI_SHOPTS}
|
||||||
|
#
|
||||||
|
# Start the network....
|
||||||
|
#
|
||||||
|
|
||||||
|
# Debian ifupdown needs the /run/network lock directory
|
||||||
|
mkdir -p /run/network
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
printf "Starting network: "
|
||||||
|
/sbin/ifup -a
|
||||||
|
[ $? = 0 ] && echo "OK" || echo "FAIL"
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
printf "Stopping network: "
|
||||||
|
/sbin/ifdown -a
|
||||||
|
[ $? = 0 ] && echo "OK" || echo "FAIL"
|
||||||
|
;;
|
||||||
|
restart|reload)
|
||||||
|
"$0" stop
|
||||||
|
"$0" start
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Usage: $0 {start|stop|restart}"
|
||||||
|
exit 1
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit $?
|
||||||
|
|
||||||
28
ramdisk/initramfs/glibc_arm/etc/init.d/rcK
Executable file
28
ramdisk/initramfs/glibc_arm/etc/init.d/rcK
Executable file
@ -0,0 +1,28 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
${CVI_SHOPTS}
|
||||||
|
|
||||||
|
|
||||||
|
# Stop all init scripts in /etc/init.d
|
||||||
|
# executing them in reversed numerical order.
|
||||||
|
#
|
||||||
|
for i in $(ls -r /etc/init.d/S??*) ;do
|
||||||
|
|
||||||
|
# Ignore dangling symlinks (if any).
|
||||||
|
[ ! -f "$i" ] && continue
|
||||||
|
|
||||||
|
case "$i" in
|
||||||
|
*.sh)
|
||||||
|
# Source shell script for speed.
|
||||||
|
(
|
||||||
|
trap - INT QUIT TSTP
|
||||||
|
set stop
|
||||||
|
. $i
|
||||||
|
)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
# No sh extension, so fork subprocess.
|
||||||
|
$i stop
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
28
ramdisk/initramfs/glibc_arm/etc/init.d/rcS
Executable file
28
ramdisk/initramfs/glibc_arm/etc/init.d/rcS
Executable file
@ -0,0 +1,28 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
${CVI_SHOPTS}
|
||||||
|
|
||||||
|
|
||||||
|
# Start all init scripts in /etc/init.d
|
||||||
|
# executing them in numerical order.
|
||||||
|
#
|
||||||
|
for i in /etc/init.d/S??* ;do
|
||||||
|
|
||||||
|
# Ignore dangling symlinks (if any).
|
||||||
|
[ ! -f "$i" ] && continue
|
||||||
|
|
||||||
|
case "$i" in
|
||||||
|
*.sh)
|
||||||
|
# Source shell script for speed.
|
||||||
|
(
|
||||||
|
trap - INT QUIT TSTP
|
||||||
|
set start
|
||||||
|
. $i
|
||||||
|
)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
# No sh extension, so fork subprocess.
|
||||||
|
$i start
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
39
ramdisk/initramfs/glibc_arm/etc/inittab
Normal file
39
ramdisk/initramfs/glibc_arm/etc/inittab
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# /etc/inittab
|
||||||
|
#
|
||||||
|
# Copyright (C) 2001 Erik Andersen <andersen@codepoet.org>
|
||||||
|
#
|
||||||
|
# Note: BusyBox init doesn't support runlevels. The runlevels field is
|
||||||
|
# completely ignored by BusyBox init. If you want runlevels, use
|
||||||
|
# sysvinit.
|
||||||
|
#
|
||||||
|
# Format for each entry: <id>:<runlevels>:<action>:<process>
|
||||||
|
#
|
||||||
|
# id == tty to run on, or empty for /dev/console
|
||||||
|
# runlevels == ignored
|
||||||
|
# action == one of sysinit, respawn, askfirst, wait, and once
|
||||||
|
# process == program to run
|
||||||
|
|
||||||
|
# Startup the system
|
||||||
|
::sysinit:/bin/mount -t proc proc /proc
|
||||||
|
::sysinit:/bin/mount -o remount,rw /
|
||||||
|
::sysinit:/bin/mkdir -p /dev/pts /dev/shm
|
||||||
|
::sysinit:/bin/mount -a
|
||||||
|
::sysinit:/sbin/swapon -a
|
||||||
|
null::sysinit:/bin/ln -sf /proc/self/fd /dev/fd
|
||||||
|
null::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin
|
||||||
|
null::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout
|
||||||
|
null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr
|
||||||
|
::sysinit:/bin/hostname -F /etc/hostname
|
||||||
|
# now run any rc scripts
|
||||||
|
::sysinit:/etc/init.d/rcS
|
||||||
|
|
||||||
|
# Put a getty on the serial port
|
||||||
|
console::respawn:/sbin/getty -L console 115200 vt100 -n -l /usr/local/bin/autologin
|
||||||
|
|
||||||
|
# Stuff to do for the 3-finger salute
|
||||||
|
#::ctrlaltdel:/sbin/reboot
|
||||||
|
|
||||||
|
# Stuff to do before rebooting
|
||||||
|
::shutdown:/etc/init.d/rcK
|
||||||
|
::shutdown:/sbin/swapoff -a
|
||||||
|
::shutdown:/bin/umount -a -r
|
||||||
1
ramdisk/initramfs/glibc_arm/etc/issue
Normal file
1
ramdisk/initramfs/glibc_arm/etc/issue
Normal file
@ -0,0 +1 @@
|
|||||||
|
Welcome to Cvitek
|
||||||
39
ramdisk/initramfs/glibc_arm/etc/mdev.conf
Normal file
39
ramdisk/initramfs/glibc_arm/etc/mdev.conf
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# null may already exist; therefore ownership has to be changed with command
|
||||||
|
null root:root 666 @chmod 666 $MDEV
|
||||||
|
zero root:root 666
|
||||||
|
full root:root 666
|
||||||
|
random root:root 444
|
||||||
|
urandom root:root 444
|
||||||
|
hwrandom root:root 444
|
||||||
|
grsec root:root 660
|
||||||
|
|
||||||
|
kmem root:root 640
|
||||||
|
mem root:root 640
|
||||||
|
port root:root 640
|
||||||
|
# console may already exist; therefore ownership has to be changed with command
|
||||||
|
console root:tty 600 @chmod 600 $MDEV
|
||||||
|
ptmx root:tty 666
|
||||||
|
pty.* root:tty 660
|
||||||
|
|
||||||
|
# Typical devices
|
||||||
|
tty root:tty 666
|
||||||
|
tty[0-9]* root:tty 660
|
||||||
|
vcsa*[0-9]* root:tty 660
|
||||||
|
ttyS[0-9]* root:root 660
|
||||||
|
ttyUSB[0-9]* root:root 660
|
||||||
|
|
||||||
|
# alsa sound devices
|
||||||
|
snd/pcm.* root:audio 660
|
||||||
|
snd/control.* root:audio 660
|
||||||
|
snd/midi.* root:audio 660
|
||||||
|
snd/seq root:audio 660
|
||||||
|
snd/timer root:audio 660
|
||||||
|
|
||||||
|
# input stuff
|
||||||
|
input/event[0-9]+ root:root 640
|
||||||
|
input/mice root:root 640
|
||||||
|
input/mouse[0-9] root:root 640
|
||||||
|
input/ts[0-9] root:root 600
|
||||||
|
|
||||||
|
# load modules
|
||||||
|
$MODALIAS=.* root:root 660 @modprobe "$MODALIAS"
|
||||||
1
ramdisk/initramfs/glibc_arm/etc/mtab
Symbolic link
1
ramdisk/initramfs/glibc_arm/etc/mtab
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../proc/self/mounts
|
||||||
21
ramdisk/initramfs/glibc_arm/etc/network/if-pre-up.d/wait_iface
Executable file
21
ramdisk/initramfs/glibc_arm/etc/network/if-pre-up.d/wait_iface
Executable file
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# In case we have a slow-to-appear interface (e.g. eth-over-USB),
|
||||||
|
# and we need to configure it, wait until it appears, but not too
|
||||||
|
# long either. IF_WAIT_DELAY is in seconds.
|
||||||
|
|
||||||
|
if [ "${IF_WAIT_DELAY}" -a ! -e "/sys/class/net/${IFACE}" ]; then
|
||||||
|
printf "Waiting for interface %s to appear" "${IFACE}"
|
||||||
|
while [ ${IF_WAIT_DELAY} -gt 0 ]; do
|
||||||
|
if [ -e "/sys/class/net/${IFACE}" ]; then
|
||||||
|
printf "\n"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
sleep 1
|
||||||
|
printf "."
|
||||||
|
: $((IF_WAIT_DELAY -= 1))
|
||||||
|
done
|
||||||
|
printf " timeout!\n"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
4
ramdisk/initramfs/glibc_arm/etc/network/interfaces
Normal file
4
ramdisk/initramfs/glibc_arm/etc/network/interfaces
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# interface file auto-generated by buildroot
|
||||||
|
|
||||||
|
auto lo
|
||||||
|
iface lo inet loopback
|
||||||
20
ramdisk/initramfs/glibc_arm/etc/network/nfs_check
Executable file
20
ramdisk/initramfs/glibc_arm/etc/network/nfs_check
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# This allows NFS booting to work while also being able to configure
|
||||||
|
# the network interface via DHCP when not NFS booting. Otherwise, a
|
||||||
|
# NFS booted system will likely hang during DHCP configuration.
|
||||||
|
|
||||||
|
# Attempting to configure the network interface used for NFS will
|
||||||
|
# initially bring that network down. Since the root filesystem is
|
||||||
|
# accessed over this network, the system hangs.
|
||||||
|
|
||||||
|
# This script is run by ifup and will attempt to detect if a NFS root
|
||||||
|
# mount uses the interface to be configured (IFACE), and if so does
|
||||||
|
# not configure it. This should allow the same build to be disk/flash
|
||||||
|
# booted or NFS booted.
|
||||||
|
|
||||||
|
nfsip=`sed -n '/^[^ ]*:.* \/ nfs.*[ ,]addr=\([0-9.]\+\).*/s//\1/p' /proc/mounts`
|
||||||
|
if [ -n "$nfsip" ] && ip route get to "$nfsip" | grep -q "dev $IFACE"; then
|
||||||
|
echo Skipping $IFACE, used for NFS from $nfsip
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
13
ramdisk/initramfs/glibc_arm/etc/nsswitch.conf
Normal file
13
ramdisk/initramfs/glibc_arm/etc/nsswitch.conf
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# /etc/nsswitch.conf
|
||||||
|
|
||||||
|
passwd: files
|
||||||
|
group: files
|
||||||
|
shadow: files
|
||||||
|
|
||||||
|
hosts: files dns
|
||||||
|
networks: files dns
|
||||||
|
|
||||||
|
protocols: files
|
||||||
|
services: files
|
||||||
|
ethers: files
|
||||||
|
rpc: files
|
||||||
3
ramdisk/initramfs/glibc_arm/etc/os-release
Normal file
3
ramdisk/initramfs/glibc_arm/etc/os-release
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
NAME=CVITEK Linux
|
||||||
|
BUILD_ID=2019.10.01
|
||||||
|
PRETTY_NAME="Cvitek Linux initramfs"
|
||||||
9
ramdisk/initramfs/glibc_arm/etc/passwd
Normal file
9
ramdisk/initramfs/glibc_arm/etc/passwd
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
root:x:0:0:root:/root:/bin/sh
|
||||||
|
daemon:x:1:1:daemon:/usr/sbin:/bin/false
|
||||||
|
bin:x:2:2:bin:/bin:/bin/false
|
||||||
|
sys:x:3:3:sys:/dev:/bin/false
|
||||||
|
sync:x:4:100:sync:/bin:/bin/sync
|
||||||
|
mail:x:8:8:mail:/var/spool/mail:/bin/false
|
||||||
|
www-data:x:33:33:www-data:/var/www:/bin/false
|
||||||
|
operator:x:37:37:Operator:/var:/bin/false
|
||||||
|
nobody:x:65534:65534:nobody:/home:/bin/false
|
||||||
19
ramdisk/initramfs/glibc_arm/etc/profile
Normal file
19
ramdisk/initramfs/glibc_arm/etc/profile
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
export PATH="/bin:/sbin:/usr/bin:/usr/sbin"
|
||||||
|
|
||||||
|
if [ "$PS1" ]; then
|
||||||
|
if [ "`id -u`" -eq 0 ]; then
|
||||||
|
export PS1='# '
|
||||||
|
else
|
||||||
|
export PS1='$ '
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
export EDITOR='/bin/vi'
|
||||||
|
|
||||||
|
# Source configuration files from /etc/profile.d
|
||||||
|
for i in /etc/profile.d/*.sh ; do
|
||||||
|
if [ -r "$i" ]; then
|
||||||
|
. $i
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
unset i
|
||||||
1
ramdisk/initramfs/glibc_arm/etc/profile.d/umask.sh
Normal file
1
ramdisk/initramfs/glibc_arm/etc/profile.d/umask.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
umask 022
|
||||||
61
ramdisk/initramfs/glibc_arm/etc/protocols
Normal file
61
ramdisk/initramfs/glibc_arm/etc/protocols
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
# Internet (IP) protocols
|
||||||
|
#
|
||||||
|
# Updated from http://www.iana.org/assignments/protocol-numbers and other
|
||||||
|
# sources.
|
||||||
|
|
||||||
|
ip 0 IP # internet protocol, pseudo protocol number
|
||||||
|
hopopt 0 HOPOPT # IPv6 Hop-by-Hop Option [RFC1883]
|
||||||
|
icmp 1 ICMP # internet control message protocol
|
||||||
|
igmp 2 IGMP # Internet Group Management
|
||||||
|
ggp 3 GGP # gateway-gateway protocol
|
||||||
|
ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'')
|
||||||
|
st 5 ST # ST datagram mode
|
||||||
|
tcp 6 TCP # transmission control protocol
|
||||||
|
egp 8 EGP # exterior gateway protocol
|
||||||
|
igp 9 IGP # any private interior gateway (Cisco)
|
||||||
|
pup 12 PUP # PARC universal packet protocol
|
||||||
|
udp 17 UDP # user datagram protocol
|
||||||
|
hmp 20 HMP # host monitoring protocol
|
||||||
|
xns-idp 22 XNS-IDP # Xerox NS IDP
|
||||||
|
rdp 27 RDP # "reliable datagram" protocol
|
||||||
|
iso-tp4 29 ISO-TP4 # ISO Transport Protocol class 4 [RFC905]
|
||||||
|
dccp 33 DCCP # Datagram Congestion Control Prot. [RFC4340]
|
||||||
|
xtp 36 XTP # Xpress Transfer Protocol
|
||||||
|
ddp 37 DDP # Datagram Delivery Protocol
|
||||||
|
idpr-cmtp 38 IDPR-CMTP # IDPR Control Message Transport
|
||||||
|
ipv6 41 IPv6 # Internet Protocol, version 6
|
||||||
|
ipv6-route 43 IPv6-Route # Routing Header for IPv6
|
||||||
|
ipv6-frag 44 IPv6-Frag # Fragment Header for IPv6
|
||||||
|
idrp 45 IDRP # Inter-Domain Routing Protocol
|
||||||
|
rsvp 46 RSVP # Reservation Protocol
|
||||||
|
gre 47 GRE # General Routing Encapsulation
|
||||||
|
esp 50 IPSEC-ESP # Encap Security Payload [RFC2406]
|
||||||
|
ah 51 IPSEC-AH # Authentication Header [RFC2402]
|
||||||
|
skip 57 SKIP # SKIP
|
||||||
|
ipv6-icmp 58 IPv6-ICMP # ICMP for IPv6
|
||||||
|
ipv6-nonxt 59 IPv6-NoNxt # No Next Header for IPv6
|
||||||
|
ipv6-opts 60 IPv6-Opts # Destination Options for IPv6
|
||||||
|
rspf 73 RSPF CPHB # Radio Shortest Path First (officially CPHB)
|
||||||
|
vmtp 81 VMTP # Versatile Message Transport
|
||||||
|
eigrp 88 EIGRP # Enhanced Interior Routing Protocol (Cisco)
|
||||||
|
ospf 89 OSPFIGP # Open Shortest Path First IGP
|
||||||
|
ax.25 93 AX.25 # AX.25 frames
|
||||||
|
ipip 94 IPIP # IP-within-IP Encapsulation Protocol
|
||||||
|
etherip 97 ETHERIP # Ethernet-within-IP Encapsulation [RFC3378]
|
||||||
|
encap 98 ENCAP # Yet Another IP encapsulation [RFC1241]
|
||||||
|
# 99 # any private encryption scheme
|
||||||
|
pim 103 PIM # Protocol Independent Multicast
|
||||||
|
ipcomp 108 IPCOMP # IP Payload Compression Protocol
|
||||||
|
vrrp 112 VRRP # Virtual Router Redundancy Protocol [RFC5798]
|
||||||
|
l2tp 115 L2TP # Layer Two Tunneling Protocol [RFC2661]
|
||||||
|
isis 124 ISIS # IS-IS over IPv4
|
||||||
|
sctp 132 SCTP # Stream Control Transmission Protocol
|
||||||
|
fc 133 FC # Fibre Channel
|
||||||
|
mobility-header 135 Mobility-Header # Mobility Support for IPv6 [RFC3775]
|
||||||
|
udplite 136 UDPLite # UDP-Lite [RFC3828]
|
||||||
|
mpls-in-ip 137 MPLS-in-IP # MPLS-in-IP [RFC4023]
|
||||||
|
manet 138 # MANET Protocols [RFC5498]
|
||||||
|
hip 139 HIP # Host Identity Protocol
|
||||||
|
shim6 140 Shim6 # Shim6 Protocol [RFC5533]
|
||||||
|
wesp 141 WESP # Wrapped Encapsulating Security Payload
|
||||||
|
rohc 142 ROHC # Robust Header Compression
|
||||||
1
ramdisk/initramfs/glibc_arm/etc/resolv.conf
Symbolic link
1
ramdisk/initramfs/glibc_arm/etc/resolv.conf
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../tmp/resolv.conf
|
||||||
302
ramdisk/initramfs/glibc_arm/etc/services
Normal file
302
ramdisk/initramfs/glibc_arm/etc/services
Normal file
@ -0,0 +1,302 @@
|
|||||||
|
# /etc/services:
|
||||||
|
# $Id: services,v 1.1 2004/10/09 02:49:18 andersen Exp $
|
||||||
|
#
|
||||||
|
# Network services, Internet style
|
||||||
|
#
|
||||||
|
# Note that it is presently the policy of IANA to assign a single well-known
|
||||||
|
# port number for both TCP and UDP; hence, most entries here have two entries
|
||||||
|
# even if the protocol doesn't support UDP operations.
|
||||||
|
# Updated from RFC 1700, ``Assigned Numbers'' (October 1994). Not all ports
|
||||||
|
# are included, only the more common ones.
|
||||||
|
|
||||||
|
tcpmux 1/tcp # TCP port service multiplexer
|
||||||
|
echo 7/tcp
|
||||||
|
echo 7/udp
|
||||||
|
discard 9/tcp sink null
|
||||||
|
discard 9/udp sink null
|
||||||
|
systat 11/tcp users
|
||||||
|
daytime 13/tcp
|
||||||
|
daytime 13/udp
|
||||||
|
netstat 15/tcp
|
||||||
|
qotd 17/tcp quote
|
||||||
|
msp 18/tcp # message send protocol
|
||||||
|
msp 18/udp # message send protocol
|
||||||
|
chargen 19/tcp ttytst source
|
||||||
|
chargen 19/udp ttytst source
|
||||||
|
ftp-data 20/tcp
|
||||||
|
ftp 21/tcp
|
||||||
|
fsp 21/udp fspd
|
||||||
|
ssh 22/tcp # SSH Remote Login Protocol
|
||||||
|
ssh 22/udp # SSH Remote Login Protocol
|
||||||
|
telnet 23/tcp
|
||||||
|
# 24 - private
|
||||||
|
smtp 25/tcp mail
|
||||||
|
# 26 - unassigned
|
||||||
|
time 37/tcp timserver
|
||||||
|
time 37/udp timserver
|
||||||
|
rlp 39/udp resource # resource location
|
||||||
|
nameserver 42/tcp name # IEN 116
|
||||||
|
whois 43/tcp nicname
|
||||||
|
re-mail-ck 50/tcp # Remote Mail Checking Protocol
|
||||||
|
re-mail-ck 50/udp # Remote Mail Checking Protocol
|
||||||
|
domain 53/tcp nameserver # name-domain server
|
||||||
|
domain 53/udp nameserver
|
||||||
|
mtp 57/tcp # deprecated
|
||||||
|
bootps 67/tcp # BOOTP server
|
||||||
|
bootps 67/udp
|
||||||
|
bootpc 68/tcp # BOOTP client
|
||||||
|
bootpc 68/udp
|
||||||
|
tftp 69/udp
|
||||||
|
gopher 70/tcp # Internet Gopher
|
||||||
|
gopher 70/udp
|
||||||
|
rje 77/tcp netrjs
|
||||||
|
finger 79/tcp
|
||||||
|
www 80/tcp http # WorldWideWeb HTTP
|
||||||
|
www 80/udp # HyperText Transfer Protocol
|
||||||
|
link 87/tcp ttylink
|
||||||
|
kerberos 88/tcp kerberos5 krb5 # Kerberos v5
|
||||||
|
kerberos 88/udp kerberos5 krb5 # Kerberos v5
|
||||||
|
supdup 95/tcp
|
||||||
|
# 100 - reserved
|
||||||
|
hostnames 101/tcp hostname # usually from sri-nic
|
||||||
|
iso-tsap 102/tcp tsap # part of ISODE.
|
||||||
|
csnet-ns 105/tcp cso-ns # also used by CSO name server
|
||||||
|
csnet-ns 105/udp cso-ns
|
||||||
|
# unfortunately the poppassd (Eudora) uses a port which has already
|
||||||
|
# been assigned to a different service. We list the poppassd as an
|
||||||
|
# alias here. This should work for programs asking for this service.
|
||||||
|
# (due to a bug in inetd the 3com-tsmux line is disabled)
|
||||||
|
#3com-tsmux 106/tcp poppassd
|
||||||
|
#3com-tsmux 106/udp poppassd
|
||||||
|
rtelnet 107/tcp # Remote Telnet
|
||||||
|
rtelnet 107/udp
|
||||||
|
pop-2 109/tcp postoffice # POP version 2
|
||||||
|
pop-2 109/udp
|
||||||
|
pop-3 110/tcp # POP version 3
|
||||||
|
pop-3 110/udp
|
||||||
|
sunrpc 111/tcp portmapper # RPC 4.0 portmapper TCP
|
||||||
|
sunrpc 111/udp portmapper # RPC 4.0 portmapper UDP
|
||||||
|
auth 113/tcp authentication tap ident
|
||||||
|
sftp 115/tcp
|
||||||
|
uucp-path 117/tcp
|
||||||
|
nntp 119/tcp readnews untp # USENET News Transfer Protocol
|
||||||
|
ntp 123/tcp
|
||||||
|
ntp 123/udp # Network Time Protocol
|
||||||
|
netbios-ns 137/tcp # NETBIOS Name Service
|
||||||
|
netbios-ns 137/udp
|
||||||
|
netbios-dgm 138/tcp # NETBIOS Datagram Service
|
||||||
|
netbios-dgm 138/udp
|
||||||
|
netbios-ssn 139/tcp # NETBIOS session service
|
||||||
|
netbios-ssn 139/udp
|
||||||
|
imap2 143/tcp # Interim Mail Access Proto v2
|
||||||
|
imap2 143/udp
|
||||||
|
snmp 161/udp # Simple Net Mgmt Proto
|
||||||
|
snmp-trap 162/udp snmptrap # Traps for SNMP
|
||||||
|
cmip-man 163/tcp # ISO mgmt over IP (CMOT)
|
||||||
|
cmip-man 163/udp
|
||||||
|
cmip-agent 164/tcp
|
||||||
|
cmip-agent 164/udp
|
||||||
|
xdmcp 177/tcp # X Display Mgr. Control Proto
|
||||||
|
xdmcp 177/udp
|
||||||
|
nextstep 178/tcp NeXTStep NextStep # NeXTStep window
|
||||||
|
nextstep 178/udp NeXTStep NextStep # server
|
||||||
|
bgp 179/tcp # Border Gateway Proto.
|
||||||
|
bgp 179/udp
|
||||||
|
prospero 191/tcp # Cliff Neuman's Prospero
|
||||||
|
prospero 191/udp
|
||||||
|
irc 194/tcp # Internet Relay Chat
|
||||||
|
irc 194/udp
|
||||||
|
smux 199/tcp # SNMP Unix Multiplexer
|
||||||
|
smux 199/udp
|
||||||
|
at-rtmp 201/tcp # AppleTalk routing
|
||||||
|
at-rtmp 201/udp
|
||||||
|
at-nbp 202/tcp # AppleTalk name binding
|
||||||
|
at-nbp 202/udp
|
||||||
|
at-echo 204/tcp # AppleTalk echo
|
||||||
|
at-echo 204/udp
|
||||||
|
at-zis 206/tcp # AppleTalk zone information
|
||||||
|
at-zis 206/udp
|
||||||
|
qmtp 209/tcp # The Quick Mail Transfer Protocol
|
||||||
|
qmtp 209/udp # The Quick Mail Transfer Protocol
|
||||||
|
z3950 210/tcp wais # NISO Z39.50 database
|
||||||
|
z3950 210/udp wais
|
||||||
|
ipx 213/tcp # IPX
|
||||||
|
ipx 213/udp
|
||||||
|
imap3 220/tcp # Interactive Mail Access
|
||||||
|
imap3 220/udp # Protocol v3
|
||||||
|
ulistserv 372/tcp # UNIX Listserv
|
||||||
|
ulistserv 372/udp
|
||||||
|
https 443/tcp # MCom
|
||||||
|
https 443/udp # MCom
|
||||||
|
snpp 444/tcp # Simple Network Paging Protocol
|
||||||
|
snpp 444/udp # Simple Network Paging Protocol
|
||||||
|
saft 487/tcp # Simple Asynchronous File Transfer
|
||||||
|
saft 487/udp # Simple Asynchronous File Transfer
|
||||||
|
npmp-local 610/tcp dqs313_qmaster # npmp-local / DQS
|
||||||
|
npmp-local 610/udp dqs313_qmaster # npmp-local / DQS
|
||||||
|
npmp-gui 611/tcp dqs313_execd # npmp-gui / DQS
|
||||||
|
npmp-gui 611/udp dqs313_execd # npmp-gui / DQS
|
||||||
|
hmmp-ind 612/tcp dqs313_intercell# HMMP Indication / DQS
|
||||||
|
hmmp-ind 612/udp dqs313_intercell# HMMP Indication / DQS
|
||||||
|
#
|
||||||
|
# UNIX specific services
|
||||||
|
#
|
||||||
|
exec 512/tcp
|
||||||
|
biff 512/udp comsat
|
||||||
|
login 513/tcp
|
||||||
|
who 513/udp whod
|
||||||
|
shell 514/tcp cmd # no passwords used
|
||||||
|
syslog 514/udp
|
||||||
|
printer 515/tcp spooler # line printer spooler
|
||||||
|
talk 517/udp
|
||||||
|
ntalk 518/udp
|
||||||
|
route 520/udp router routed # RIP
|
||||||
|
timed 525/udp timeserver
|
||||||
|
tempo 526/tcp newdate
|
||||||
|
courier 530/tcp rpc
|
||||||
|
conference 531/tcp chat
|
||||||
|
netnews 532/tcp readnews
|
||||||
|
netwall 533/udp # -for emergency broadcasts
|
||||||
|
uucp 540/tcp uucpd # uucp daemon
|
||||||
|
afpovertcp 548/tcp # AFP over TCP
|
||||||
|
afpovertcp 548/udp # AFP over TCP
|
||||||
|
remotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem
|
||||||
|
klogin 543/tcp # Kerberized `rlogin' (v5)
|
||||||
|
kshell 544/tcp krcmd # Kerberized `rsh' (v5)
|
||||||
|
kerberos-adm 749/tcp # Kerberos `kadmin' (v5)
|
||||||
|
#
|
||||||
|
webster 765/tcp # Network dictionary
|
||||||
|
webster 765/udp
|
||||||
|
#
|
||||||
|
# From ``Assigned Numbers'':
|
||||||
|
#
|
||||||
|
#> The Registered Ports are not controlled by the IANA and on most systems
|
||||||
|
#> can be used by ordinary user processes or programs executed by ordinary
|
||||||
|
#> users.
|
||||||
|
#
|
||||||
|
#> Ports are used in the TCP [45,106] to name the ends of logical
|
||||||
|
#> connections which carry long term conversations. For the purpose of
|
||||||
|
#> providing services to unknown callers, a service contact port is
|
||||||
|
#> defined. This list specifies the port used by the server process as its
|
||||||
|
#> contact port. While the IANA can not control uses of these ports it
|
||||||
|
#> does register or list uses of these ports as a convienence to the
|
||||||
|
#> community.
|
||||||
|
#
|
||||||
|
nfsdstatus 1110/tcp
|
||||||
|
nfsd-keepalive 1110/udp
|
||||||
|
|
||||||
|
ingreslock 1524/tcp
|
||||||
|
ingreslock 1524/udp
|
||||||
|
prospero-np 1525/tcp # Prospero non-privileged
|
||||||
|
prospero-np 1525/udp
|
||||||
|
datametrics 1645/tcp old-radius # datametrics / old radius entry
|
||||||
|
datametrics 1645/udp old-radius # datametrics / old radius entry
|
||||||
|
sa-msg-port 1646/tcp old-radacct # sa-msg-port / old radacct entry
|
||||||
|
sa-msg-port 1646/udp old-radacct # sa-msg-port / old radacct entry
|
||||||
|
radius 1812/tcp # Radius
|
||||||
|
radius 1812/udp # Radius
|
||||||
|
radacct 1813/tcp # Radius Accounting
|
||||||
|
radacct 1813/udp # Radius Accounting
|
||||||
|
nfsd 2049/tcp nfs
|
||||||
|
nfsd 2049/udp nfs
|
||||||
|
cvspserver 2401/tcp # CVS client/server operations
|
||||||
|
cvspserver 2401/udp # CVS client/server operations
|
||||||
|
mysql 3306/tcp # MySQL
|
||||||
|
mysql 3306/udp # MySQL
|
||||||
|
rfe 5002/tcp # Radio Free Ethernet
|
||||||
|
rfe 5002/udp # Actually uses UDP only
|
||||||
|
cfengine 5308/tcp # CFengine
|
||||||
|
cfengine 5308/udp # CFengine
|
||||||
|
bbs 7000/tcp # BBS service
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Kerberos (Project Athena/MIT) services
|
||||||
|
# Note that these are for Kerberos v4, and are unofficial. Sites running
|
||||||
|
# v4 should uncomment these and comment out the v5 entries above.
|
||||||
|
#
|
||||||
|
kerberos4 750/udp kerberos-iv kdc # Kerberos (server) udp
|
||||||
|
kerberos4 750/tcp kerberos-iv kdc # Kerberos (server) tcp
|
||||||
|
kerberos_master 751/udp # Kerberos authentication
|
||||||
|
kerberos_master 751/tcp # Kerberos authentication
|
||||||
|
passwd_server 752/udp # Kerberos passwd server
|
||||||
|
krb_prop 754/tcp # Kerberos slave propagation
|
||||||
|
krbupdate 760/tcp kreg # Kerberos registration
|
||||||
|
kpasswd 761/tcp kpwd # Kerberos "passwd"
|
||||||
|
kpop 1109/tcp # Pop with Kerberos
|
||||||
|
knetd 2053/tcp # Kerberos de-multiplexor
|
||||||
|
zephyr-srv 2102/udp # Zephyr server
|
||||||
|
zephyr-clt 2103/udp # Zephyr serv-hm connection
|
||||||
|
zephyr-hm 2104/udp # Zephyr hostmanager
|
||||||
|
eklogin 2105/tcp # Kerberos encrypted rlogin
|
||||||
|
#
|
||||||
|
# Unofficial but necessary (for NetBSD) services
|
||||||
|
#
|
||||||
|
supfilesrv 871/tcp # SUP server
|
||||||
|
supfiledbg 1127/tcp # SUP debugging
|
||||||
|
#
|
||||||
|
# Datagram Delivery Protocol services
|
||||||
|
#
|
||||||
|
rtmp 1/ddp # Routing Table Maintenance Protocol
|
||||||
|
nbp 2/ddp # Name Binding Protocol
|
||||||
|
echo 4/ddp # AppleTalk Echo Protocol
|
||||||
|
zip 6/ddp # Zone Information Protocol
|
||||||
|
#
|
||||||
|
# Services added for the Debian GNU/Linux distribution
|
||||||
|
poppassd 106/tcp # Eudora
|
||||||
|
poppassd 106/udp # Eudora
|
||||||
|
mailq 174/tcp # Mailer transport queue for Zmailer
|
||||||
|
mailq 174/tcp # Mailer transport queue for Zmailer
|
||||||
|
omirr 808/tcp omirrd # online mirror
|
||||||
|
omirr 808/udp omirrd # online mirror
|
||||||
|
rmtcfg 1236/tcp # Gracilis Packeten remote config server
|
||||||
|
xtel 1313/tcp # french minitel
|
||||||
|
coda_opcons 1355/udp # Coda opcons (Coda fs)
|
||||||
|
coda_venus 1363/udp # Coda venus (Coda fs)
|
||||||
|
coda_auth 1357/udp # Coda auth (Coda fs)
|
||||||
|
coda_udpsrv 1359/udp # Coda udpsrv (Coda fs)
|
||||||
|
coda_filesrv 1361/udp # Coda filesrv (Coda fs)
|
||||||
|
codacon 1423/tcp venus.cmu # Coda Console (Coda fs)
|
||||||
|
coda_aux1 1431/tcp # coda auxiliary service (Coda fs)
|
||||||
|
coda_aux1 1431/udp # coda auxiliary service (Coda fs)
|
||||||
|
coda_aux2 1433/tcp # coda auxiliary service (Coda fs)
|
||||||
|
coda_aux2 1433/udp # coda auxiliary service (Coda fs)
|
||||||
|
coda_aux3 1435/tcp # coda auxiliary service (Coda fs)
|
||||||
|
coda_aux3 1435/udp # coda auxiliary service (Coda fs)
|
||||||
|
cfinger 2003/tcp # GNU Finger
|
||||||
|
afbackup 2988/tcp # Afbackup system
|
||||||
|
afbackup 2988/udp # Afbackup system
|
||||||
|
icp 3130/tcp # Internet Cache Protocol (Squid)
|
||||||
|
icp 3130/udp # Internet Cache Protocol (Squid)
|
||||||
|
postgres 5432/tcp # POSTGRES
|
||||||
|
postgres 5432/udp # POSTGRES
|
||||||
|
fax 4557/tcp # FAX transmission service (old)
|
||||||
|
hylafax 4559/tcp # HylaFAX client-server protocol (new)
|
||||||
|
noclog 5354/tcp # noclogd with TCP (nocol)
|
||||||
|
noclog 5354/udp # noclogd with UDP (nocol)
|
||||||
|
hostmon 5355/tcp # hostmon uses TCP (nocol)
|
||||||
|
hostmon 5355/udp # hostmon uses TCP (nocol)
|
||||||
|
ircd 6667/tcp # Internet Relay Chat
|
||||||
|
ircd 6667/udp # Internet Relay Chat
|
||||||
|
webcache 8080/tcp # WWW caching service
|
||||||
|
webcache 8080/udp # WWW caching service
|
||||||
|
tproxy 8081/tcp # Transparent Proxy
|
||||||
|
tproxy 8081/udp # Transparent Proxy
|
||||||
|
mandelspawn 9359/udp mandelbrot # network mandelbrot
|
||||||
|
amanda 10080/udp # amanda backup services
|
||||||
|
amandaidx 10082/tcp # amanda backup services
|
||||||
|
amidxtape 10083/tcp # amanda backup services
|
||||||
|
isdnlog 20011/tcp # isdn logging system
|
||||||
|
isdnlog 20011/udp # isdn logging system
|
||||||
|
vboxd 20012/tcp # voice box system
|
||||||
|
vboxd 20012/udp # voice box system
|
||||||
|
binkp 24554/tcp # Binkley
|
||||||
|
binkp 24554/udp # Binkley
|
||||||
|
asp 27374/tcp # Address Search Protocol
|
||||||
|
asp 27374/udp # Address Search Protocol
|
||||||
|
tfido 60177/tcp # Ifmail
|
||||||
|
tfido 60177/udp # Ifmail
|
||||||
|
fido 60179/tcp # Ifmail
|
||||||
|
fido 60179/udp # Ifmail
|
||||||
|
|
||||||
|
# Local services
|
||||||
|
|
||||||
9
ramdisk/initramfs/glibc_arm/etc/shadow
Normal file
9
ramdisk/initramfs/glibc_arm/etc/shadow
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
root:$5$YTzCDdNmxC$gmuA5mge2wxZDOO4TQgJ/1yOAMrRlXUZfSyLwxhBRg8:::::::
|
||||||
|
daemon:*:::::::
|
||||||
|
bin:*:::::::
|
||||||
|
sys:*:::::::
|
||||||
|
sync:*:::::::
|
||||||
|
mail:*:::::::
|
||||||
|
www-data:*:::::::
|
||||||
|
operator:*:::::::
|
||||||
|
nobody:*:::::::
|
||||||
2
ramdisk/initramfs/glibc_arm/etc/shells
Normal file
2
ramdisk/initramfs/glibc_arm/etc/shells
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
/bin/ash
|
||||||
|
/bin/sh
|
||||||
52
ramdisk/initramfs/glibc_arm/init_ramboot.sh
Executable file
52
ramdisk/initramfs/glibc_arm/init_ramboot.sh
Executable file
@ -0,0 +1,52 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
${CVI_SHOPTS}
|
||||||
|
|
||||||
|
# Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
|
||||||
|
#
|
||||||
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
# modification, are permitted provided that the following conditions are met:
|
||||||
|
#
|
||||||
|
# Redistributions of source code must retain the above copyright notice, this
|
||||||
|
# list of conditions and the following disclaimer.
|
||||||
|
#
|
||||||
|
# Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
# this list of conditions and the following disclaimer in the documentation
|
||||||
|
# and/or other materials provided with the distribution.
|
||||||
|
#
|
||||||
|
# Neither the name of ARM nor the names of its contributors may be used
|
||||||
|
# to endorse or promote products derived from this software without specific
|
||||||
|
# prior written permission.
|
||||||
|
#
|
||||||
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
||||||
|
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
|
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
|
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
|
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
#Mount filesystems needed by mount and mdev
|
||||||
|
/bin/busybox mount -t proc proc /proc
|
||||||
|
/bin/busybox mount -t sysfs sysfs /sys
|
||||||
|
echo "init_ramboot.sh"
|
||||||
|
|
||||||
|
#Create all the symlinks to /bin/busybox
|
||||||
|
/bin/busybox --install -s
|
||||||
|
chown root:root /bin/busybox
|
||||||
|
chown root:root /bin/su
|
||||||
|
chmod 4755 /bin/su
|
||||||
|
|
||||||
|
#Create things under /dev
|
||||||
|
mdev -s
|
||||||
|
|
||||||
|
#Redirect output
|
||||||
|
exec 0</dev/console
|
||||||
|
exec 1>/dev/console
|
||||||
|
exec 2>/dev/console
|
||||||
|
|
||||||
|
#Go!
|
||||||
|
exec /sbin/init $*
|
||||||
BIN
ramdisk/initramfs/glibc_arm/lib/ld-2.23.so
Executable file
BIN
ramdisk/initramfs/glibc_arm/lib/ld-2.23.so
Executable file
Binary file not shown.
1
ramdisk/initramfs/glibc_arm/lib/ld-linux-armhf.so.3
Symbolic link
1
ramdisk/initramfs/glibc_arm/lib/ld-linux-armhf.so.3
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
ld-2.23.so
|
||||||
BIN
ramdisk/initramfs/glibc_arm/lib/libanl-2.23.so
Executable file
BIN
ramdisk/initramfs/glibc_arm/lib/libanl-2.23.so
Executable file
Binary file not shown.
1
ramdisk/initramfs/glibc_arm/lib/libanl.so.1
Symbolic link
1
ramdisk/initramfs/glibc_arm/lib/libanl.so.1
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libanl-2.23.so
|
||||||
1
ramdisk/initramfs/glibc_arm/lib/libatomic.so.1
Symbolic link
1
ramdisk/initramfs/glibc_arm/lib/libatomic.so.1
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libatomic.so.1.2.0
|
||||||
BIN
ramdisk/initramfs/glibc_arm/lib/libatomic.so.1.2.0
Executable file
BIN
ramdisk/initramfs/glibc_arm/lib/libatomic.so.1.2.0
Executable file
Binary file not shown.
1
ramdisk/initramfs/glibc_arm/lib/libblkid.so.1
Symbolic link
1
ramdisk/initramfs/glibc_arm/lib/libblkid.so.1
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libblkid.so.1.1.0
|
||||||
BIN
ramdisk/initramfs/glibc_arm/lib/libblkid.so.1.1.0
Executable file
BIN
ramdisk/initramfs/glibc_arm/lib/libblkid.so.1.1.0
Executable file
Binary file not shown.
BIN
ramdisk/initramfs/glibc_arm/lib/libc-2.23.so
Executable file
BIN
ramdisk/initramfs/glibc_arm/lib/libc-2.23.so
Executable file
Binary file not shown.
1
ramdisk/initramfs/glibc_arm/lib/libc.so.6
Symbolic link
1
ramdisk/initramfs/glibc_arm/lib/libc.so.6
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libc-2.23.so
|
||||||
BIN
ramdisk/initramfs/glibc_arm/lib/libcrypt-2.23.so
Executable file
BIN
ramdisk/initramfs/glibc_arm/lib/libcrypt-2.23.so
Executable file
Binary file not shown.
1
ramdisk/initramfs/glibc_arm/lib/libcrypt.so.1
Symbolic link
1
ramdisk/initramfs/glibc_arm/lib/libcrypt.so.1
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libcrypt-2.23.so
|
||||||
BIN
ramdisk/initramfs/glibc_arm/lib/libdl-2.23.so
Executable file
BIN
ramdisk/initramfs/glibc_arm/lib/libdl-2.23.so
Executable file
Binary file not shown.
1
ramdisk/initramfs/glibc_arm/lib/libdl.so.2
Symbolic link
1
ramdisk/initramfs/glibc_arm/lib/libdl.so.2
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libdl-2.23.so
|
||||||
BIN
ramdisk/initramfs/glibc_arm/lib/libgcc_s.so.1
Normal file
BIN
ramdisk/initramfs/glibc_arm/lib/libgcc_s.so.1
Normal file
Binary file not shown.
BIN
ramdisk/initramfs/glibc_arm/lib/libm-2.23.so
Executable file
BIN
ramdisk/initramfs/glibc_arm/lib/libm-2.23.so
Executable file
Binary file not shown.
1
ramdisk/initramfs/glibc_arm/lib/libm.so.6
Symbolic link
1
ramdisk/initramfs/glibc_arm/lib/libm.so.6
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libm-2.23.so
|
||||||
BIN
ramdisk/initramfs/glibc_arm/lib/libnsl-2.23.so
Executable file
BIN
ramdisk/initramfs/glibc_arm/lib/libnsl-2.23.so
Executable file
Binary file not shown.
1
ramdisk/initramfs/glibc_arm/lib/libnsl.so.1
Symbolic link
1
ramdisk/initramfs/glibc_arm/lib/libnsl.so.1
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libnsl-2.23.so
|
||||||
BIN
ramdisk/initramfs/glibc_arm/lib/libnss_dns-2.23.so
Executable file
BIN
ramdisk/initramfs/glibc_arm/lib/libnss_dns-2.23.so
Executable file
Binary file not shown.
1
ramdisk/initramfs/glibc_arm/lib/libnss_dns.so.2
Symbolic link
1
ramdisk/initramfs/glibc_arm/lib/libnss_dns.so.2
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libnss_dns-2.23.so
|
||||||
BIN
ramdisk/initramfs/glibc_arm/lib/libnss_files-2.23.so
Executable file
BIN
ramdisk/initramfs/glibc_arm/lib/libnss_files-2.23.so
Executable file
Binary file not shown.
1
ramdisk/initramfs/glibc_arm/lib/libnss_files.so.2
Symbolic link
1
ramdisk/initramfs/glibc_arm/lib/libnss_files.so.2
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libnss_files-2.23.so
|
||||||
BIN
ramdisk/initramfs/glibc_arm/lib/libpthread-2.23.so
Executable file
BIN
ramdisk/initramfs/glibc_arm/lib/libpthread-2.23.so
Executable file
Binary file not shown.
1
ramdisk/initramfs/glibc_arm/lib/libpthread.so.0
Symbolic link
1
ramdisk/initramfs/glibc_arm/lib/libpthread.so.0
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libpthread-2.23.so
|
||||||
BIN
ramdisk/initramfs/glibc_arm/lib/libresolv-2.23.so
Executable file
BIN
ramdisk/initramfs/glibc_arm/lib/libresolv-2.23.so
Executable file
Binary file not shown.
1
ramdisk/initramfs/glibc_arm/lib/libresolv.so.2
Symbolic link
1
ramdisk/initramfs/glibc_arm/lib/libresolv.so.2
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libresolv-2.23.so
|
||||||
BIN
ramdisk/initramfs/glibc_arm/lib/librt-2.23.so
Executable file
BIN
ramdisk/initramfs/glibc_arm/lib/librt-2.23.so
Executable file
Binary file not shown.
1
ramdisk/initramfs/glibc_arm/lib/librt.so.1
Symbolic link
1
ramdisk/initramfs/glibc_arm/lib/librt.so.1
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
librt-2.23.so
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user