Products > Test Equipment

Possible GW Instek GDS-1000B hack

<< < (40/52) > >>

danymogh:
can someone please send me the mtd0 and mtd1 files of their scope using the following commands?

# nanddump -f boot.bin /dev/mtd0
# nanddump -f devtree.bin /dev/mtd1

you can access the SSH in the newer versions by installing the app I wrote for it. I'll get back to writing Lua apps once I've restored my scope.

after installing the app reset oscope, go to apps, open ssh, press start, and also press reset pass. the pass is the same as the one in 1.18 firmware.

tv84:
Here is the boot.bin from v1.12.

Are you sure you can't find those files inside the FW upgrade packages?

danymogh:
There's a small chance that the files are modified while being written to the nand flash.
Also the devtree section which is mtd1 is not on the fwupgrade files

danymogh:
unfortunately flashing the bootloader and the devtree did not solve the problem. it is still not booting.

if anyone has any idea I'm all ears.

be very careful not to run the nandtest and nandwrite commands on any mtd device as they'll brick the scope!

danymogh:
I think I have a new lead.

according to https://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf -> page 185
and https://github.com/ARM-software/u-boot/blob/402465214395ed26d6fa72d9b6097c7adbf6a966/drivers/mtd/nand/zynq_nand.c#L214
the Zynq 7000 BOOTROM looks for a Bad Block Table (BBT) with this pattern {'B', 'b', 't', '0' } and the mirror pattern {'1', 't', 'b', 'B' } in the last 4 blocks of the Nand or the OOB area !
I have a full dump of the Nand and there's nothing at the last 4 blocks so I think the information should be in the OOB area of the first block which was corrupted ! that might be why programming it again without OOB didn't boot. although there's no indication of what happens if the BBT is not found.

any ideas ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod