SWRT-dev / swrt-gpl

support bcm470x ipq40xx ipq807x mt7621 mt798x

Home Page:https://swrt.site/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for TC58BVG0S3HTA00

kilroy98 opened this issue · comments

Hi, in my Redmi AC2100 installed nand flash from Toshiba. I tried to add them to the ac85p-based firmware myself (https://github.com/kilroy98/ac85p-asuswrt), but I'm not sure if the data is correct and there is no way to build the firmware in order to check.
Perhaps you can add support for it in ac85p or build firmware from my fork for me? Or just add its support to this firmware.

Model - TC58BVG0S3HTA00.

These nand flash have bad blocks:
kernel: Bad eraseblock 14 at 0x0000001c0000
kernel: Bad eraseblock 15 at 0x0000001e0000
kernel: Bad eraseblock 768 at 0x000006000000

Hi, I found this info on GitHub for nand_ids.c, I hope the information is correct.

{"TC58BVG0S3H 1G 3.3V 8-bit",
{ .id = {0x98, 0xf1, 0x80, 0x15, 0xf2, 0x16, 0x08, 0x00} },
SZ_2K, SZ_128, SZ_128K, 0, 8, 64},
{"TC58NVG0S3H 1G 3.3V 8-bit",
{ .id = {0x98, 0xf1, 0x80, 0x15, 0x72, 0x16, 0x08, 0x00} },
SZ_2K, SZ_128, SZ_128K, 0, 8, 64}

I think this needs to be added into my info: "NAND_ECC_INFO(1, SZ_512),
2"