Hi,
When i config the At91bootstrap use command make menuconfig , i choose the QSPI Configuration ---> eXecute In Place mode. After make generate the at91bootstrap.bin file , i flash the bin file to qspi0 at the start address 0 , and set the qspi to QSPI_XIP_MODE . But the at91bootstrap cannot run, just print RomBoot. Why? Can you help me?
When i config the At91bootstrap use make sama5d2_xplainedsd_uboot_defconfig , i format my SD card with fat32 and copy the generation bin file to SD card root directory which renamed "at91bootstrap.bin".Insert the SD card and boot me bord , the At91bootstrap cannot run, just print RomBoot also.
I donnot know why?
At91bootstrap cannot run in qspi XIP mode
Moderator: nferre
- blue_z
- Location: USA
Post
There is no configuration for a XIP version of AT91Bootstrap.
There is no support for building a version of AT91Bootstrap to be retrieved from or executed out of QSPI memory.
AT91Bootstrap currently only supports using the QSPI memory as a source for the image of the next boot stage (which is either loaded into DRAM or executed in place).
(2) The whole BCR/fuses/BUREG configuration (which you don't describe) will affect the ability to boot from SDcard.
(3) If you're using a SAMA5D2 B chip, then booting from SDcard is unreliable per the errata.
Regards
Re: At91bootstrap cannot run in qspi XIP mode
Yes, that's true.xzp114 wrote:At91bootstrap cannot run in qspi XIP mode
There is no configuration for a XIP version of AT91Bootstrap.
Whatever you did, you didn't do what you think you did.xzp114 wrote:When i config the At91bootstrap use command make menuconfig , i choose the QSPI Configuration ---> eXecute In Place mode.
There is no support for building a version of AT91Bootstrap to be retrieved from or executed out of QSPI memory.
AT91Bootstrap currently only supports using the QSPI memory as a source for the image of the next boot stage (which is either loaded into DRAM or executed in place).
(1) You're using the wrong filename.xzp114 wrote:When i config the At91bootstrap use make sama5d2_xplainedsd_uboot_defconfig , i format my SD card with fat32 and copy the generation bin file to SD card root directory which renamed "at91bootstrap.bin".Insert the SD card and boot me bord , the At91bootstrap cannot run, just print RomBoot also.
I donnot know why?
(2) The whole BCR/fuses/BUREG configuration (which you don't describe) will affect the ability to boot from SDcard.
(3) If you're using a SAMA5D2 B chip, then booting from SDcard is unreliable per the errata.
Regards
Last edited by blue_z on Tue Apr 25, 2017 12:58 am, edited 1 time in total.
Reason: remove typo
Reason: remove typo
Post
Re: At91bootstrap cannot run in qspi XIP mode
Hi,
This is my boot configration as blowblue_z wrote: (2) The whole BCR/fuses/BUREG configuration (which you don't describe) will affect the ability to boot from SDcard.
Code: Select all
BSCR: 0x00000004 -> BUREG_VALID BUREG_0
BUREG0: 0x00040ffe -> QSPI_0_IOSET_3* CONSOLE_UART1_IOSET_1 JTAG_IOSET_1 EXT_MEM_BOOT*
BUREG1: 0x00000000 -> QSPI_0_IOSET_1 QSPI_1_IOSET_1 SPI_0_IOSET_1 SPI_1_IOSET_1 NFC_IOSET_1 SDMMC_0 SDMMC_1 CONSOLE_UART1_IOSET_1 JTAG_IOSET_1
BUREG2: 0x00000000 -> QSPI_0_IOSET_1 QSPI_1_IOSET_1 SPI_0_IOSET_1 SPI_1_IOSET_1 NFC_IOSET_1 SDMMC_0 SDMMC_1 CONSOLE_UART1_IOSET_1 JTAG_IOSET_1
BUREG3: 0x00000000 -> QSPI_0_IOSET_1 QSPI_1_IOSET_1 SPI_0_IOSET_1 SPI_1_IOSET_1 NFC_IOSET_1 SDMMC_0 SDMMC_1 CONSOLE_UART1_IOSET_1 JTAG_IOSET_1
FUSE: 0x006400f2 -> QSPI_0_IOSET_3* QSPI_1_IOSET_1 NFC_IOSET_1 SDMMC_0 SDMMC_1 CONSOLE_UART1_IOSET_1 JTAG_IOSET_1 EXT_MEM_BOOT* QSPI_XIP_MODE* DISABLE_BSCR*
Return to “SAMA5D Cortex-A5 MPU”
Who is online
Users browsing this forum: No registered users and 0 guests