S905L3b系列 armbian 盒子 Uboot tftpboot 救砖(刷机)

当更换armbian盒子的apt源导致启动错误后,本文详细介绍了如何通过Uboot的tftpboot模式进行救砖操作。步骤包括:准备工具如CH340 TTL、U盘、tftp服务器;配置tftp服务器并提取启动参数;制作U盘启动盘;使用TFTP模式启动并加载armbian系统文件到内存,最后执行安装命令完成刷机。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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镜像使用)

  tftpd64 ÿ

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值