感谢大佬分享,帮忙解决了这个问题,我的系统是存储在eMMC里的,反正现在系统可以reboot成功了。
在mangopi开发板和自己做的开发板上均有这个错误,搞不清除是怎么回事?
# reboot
# Stopping input-event-daemon: done
Stopping sshd: killall: sshd: no process killed
OK
Initializing postgresql data base...
su: unknown user postgres
done
Stopping postgresql: su: unknown user postgres
OK
Stopping mosquitto: start-stop-daemon: warning: killing process 1110: No such process
FAIL
Stopping ntpd: OK
Stopping Xorg: start-stop-daemon: warning: killing process 1100: No such process
FAIL
Stopping network: OK
Stopping system message bus: done
Saving random seed... done.
Stopping klogd: OK
Stopping syslogd: OK
Stopping rsyslogd: OK
umount: can't remount adb read-only
umount: devtmpfs busy - remounted read-only
umount: can't unmount /dev/shm: No such file or directory
[ 418.626260] EXT4-fs (mmcblk0p5): re-mounted. Opts: (null)
The system is going down NOW!
Sent SIGTERM to all processes
[ 418.645468] android_work: did not send uevent (0 0 00000000)
logout
Sent SIGKILL to all processes
Requesting system reboot
[ 420.643189] [DEBUG-20240721] --func--: __do_sys_reboot, --cmd--: 19088743
[ 420.650820] reboot_callback(): empty arg
[ 420.655300] [ohci1-controller]: ohci shutdown start
[ 420.660817] [ohci1-controller]: ohci shutdown end
[ 420.666134] [ehci1-controller]: ehci shutdown start
[ 420.671627] [ehci1-controller]: ehci shutdown end
[ 420.676938] sunxi_ohci_hcd_shutdown, ohci0-controller is disable, need not shutdown
[ 420.685548] sunxi_ehci_hcd_shutdown, ehci0-controller is disable, need not shutdown
[ 420.702275] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 421.472063] ------------[ cut here ]------------
[ 421.477263] WARNING: CPU: 1 PID: 3145 at /works/work-local/t113/longan-infolink/kernel/linux-5.4/drivers/clk/clk.c:960 clk_core_disable+0x64/0xac
[ 421.491890] mipi-dsi already disabled
[ 421.495994] Modules linked in: sunxi_ce
[ 421.496009] CPU: 1 PID: 3145 Comm: init Not tainted 5.4.61+ #39
[ 421.506931] Hardware name: Generic DT based system
[ 421.512317] [<c010e378>] (unwind_backtrace) from [<c010a934>] (show_stack+0x10/0x14)
[ 421.521005] [<c010a934>] (show_stack) from [<c07381f0>] (dump_stack+0x7c/0x98)
[ 421.529108] [<c07381f0>] (dump_stack) from [<c01196b8>] (__warn+0xac/0xdc)
[ 421.536819] [<c01196b8>] (__warn) from [<c0119758>] (warn_slowpath_fmt+0x70/0x9c)
[ 421.545217] [<c0119758>] (warn_slowpath_fmt) from [<c03c02ac>] (clk_core_disable+0x64/0xac)
[ 421.545229] [<c03c02ac>] (clk_core_disable) from [<c03c03c8>] (clk_core_disable_lock+0x18/0x24)
[ 421.564337] [<c03c03c8>] (clk_core_disable_lock) from [<c0395000>] (clk_disable_unprepare+0xc/0x18)
[ 421.574485] [<c0395000>] (clk_disable_unprepare) from [<c0398d68>] (disp_lcd_disable+0x1cc/0x2cc)
[ 421.584443] [<c0398d68>] (disp_lcd_disable) from [<c03882bc>] (disp_shutdown+0x64/0x84)
[ 421.593427] [<c03882bc>] (disp_shutdown) from [<c0410de8>] (device_shutdown+0x170/0x1c4)
[ 421.593440] [<c0410de8>] (device_shutdown) from [<c0136644>] (kernel_restart+0xc/0x50)
[ 421.611380] [<c0136644>] (kernel_restart) from [<c013688c>] (__do_sys_reboot+0x100/0x1f0)
[ 421.620559] [<c013688c>] (__do_sys_reboot) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[ 421.629628] Exception stack(0xc5bdbfa8 to 0xc5bdbff0)
[ 421.635295] bfa0: 00000000 000cb880 fee1dead 28121969 01234567 00000010
[ 421.644469] bfc0: 00000000 000cb880 00000000 00000058 00000000 00000000 b6f76000 00000000
[ 421.644475] bfe0: 000cb168 beeb1b6c 0008797c b6ea98b0
[ 421.659300] ---[ end trace 45b44c62c2806f00 ]---
[ 421.682331] reboot: Restarting system
[ 421.686454] [DEBUG-20240721] --func--: machine_restart, --line1--: 143
[29]HELLO! BOOT0 is starting!
[32]BOOT0 commit : 5224261
[34]set pll start
[40]periph0 has been enabled
[43]set pll end
[45][pmu]: bus read error
[47]board init ok
[49]enable_jtag
[51]ZQ value = 0x31
[52]get_pmu_exist() = -1
[55]DRAM BOOT DRIVE INFO: V0.32
[58]DRAM CLK = 792 MHz
[60]DRAM Type = 3 (2:DDR2,3:DDR3)
[63]DRAMC read ODT off.
[66]DRAM ODT value: 0x42.
[68]ddr_efuse_type: 0xa
[71]mark_id: 0x60
[73]DRAM SIZE =128 M
[75]PLL_DDR_CTRL_REG:0xf8004100
[78]DRAM_CLK_REG:0xc0000000
[81][TIMING DEBUG] MR2= 0x18
[89]DRAM simple test OK.
[91]rtc standby flag is 0x0, super standby flag is 0x0
[96]dram size =128
[99]card no is 2
[100]sdcard 2 line count 4
[103][mmc]: mmc driver ver 2021-05-21 14:47
[112][mmc]: Wrong media type 0x0, but host sdc2, try mmc first
[118][mmc]: ***Try MMC card 2***
[142][mmc]: RMCA OK!
[144][mmc]: mmc 2 bias 0
[147][mmc]: MMC 5.1
[149][mmc]: HSSDR52/SDR25 4 bit
[152][mmc]: 50000000 Hz
[154][mmc]: 7456 MB
[156][mmc]: ***SD/MMC 2 init OK!!!***
[247]Loading boot-pkg Succeed(index=0).
[250]Entry_name = u-boot
[258]Entry_name = optee
[262]Entry_name = dtb
[264]tunning data addr:0x430003e8
[268]Jump to second Boot.
M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm
U-Boot 2018.05-g5b4bafa (Oct 18 2021 - 01:53:36 +0000) Allwinner Technology
[00.324]CPU: Allwinner Family
[00.327]Model: sun8iw20
[00.329]DRAM: 128 MiB
[00.332]Relocation Offset is: 04ec5000
[00.359]secure enable bit: 0
[00.361]smc_tee_inform_fdt failed with: -65526[00.365]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[00.372]gic: sec monitor mode
[00.374]flash init start
[00.376]workmode = 0,storage type = 2