buildroot를 사용하여 임베디드 시스템을 구축하려고합니다. 모든 것이 효과가있는 것처럼 보입니다. 모든 모듈이 시작되고 시스템이 안정적입니다. 문제는 시스템 초기화 중에 /etc/init.d/rcS가 시작되지 않는다는 것입니다. 수동으로 실행하면 모든 것이 정상입니다. 내 inittab 파일에 있습니다.Busybox 초기화가 시작되지 않습니다. /etc/init.d/rcS
# /etc/inittab
#
# Copyright (C) 2001 Erik Andersen <[email protected]>
#
# 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
null::sysinit:/bin/mount -t proc proc /proc
null::sysinit:/bin/mount -o remount,rw/
null::sysinit:/bin/mkdir -p /dev/pts
null::sysinit:/bin/mkdir -p /dev/shm
null::sysinit:/bin/mount -a
null::sysinit:/bin/hostname -F /etc/hostname
# now run any rc scripts
::sysinit:/etc/init.d/rcS
# Put a getty on the serial port
ttyFIQ0::respawn:/sbin/getty -L -n ttyFIQ0 115200 vt100 # GENERIC_SERIAL
# Stuff to do for the 3-finger salute
::ctrlaltdel:/sbin/reboot
# Stuff to do before rebooting
null::shutdown:/etc/init.d/rcK
null::shutdown:/bin/umount -a -r
null::shutdown:/sbin/swapoff -a
무엇이 잘못 될 수 있습니까?
이미 성공하지 못한 사용자는 이미 시도해 보았습니다. – selfbg
rcS 스크립트를 게시하는 데 도움이 될 수 있습니다. – philbrooksjazz
또한 gett 후에 inittab에서 rcS 행을 더 아래로 이동하십시오. – philbrooksjazz