diff options
author | Jesse Taube <Mr.Bossman075@gmail.com> | 2024-02-19 18:01:00 -0500 |
---|---|---|
committer | Fabio Estevam <festevam@denx.de> | 2024-02-24 16:21:02 -0300 |
commit | 59c3f0ee5438f1f93c1d45b96deb8cb2d12ab468 (patch) | |
tree | f492259aa0e3a7d59d7110250b06173e6d7d0d73 | |
parent | 7079eeb72fc36b809a6e9c7417aff3bf19b6d3f1 (diff) | |
download | u-boot-59c3f0ee5438f1f93c1d45b96deb8cb2d12ab468.zip u-boot-59c3f0ee5438f1f93c1d45b96deb8cb2d12ab468.tar.gz u-boot-59c3f0ee5438f1f93c1d45b96deb8cb2d12ab468.tar.bz2 |
imx: imxrt1050-evk: Add documentation for SPI boot
Add documentation for SPI boot.
Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
-rw-r--r-- | doc/board/nxp/imxrt1050-evk.rst | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/board/nxp/imxrt1050-evk.rst b/doc/board/nxp/imxrt1050-evk.rst index c1fb48f..e0cafe1 100644 --- a/doc/board/nxp/imxrt1050-evk.rst +++ b/doc/board/nxp/imxrt1050-evk.rst @@ -39,3 +39,33 @@ switch label numbers reference). The USB console connector is the one close the ethernet connector - Insert the micro SD card in the board, power it up and U-Boot messages should come up. + + +How to use U-Boot with SPI flash on NXP i.MXRT1050 EVK +------------------------------------------------------ + +- Build U-Boot for i.MXRT1050 EVK: + +.. code-block:: bash + + $ make mrproper + $ make imxrt1050-evk_fspi_defconfig + $ make + +This will generate SPL, uboot.img, fspi_header.bin, and the final image (flash.bin). + +To boot from SPI flash on other boards, you may need to change the flash header config, +which is specific to your flash chip, in Kconfig. +The flash config is 4K in size and is documented on page 217 of the imxrt1050 RM. +The default flash chip on the i.MXRT1050 EVK is the S26KS512SDPBHI02 HYPERFLASH. + +- Jumper settings:: + + SW7: 0 1 1 0 + +where 0 means bottom position and 1 means top position (from the +switch label numbers reference). + +- Connect the USB cable between the EVK and the PC for the console. + +- Use either JTAG or SWD to write `flash.bin` to the NOR. I used Mcuexpresso IDE's GUI flash tool. |