• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisión4ae1fa338bb074a98953126985cceb9973139f5b (tree)
Tiempo2022-07-25 23:11:49
AutorMamta Shukla <mamta.shukla@leic...>
CommiterStefano Babic

Log Message

doc: board: nxp: Add instructions to boot from QSPI

Add instructions to build and boot from QSPI Flash

Signed-off-by: Mamta Shukla <mamta.shukla@leica-geosystems.com>
Signed-off-by: Thomas Haemmerle <thomas.haemmerle@leica-geosystems.com>
Tested-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>

Cambiar Resumen

Diferencia incremental

--- a/doc/board/nxp/imx8mm_evk.rst
+++ b/doc/board/nxp/imx8mm_evk.rst
@@ -35,8 +35,8 @@ Get the ddr firmware
3535 $ ./firmware-imx-8.9
3636 $ cp firmware-imx-8.9/firmware/ddr/synopsys/lpddr4*.bin $(builddir)
3737
38-Build U-Boot
39-------------
38+Build U-Boot for sd card
39+--------------------------
4040
4141 .. code-block:: bash
4242
@@ -53,3 +53,37 @@ Burn the flash.bin to MicroSD card offset 33KB:
5353 Boot
5454 ----
5555 Set Boot switch to SD boot
56+
57+Build U-Boot for qspi flash card
58+------------------------------------
59+
60+.. code-block:: bash
61+
62+ $ export CROSS_COMPILE=aarch64-poky-linux-
63+ $ make imx8mm_evk_fspi_defconfig
64+ $ make
65+
66+Currently, there is no direct support to write to QSPI Flash.
67+Copy flash.bin to ${loadaddr} either from sd card or over network and then copy to
68+qspi flash
69+
70+From sd card to memory
71+
72+.. code-block:: bash
73+
74+ $mmc dev 1
75+ $mmc read ${loadaddr} 0x00 <size_of_flash.bin/512>
76+
77+.. code-block:: bash
78+
79+ $ sf probe
80+ $ sf erase 0 <size_of_flash.bin_in_hex>
81+ $ sf write $loadaddr 0x00 <size_of_flash.bin_in_hex>
82+
83+Boot from QSPI Flash
84+-----------------------
85+Set Boot Switch to QSPI Flash
86+
87+Pin configuration for imx8mm_revC evk to boot from qspi flash
88+SW1101: 0110xxxxxx
89+SW1102: 00100x0010