diff options
author | Breno Matheus Lima | 2018-10-09 20:10:31 -0500 |
---|---|---|
committer | Stefano Babic | 2018-10-22 07:22:42 -0500 |
commit | 3af3bebc215428aba3c7fd176d7f146045d51d68 (patch) | |
tree | 56346fa75f7c91db9cf075c6ba14ddc55eddd190 /doc | |
parent | df11b0c4d4e3ca3821cf4cc6b13fb9fee1d5f891 (diff) | |
download | u-boot-3af3bebc215428aba3c7fd176d7f146045d51d68.tar.gz u-boot-3af3bebc215428aba3c7fd176d7f146045d51d68.tar.xz u-boot-3af3bebc215428aba3c7fd176d7f146045d51d68.zip |
doc: imx: Move SPD related info to the appropriate doc
Currently the Serial Download Protocol tools and procedure are
documented in two places:
- doc/imx/README.sdp
- doc/imx/README.imx6
It is better to consolidate all SDP related information into
README.sdp file, so move the content from README.imx6 to
README.sdp.
Signed-off-by: Breno Lima <breno.lima@nxp.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/imx/README.imx6 | 25 | ||||
-rw-r--r-- | doc/imx/README.sdp | 22 |
2 files changed, 20 insertions, 27 deletions
diff --git a/doc/imx/README.imx6 b/doc/imx/README.imx6 index b0644f8491..eab88353f6 100644 --- a/doc/imx/README.imx6 +++ b/doc/imx/README.imx6 | |||
@@ -88,28 +88,3 @@ Reading bank 4: | |||
88 | 88 | ||
89 | Word 0x00000002: 9f027772 00000004 | 89 | Word 0x00000002: 9f027772 00000004 |
90 | 90 | ||
91 | 2. Using imx_usb_loader for first install with SPL | ||
92 | -------------------------------------------------- | ||
93 | |||
94 | imx_usb_loader is a very nice tool by Boundary Devices that | ||
95 | allow to install U-Boot without a JTAG debugger, using | ||
96 | the USB boot mode as described in the manual. It is | ||
97 | a replacement for Freescale's MFGTOOLS. | ||
98 | |||
99 | The sources can be found here: | ||
100 | |||
101 | https://github.com/boundarydevices/imx_usb_loader.git | ||
102 | |||
103 | Booting in USB mode, the i.MX6 announces itself to the Linux Host as: | ||
104 | |||
105 | Bus 001 Device 111: ID 15a2:0061 Freescale Semiconductor, Inc. | ||
106 | |||
107 | imx_usb_loader is able to download a single file (u-boot.imx) | ||
108 | to the board. For boards without SPL support, it is enough to | ||
109 | issue the command: | ||
110 | |||
111 | sudo ../imx_usb_loader/imx_usb -v u-boot.imx | ||
112 | |||
113 | In order to load SPL and u-boot.img via imx_usb_loader tool, | ||
114 | please refer to doc/README.sdp. | ||
115 | |||
diff --git a/doc/imx/README.sdp b/doc/imx/README.sdp index 178ea688a7..6ea6e41395 100644 --- a/doc/imx/README.sdp +++ b/doc/imx/README.sdp | |||
@@ -16,14 +16,19 @@ protocols allow to access a USB device without OS specific drivers. The | |||
16 | U-Boot implementation has primarly been tested using the open source | 16 | U-Boot implementation has primarly been tested using the open source |
17 | imx_loader utility (https://github.com/boundarydevices/imx_usb_loader). | 17 | imx_loader utility (https://github.com/boundarydevices/imx_usb_loader). |
18 | 18 | ||
19 | imx_usb_loader is a very nice tool by Boundary Devices that allow to | ||
20 | install U-Boot without a JTAG debugger, using the USB boot mode as | ||
21 | described in the manual. It is a replacement for Freescale's | ||
22 | MFGTOOLS. | ||
23 | |||
19 | The host side utilities are typically capable to interpret the i.MX | 24 | The host side utilities are typically capable to interpret the i.MX |
20 | specific image header (see doc/README.imximage). There are extensions | 25 | specific image header (see doc/README.imximage). There are extensions |
21 | for imx_loader's imx_usb utility which allow to interpret the U-Boot | 26 | for imx_loader's imx_usb utility which allow to interpret the U-Boot |
22 | specific legacy image format (see mkimage(1)). Also the U-Boot side | 27 | specific legacy image format (see mkimage(1)). Also the U-Boot side |
23 | support beside the i.MX specific header the U-Boot legacy header. | 28 | support beside the i.MX specific header the U-Boot legacy header. |
24 | 29 | ||
25 | Usage | 30 | 1. Using imx_usb_loader for first install with SPL |
26 | ----- | 31 | -------------------------------------------------- |
27 | 32 | ||
28 | This implementation can be started in U-Boot using the sdp command | 33 | This implementation can be started in U-Boot using the sdp command |
29 | (CONFIG_CMD_USB_SDP) or in SPL if Serial Downloader boot mode has been | 34 | (CONFIG_CMD_USB_SDP) or in SPL if Serial Downloader boot mode has been |
@@ -98,3 +103,16 @@ With that SPL and U-Boot can be downloaded with a single invocation | |||
98 | of imx_usb without arguments: | 103 | of imx_usb without arguments: |
99 | 104 | ||
100 | # imx_usb | 105 | # imx_usb |
106 | |||
107 | 2. Using imx_usb_loader non-SPL images | ||
108 | --------------------------------------- | ||
109 | |||
110 | Booting in USB mode, the i.MX6 announces itself to the Linux Host as: | ||
111 | |||
112 | Bus 001 Device 111: ID 15a2:0061 Freescale Semiconductor, Inc. | ||
113 | |||
114 | imx_usb_loader is able to download a single file (u-boot.imx) | ||
115 | to the board. For boards without SPL support, it is enough to | ||
116 | issue the command: | ||
117 | |||
118 | sudo ../imx_usb_loader/imx_usb -v u-boot.imx | ||