找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 753|回复: 12

[k3] 我的K3砖了,大家来看看,支个招

[复制链接]
我的K3原本是可以刷官方版,官方root版,还可以刷梅林固件,但折腾了很长时间就是刷不了openWrt系统 一进去就卡进度条,然后返回来还可以刷回官方root版,现在手机进不了CFe,但是ttl能进得入,没有IP地址,换了很多IP地址也拼不通路由器,所以也刷不了机。TTL终端显示如下,大家只个招。。。。


CFE> ifconfig
Network interface has not been configured
CFE> cat /proc/mtd
Invalid command: "cat"
Available commands: phic_fac, show, nvram, reboot, flash, batch, go, boot, load, save, ping, arp, ifconfig, help

CFE> help
Available commands:

phic_fac            Read/write default nvram paramater from/to Flash
show clocks         Show current values of the clocks.
nvram               NVRAM utility.
reboot              Reboot.
flash               Update a flash memory device
batch               Load a batch file into memory and execute it
go                  Verify and boot OS image.
boot                Load an executable file into memory and execute it
load                Load an executable file into memory without executing it
save                Save a region of memory to a remote file via TFTP
ping                Ping a remote IP host.
arp                 Display or modify the ARP Table
ifconfig            Configure the Ethernet interface
help                Obtain help for CFE commands

For more information about a command, enter 'help command-name'
CFE> ping
CFE> arp
No ARP entries.
CFE> nvram
CFE> nvram erase
CFE> phic_fac

     phic_fac -g mac                   : Read mac address from boot flash memory device.
     phic_fac -s mac XX:XX:XX:XX:XX:XX : Write mac address to boot flash memory device.

     -g           Read/Write mac address
     -s           Write mac address.

CFE> phic_fac -g mac
Error Decompressing eNVRAM
Get fail!
CFE> http://10.10.10.1/do.htm?cmd=fla ... hfs.trx+nflash0.trx
Invalid command: "http://10.10.10.1/do.htm?cmd"
Available commands: phic_fac, show, nvram, reboot, flash, batch, go, boot, load, save, ping, arp, ifconfig, help

CFE> flash -noheader 10.10.10.121:/openwrt-R7.5-bcm53xx-phicomm-k3-squashfs.trx nflash0.trx
Reading 10.10.10.121:/openwrt-R7.5-bcm53xx-phicomm-k3-squashfs.trx: Failed.: Timeout occured
CFE> flash -noheader 10.10.10.121:/openwrt-R7.5-bcm53xx-phicomm-k3-squashfs.trx nflash0.trx
Reading 10.10.10.121:/openwrt-R7.5-bcm53xx-phicomm-k3-squashfs.trx: Failed.: Timeout occured
CFE> reboot𦨴al core power voltage set to 1.05V
Decompressing...done


CFE version 7.14.131.47 (r629548) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: Fri Mar 10 11:38:37 CST 2017 (jenkins@SOHO-OPWRT)
Copyright (C) 2000-2008 Broadcom Corporation.

Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
DDR Clock: 400 MHz
Warning: invalid DDR setting of 0 MHz ignored. DDR frequency will be set to 400 MHz.
Warning: invalid CPU setting of 0 MHz ignored. armclock frequency will be set to 800 MHz.
Corrupt NVRAM found, trying embedded NVRAM next.
Error Decompressing eNVRAM
Corrupt NVRAM found, trying embedded NVRAM next.
Error Decompressing eNVRAM
Corrupt NVRAM found, trying embedded NVRAM next.
Error Decompressing eNVRAM
Corrupt NVRAM found, trying embedded NVRAM next.
Error Decompressing eNVRAM
CPU type 0x0: 800MHz
Tot mem: 524288 KBytes

CFE mem:    0x00F00000 - 0x017CB47C (9221244)
Data:       0x00F638DC - 0x00F63E64 (1416)
BSS:        0x00F63E70 - 0x00FC947C (415244)
Heap:       0x00FC947C - 0x017C947C (8388608)
Stack:      0x017C947C - 0x017CB47C (8192)
Text:       0x00F00000 - 0x00F57A40 (358976)

Committing NVRAM...done
Loader:raw Filesys:raw Dev:nflash0.os File: Optionsnull)
Loading: ... 1636889 bytes read
Entry at 0x00008000
Starting program at 0x00008000
Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.77 (lede@ubuntu) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r6102-23a0f8aaad) ) #0 SMP Thu Jan 25 12:45:48 2018
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: PHICOMM K3
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 12 pages/cpu @c6bd8000 s17868 r8192 d23092 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130816
[    0.000000] Kernel command line: console=ttyS0,115200
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 514768K/524288K available (3564K kernel code, 110K rwdata, 920K rodata, 236K init, 293K bss, 9520K reserved, 0K cma-reserved, 393216K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc03833c8   (3565 kB)
[    0.000000]       .init : 0xc046b000 - 0xc04a6000   ( 236 kB)
[    0.000000]       .data : 0xc04a6000 - 0xc04c1900   ( 111 kB)
[    0.000000]        .bss : 0xc04c1900 - 0xc050ae84   ( 294 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x0a130000 -> 0x0a530000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x7e530001
[    0.000019] sched_clock: 64 bits at 400MHz, resolution 2ns, wraps every 4398046511103ns
[    0.000043] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x5c4093a7d1, max_idle_ns: 440795210635 ns
[    0.000077] Switching to timer-based delay loop, resolution 2ns
[    0.000305] Calibrating delay loop (skipped), value calculated using timer frequency.. 800.00 BogoMIPS (lpj=4000000)
[    0.000321] pid_max: default: 32768 minimum: 301
[    0.000419] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000431] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001055] CPU: Testing write buffer coherency: ok
[    0.001418] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001489] Setting up static identity map for 0x82a0 - 0x82d4
[    0.003459] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.003593] Brought up 2 CPUs
[    0.003617] SMP: Total of 2 processors activated (1600.00 BogoMIPS).
[    0.003628] CPU: WARNING: CPU(s) started in wrong/inconsistent modes (primary CPU mode 0x13)
[    0.003635] CPU: This may indicate a broken bootloader or firmware.
[    0.006155] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006191] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.006366] pinctrl core: initialized pinctrl subsystem
[    0.006836] NET: Registered protocol family 16
[    0.007637] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.043029] clocksource: Switched to clocksource arm_global_timer
[    0.044295] NET: Registered protocol family 2
[    0.045013] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.045044] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.045071] TCP: Hash tables configured (established 1024 bind 1024)
[    0.045154] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.045196] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.045427] NET: Registered protocol family 1
[    0.047194] Crashlog allocated RAM at address 0x3f00000
[    0.048272] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.053990] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.054015] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.056306] bounce: pool size: 64 pages
[    0.056329] io scheduler noop registered
[    0.056338] io scheduler deadline registered (default)
[    0.057175] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.058034] console [ttyS0] disabled
[    0.058114] 18000300.serial: ttyS0 at MMIO 0x18000300 (irq = 18, base_baud = 7812500) is a 16550
[    0.509532] console [ttyS0] enabled
[    0.513596] 18000400.serial: ttyS1 at MMIO 0x18000400 (irq = 18, base_baud = 7812500) is a 16550
[    0.523752] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    0.530136] nand: Samsung NAND 128MiB 3,3V 8-bit
[    0.534800] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.542423] iproc_nand 18028000.nand: detected 128MiB total, 128KiB blocks, 2KiB pages, 16B OOB, 8-bit, BCH-4
[    0.552400] Scanning device for bad blocks
[    0.576091] random: fast init done


我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
4.152165] 4 bcm47xxpart partitions found on MTD device brcmnand.0
[    4.158449] Creating 4 MTD partitions on "brcmnand.0":
[    4.163623] 0x000000000000-0x000000080000 : "boot"
[    4.169588] 0x000000080000-0x000000180000 : "nvram"
[    4.175531] 0x000000180000-0x000000200000 : "phicomm"
[    4.181688] 0x000000200000-0x000008000000 : "firmware"
[    4.189399] 2 trx partitions found on MTD device firmware
[    4.194865] Creating 2 MTD partitions on "firmware":
[    4.199851] 0x00000000001c-0x0000001b67e4 : "linux"
[    4.205843] 0x0000001b67e4-0x000007e00000 : "rootfs"
[    4.212662] mtd: device 5 (rootfs) set to be root filesystem
[    4.218752] 1 squashfs-split partitions found on MTD device rootfs
[    4.225000] 0x000001e60000-0x000007e00000 : "rootfs_data"
[    4.233758] libphy: Fixed MDIO Bus: probed
[    4.237978] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[    4.244229] bcma: bus0: Found chip with id 53030, rev 0x00 and package 0x00
[    4.251374] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2A, class 0x0)
[    4.260094] bcma: bus0: Core 1 found: Chipcommon B (manuf 0x4BF, id 0x50B, rev 0x05, class 0x0)
[    4.269006] bcma: bus0: Core 2 found: DMA (manuf 0x4BF, id 0x502, rev 0x04, class 0x0)
[    4.277177] bcma: bus0: Core 3 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x07, class 0x0)
[    4.285776] bcma: bus0: Core 4 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x07, class 0x0)
[    4.294389] bcma: bus0: Core 5 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x07, class 0x0)
[    4.302968] bcma: bus0: Core 6 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x07, class 0x0)
[    4.311476] bcma: bus0: Core 7 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x07, class 0x0)
[    4.320147] bcma: bus0: Core 8 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x07, class 0x0)
[    4.328888] bcma: bus0: Core 9 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x07, class 0x0)
[    4.337620] bcma: bus0: Core 10 found: ARM Cortex A9 core (ihost) (manuf 0x4BF, id 0x510, rev 0x07, class 0x0)
[    4.347816] bcma: bus0: Core 11 found: USB 2.0 (manuf 0x4BF, id 0x504, rev 0x07, class 0x0)
[    4.356371] bcma: bus0: Core 12 found: USB 3.0 (manuf 0x4BF, id 0x505, rev 0x07, class 0x0)
[    4.364918] bcma: bus0: Core 13 found: SDIO3 (manuf 0x4BF, id 0x503, rev 0x01, class 0x0)
[    4.373288] bcma: bus0: Core 14 found: I2S (manuf 0x4BF, id 0x834, rev 0x03, class 0x0)
[    4.381498] bcma: bus0: Core 15 found: ARM Cortex A9 JTAG (manuf 0x4BF, id 0x506, rev 0x01, class 0x0)
[    4.391005] bcma: bus0: Core 16 found: Denali DDR2/DDR3 memory controller (manuf 0x4BF, id 0x507, rev 0x01, class 0x0)
[    4.401898] bcma: bus0: Core 17 found: ROM (manuf 0x4BF, id 0x508, rev 0x08, class 0x0)
[    4.410113] bcma: bus0: Core 18 found: NAND flash controller (manuf 0x4BF, id 0x509, rev 0x01, class 0x0)
[    4.419879] bcma: bus0: Core 19 found: SPI flash controller (manuf 0x4BF, id 0x50A, rev 0x01, class 0x0)
[    4.429421] bcma: bus0: Flash type not supported
[    4.436145] bgmac_bcma bcma0:3: Found PHY addr: 0
[    4.440958] bgmac_bcma bcma0:3: Invalid MAC addr: 00:00:00:00:00:00
[    4.447256] bgmac_bcma bcma0:3: Using random MAC: b2:18:24:12:f6:43
[    4.455760] b53_common: found switch: BCM53012, rev 0
[    4.461965] bgmac_bcma bcma0:4: Found PHY addr: 0
[    4.466711] bgmac_bcma bcma0:4: Invalid MAC addr: 00:00:00:00:00:00
[    4.473064] bgmac_bcma bcma0:4: Using random MAC: ca:34:82:ef:fd:d4
ÿ
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

准备好出售吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

出给我折腾一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

寄过来我给你搞,搞不好不要钱
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

先输入ifconfig eth0 -addr=192.168.2.1 -mask=255.255.255.0试试

点评

谢谢,我觉得有用  详情 回复 发表于 2023-2-23 14:50
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
jun@888 发表于 2023-2-23 06:32
先输入ifconfig eth0 -addr=192.168.2.1 -mask=255.255.255.0试试

谢谢,我觉得有用

点评

CFE> ifconfig eth0 -addr=192.168.2.1 -mask=255.255.255.0 Could not activate network interface 'eth0': Error  详情 回复 发表于 2023-2-23 15:35
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
zhouxg08 发表于 2023-2-23 14:50
谢谢,我觉得有用

CFE> ifconfig eth0 -addr=192.168.2.1 -mask=255.255.255.0
Could not activate network interface 'eth0': Error
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

zhouxg08 发表于 2023-2-23 15:35
CFE> ifconfig eth0 -addr=192.168.2.1 -mask=255.255.255.0
Could not activate network interface 'et ...

那只有先刷cfe了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

可以在ttll用命令进入cfe

点评

命令是啥我忘了  详情 回复 发表于 2023-2-23 21:18
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

luosxn 发表于 2023-2-23 21:18
可以在ttll用命令进入cfe

命令是啥我忘了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
我刷了spi芯片,能进cfe, 但刷不了系统,提示I/O ERROR
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

先尝试配置MAC和IP地址,里面都提示没有配置,你NAND的CFE应该有问题了。如果有SPI 进SPI里 CFE命令刷入NAND CFE吧!然后回到原机NAND进CFE.
看你里面命令别乱配,看清楚论坛教程,在操作,不然真砖了!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-28 04:49

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表