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>
This commit is contained in:
Breno Matheus Lima 2018-10-10 01:10:31 +00:00 committed by Stefano Babic
parent df11b0c4d4
commit 3af3bebc21
2 changed files with 20 additions and 27 deletions

View file

@ -88,28 +88,3 @@ Reading bank 4:
Word 0x00000002: 9f027772 00000004 Word 0x00000002: 9f027772 00000004
2. Using imx_usb_loader for first install with SPL
--------------------------------------------------
imx_usb_loader is a very nice tool by Boundary Devices that
allow to install U-Boot without a JTAG debugger, using
the USB boot mode as described in the manual. It is
a replacement for Freescale's MFGTOOLS.
The sources can be found here:
https://github.com/boundarydevices/imx_usb_loader.git
Booting in USB mode, the i.MX6 announces itself to the Linux Host as:
Bus 001 Device 111: ID 15a2:0061 Freescale Semiconductor, Inc.
imx_usb_loader is able to download a single file (u-boot.imx)
to the board. For boards without SPL support, it is enough to
issue the command:
sudo ../imx_usb_loader/imx_usb -v u-boot.imx
In order to load SPL and u-boot.img via imx_usb_loader tool,
please refer to doc/README.sdp.

View file

@ -16,14 +16,19 @@ protocols allow to access a USB device without OS specific drivers. The
U-Boot implementation has primarly been tested using the open source U-Boot implementation has primarly been tested using the open source
imx_loader utility (https://github.com/boundarydevices/imx_usb_loader). imx_loader utility (https://github.com/boundarydevices/imx_usb_loader).
imx_usb_loader is a very nice tool by Boundary Devices that allow to
install U-Boot without a JTAG debugger, using the USB boot mode as
described in the manual. It is a replacement for Freescale's
MFGTOOLS.
The host side utilities are typically capable to interpret the i.MX The host side utilities are typically capable to interpret the i.MX
specific image header (see doc/README.imximage). There are extensions specific image header (see doc/README.imximage). There are extensions
for imx_loader's imx_usb utility which allow to interpret the U-Boot for imx_loader's imx_usb utility which allow to interpret the U-Boot
specific legacy image format (see mkimage(1)). Also the U-Boot side specific legacy image format (see mkimage(1)). Also the U-Boot side
support beside the i.MX specific header the U-Boot legacy header. support beside the i.MX specific header the U-Boot legacy header.
Usage 1. Using imx_usb_loader for first install with SPL
----- --------------------------------------------------
This implementation can be started in U-Boot using the sdp command This implementation can be started in U-Boot using the sdp command
(CONFIG_CMD_USB_SDP) or in SPL if Serial Downloader boot mode has been (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
of imx_usb without arguments: of imx_usb without arguments:
# imx_usb # imx_usb
2. Using imx_usb_loader non-SPL images
---------------------------------------
Booting in USB mode, the i.MX6 announces itself to the Linux Host as:
Bus 001 Device 111: ID 15a2:0061 Freescale Semiconductor, Inc.
imx_usb_loader is able to download a single file (u-boot.imx)
to the board. For boards without SPL support, it is enough to
issue the command:
sudo ../imx_usb_loader/imx_usb -v u-boot.imx