11-15-2011, 05:23 PM | #106 |
Fun-ologist
Posts: 41
Karma: 10
Join Date: Oct 2011
Device: Pocket Edge, Galaxy S
|
I used the help function to figure it out.....
|
11-15-2011, 06:14 PM | #107 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
u clever than me
can not see anything on help that will help me correct the baddies do you remember anything from here? EdgeJr>> help ? - alias for 'help' base - print or set address offset bbt - Bad Block Management bootz - boot zImge from memory check mem cmp - memory compare cp - memory copy crc32 - checksum calculation help - print online help hi - put system into hibernate mode i2cbase - i2cbase i2c_base_addr (I2C: 0xd4011000, PI2C: 0xd4025000) i2cinit - initialize i2c bus i2cr - read I2C device (byte) i2cw - write I2C device (byte) i2cwa - write addr to I2C device (byte) loop - infinite loop on address range machine_id - change machine id md - memory display mm - memory modify (auto-incrementing) mtest - simple RAM test mw - memory write (fill) nand - NAND sub-system nm - memory modify (constant address) op - operating change ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables reset - Perform RESET of the CPU run - run commands in an environment variable saveenv - save environment variables to persistent storage setenv - set environment variables sf - SPI flash sub-system switch -switch the download by USB or Ethernet, and config conresponsed IP tftpboot -download image via network using TFTP protocol version - print monitor version Last edited by vicinc; 11-15-2011 at 06:17 PM. |
Advert | |
|
11-16-2011, 12:24 PM | #108 |
Zealot
Posts: 111
Karma: 516224
Join Date: May 2011
Location: Pacific Northwest (about 35 miles northeast of Seattle)
Device: K3 / HP 10" Tablet (FBreader Installed)
|
bbt - Bad Block Management ?
|
11-16-2011, 12:33 PM | #109 |
Fun-ologist
Posts: 41
Karma: 10
Join Date: Oct 2011
Device: Pocket Edge, Galaxy S
|
type 'help bbt' to see a list of bbt commands.
Last edited by perldude69; 11-16-2011 at 01:25 PM. Reason: added quotes around the command. |
11-16-2011, 07:38 PM | #110 | |
Gadget Freak
Posts: 1,169
Karma: 1043832
Join Date: Nov 2007
Location: US
Device: EE, Note 8
|
Quote:
http://www.linux-mtd.infradead.org/t...nand/x144.html The u-boot command "nand bad" lists the offsets of the bad blocks. Last edited by Gunnerp245; 11-16-2011 at 07:40 PM. |
|
Advert | |
|
11-16-2011, 09:00 PM | #111 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
I will do a dump of my system shortly.
nand bad does not lists anything, and I do not understand the format of the bbt commands, it does not make any sense. |
11-17-2011, 02:56 AM | #112 |
Fun-ologist
Posts: 41
Karma: 10
Join Date: Oct 2011
Device: Pocket Edge, Galaxy S
|
Can you post what 'help bbt' gives as output?
--Jim |
11-17-2011, 06:16 AM | #113 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
EdgeJr>> help bbt
help bbt bbt - bbt - Bad Block Management Usage: bbt show [nand | onenand] - show nand/onenand relocation table bbt init [nand | onenand] [old | new] - init relocation table based on legacy or new BBM Policy bbt recreate [nand | onenand] addr - rebuild the bbt by erasing the whole flash after sepecified addr bbt convert [nand | onenand] - convert the old bbm to new bbm scheme if old existed bbt mark [nand | onenand] addr - mark bad block EdgeJr>> |
11-17-2011, 06:17 AM | #114 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
EdgeJr>> bbt mark
bbt mark Usage: bbt - Bad Block Management EdgeJr>> bbt mark nand bbt mark nand Unable to mark bad block at 0 block 0 NOT marked as bad! ERROR -14 EdgeJr>> also EdgeJr>> bbt show nand bbt show nand Failed to detect legacy BBM, searching for new BBM... Detected New BBM Table Found main block at 0, back at 1 Factory marked bad blocks: No factory marked bad blocks found!! EdgeJr>> |
11-17-2011, 06:20 AM | #115 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
nand bad
nand bad Device 0 bad blocks: and than the device gets stucked |
11-17-2011, 02:00 PM | #116 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
dup post
|
11-17-2011, 02:02 PM | #117 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
from what I read I should do
nand scrub than nand createbbt nand scrub is asking for: NAND scrub: You should specify the offset and size parameters!!! do you know the values? |
11-17-2011, 03:10 PM | #118 | ||
Gadget Freak
Posts: 1,169
Karma: 1043832
Join Date: Nov 2007
Location: US
Device: EE, Note 8
|
Quote:
Quote:
|
||
11-17-2011, 04:58 PM | #119 |
Fun-ologist
Posts: 41
Karma: 10
Join Date: Oct 2011
Device: Pocket Edge, Galaxy S
|
Ok,
I got my new PE in the mail today. The first thing I did was charge the battery and tear the damn thing apart. I hooked it up to serial and ran the bbt help. I remember now that it is a two step process. First thing you need to do is initialize the nand. 1. bbt init nand It will scan the blocks for bad read / writes. 2. bbt mark nand This should mark any bad blocks in the file system. -- Good luck (Mine found two bad blocks on the system) -- Jim |
11-17-2011, 06:09 PM | #120 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
ok got the bad blocks off
EdgeJr>> bbt init nand bbt init nand Ready to recover bbm as legacy! Ready to read..erasing..write back..collect bad info.. mark 1780000 as bad in bbt ready to put 1780000 into the bbt get block 8191 from reserved area The block is verified mark 51180000 as bad in bbt ready to put 51180000 into the bbt get block 8190 from reserved area The block is verified update bbt..update legacy bbt at 7f000 done EdgeJr>> bbt mark nand bbt mark nand ready to put 0 into the bbt get block 8189 from reserved area The block is verified update legacy bbt at 7e000 block 0 successfully marked as bad EdgeJr>> run boot_user Last edited by vicinc; 11-17-2011 at 06:11 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
the official "see a device in a café near you" hookup thread | zelda_pinwheel | Which one should I buy? | 259 | 03-08-2013 09:43 AM |
[Old Thread] Slow to 'get list of books on device' for Kindle DX | tklaus | Devices | 4 | 03-10-2011 12:11 PM |
MobileRead Official MobileRead Book Club: Welcome thread/November's book choice thread | PsyDocJoanne | Book Clubs | 151 | 02-08-2009 08:42 PM |