빠르긴 한데
터미널도 없어진건가?!
$ sudo fdisk /dev/sda -l Disk /dev/sda: 1.9 GiB, 1977614336 bytes, 3862528 sectors Disk model: SD Transcend Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xdd604128 Device Boot Start End Sectors Size Id Type /dev/sda1 * 1 32768 32768 16M c W95 FAT32 (LBA) /dev/sda2 32769 163840 131072 64M 83 Linux |
$ ls -al /mnt total 5462 drwxr-xr-x 3 root root 16384 Jan 1 1970 . drwxr-xr-x 21 root root 4096 Aug 20 2020 .. -rwxr-xr-x 1 root root 52296 Nov 16 17:32 bootcode.bin -rwxr-xr-x 1 root root 65 Nov 16 17:32 cmdline.txt -rwxr-xr-x 1 root root 199 Nov 16 17:32 config.txt -rwxr-xr-x 1 root root 2869636 Nov 16 17:32 start.elf drwxr-xr-x 2 root root 2048 Nov 17 2021 'System Volume Information' -rwxr-xr-x 1 root root 2641736 Nov 16 17:32 zImagen $ cat /mnt/config.txt #---> Boot kernel=zImagen disable_overscan=1 boot_delay=0 enable_uart=1 disable_splash=1 #--> OverClock #sdram_freq=700 #initial_turbo=1 #force_turbo=1 #over_voltage=6 #arm_freq=1400 #core_freq=600 $ cat /mnt/cmdline.txt root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA0,115200 |
/mnt/etc $ cat inittab # /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 0 vt100 # GENERIC_SERIAL # 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 /mnt/etc/init.d $ ls -al total 9 drwxr-xr-x 2 root root 1024 Nov 16 08:01 . drwxr-xr-x 5 root root 1024 Jan 1 1970 .. -rwxr-xr-x 1 root root 423 Nov 16 08:26 rcK -rwxr-xr-x 1 root root 408 Nov 16 08:26 rcS -rwxr-xr-x 1 root root 1012 Nov 16 08:26 S01syslogd -rwxr-xr-x 1 root root 1004 Nov 16 08:26 S02klogd -rwxr-xr-x 1 root root 1272 Nov 16 08:26 S20urandom -rwxr-xr-x 1 root root 54 Nov 16 08:01 S21ftDev /mnt/etc/init.d $ cat rcS #!/bin/sh # 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 pi@raspberrypi:/mnt/etc/init.d $ cat S21ftDev #! /bin/sh /root/QmlTestApplication --platform eglfs /mnt $ sudo ls -al root total 17151 drwx------ 2 root root 1024 Nov 16 08:01 . drwxr-xr-x 19 root root 1024 Jan 1 1970 .. -rwxr-xr-x 1 root root 17710284 Nov 16 08:01 QmlTestApplication /mnt $ sudo file root/QmlTestApplication root/QmlTestApplication: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 4.14.0, stripped |
'embeded > raspberry pi' 카테고리의 다른 글
rpi 3b 2초 부팅 fs (0) | 2021.11.20 |
---|---|
img 파일 마운트 하기 (0) | 2021.11.20 |
라즈베리 피코 USB HID 키코드 (0) | 2021.11.16 |
라즈베리 파이 피코 한글 키 입력? (0) | 2021.11.16 |
rpi pico usb sound (0) | 2021.11.08 |