Hi Igor
I had to change the probe command to sf probe 1:0 as QSPI flash is connected to QSPI2 on imx6sx SDB. I then loaded the files following your instructions to the flash an verified that they are at the right position:
=> sf probe 1:0
SF: Detected N25Q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
=> sf read 0x80000000 0x400 0x170
SF: 368 bytes @ 0x400 Read: OK
=> md 0x80000000 0x60
80000000: 00000000 00000000 00000000 00000000 ................
80000010: 00000000 00000000 00000000 02000000 ................
80000020: 00000003 00000003 08000000 00000000 ................
80000030: 08000000 00000000 00000000 00000000 ................
80000040: 00000001 00000000 00000000 00000000 ................
80000050: 00000000 00000000 00000000 00000000 ................
80000060: 00000000 00000000 0818040b 1c040c08 ................
80000070: 00000000 00000000 00000000 00000000 ................
80000080: 00000000 00000000 00000000 00000000 ................
80000090: 00000000 00000000 00000000 00000000 ................
800000a0: 00000000 00000000 00000000 00000000 ................
800000b0: 00000000 00000000 00000000 00000000 ................
800000c0: 00000000 00000000 00000000 00000000 ................
800000d0: 00000000 00000000 00000000 00000000 ................
800000e0: 00000000 00000000 00000000 00000000 ................
800000f0: 00000000 00000000 00000000 00000000 ................
80000100: 00000000 00000000 00000000 00000000 ................
80000110: 00000000 00000000 00000000 00000000 ................
80000120: 00000000 00000000 00000000 00000000 ................
80000130: 00000000 00000000 00000000 00000000 ................
80000140: 00000000 00000000 00000000 00000000 ................
80000150: 00000000 00000000 00000000 00000000 ................
80000160: 00000000 00000000 01000001 00000000 ................
=> sf read 0x80000000 0x1000 0x200
SF: 512 bytes @ 0x1000 Read: OK
=> md 0x80000000 0x80
80000000: 402000d1 87800000 00000000 877ff918 .. @............
80000010: 877ff90c 877ff8ec 00000000 00000000 ................
80000020: 877fe8ec 00057000 00000000 400802d2 .....p.........@
80000030: 040402cc 68400c02 ffffffff 6c400c02 ......@h......@l
80000040: ffffffff 70400c02 ffffffff 74400c02 ......@p......@t
80000050: ffffffff 78400c02 ffffffff 7c400c02 ......@x......@|
80000060: ffffffff 80400c02 ffffffff 84400c02 ......@.......@.
80000070: ffffffff 18060e02 00000c00 fc050e02 ................
80000080: 00000000 2c030e02 30000000 00030e02 .......,...0....
80000090: 20000000 fc020e02 20000000 f4050e02 ... ....... ....
800000a0: 20000000 40030e02 20000000 20030e02 ... ...@... ...
800000b0: 00000000 10030e02 20000000 14030e02 ........... ....
800000c0: 20000000 14060e02 20000000 f8050e02 ... ....... ....
800000d0: 00000200 30030e02 28000000 34030e02 .......0...(...4
800000e0: 28000000 38030e02 28000000 3c030e02 ...(...8...(...<
800000f0: 28000000 08060e02 00000200 0c060e02 ...(............
80000100: 28000000 10060e02 28000000 1c060e02 ...(.......(....
80000110: 28000000 20060e02 28000000 ec020e02 ...(... ...(....
80000120: 28000000 f0020e02 28000000 f4020e02 ...(.......(....
80000130: 28000000 f8020e02 28000000 00081b02 ...(.......(....
80000140: 030039a1 0c081b02 25002900 10081b02 .9.......).%....
80000150: 22002200 3c081b02 44014841 40081b02 ."."...<AH.D...@
80000160: 30013401 48081b02 44423e3c 50081b02 .4.0...H<>BD...P
80000170: 38363634 1c081b02 33333333 20081b02 4668....3333...
80000180: 33333333 24081b02 33333333 28081b02 3333...$3333...(
80000190: 33333333 b8081b02 00080000 04001b02 3333............
800001a0: 2d000200 08001b02 30303300 0c001b02 ...-.....300....
800001b0: f3526b67 10001b02 638b6db6 14001b02 gkR......m.c....
800001c0: db00ff01 18001b02 40170100 1c001b02 ...........@....
800001d0: 00800000 2c001b02 d2260000 30001b02 .......,..&....0
800001e0: 23106b00 40001b02 5f000000 00001b02 .k.#...@..._....
800001f0: 00001984 1c001b02 32800004 1c001b02 ...........2....
After changing the switches to boot from QSPI2 there is no output on the serial console. Do you have any ideas? Can you tell me why there is a size of 0x08000000 (128MByte) specified in your QSPI parameters? The flashes on the board have a capacity of 32MByte only.
Thanks for your help
Regards,
Matthias