[G Tablet General] jimcpl:
Hi,

If anyone has tried, but had problems retrieving the BCT (boot configuration table) from their Gtab, FYI, I was able to use nvflash to get the BCT from my Gtab! When I had tried previously, I kept getting an error saying that the command didn't exist.

I think that the "trick" is that you HAVE TO do it on the same/FIRST command line where you send the boot loader to the Gtab, i.e., it looks like --getbct doesn't work when you do a --resume/-r. Here's my outputs:

Windows:

=======

E:\Ziptemp\Viewsonic-BEKIT-RESTORE\Windows>nvflash --bl bootloader.bin --getbct --bct jl-bct-win.bct --go

Nvflash started

rcm version 0X20001

System Information:

chip name: t20

chip id: 0x20 major: 1 minor: 3

chip sku: 0x8

chip uid: 0x1714404641e0f5d7

macrovision: disabled

hdcp: enabled

sbk burned: false

dk burned: false

boot device: nand

operating mode: 3

device config strap: 0

device config fuse: 0

sdram config strap: 0

retrieving bct into: jl-bct-win.bct

jl-bct-win.bct received successfully

downloading bootloader -- load address: 0x108000 entry point: 0x108000

sending file: bootloader.bin

| 928945/928945 bytes sent

bootloader.bin sent successfully

waiting for bootloader to initialize

bootloader downloaded successfully

E:\Ziptemp\Viewsonic-BEKIT-RESTORE\Windows>dir

.

.

01/29/2011 03:08 PM 4,080 jl-bct-win.bct

Ubuntu:

======

root@ubuntu:/nvflash# ./nvflash --bl bootloader.bin --getbct --bct jl-bct.bct --go

Nvflash started

rcm version 0X20001

System Information:

chip name: t20

chip id: 0x20 major: 1 minor: 3

chip sku: 0x8

chip uid: 0x1714404641e0f5d7

macrovision: disabled

hdcp: enabled

sbk burned: false

dk burned: false

boot device: nand

operating mode: 3

device config strap: 0

device config fuse: 0

sdram config strap: 0

retrieving bct into: jl-bct.bct

jl-bct.bct received successfully

downloading bootloader -- load address: 0x108000 entry point: 0x108000

sending file: bootloader.bin

| 928945/928945 bytes sent

bootloader.bin sent successfully

waiting for bootloader to initialize

bootloader downloaded successfully

root@ubuntu:/nvflash# ls -al

.

.

-rw-r--r-- 1 root root 4080 2011-01-29 11:56 jl-bct.bct

.

.

You'll notice that the .bct files in both cases are 4080 bytes, so I think it's the "real" BCT (not the partition that is labelled as "BCT" in the partition table). That (4080 bytes) is the same size as the ones in Bekit's dropbox.

For the above, I used the nvflash/nvflash.exe from Bekit's dropbox in both cases. I'm assuming it'd work the same with the nvflash from the Nvidia SDK also...

[Note: per another thread:

1) nvflash.exe --getpartitiontable using nvflash.exe from Bekit's dropbox outputs binary

2) nvflash.exe --getpartitiontable using nvflash.exe from the Nvidia SDK outputs text

1) (Linux) nvflash --getpartitiontable using nvflash.exe from Bekit's dropbox outputs text

]

The bootloader.bin was also the one from Bekit's dropbox.

FYI, how to get this working was actually "hinted at" by tcrews in a thread (search for "guidance" in this forum). I had seen it, but hadn't paid much attention, but I noticed this morning that he had the --bl on the same command line, so figured I'd try that.

Jim