aboutsummaryrefslogtreecommitdiff
path: root/doc/board/nxp/imxrt1050-evk.rst
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-02-24 17:51:50 -0500
committerTom Rini <trini@konsulko.com>2024-02-24 17:51:50 -0500
commit1a66a7768af7e8106c2cd93a19f4013877fb85ae (patch)
tree04100a413ed4ce0091d027cc6260d2ecbfd4fb15 /doc/board/nxp/imxrt1050-evk.rst
parentbb9d6c7f4f6a598e8856b2e19e58c7de078a0d6e (diff)
parent7c76b1b91bf67cd09fdf5dbd71590f9e580590fa (diff)
downloadu-boot-WIP/24Feb2024.zip
u-boot-WIP/24Feb2024.tar.gz
u-boot-WIP/24Feb2024.tar.bz2
Merge tag 'u-boot-imx-master-20240224' of https://source.denx.de/u-boot/custodians/u-boot-imxWIP/24Feb2024
- Enable the thermal driver for the imx8m phycore boards. - Convert imx53-qsb to watchdog driver to fix the 'reset' command. - Remove multiline string from imx6dl-sielaff. - Add SPI boot support for imxrt1050-evk. - Convert opos6uldev to watchdog driver to fix the 'reset' command.
Diffstat (limited to 'doc/board/nxp/imxrt1050-evk.rst')
-rw-r--r--doc/board/nxp/imxrt1050-evk.rst30
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.