acg1000-a上电后不能正常启动内核,不能正常ctrl+c进menuboot,一直在uboot。因为早些时候执行过ide write,现在ide尝试各种版本tftp all.bin,然后ide write均不可实现。
U-Boot 2011.03 (Release Version: V3.2.1) (Build time: Jul 22 2014 - 10:22:58) Skipping PCIe port 0 BIST, reset not done. (port not configured) Skipping PCIe port 1 BIST, reset not done. (port not configured) BIST check passed. Warning: Clock descriptor tuple not found in eeprom, using defaults Warning: Board descriptor tuple not found in eeprom, using defaults CUST_MC6100 board revision major:1, minor:0, serial #: mc6100 OCTEON CN6130-AAP pass 1.1, Core clock: 1000 MHz, IO clock: 600 MHz, DDR clock: 533 MHz (1066 Mhz DDR) Base DRAM address used by u-boot: 0x0f800000, size: 0x7fdb80 DRAM: 4 GiB Now running in RAM - U-Boot at: ffffffffc0000000 Clearing DRAM...... done Registered IDE device 0 from IDE bus:dev 0:0 Flash: 4 MiB PCIe: Port 0 is SGMII, skipping. PCIe: Port 1 link active, 1 lanes, speed gen1 PCI console init succeeded, 1 consoles, 1024 bytes each Net: octmgmt0, octmgmt1, octeth0, octeth1, octeth2, octeth3, octeth4, octeth5, octeth6, octeth7 Bus 0: OK Device 0: Model: SM223En-AA Firm: SM223EAD Ser#: (03)5526888-20080228 Type: Hard Disk Capacity: 16383.7 MB = 15.9 GB (33553920 x 512) SATA#0 (No RDY) SATA#1 (3.0 Gbps) USB: USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found Type the command 'usb start' to scan for USB storage devices. Press Ctrl+C to enter menuboot: 3 ** Unable to use ide 0:1 for fatload ** Pointer(20000000) not to ELF data! argv[2]: cOnsole=ttyS0,9600 argv[3]: numcores=4 argv[4]: quiet ## No elf image at address 0x20000000 Octeon cust_mc6100# <INTERRUPT> Octeon cust_mc6100# <INTERRUPT> Octeon cust_mc6100# <INTERRUPT>
无
现在上电直接进uboot了,
U-Boot 2011.03 (Release Version: V3.2.1) (Build time: Jul 22 2014 - 10:22:58)
Skipping PCIe port 0 BIST, reset not done. (port not configured)
Skipping PCIe port 1 BIST, reset not done. (port not configured)
BIST check passed.
Warning: Clock descriptor tuple not found in eeprom, using defaults
Warning: Board descriptor tuple not found in eeprom, using defaults
CUST_MC6100 board revision major:1, minor:0, serial #: mc6100
OCTEON CN6130-AAP pass 1.1, Core clock: 1000 MHz, IO clock: 600 MHz, DDR clock: 533 MHz (1066 Mhz DDR)
Base DRAM address used by u-boot: 0x0f800000, size: 0x7fdb80
DRAM: 4 GiB
Now running in RAM - U-Boot at: ffffffffc0000000
Clearing DRAM...... done
Registered IDE device 0 from IDE bus:dev 0:0
Flash: 4 MiB
PCIe: Port 0 is SGMII, skipping.
PCIe: Port 1 link active, 1 lanes, speed gen1
PCI console init succeeded, 1 consoles, 1024 bytes each
Net: octmgmt0, octmgmt1, octeth0, octeth1, octeth2, octeth3, octeth4, octeth5, octeth6, octeth7
Bus 0: OK
Device 0: Model: SM223En-AA Firm: SM223EAD Ser#: (03)5526888-20080228
Type: Hard Disk
Capacity: 16383.7 MB = 15.9 GB (33553920 x 512)
SATA#0
(No RDY)
SATA#1
(3.0 Gbps)
USB: USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
Type the command 'usb start' to scan for USB storage devices.
Press Ctrl+C to enter menuboot: 0
** Unable to use ide 0:1 for fatload **
Pointer(20000000) not to ELF data!
argv[2]: cOnsole=ttyS0,9600
argv[3]: numcores=4
## No elf image at address 0x20000000
Octeon cust_mc6100#
ACG1000‑A(CUST_MC6100 Octeon CN6130)故障分析
现象复盘:执行过ide write破坏了 SATA 盘 menuboot 分区;上电停留在 U‑Boot,Ctrl+C 无法切入 menuboot;fatload报Pointer(20000000) not to ELF data!、No elf image at address 0x20000000;tftp 下载 all.bin 再 ide‑write 写盘无效。
⚠️menuboot.bin/elf /image 不属于公开下载介质,互联网没有公开资源,不能对外流传,无法直接提供文件,该镜像属于设备内部固件分区镜像,只能通过 H3C 官方 400 后台获取。
根因
U‑Boot 本身是完好的(U‑Boot 2011.03 V3.2.1 正常输出);
SATA 16G 盘上的 menuboot ELF 镜像分区被 ide‑write 错误覆盖损坏;
U‑Boot 尝试从 IDE (SATA) 加载 menuboot elf 到 0x20000000,读出来不是合法 ELF,直接失败,直接放弃进入 menuboot,所以 Ctrl+C 按键拦截失效;
注意:Ctrl+C 是进入 menuboot 之后才生效,menuboot 镜像本身损坏,还没跑起来,Ctrl‑C 完全无效,不是串口按键问题。
直接 tftp all.bin然后 ide write 是写完整系统分区,不会恢复 menuboot 独立分区,所以操作无效。menuboot 是 SATA 盘上一个独立小分区,不是 all.bin 里面直接解压出来的。
U‑Boot 下可尝试的自救操作(octeon uboot 环境)
网口:octmgmt0 作为 tftp 管理口,电脑直接管理网口,设置同网段 IP。
shell
#设置tftp环境变量
setenv ipaddr 192.168.1.10
setenv serverip 192.168.1.2
saveenv
#先确认IDE设备识别
ide info
❗普通 all.bin 不能用来恢复 menuboot 分区。必须拿到单独的 menuboot‑xxx.elf,tftp 到内存,再 ide write 写入 menuboot 对应的 LBA 扇区;扇区偏移属于设备内部私有参数,公开文档不披露,不能随便乱写,写错直接进一步破坏磁盘。
你现在遇到两个关键点
没有 menuboot.elf,无法直接写盘修复 menuboot 分区;
不要继续盲目执行ide write,继续乱写会把 SATA 盘剩余完好分区全部覆盖。
正规获取介质 & 修复途径(仅这两条可行)
拨打 H3C 400‑810‑0504,提供设备 SN,现象:ACG1000‑A,U‑Boot 完好,ide‑write 误操作破坏 SATA 盘 menuboot 分区,无法进入 menuboot,No elf image at 0x20000000。
工程师后台可以提供:
menuboot elf 镜像;
该硬件对应的正确 ide write LBA 扇区参数;
给到你之后,在 U‑Boot tftp 到内存,执行 ide write 恢复 menuboot 分区;menuboot 跑起来之后,再重新上传完整系统镜像恢复业务分区。
硬件返厂维修:SATA 盘重新烧录整套分区镜像。
重要避坑提醒
网上搜不到 ACG1000‑A menuboot.bin/elf,不要网上随便找 Octeon 通用 elf,硬件板号 CUST_MC6100,版本不匹配写入直接彻底变砖。
all.bin是业务系统镜像,不含 menuboot 分区内容,反复 tftp all.bin + ide‑write 解决不了 menuboot 损坏问题。
U‑Boot 没有损坏,4MB nor flash 里面的 uboot 是好的;故障仅在后端 SATA16G 磁盘分区。
不要随便执行ide erase,会全盘擦除。
故障现象对应速记
U‑Boot 能跑,但是提示No elf image at address 0x20000000 = SATA 盘 menuboot ELF 镜像损坏,此时 Ctrl+C 无效,menuboot 还没有被加载运行。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
现在的思路是能有menuboot进不去,也就不存在刷入r6611.bin,因此着手处理menuboot.