2010-09-22 18:35:00 Dump entire NOR with MTD
Massimo Savina (ITALY)
Message: 93771
Hi,
I need to dump entire NOR memory (uboot+boot parameters+kernel image+ filesystem) of my BF548 based board into a file to clone board.
Mike some time ago suggests to me to use /dev/mtd* devices from user space.
now, my dmesg reports to me that there are 3 partitions in NOR:
Driver 'sd' needs updating - please use bus_type methods
physmap platform flash device: 02000000 at 20000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
RedBoot partition parsing not available
Using physmap partition information
Creating 3 MTD partitions on "physmap-flash.0":
0x00000000-0x00040000 : "bootloader(nor)"
0x00040000-0x00440000 : "linux kernel(nor)"
0x00440000-0x01000000 : "file system(nor)"
BF5xx on-chip NAND FLash Controller Driver, Version 1.2 (c) 2007 Analog Devices, Inc.
bf5xx-nand bf5xx-nand.0: page_size=256, data_width=8, wr_dly=3, rd_dly=3
How can I do a whole NOR memory dump, into a single and contiguous file?
Tanks a lot.
Massimo.
TranslateQuoteReplyEditDelete
2010-09-22 18:40:40 Re: Dump entire NOR with MTD
Mike Frysinger (UNITED STATES)
Message: 93772
cat all three at once ? append one onto another ? there are may ways to address this simple shell problem.