1 (edytowany przez Scenic 2023-12-13 16:07:16)

Temat: Problemy z bad blokami

Witam

Czy jest możliwość usuniecia tabeli bad block  poleceniem  z uboot czy systemu

Bad block table found at page 131008, version 0x8A
Bad block table found at page 130944, version 0x8A


Problem taki ,ze router miał uwaloną kość   przez złe bloki właśnie    Przeniosłem dane na nową  sprawną  kość   wyzerowałem bad bloki  ale tabela pozostała  i dalej jest problem z działaniem routera.


Mój programator niestety nie widzę  aby miał opcje wyzerowania tabeli.

Gdy wybieram opcje  fb czyli znajdz bad block   już  ich nie znajduje    ale  stara tabela  pozostała w pamięci.

Polecenia po  uart z konsoli 

otpcfg              Reading/fusing potp/sotp bits
cfe_version         Show CFE version
factory_default     do factory default
nmrp                start nmrp client
fw_recovery         start tftp server
erase_misc_parti    Erase misc partition
x                   Change extra partitions size
find                Find string in NAND
comp                Compare NAND blocks
bb                  Find NAND flipped bits by comparing a read with and without ECC
fb                  Find NAND bad blocks
rn                  Read NAND contents along with spare area with ECC off
dn                  Dump NAND contents along with spare area
phy                 Set memory or registers.
meminfo             Display CFE System Memory
kernp               Updates extra bootloader parameter for kernel. To end input enter // consecutively at any time then press <enter>
sm                  Set memory or registers.
db                  Dump bytes.
dh                  Dump half-words.
ledctl              Test LEDs.
buttontest          Test Buttons.
dw                  Dump words.
board_passphrase_showShow board passphrase
board_passphrase_setSet passphrase
snset               Set serial number (13 digit)
wpspinset           Set wpspin number
board_ssid_show     Show board SSID
board_ssid_set      Set SSID
rnshow              Show Region number
rnset               Set Region numbe (2 digit)
board_model_id_show Show board model ID
board_model_id_set  Set board model ID
board_hw_id_show    Show board hardware ID
board_hw_id_set     Set board hardware ID
board_parameters_showShow WPS PIN code, Serial number, SSID, Passphrase, MAC address
board_parameters_setSet WPS PIN code, Serial number, SSID, Passphrase, MAC address
macshow             Show ethernet MAC addresses
macset              Set the MAC address (interface:lan,wan,wlan5g,2nd5g)
upgrade_cfe         Upgrade CFE image
upgrade_image       Write the whole image start from Address
w                   Write the whole image start from beginning of the flash
e                   Erase NAND flash
ws                  Write whole image (priviously loaded by kermit or JTAG) to flash .
ba                  set linux kernel boot argument
ldt                 load device tree blob from tftp server.
go                  goto and execute from specefic address.
sphy                Initialize internal single GPHY
loadb               load binary via network or kermit protocol.
r                   Run program from flash image or from host depending on [f/h/c] flags
p                   Print boot line and board parameter info
c                   Change booline parameters
i                   Erase persistent storage data
avs                 Change AVS config
ddr                 Change board DDR config
a                   Change board AFE ID
b                   Change board parameters
reset               Reset the board
pmdio               Pseudo MDIO access for external switches.
spi                 Legacy SPI access of external switch.
pmclog              pmclog
pmc                 pmc cmd
closeavs            pmc close avs cmd
cpufreq             set CPU frequency
force               override chipid check for images.
help                Obtain help for CFE commands

2

Odp: Problemy z bad blokami

Spróbuj zrobic tftp recovery.
Wtedy zwykle formatuje flasha.

3

Odp: Problemy z bad blokami

Niestety ale tabela pozostaje Tylko soft  zeruje.

4 (edytowany przez Scenic 2023-12-15 23:01:19)

Odp: Problemy z bad blokami

Znalazłem tabele w wsadzie usunąłem i zagrało.   Router zgłosił ,ze nie może znaleźć tabeli     Przeszukał pamięć w poszukiwaniu złych bloków  gdy nie znalazł  to utworzył pustą tabele.


Z ciekawość co będzie gdy znajdzie dużo złych bloków   Wywala błąd  ,ze nie ma miejsca do zapisu tabeli  i wsad się nie wczyta.  Router nie wstanie.

5

Odp: Problemy z bad blokami

Będzie próbował zapisywać w złe bloki i zależności co tam będzie albo zgłosi błąd zapisu albo się system wysypie.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.