u-boot/include
Linus Walleij 41a29f284c cmd: Add a SEAMA image load command
Add a command to load SEAMA (Seattle Image), a NAND flash
on-flash storage format.

This type of flash image is found in some D-Link routers such
as DIR-645, DIR-842, DIR-859, DIR-860L, DIR-885L, DIR890L and
DCH-M225, as well as in WD and NEC routers on the ath79
(MIPS), Broadcom BCM53xx, and RAMIPS platforms.

This U-Boot command will read and decode a SEAMA image from
raw NAND flash on any platform. As it is always using big endian
format for the data decoding is always necessary on platforms
such as ARM.

The command is needed to read a SEAMA-encoded boot image on the
D-Link DIR-890L router for boot from NAND flash in an upcoming
port of U-Boot to the Broadcom Northstar (BCM4709, BCM53xx)
architecture.

A basic test and documentation is added as well. The test must
be run on a target with NAND flash support and at least one
resident SEAMA image in flash.

Cc: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2023-02-06 17:10:15 -05:00
..
acpi
andestech
asm-generic gpio: Get rid of gpio_hog_probe_all() 2023-01-12 14:06:16 -05:00
broadcom
cavium
clk
configs arm: qemu: Move GUIDs to the C file 2023-02-06 13:04:53 -05:00
cramfs
crypto
dm drivers: core: ofnode: Add panel timing decode. 2023-02-04 18:13:21 +01:00
dt-bindings dt-bindings: clock: Pick R-Car Gen3 R8A77961 M3W+ header from Linux 6.1.7 2023-02-02 01:49:19 +01:00
environment km/ppc: remove km-mpc8360.h and km-mpc832x.h 2023-02-06 13:04:53 -05:00
faraday
fsl-mc global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
jffs2
k210
keys
linux mtd: spi-nor: Add support for Infineon s25fs256t 2023-01-26 21:07:45 +05:30
lzma
mtd global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
mvebu
net net: Add wget application 2022-11-28 13:06:39 -05:00
power For 2023.04 2023-02-01 09:30:52 -05:00
reboot-mode
samsung video: Drop CONFIG_LCD_MENU 2022-10-30 20:07:16 +01:00
spmi
synopsys
tee treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
test cmd: Add a SEAMA image load command 2023-02-06 17:10:15 -05:00
u-boot
usb usb: xhci: Fix root hub descriptor 2023-01-27 14:47:58 -05:00
valgrind valgrind: Rework test for unsupported platforms 2022-12-23 10:07:03 -05:00
xen
zfs
.gitignore
ACEX1K.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
_exports.h console: Implement flush() function 2022-09-24 10:47:01 -04:00
abuf.h
adc.h
addr_map.h
ahci.h
ali512x.h
altera.h
android_ab.h
android_bootloader_message.h
android_image.h
ansi.h
api.h
api_public.h
armcoremodule.h
asm-offsets.h
ata.h
atf_common.h
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
atsha204a-i2c.h
audio_codec.h
autoboot.h
avb_verify.h
axi.h
axp152.h
axp209.h
axp221.h
axp305.h
axp809.h
axp818.h
axp_pmic.h power: pmic: axp: Provide a variant ID in the driver data 2023-01-23 01:18:31 +00:00
backlight.h
bcb.h
bcd.h
binman.h
binman_sym.h
bios_emul.h
bitfield.h
blk.h dm: blk: Tidy up obtaining a block device from its parent 2022-11-07 16:24:30 -07:00
bloblist.h vbe: Record which phases loaded using VBE 2022-10-31 11:04:00 -04:00
bmp_layout.h
boot_fit.h
bootcount.h
bootdev.h bootstd: Allow scanning a single bootdev label 2023-01-23 18:11:41 -05:00
bootflow.h bootstd: Record the bootdevs used during scanning 2023-01-23 18:11:41 -05:00
bootm.h treewide: Drop bootm_headers_t typedef 2022-09-29 16:07:57 -04:00
bootmeth.h bootstd: Add a new bootmeth method to set the bootflow 2023-01-23 18:11:41 -05:00
bootretry.h
bootstage.h vbe: Support reading the next SPL phase via VBE 2022-10-31 11:03:18 -04:00
bootstd.h bootstd: Add the concept of a bootdev hunter 2023-01-23 18:11:40 -05:00
bouncebuf.h
btrfs.h
bus_vcxk.h
button.h
bzlib.h
cache.h
capitalization.h
cbfs.h
charset.h doc: fix description of u16_strcasecmp() 2023-01-13 09:09:07 +01:00
circbuf.h
cli.h menu: Make use of CLI character processing 2023-01-16 14:14:11 -05:00
cli_hush.h
clk-uclass.h
clk.h Clock patches for 2023.01 2022-10-20 08:58:25 -04:00
clock_legacy.h
cmd_spl.h
command.h global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
common.h
common_timing_params.h
compiler.h
config_distro_bootcmd.h distro_bootcmd: Set distro_bootpart_uuid for block devices 2023-01-12 14:06:16 -05:00
config_fallbacks.h global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
config_fsl_chain_trust.h
config_phylib_all_drivers.h
console.h
cortina.h
cp437.h
cp1250.h
cpsw.h
cpu.h
cpu_func.h
cros_ec.h
cros_ec_message.h
crypt.h
ctype.h
cyclic.h cyclic: get rid of cyclic_init() 2022-11-02 08:42:03 +01:00
ddr_spd.h
debug_uart.h
dfu.h dfu: Make DFU virtual backend SPL friendly 2022-12-08 14:30:39 +01:00
dialog_pmic.h
display.h
display_options.h
distro.h
div64.h
dm-demo.h
dm.h
dma-uclass.h dma: Transfer dma_ops should use DMA address types 2022-10-18 13:40:40 -04:00
dma.h
dp83848.h
ds1722.h
dsi_host.h
dt-structs.h
dt_table.h
dw_hdmi.h
dwc3-omap-uboot.h
dwc3-sti-glue.h
dwc3-uboot.h
dwc_ahsata.h
dwmmc.h
e500.h global: Move remaining CONFIG_SYS_NUM_* to CFG_SYS_NUM_* 2022-12-05 16:06:07 -05:00
ec_commands.h
edid.h
eeprom.h
eeprom_field.h
eeprom_layout.h
efi.h efi_loader: define internal implementations of install/uninstallmultiple 2022-10-06 22:54:58 +02:00
efi_api.h efi_loader: set UEFI specification version to 2.10 2022-12-29 10:51:50 +01:00
efi_config.h eficonfig: increase the number of menu entries 2023-01-27 18:32:00 +01:00
efi_default_filename.h
efi_driver.h efi_driver: add init function to EFI block driver 2022-10-06 22:54:58 +02:00
efi_dt_fixup.h
efi_load_initrd.h
efi_loader.h eficonfig: add vertical scroll support 2023-01-27 18:32:00 +01:00
efi_riscv.h
efi_rng.h
efi_selftest.h efi_selftest: unsigned char parameter for efi_st_strcmp_16_8() 2022-11-22 11:54:30 +01:00
efi_tcg2.h
efi_variable.h efi_loader: fix efi_get_next_variable_name_mem() 2022-12-20 16:06:48 +01:00
elf.h elf: add Elf64_Sym 2023-02-06 13:04:52 -05:00
env.h doc: Fix eth_env_[gs]et_enetaddr() return value 2023-01-04 13:17:42 +01:00
env_attr.h
env_callback.h global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
env_default.h global: Migrate CONFIG_EXTRA_ENV_SETTINGS to CFG 2022-12-23 10:09:42 -05:00
env_flags.h global: Migrate CONFIG_ENV_FLAGS_LIST_STATIC to CFG 2022-12-23 10:07:03 -05:00
env_internal.h env: Rework ENV_IS_EMBEDDED and related logic slightly 2022-12-22 10:31:47 -05:00
erofs.h
errno.h
eth_phy.h
ethsw.h
event.h event: Add an event for main_loop 2022-10-31 14:47:32 -04:00
event_internal.h
exception.h
expo.h expo: Add basic implementation 2023-01-16 18:26:50 -05:00
exports.h
ext4fs.h
ext_common.h
extension_board.h
exynos_lcd.h
fastboot-internal.h
fastboot.h fastboot: Add OEM run command 2023-01-11 15:02:24 -05:00
fat.h fs/fat: avoid noisy message fat_read_file() 2023-01-20 16:38:52 +01:00
fb_mmc.h
fb_nand.h
fdt.h
fdt_region.h
fdt_simplefb.h
fdt_support.h fdt_support: cosmetic: remove fdt_fixup_nor_flash_size prototype 2022-10-29 07:36:33 -06:00
fdtdec.h fdt: Avoid exporting fdtdec_prepare_fdt() 2023-01-18 11:49:13 -07:00
fis.h
flash.h
fm_eth.h global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
fpga.h fpga: Migrate CONFIG_MAX_FPGA_DEVICES to Kconfig 2023-01-20 12:27:06 -05:00
fs.h
fs_internal.h
fs_loader.h misc: fs_loader: Add function to get the chosen loader 2023-01-12 14:06:15 -05:00
fsl_csu.h arm: fsl: csu: Reduce size of ns_dev 2022-10-18 09:32:53 +08:00
fsl_ddr.h global: Remove unused CONFIG defines 2023-01-20 12:27:06 -05:00
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
fsl_ddrc_version.h
fsl_devdis.h
fsl_dspi.h
fsl_dtsec.h
fsl_errata.h
fsl_esdhc.h
fsl_esdhc_imx.h
fsl_fman.h
fsl_ifc.h global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
fsl_immap.h
fsl_lpuart.h
fsl_mdio.h
fsl_memac.h
fsl_mmdc.h
fsl_pmic.h
fsl_qbman.h
fsl_qe.h
fsl_sec.h global: Migrate CONFIG_SYS_FSL* symbols to the CFG_SYS namespace 2022-11-10 10:08:55 -05:00
fsl_sec_mon.h
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h
fsl_usb.h global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
fsl_validate.h nxp: Rename CONFIG_U_BOOT_HDR_SIZE to FSL_U_BOOT_HDR_SIZE 2022-12-22 10:31:49 -05:00
fsl_wdog.h
fuse.h
fuzzing_engine.h
fwu.h FWU: Add support for the FWU Multi Bank Update feature 2022-10-31 14:47:32 -04:00
fwu_mdata.h FWU: Add FWU metadata structure and driver for accessing metadata 2022-10-31 14:47:32 -04:00
g_dnl.h
gdsys_fpga.h
generic-phy.h phy: Add generic_{setup,shutdown}_phy() helpers 2022-10-10 18:08:18 +02:00
getopt.h
gsc.h
gt64120.h
gzip.h
handoff.h
hang.h
hash.h
hda_codec.h
hexdump.h
host_arch.h
hw_sha.h
hwconfig.h
hwspinlock.h
i2c.h global: Migrate CONFIG_SYS_I2C_DIRECT_BUS to CFG 2022-12-23 10:15:12 -05:00
i2c_eeprom.h
i2s.h
i8042.h
ide.h
image-android-dt.h
image-sparse.h
image.h image: Move common image code to image_board and command 2023-01-16 18:26:50 -05:00
imx8image.h
imx_lpi2c.h
imx_sip.h
imx_thermal.h
imximage.h
init.h global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
initcall.h
input.h
inttypes.h
iommu.h iommu: Add DMA mapping operations 2023-01-27 14:47:57 -05:00
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
irq.h
irq_func.h
k3-avs.h
k3-clk.h arm: mach-k3: am62a: introduce auto-generated SoC data 2022-12-09 14:10:28 -05:00
k3-ddrss.h
k3-dev.h arm: mach-k3: am62a: introduce auto-generated SoC data 2022-12-09 14:10:28 -05:00
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd_console.h
lcdvideo.h
led.h
libata.h
libtizen.h video: samsung: Drop old LCD code 2022-10-30 20:07:17 +01:00
linker_lists.h
linux_logo.h
lmb.h
log.h log: Add a category for filesystems 2023-02-06 13:04:53 -05:00
lxt971a.h
mailbox-uclass.h
mailbox.h
malloc.h test: Support testing malloc() failures 2022-09-29 16:07:58 -04:00
mapmem.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
media_bus_format.h
memalign.h
membuff.h
menu.h menu: Factor out menu-keypress decoding 2023-01-16 18:26:50 -05:00
micrel.h
mii_phy.h
miiphy.h
mipi_display.h
mipi_dsi.h
misc.h
mk48t59.h Convert CONFIG_SYS_INTERLAKEN et al to Kconfig 2022-11-10 09:45:54 -05:00
mm_communication.h
mmc.h cmd: mmc: Expand bkops handling 2023-01-31 22:02:27 +09:00
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h
mpc85xx.h global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
mpc86xx.h global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
mpc106.h
msc01.h
mtd.h
mtd_node.h
mux-internal.h
mux.h
mv88e6352.h
mvebu_mmc.h global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
mvmfp.h
mxs_nand.h mtd: mxs_nand: Support EDO mode for imx8mn architecture 2022-10-09 10:42:26 +02:00
nand.h
ndisc.h net: ipv6: Add Neighbor Discovery Protocol (NDP) 2022-12-05 12:47:16 -05:00
net.h net: Add a function to run dhcp 2023-01-23 18:11:40 -05:00
net6.h net: ipv6: fix alignment errors on ARM 2023-02-02 14:44:53 -05:00
netdev.h net: Remove more legacy functions 2022-12-22 10:31:49 -05:00
ns16550.h dm: ns16550: Restore how we define UART_REG 2023-01-20 12:27:06 -05:00
nuvoton_nct6102d.h
nvme.h
nvmem.h
of_live.h
omap3_spi.h
onenand_uboot.h
opensbi.h
os.h sandbox: Add missing comments for os_alarm() 2022-11-07 16:24:30 -07:00
p2sb.h
palmas.h
panel.h
part.h part: Add a function to find the first bootable partition 2023-01-23 18:11:40 -05:00
part_efi.h
pca953x.h
pca9564.h
pca9698.h
pch.h
pci.h dm: pci: Fix doc typo first -> next 2022-10-29 07:36:33 -06:00
pci_ep.h
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pci_tegra.h
pe.h
phy-mipi-dphy.h
phy-sun4i-usb.h
phy.h net: phy: Remove non-DM_ETH code 2022-12-07 16:04:17 -05:00
phy_interface.h
phys2bus.h
physmem.h
post.h post: Move CONFIG_SYS_POST to CFG_SYS_POST 2022-12-23 13:01:13 -05:00
power-domain-uclass.h
power-domain.h
ppc_asm.tmpl
ppc_defs.h
pvblock.h
pwm.h
pwrseq.h
pxe_utils.h cmd: pxe: support INITRD and FDT selection with FIT 2022-12-12 14:03:12 -05:00
qfw.h qemu: Move qfw kernel setup into a common file 2023-02-06 13:04:53 -05:00
ram.h
rand.h
rc4.h rc4: mark key as const 2023-01-16 18:01:10 +08:00
regmap.h
reiserfs.h
relocate.h
remoteproc.h
reset-uclass.h
reset.h
rng.h
rtc.h rtc: Add fallbacks for dm functions 2022-12-09 14:10:28 -05:00
rtc_def.h
s_record.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandbox-clk.h
sandbox_host.h sandbox: fix documentation of struct host_ops 2022-11-16 08:34:06 +01:00
sandboxfs.h
sandboxtee.h
sata.h
scf0403_lcd.h
scmi_agent-uclass.h
scmi_agent.h
scmi_protocols.h
scp03.h
scsi.h usb: Update the test to cover reading and writing 2022-10-31 11:02:44 -04:00
scsi_emul.h usb: Update the test to cover reading and writing 2022-10-31 11:02:44 -04:00
sdhci.h mmc: sdhci: Enable HS400 support if available in caps 2023-01-31 22:02:27 +09:00
sdp.h
search.h
semihosting.h lib: Add common semihosting library 2022-12-08 15:15:22 +08:00
semihostingfs.h
serial.h post: Move CONFIG_SYS_POST to CFG_SYS_POST 2022-12-23 13:01:13 -05:00
sh_pfc.h
signatures.h
sja1000.h
sl28cpld.h
slre.h
smbios.h
smem.h
smsc_lpc47m.h
smsc_sio1007.h
soc.h
sort.h
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi-mem.h
spi.h spi: Implement spi_set_speed 2022-10-16 12:23:22 +02:00
spi_flash.h
spl.h spl: doc: use correct name in jump_to_image_optee() description 2023-01-27 18:31:59 +01:00
spl_gpio.h
splash.h
squashfs.h
st_logo_data.h
status_led.h
stdint.h
stdio.h console: Implement flush() function 2022-09-24 10:47:01 -04:00
stdio_dev.h console: Implement flush() function 2022-09-24 10:47:01 -04:00
stdlib.h
stm32_rcc.h
stratixII.h
string.h
sunxi_image.h
sy8106a.h
sym53c8xx.h
syscon.h
sysinfo.h
sysreset.h
system-constants.h global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
tables_csum.h
tca642x.h global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
tee.h
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
time.h
timer.h timer-uclass: add timer_get_ops() macro 2022-11-22 15:02:07 +01:00
timestamp.h
tlv_eeprom.h
tmu.h
tpm-common.h
tpm-v1.h
tpm-v2.h
tpm_api.h
tps6586x.h
trace.h
tsec.h net: tsec: Remove non-DM_ETH support code 2022-12-07 16:04:16 -05:00
tsi148.h
twl4030.h
twl6030.h
ubi_uboot.h mtd: ubi: Finish moving configuration to Kconfig 2022-12-23 10:07:03 -05:00
ubifs_uboot.h
ubispl.h
uboot_aes.h
ufs.h
universe.h
usb.h usb: eth: Remove non-DM_ETH code 2022-12-07 16:04:17 -05:00
usb_cdc_acm.h
usb_defs.h
usb_ether.h usb: eth: Remove non-DM_ETH code 2022-12-07 16:04:17 -05:00
usb_mass_storage.h
usbdescriptors.h usb: Remove CONFIG_USBD_HS 2022-12-22 10:31:49 -05:00
usbdevice.h usb: Remove CONFIG_USBD_HS 2022-12-22 10:31:49 -05:00
usbroothubdes.h
uuid.h
vbe.h vbe: Record which phases loaded using VBE 2022-10-31 11:04:00 -04:00
versalpl.h
version.h
version_string.h
vesa.h
video.h video: Fix unchnaged typo 2023-01-16 18:26:50 -05:00
video_bridge.h
video_console.h video: Add font functions to the vidconsole API 2023-01-16 18:26:50 -05:00
video_easylogo.h
video_font.h
video_font_4x6.h
video_font_data.h
video_osd.h
virtex2.h
virtio.h
virtio_ring.h
virtio_types.h
vsc7385.h
vsc9953.h
vsprintf.h lib: Add a function to split a string into substrings 2023-01-23 18:11:39 -05:00
vxworks.h
w1-eeprom.h
w1.h
wait_bit.h
watchdog.h
wdt.h
winbond_w83627.h
xen.h
xilinx.h
xyzModem.h
zfs_common.h
zynq_bootimg.h
zynqmp_firmware.h
zynqmppl.h
zynqpl.h