cmd: mvebu/bubt: Add support for writing image to SATA disk
authorPali Rohár <pali@kernel.org>
Sun, 22 Jan 2023 00:25:12 +0000 (01:25 +0100)
committerStefan Roese <sr@denx.de>
Wed, 1 Mar 2023 05:39:17 +0000 (06:39 +0100)
commitc8f5009029d2e00bff45f998996a3e0a37a5aead
tree06a55d07e48b972db8cb1eb0ec2fadd8e35eb267
parentfc10a926ec43250914de6fd69e4258f39c79c8aa
cmd: mvebu/bubt: Add support for writing image to SATA disk

All 32-bit Armada SoCs and also 64-bit Armada 3720 SoC can load and boot
firmware from SATA disk. This adds support for updating firmware binary for
these SoCs. On 32-bit Armada SoC is firmware stored at sector 1 and on
Armada 3720 is stored at MBR partition 0x4d or GPT partition with type GUID
6828311A-BA55-42A4-BCDE-A89BB5EDECAE (Marvell Armada 3700 Boot partition).

Signed-off-by: Pali Rohár <pali@kernel.org>
cmd/mvebu/Kconfig
cmd/mvebu/bubt.c
doc/mvebu/cmd/bubt.txt