diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2021-10-06 11:34:19 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-11-10 08:56:31 +0100 |
commit | b3bfd87c7ee3e41179f71f2387dc379bfd855687 (patch) | |
tree | 3e81c4352f292af64fa4d68608d45b3ee0d9ea96 /Documentation/boards | |
parent | 408c741232b001894e12287f240b3e6c33efada8 (diff) | |
download | barebox-b3bfd87c7ee3e41179f71f2387dc379bfd855687.tar.gz |
scripts: Add rk-usb-loader tool
This adds a tool suitable for bootstrapping barebox on Rockchip RK3568
SoCs. It has been tested on this SoC only. It might or might not work
with minor adjustments on other SoCs.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Michael Riesch <michael.riesch@wolfvision.net>
Diffstat (limited to 'Documentation/boards')
-rw-r--r-- | Documentation/boards/rockchip.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/boards/rockchip.rst b/Documentation/boards/rockchip.rst index 55a3956dd4..d52d979cbf 100644 --- a/Documentation/boards/rockchip.rst +++ b/Documentation/boards/rockchip.rst @@ -84,3 +84,18 @@ A bootable SD card can be created with: The barebox image is written to the raw device, so make sure the partitioning doesn't conflict with the are barebox is written to. Starting the first partition at offset 8MiB is a safe bet. + +USB bootstrapping +^^^^^^^^^^^^^^^^^ + +The RK3568 can be bootstrapped via USB for which the rk-usb-loader tool in the barebox +repository can be used. The tool takes the same images as written on SD cards: + +.. code-block:: sh + + ./scripts/rk-usb-loader images/barebox-rk3568-evb.img + +Note that the boot order of the RK3568 is not configurable. The SoC will only enter USB +MaskROM mode when no other bootsource contains a valid bootloader. This means to use USB +you have to make all other bootsources invalid by removing SD cards and shortcircuiting +eMMCs. The RK3568 EVB has a pushbutton to disable the eMMC. |