找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 16349|回复: 30

[k3c] K3C-UBOOT对比-113-175 顺便救砖且成功

[复制链接]
发表于 2017-11-15 20:38 | 显示全部楼层 |阅读模式
本帖最后由 独爱你一人 于 2017-11-25 10:07 编辑

不扯废话了,拆了两台k3c都是三星颗粒,一台原厂113版本固件,可以直接降级到93版本,这台有2个坏块。另一台原厂175版本固件,不能降级,会出现无限重启现象,这台有7个坏块。发两份启动的ttl信息对比,各位大佬与看官可以拿去研究。助力175版本可以顺利降级刷固件
不好意思,搞错版本号了不是173,是175,已修正
正在折腾降级,替换uboot中

更新下,把113的前4个分区替换到175路由里面,直接挂掉不启动了,不清楚到底是修改了什么东西,等待救砖工具的到来
目前只有上电信息,其他全无,手残党
  1. ROM VER: 2.1.0
  2. CFG 0a
  3. B
  4. .
  5. .
复制代码
***续续续续续***
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部分
  1. ROM VER: 2.1.0
  2. CFG 0a
  3. B
  4. .
  5. .


  6. U-Boot 2010.06-00044-gb399a23-LANTIQ-v-2.3.136 (Jul 24 2017 - 10:45:54)

  7. interAptiv
  8. cps cpu/ddr run in 800/666 Mhz
  9. DRAM:  224 MiB
  10. NAND:  Could not find valid JEDEC parameter page; aborting
  11. NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
  12. 128 MiB
  13. Bad block table found at page 65408, version 0x01
  14. Bad block table found at page 65344, version 0x01
  15. nand_read_bbt: Bad block at 0x000004060000
  16. nand_read_bbt: Bad block at 0x000007fe0000
  17. In:    serial
  18. Out:   serial
  19. Err:   serial
  20. Net:   multi type
  21. Internal phy firmware version: 0x853c
  22. GRX500 Switch

  23. Type "run flash_nfs" to mount root filesystem over NFS


  24. Press press hardware button for more than 4 seconds to run web failsafe mode



  25. Catution: hardware button wasn't pressed or not long enough!
  26. Continuing normal boot...

  27. Hit any key to stop autoboot:  0
  28. Creating 1 MTD partitions on "nand0":
  29. 0x000001340000-0x000007f40000 : "mtd=8"
  30. UBI: attaching mtd1 to ubi0
  31. UBI: physical eraseblock size:   131072 bytes (128 KiB)
  32. UBI: logical eraseblock size:    126976 bytes
  33. UBI: smallest flash I/O unit:    2048
  34. UBI: VID header offset:          2048 (aligned 2048)
  35. UBI: data offset:                4096
  36. UBI: attached mtd1 to ubi0
  37. UBI: MTD device name:            "mtd=8"
  38. UBI: MTD device size:            108 MiB
  39. UBI: number of good PEBs:        863
  40. UBI: number of bad PEBs:         1
  41. UBI: max. allowed volumes:       128
  42. UBI: wear-leveling threshold:    4096
  43. UBI: number of internal volumes: 1
  44. UBI: number of user volumes:     7
  45. UBI: available PEBs:             301
  46. UBI: total number of reserved PEBs: 562
  47. UBI: number of PEBs reserved for bad PEB handling: 8
  48. UBI: max/mean erase counter: 5517/4280
  49. Volume bootcoreA found at volume id 4
  50. read 0 bytes from volume 4 to a0400000(buf address)
  51. Read [2666496] bytes
  52. Volume kernelA found at volume id 0
  53. read 0 bytes from volume 0 to 80800000(buf address)
  54. Read [3047424] bytes
  55. ## Booting kernel from Legacy Image at 80800000 ...
  56.    Image Name:   MIPS LTQCPE Linux-3.10.102
  57.    Created:      2017-09-19   8:11:32 UTC
  58.    Image Type:   MIPS Linux Kernel Image (lzma compressed)
  59.    Data Size:    3014592 Bytes = 2.9 MiB
  60.    Load Address: a0020000
  61.    Entry Point:  a002df00
  62.    Verifying Checksum ... OK
  63.    Uncompressing Kernel Image ... OK

  64. Starting kernel ...
复制代码

二、原厂175版本的启动TTL信息,主要看uboot部分
  1. ROM VER: 2.1.0
  2. CFG 0a
  3. B
  4. .
  5. .


  6. U-Boot 2010.06-00096-g44de763-LANTIQ-v-2.3.136 (Sep 19 2017 - 16:01:02)

  7. interAptiv
  8. cps cpu/ddr run in 800/666 Mhz
  9. DRAM:  224 MiB
  10. NAND:  Could not find valid JEDEC parameter page; aborting
  11. NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
  12. 128 MiB
  13. Bad block table found at page 65408, version 0x01
  14. Bad block table found at page 65344, version 0x01
  15. nand_read_bbt: Bad block at 0x000004060000
  16. nand_read_bbt: Bad block at 0x0000050a0000
  17. nand_read_bbt: Bad block at 0x000005120000
  18. nand_read_bbt: Bad block at 0x000005e00000
  19. nand_read_bbt: Bad block at 0x000006860000
  20. nand_read_bbt: Bad block at 0x0000068e0000
  21. nand_read_bbt: Bad block at 0x000007fe0000
  22. In:    serial
  23. Out:   serial
  24. Err:   serial
  25. Net:   multi type
  26. Internal phy firmware version: 0x8547
  27. GRX500 Switch

  28. Type "run flash_nfs" to mount root filesystem over NFS

  29. Erasing Nand...

  30. Writing to Nand... done

  31. Press press hardware button for more than 4 seconds to run web failsafe mode



  32. Catution: hardware button wasn't pressed or not long enough!
  33. Continuing normal boot...

  34. Hit any key to stop autoboot:  0
  35. Creating 1 MTD partitions on "nand0":
  36. 0x000001340000-0x000007f40000 : "mtd=8"
  37. UBI: attaching mtd1 to ubi0
  38. UBI: physical eraseblock size:   131072 bytes (128 KiB)
  39. UBI: logical eraseblock size:    126976 bytes
  40. UBI: smallest flash I/O unit:    2048
  41. UBI: VID header offset:          2048 (aligned 2048)
  42. UBI: data offset:                4096
  43. UBI: attached mtd1 to ubi0
  44. UBI: MTD device name:            "mtd=8"
  45. UBI: MTD device size:            108 MiB
  46. UBI: number of good PEBs:        858
  47. UBI: number of bad PEBs:         6
  48. UBI: max. allowed volumes:       128
  49. UBI: wear-leveling threshold:    4096
  50. UBI: number of internal volumes: 1
  51. UBI: number of user volumes:     7
  52. UBI: available PEBs:             326
  53. UBI: total number of reserved PEBs: 532
  54. UBI: number of PEBs reserved for bad PEB handling: 8
  55. UBI: max/mean erase counter: 7/2
  56. Volume bootcoreA found at volume id 4
  57. read 0 bytes from volume 4 to a0400000(buf address)
  58. Read [2666496] bytes
  59. Volume kernelA found at volume id 0
  60. read 0 bytes from volume 0 to 80800000(buf address)
  61. Read [3014656] bytes
  62. ## Booting kernel from Legacy Image at 80800000 ...
  63.    Image Name:   MIPS LTQCPE Linux-3.10.102
  64.    Created:      2017-09-19   8:11:32 UTC
  65.    Image Type:   MIPS Linux Kernel Image (lzma compressed)
  66.    Data Size:    3014592 Bytes = 2.9 MiB
  67.    Load Address: a0020000
  68.    Entry Point:  a002df00
  69.    Verifying Checksum ... OK
  70.    Uncompressing Kernel Image ... OK

  71. Starting kernel ...
复制代码








本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
发表于 2017-11-15 20:52 | 显示全部楼层
这两个和我的一摸一样
nand_read_bbt: Bad block at 0x000004060000
nand_read_bbt: Bad block at 0x000007fe0000
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-11-15 21:00 | 显示全部楼层
卧槽新版uboot,难怪不能降级,uboot备份发上来吧,uboot以加密,无解,只有刷老版本
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-11-15 21:13 | 显示全部楼层
谁能搞到斐讯uboot的配置,有必要出第三方uboot了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-11-15 21:22 | 显示全部楼层
本帖最后由 siyo2001 于 2017-11-18 09:49 编辑
paldier 发表于 2017-11-15 21:00
卧槽新版uboot,难怪不能降级,uboot备份发上来吧,uboot以加密,无解,只有刷老版本

175 uboot (大神发现这固件是113的,可是我系统已经升级到175了)
http://pan.baidu.com/s/1b1lDam

密码 yge8
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-11-15 21:29 | 显示全部楼层
phy firmware version: 0x8547 更新了...................不知道175有线体验怎么样,如果好的话可以提出来给大家刷,来吧,非官改175来反馈下有线怎么样
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-11-15 21:30 | 显示全部楼层
5G 不错,2.4G信号渣渣,比K2P差很多
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2017-11-15 21:37 | 显示全部楼层
本帖最后由 独爱你一人 于 2017-11-15 21:40 编辑
paldier 发表于 2017-11-15 21:29
phy firmware version: 0x8547 更新了...................不知道175有线体验怎么样,如果好的话可以提出来 ...

5g六六六,2.4g有点渣,不如k2,有线没发现任何问题,曾经我开机连续开机过15天+正常




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-11-15 23:31 | 显示全部楼层
同个房间间隔大概10M 5G信号比2.4G还强,5G很稳定,2.4G时不时断流不知道为什么
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-11-15 23:46 | 显示全部楼层
你是今天第二个什么都不知道就开始作的,uboot没了之后只有返厂和拆nand两条路,自己选吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-11-16 00:44 | 显示全部楼层
siyo2001 发表于 2017-11-15 21:30
5G 不错,2.4G信号渣渣,比K2P差很多



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2017-11-16 18:48 | 显示全部楼层
paldier 发表于 2017-11-15 23:46
你是今天第二个什么都不知道就开始作的,uboot没了之后只有返厂和拆nand两条路,自己选吧

返厂与拆nand,这还需要选择嘛,当然是选择后者,拆nand,还请大佬带领,换新nand后我知道只刷uboot(前4个分区)。我如果从其他 低版本路由拿出来这4个分区刷进去是否可行
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-11-16 21:27 | 显示全部楼层
独爱你一人 发表于 2017-11-16 18:48
返厂与拆nand,这还需要选择嘛,当然是选择后者,拆nand,还请大佬带领,换新nand后我知道只刷uboot ...

可以啊,目前新版uboot只是要匹配那4个分区就行,主要你是没完全刷进去你就重启了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2017-11-16 23:20 | 显示全部楼层
paldier 发表于 2017-11-16 21:27
可以啊,目前新版uboot只是要匹配那4个分区就行,主要你是没完全刷进去你就重启了

cat /mtd0 > /dev/mtd0
cat /mtd1 > /dev/mtd1。。。。。。。。。
不会还需要 sync吧,这步还真没做
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-11-16 23:33 | 显示全部楼层
cat /mtd0 > /dev/mtd0
写空数据到mtd0.....................你很666666666
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-26 14:00

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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