|
本帖最后由 独爱你一人 于 2017-11-25 10:07 编辑
不扯废话了,拆了两台k3c都是三星颗粒,一台原厂113版本固件,可以直接降级到93版本,这台有2个坏块。另一台原厂175版本固件,不能降级,会出现无限重启现象,这台有7个坏块。发两份启动的ttl信息对比,各位大佬与看官可以拿去研究。助力175版本可以顺利降级刷固件
不好意思,搞错版本号了不是173,是175,已修正
正在折腾降级,替换uboot中
更新下,把113的前4个分区替换到175路由里面,直接挂掉不启动了,不清楚到底是修改了什么东西,等待救砖工具的到来
目前只有上电信息,其他全无,手残党
- ROM VER: 2.1.0
- CFG 0a
- B
- .
- .
复制代码 ***续续续续续***
27楼一片报废nand的生成方法,手动笑哭电梯直达27楼
K3C救砖成功,按照@jbzzz 坛友K3C做 NAND编程器这个帖子也增加了个nand底座,成为了编程器。
ROM VER: 2.1.0
CFG 0a
B
.
.
U-Boot 2010.06-00044-gb399a23-LANTIQ-v-2.3.136 (Jul 24 2017 - 10:45:54)
interAptiv
cps cpu/ddr run in 800/666 Mhz
DRAM: 224 MiB
NAND: Could not find valid JEDEC parameter page; aborting
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
128 MiB
Bad block table found at page 65408, version 0x01
Bad block table found at page 65344, version 0x01
nand_read_bbt: Bad block at 0x000001500000 这里的几个坏块是三星颗粒的坏块
nand_read_bbt: Bad block at 0x000001580000
nand_read_bbt: Bad block at 0x000003000000
nand_read_bbt: Bad block at 0x000003520000
nand_read_bbt: Bad block at 0x000003540000
nand_read_bbt: Bad block at 0x000003560000
nand_read_bbt: Bad block at 0x000003580000
nand_read_bbt: Bad block at 0x000004060000
nand_read_bbt: Bad block at 0x000007fe0000
ecc failure @ page 512, retrying with retry mode 0
ecc failure @ page 513, retrying with retry mode 0
ecc failure @ page 514, retrying with retry mode 0
ecc failure @ page 515, retrying with retry mode 0
ecc failure @ page 516, retrying with retry mode 0
ecc failure @ page 517, retrying with retry mode 0
ecc failure @ page 518, retrying with retry mode 0
ecc failure @ page 519, retrying with retry mode 0
NAND read from offset 100000 failed -77
No Valid Environment Area Found
ecc failure @ page 640, retrying with retry mode 0
ecc failure @ page 641, retrying with retry mode 0
ecc failure @ page 642, retrying with retry mode 0
ecc failure @ page 643, retrying with retry mode 0
ecc failure @ page 644, retrying with retry mode 0
ecc failure @ page 645, retrying with retry mode 0
ecc failure @ page 646, retrying with retry mode 0
ecc failure @ page 647, retrying with retry mode 0
NAND read from offset 140000 failed -77
No Valid Reundant Environment Area Found
In: serial
Out: serial
Err: serial
Net: multi type
Internal phy firmware version: 0x853c
GRX500 Switch
Type "run flash_nfs" to mount root filesystem over NFS
Press press hardware button for more than 4 seconds to run web failsafe mode
Catution: hardware button wasn't pressed or not long enough!
Continuing normal boot...
Hit any key to stop autoboot: 0
GRX500 #
运行到这里以后就带电扒开nand座子更换颗粒,然后按照@paldier 大佬的救砖教程继续操作
先擦除一遍nand
GRX500 #nand erase
然后通过tftp刷入uboot
GRX500 # run update_nandboot
Using GRX500 Switch device
TFTP from server 192.168.2.100; our IP address is 192.168.2.1
Filename 'u-boot-nand.bin'.
Load address: 0x80800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##################################
done
Bytes transferred = 1835008 (1c0000 hex)
device 0 offset 0x0, size 0x180000
device 0 offset 0x1340000, size 0x6c00000
Skipping bad block at 0x01500000 这里显示的坏块数量不用管,因为这还是原先那片三星颗粒的坏块位置信息
Skipping bad block at 0x01580000
Skipping bad block at 0x03000000
Skipping bad block at 0x03520000
Skipping bad block at 0x03540000
Skipping bad block at 0x03560000
Skipping bad block at 0x03580000
Skipping bad block at 0x04060000
NAND write: device 0 offset 0x0, size 0x1c0000
0x1c0000 bytes written: OK
刷完uboot以后重启
GRX500 # reset
ROM VER: 2.1.0
CFG 0a
B
.
.
U-Boot 2010.06-00044-gb399a23-LANTIQ-v-2.3.136 (Jul 24 2017 - 10:45:54)
interAptiv
cps cpu/ddr run in 800/666 Mhz
DRAM: 224 MiB
NAND: ONFI flash detected
ONFI param page 0 valid
NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD S34ML01G2)
128 MiB
Bad block table not found for chip 0
Bad block table not found for chip 0
Bad block table written to 0x000007fe0000, version 0x01
Bad block table written to 0x000007fc0000, version 0x01
In: serial
Out: serial
Err: serial
Net: multi type
Internal phy firmware version: 0x853c
GRX500 Switch
Type "run flash_nfs" to mount root filesystem over NFS
Press press hardware button for more than 4 seconds to run web failsafe mode
Catution: hardware button wasn't pressed or not long enough!
Continuing normal boot...
Hit any key to stop autoboot: 0
GRX500 #
然后继续按照教程输入fullimage.img uImage_bootcore uImage三个文件
GRX500 # run update_fullimage
Creating 1 MTD partitions on "nand0":
0x000001340000-0x000007f40000 : "mtd=8"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: empty MTD device detected
UBI: create volume table (copy #1)
UBI: create volume table (copy #2)
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=8"
UBI: MTD device size: 108 MiB
UBI: number of good PEBs: 864
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 0
UBI: available PEBs: 852
UBI: total number of reserved PEBs: 12
UBI: number of PEBs reserved for bad PEB handling: 8
UBI: max/mean erase counter: 1/0
Using GRX500 Switch device
TFTP from server 192.168.2.100; our IP address is 192.168.2.1
Filename 'fullimage.img'.
Load address: 0x80800000
Loading: #################################################################
省略若干#号
######
done
Bytes transferred = 25985160 (18c8088 hex)
Image contains header with name [LTQCPE RootFS]
rootfsB volume not found
Creating dynamic volume rootfsB of size 22970368 and volume id 4
Volume "rootfsB" found at volume id 4
Erasing redundant Nand...
Writing to redundant Nand... done
Image contains header with name [MIPS LTQCPE Linux-3.10.102]
kernelB volume not found
Creating dynamic volume kernelB of size 3014656 and volume id 3
Volume "kernelB" found at volume id 3
Erasing Nand...
Writing to Nand... done
Image contains header with name [LTQCPE RootFS]
rootfsA volume not found
Creating dynamic volume rootfsA of size 22970368 and volume id 1
Volume "rootfsA" found at volume id 1
Erasing redundant Nand...
Writing to redundant Nand... done
Image contains header with name [MIPS LTQCPE Linux-3.10.102]
kernelA volume not found
Creating dynamic volume kernelA of size 3014656 and volume id 0
Volume "kernelA" found at volume id 0
Erasing Nand...
Writing to Nand... done
GRX500 # run update_kernel
UBI: mtd1 is detached from ubi0
Creating 1 MTD partitions on "nand0":
0x000001340000-0x000007f40000 : "mtd=8"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=8"
UBI: MTD device size: 108 MiB
UBI: number of good PEBs: 864
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 4
UBI: available PEBs: 442
UBI: total number of reserved PEBs: 422
UBI: number of PEBs reserved for bad PEB handling: 8
UBI: max/mean erase counter: 13/1
Using GRX500 Switch device
TFTP from server 192.168.2.100; our IP address is 192.168.2.1
Filename 'uImage'.
Load address: 0x80800000
Loading: #################################################################
省略若干#号
####
done
Bytes transferred = 3014656 (2e0000 hex)
Image contains header with name [MIPS LTQCPE Linux-3.10.102]
Volume kernelB found at valid 3
remove UBI volume kernelB (id 3)
Creating dynamic volume kernelB of size 3014656 and volume id 3
Volume "kernelB" found at volume id 3
Erasing redundant Nand...
Writing to redundant Nand... done
Image contains header with name [MIPS LTQCPE Linux-3.10.102]
Volume kernelA found at valid 0
remove UBI volume kernelA (id 0)
Creating dynamic volume kernelA of size 3014656 and volume id 0
Volume "kernelA" found at volume id 0
Erasing Nand...
Writing to Nand... done
GRX500 # run update_bootcore
UBI: mtd1 is detached from ubi0
Creating 1 MTD partitions on "nand0":
0x000001340000-0x000007f40000 : "mtd=8"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=8"
UBI: MTD device size: 108 MiB
UBI: number of good PEBs: 864
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 4
UBI: available PEBs: 442
UBI: total number of reserved PEBs: 422
UBI: number of PEBs reserved for bad PEB handling: 8
UBI: max/mean erase counter: 21/1
Using GRX500 Switch device
TFTP from server 192.168.2.100; our IP address is 192.168.2.1
Filename 'uImage_bootcore'.
Load address: 0x80800000
Loading: #################################################################
省略若干#号
############################################################
done
Bytes transferred = 1966272 (1e00c0 hex)
Image contains header with name [MIPS 4Kec Bootcore]
bootcoreB volume not found
Creating dynamic volume bootcoreB of size 1966272 and volume id 7
Volume "bootcoreB" found at volume id 7
Erasing redundant Nand...
Writing to redundant Nand... done
Image contains header with name [MIPS 4Kec Bootcore]
bootcoreA volume not found
Creating dynamic volume bootcoreA of size 1966272 and volume id 6
Volume "bootcoreA" found at volume id 6
Erasing Nand...
Writing to Nand... done
GRX500 #
到此输入reset重启,成功进入ISDK系统
***以下为首发图文未改动***
一、原厂113版本的启动TTL信息,主要看uboot部分
- ROM VER: 2.1.0
- CFG 0a
- B
- .
- .
- U-Boot 2010.06-00044-gb399a23-LANTIQ-v-2.3.136 (Jul 24 2017 - 10:45:54)
- interAptiv
- cps cpu/ddr run in 800/666 Mhz
- DRAM: 224 MiB
- NAND: Could not find valid JEDEC parameter page; aborting
- NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
- 128 MiB
- Bad block table found at page 65408, version 0x01
- Bad block table found at page 65344, version 0x01
- nand_read_bbt: Bad block at 0x000004060000
- nand_read_bbt: Bad block at 0x000007fe0000
- In: serial
- Out: serial
- Err: serial
- Net: multi type
- Internal phy firmware version: 0x853c
- GRX500 Switch
- Type "run flash_nfs" to mount root filesystem over NFS
- Press press hardware button for more than 4 seconds to run web failsafe mode
- Catution: hardware button wasn't pressed or not long enough!
- Continuing normal boot...
- Hit any key to stop autoboot: 0
- Creating 1 MTD partitions on "nand0":
- 0x000001340000-0x000007f40000 : "mtd=8"
- UBI: attaching mtd1 to ubi0
- UBI: physical eraseblock size: 131072 bytes (128 KiB)
- UBI: logical eraseblock size: 126976 bytes
- UBI: smallest flash I/O unit: 2048
- UBI: VID header offset: 2048 (aligned 2048)
- UBI: data offset: 4096
- UBI: attached mtd1 to ubi0
- UBI: MTD device name: "mtd=8"
- UBI: MTD device size: 108 MiB
- UBI: number of good PEBs: 863
- UBI: number of bad PEBs: 1
- UBI: max. allowed volumes: 128
- UBI: wear-leveling threshold: 4096
- UBI: number of internal volumes: 1
- UBI: number of user volumes: 7
- UBI: available PEBs: 301
- UBI: total number of reserved PEBs: 562
- UBI: number of PEBs reserved for bad PEB handling: 8
- UBI: max/mean erase counter: 5517/4280
- Volume bootcoreA found at volume id 4
- read 0 bytes from volume 4 to a0400000(buf address)
- Read [2666496] bytes
- Volume kernelA found at volume id 0
- read 0 bytes from volume 0 to 80800000(buf address)
- Read [3047424] bytes
- ## Booting kernel from Legacy Image at 80800000 ...
- Image Name: MIPS LTQCPE Linux-3.10.102
- Created: 2017-09-19 8:11:32 UTC
- Image Type: MIPS Linux Kernel Image (lzma compressed)
- Data Size: 3014592 Bytes = 2.9 MiB
- Load Address: a0020000
- Entry Point: a002df00
- Verifying Checksum ... OK
- Uncompressing Kernel Image ... OK
- Starting kernel ...
复制代码
二、原厂175版本的启动TTL信息,主要看uboot部分
- ROM VER: 2.1.0
- CFG 0a
- B
- .
- .
- U-Boot 2010.06-00096-g44de763-LANTIQ-v-2.3.136 (Sep 19 2017 - 16:01:02)
- interAptiv
- cps cpu/ddr run in 800/666 Mhz
- DRAM: 224 MiB
- NAND: Could not find valid JEDEC parameter page; aborting
- NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
- 128 MiB
- Bad block table found at page 65408, version 0x01
- Bad block table found at page 65344, version 0x01
- nand_read_bbt: Bad block at 0x000004060000
- nand_read_bbt: Bad block at 0x0000050a0000
- nand_read_bbt: Bad block at 0x000005120000
- nand_read_bbt: Bad block at 0x000005e00000
- nand_read_bbt: Bad block at 0x000006860000
- nand_read_bbt: Bad block at 0x0000068e0000
- nand_read_bbt: Bad block at 0x000007fe0000
- In: serial
- Out: serial
- Err: serial
- Net: multi type
- Internal phy firmware version: 0x8547
- GRX500 Switch
- Type "run flash_nfs" to mount root filesystem over NFS
- Erasing Nand...
- Writing to Nand... done
- Press press hardware button for more than 4 seconds to run web failsafe mode
- Catution: hardware button wasn't pressed or not long enough!
- Continuing normal boot...
- Hit any key to stop autoboot: 0
- Creating 1 MTD partitions on "nand0":
- 0x000001340000-0x000007f40000 : "mtd=8"
- UBI: attaching mtd1 to ubi0
- UBI: physical eraseblock size: 131072 bytes (128 KiB)
- UBI: logical eraseblock size: 126976 bytes
- UBI: smallest flash I/O unit: 2048
- UBI: VID header offset: 2048 (aligned 2048)
- UBI: data offset: 4096
- UBI: attached mtd1 to ubi0
- UBI: MTD device name: "mtd=8"
- UBI: MTD device size: 108 MiB
- UBI: number of good PEBs: 858
- UBI: number of bad PEBs: 6
- UBI: max. allowed volumes: 128
- UBI: wear-leveling threshold: 4096
- UBI: number of internal volumes: 1
- UBI: number of user volumes: 7
- UBI: available PEBs: 326
- UBI: total number of reserved PEBs: 532
- UBI: number of PEBs reserved for bad PEB handling: 8
- UBI: max/mean erase counter: 7/2
- Volume bootcoreA found at volume id 4
- read 0 bytes from volume 4 to a0400000(buf address)
- Read [2666496] bytes
- Volume kernelA found at volume id 0
- read 0 bytes from volume 0 to 80800000(buf address)
- Read [3014656] bytes
- ## Booting kernel from Legacy Image at 80800000 ...
- Image Name: MIPS LTQCPE Linux-3.10.102
- Created: 2017-09-19 8:11:32 UTC
- Image Type: MIPS Linux Kernel Image (lzma compressed)
- Data Size: 3014592 Bytes = 2.9 MiB
- Load Address: a0020000
- Entry Point: a002df00
- Verifying Checksum ... OK
- Uncompressing Kernel Image ... OK
- Starting kernel ...
复制代码
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|