阅读量:0
0.armbian 盒子更换apt源更新错误导致启动错误(变砖了),错误如下。
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Warning: fsck not present, so skipping root file system [ 7.401974] EXT4-fs (mmcblk2p2): recovery complete [ 7.402042] EXT4-fs (mmcblk2p2): mounted filesystem with writeback data mode. Opts: data=writeback. Quota mode: none. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. [ 7.658881] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 [ 7.660909] CPU: 2 PID: 1 Comm: init Not tainted 5.15.139-ophub #1 [ 7.667033] Hardware name: Amlogic Meson GXL (S905L3b) MBH-M302A Box (DT) [ 7.667042] Call trace: [ 7.667046] dump_backtrace+0x0/0x1d0 [ 7.667072] show_stack+0x18/0x40 [ 7.667086] dump_stack_lvl+0x64/0x80 [ 7.667103] dump_stack+0x18/0x34 [ 7.667115] panic+0x164/0x314 [ 7.692993] do_exit+0x8fc/0x900 [ 7.693008] do_group_exit+0x38/0xa0 [ 7.699720] __arm64_sys_exit_group+0x18/0x20 [ 7.699733] invoke_syscall+0x48/0x110 [ 7.707741] el0_svc_common.constprop.0+0x50/0x180 [ 7.707756] do_el0_svc+0x24/0x84 [ 7.715762] el0_svc+0x28/0xa4 [ 7.718779] el0t_64_sync_handler+0x108/0x114 [ 7.723091] el0t_64_sync+0x1a0/0x1a4 [ 7.726717] SMP: stopping secondary CPUs [ 7.730602] Kernel Offset: disabled [ 7.734045] CPU features: 0x0,00002001,00000846 [ 7.738531] Memory Limit: none [ 7.741556] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 ]---
重启几次还是无法正常启动,系统启动时 Ctrl + Z 还能进 Uboot 命令模式,网上查资料找到 uboot 支持 tftpboot 模式启动
1. 刷机准备
CH340 usb 转 TTL + 杜邦跳钱
U盘(4G以上,烧录armbian OS镜像使用)
tf