Hi,
We are trying to boot T1040RDB from SPI, here is what i have tried so far
1) Build u-boot.(make T1040RDB_SPIFLASH_defconfig)
make
2) copy the generated u-boot.bin and u-boot-with-spl-pbl.bin
=>tftp 100000 u-boot-with-spl-pbl.bin
=>sf probe 0
=>sf erase 0 100000
=>sf write 100000 0 $filesize
write u-boot.bin at offset 0x40000 (256KB):
=>tftp 100000 u-boot.bin
=>sf write 100000 40000 $filesize
Change the switch setting as below
SW1 [1:8] = 0010 0010
SW2 [1:8] = 1011 1011
SW3 [1:8] = 1110 0001
So far i have been unsuccessful, my understanding is that u-boot will build PBL.bin with default rcw which is good enough to test boot from spi. Is my understanding correct? Am i missing something?
Thanks
Vijay
I am able to generate SPI image, and i can boot, my question is more on the serial nor flash memory layout, more specifically on secure boot, where should u-boot header/boot script header should go at what address?
It will be more convenient to support the issue as a Technical Case:
1) Which exactly board is in question - i.e. what is written on the board itself and in on-board sticker(s)?
2) Which version of the NXP Linux SDK is used?
Hi Ufedor
1) T1040RDB Rev B - SCH28125 RevB/700/28215 RevB
2) I am using Linux SDK 2.0
Thanks
Vijay
> 2) I am using Linux SDK 2.0
The SDK 2.0-1703 is able to generate complete bootable SPI image (it contains RCW, PBL, U-Boot at once - refer to the attached image), but for the T1040D4RDB board - it is possible to refer to the SDK Images ISO available at:
and
Attached are PBL.bin and u-boot.bin that i am using.
rcw seems to be correct
aa 55 aa 55 01 0e 01 00 0c 18 00 0e 0e 00 00 00
00 00 00 00 00 00 00 00 66 00 00 02 80 00 00 02
58 10 60 00 01 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 03 28 10 00 00 00 00 03 42 50 0f
00 00 00 00 00 00 00 00 09 25 01 00 00 00 04 00
09 25 01 08 00 00 20 00 09 00 00 10 00 00 00 0b
09 00 00 14 c0 00 00 00 09 00 00 18 81 d0 00 17
89 02 04 00 a1 00 00 00 09 13 80 c0 00 0f 00 00
89 02 04 00 00 00 00 00 09 01 00 00 00 20 04 00
09 13 80 00 00 00 00 00 09 13 80 c0 00 00 01 00
09 01 01 00 00 00 00 00 09 01 01 04 ff fc 00 07
09 01 0f 00 08 1e 00 0d 09 01 00 00 80 00 00 00
09 00 0c d0 00 00 00 00 09 00 0c d4 ff fc 00 00
09 00 0c d8 81 00 00 11 09 00 00 10 00 00 00 00
09 00 00 14 ff 00 00 00 09 00 00 18 81 00 00 00
09 11 00 00 80 00 04 03 09 11 00 20 2d 17 00 08
Below switch settings worked for me
SW1 [1:8] = 0010 0001
SW2 [1:8] = 1011 1011
SW3 [1:8] = 1110 0001
What is the serial nor flash memory map for SPI boot, at what address should we flash kernel image and dtb for spi boot?