u-boot/include
Leo Yu-Chi Liang 666da85dc9 board: ae350: Support autoboot from RAM
Add boot command "bootcmd_ram" to support autoboot from RAM.

This feature could be useful at the very initial state of chip design
when there is only a minimal set of peripheral. (e.g. without mmc and mac ..etc)

The kernel image is default to be loaded at 0x2000000 via debug port,
and the following script serves as an example:

spl()
{
	cmd="riscv64-linux-gdb -q \
	-ex \"target remote $host:$port\" \
	-ex \"load\" \
	-ex \"thread apply all set \\\$pc=&_start\" \
	-ex \"thread apply all set \\\$a0=\\\$mhartid\" \
	-ex \"thread apply all set \\\$a1=<dtb address>\" \
	-ex \"restore u-boot.itb binary 0x200000\" \
	-ex \"restore Image binary 0x2000000\" \
	-ex \"c\" \
	spl/u-boot-spl
	"

	echo $cmd
	eval $cmd
}

The address where the kernel is loaded can be altered by
changing the value of KERNEL_IMAGE_ADDR.

Signed-off-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Reviewed-by: Rick Chen <rick@andestech.com>
2021-12-02 16:43:45 +08:00
..
acpi
andestech
asm-generic gpio: Factor out DT flag translation 2021-10-05 08:50:15 -04:00
bedbug
broadcom
cavium
clk clk: sunxi: Move header out of arch directory 2021-10-11 10:46:44 +01:00
configs board: ae350: Support autoboot from RAM 2021-12-02 16:43:45 +08:00
cramfs
crypto dm: crypto: Define UCLASS API for ECDSA signature verification 2021-08-16 10:49:35 +02:00
dm dm: core: add ofnode_for_each_compatible_node() 2021-11-09 17:18:23 +05:30
dt-bindings arm: dts: ls1028a: sync the fsl-ls1028a.dtsi with linux 2021-11-09 17:18:23 +05:30
environment WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
faraday WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
fsl-mc drivers: net: fsl-mc: add a command which dumps the MC log 2021-11-09 17:18:06 +05:30
jffs2
kendryte
keys
linux Merge https://source.denx.de/u-boot/custodians/u-boot-spi 2021-10-23 10:49:28 -04:00
lzma
mtd Xilinx changes for v2022.01-rc1 2021-09-30 11:29:41 -04:00
mvebu
net net: update NXP copyright text 2021-09-28 18:50:56 +03:00
power i2c: Convert CONFIG_POWER_I2C et al to Kconfig 2021-09-04 12:26:02 -04:00
reboot-mode reboot-mode: read the boot mode from RTC memory 2021-07-23 10:16:39 -04:00
samsung
spmi
synopsys
tee lib: optee: Avoid CONFIG_TZDRAM_* in optee_verify_bootm_image() 2021-10-05 08:46:23 -04:00
test test: Add a way to skip console checking until a string matches 2021-09-16 14:39:40 -04:00
u-boot lz4: Use a private header for U-Boot 2021-10-09 13:09:56 -04:00
usb usb: ehci-mx6: use phy_type from device tree 2021-09-28 18:50:55 +03:00
xen
zfs
.gitignore
ACEX1K.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
SA-1100.h
_exports.h
abuf.h Add support for an owned buffer 2021-10-08 15:53:26 -04:00
adc.h
addr_map.h
ahci.h pci: acpi: Drop DM_PCI check from ahci 2021-09-13 18:23:13 -04:00
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 WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
audio_codec.h
autoboot.h sandbox: Reduce keyed autoboot delay 2021-08-01 09:05:24 -06:00
avb_verify.h
axi.h
axp152.h include: axp_pmic: Include headers for all variants 2021-10-25 14:50:42 +01:00
axp209.h include: axp_pmic: Include headers for all variants 2021-10-25 14:50:42 +01:00
axp221.h include: axp_pmic: Include headers for all variants 2021-10-25 14:50:42 +01:00
axp305.h
axp809.h include: axp_pmic: Include headers for all variants 2021-10-25 14:50:42 +01:00
axp818.h include: axp_pmic: Include headers for all variants 2021-10-25 14:50:42 +01:00
axp_pmic.h include: axp_pmic: Include headers for all variants 2021-10-25 14:50:42 +01:00
backlight.h
bcb.h
bcd.h
binman.h
binman_sym.h
bios_emul.h pci: Drop DM_PCI check from bios_emul 2021-08-05 19:46:35 -04:00
bitfield.h
blk.h efi_loader: add UEFI GPT measurement 2021-10-26 21:32:46 +02:00
bloblist.h bloblist: Tidy up a few API comments 2021-07-21 10:27:34 -06:00
bmp_layout.h
boot_fit.h
bootcount.h
bootm.h Remove LYNX KDI remainders 2021-11-11 19:02:44 -05:00
bootretry.h
bootstage.h bootstage: Add SPL support 2021-10-31 12:26:44 -06:00
bouncebuf.h
btrfs.h
bus_vcxk.h
button.h
bzlib.h
cache.h
capitalization.h
cbfs.h
charset.h
circbuf.h
cli.h
cli_hush.h
clk-uclass.h
clk.h clk: Rename clk_get_by_driver_info() 2021-09-25 09:46:15 -06:00
clock_legacy.h nxp: Migrate CONFIG_DDR_CLK_FREQ to Kconfig 2021-08-31 17:46:37 -04:00
cmd_spl.h
command.h
common.h
common_timing_params.h
compiler.h compiler: Rename host_build() to tools_build() 2021-10-08 15:53:26 -04:00
config_distro_bootcmd.h distro_bootcmd: run pci enum for scsi_boot just like it is done for nvme_boot 2021-10-07 10:14:50 +02:00
config_fallbacks.h Convert CONFIG_SYS_I2C_LEGACY to Kconfig and add CONFIG_[ST]PL_SYS_I2C_LEGACY 2021-08-30 14:10:07 -04:00
config_fsl_chain_trust.h
config_phylib_all_drivers.h
config_uncmd_spl.h
console.h test: add first autoboot unit tests 2021-07-23 13:36:20 -04:00
cortina.h
cp437.h
cp1250.h
cpsw.h
cpu.h
cpu_func.h arm64: Update memcpy_{from, to}io() helpers 2021-07-28 19:30:22 -04:00
cros_ec.h cros_ec: Drop cros_ec_entering_mode() 2021-07-21 10:27:34 -06:00
cros_ec_message.h
crypt.h lib: wrap crypt API to hide errno usage 2021-07-23 13:36:20 -04:00
ctype.h
ddr_spd.h
debug_uart.h
dfu.h
dialog_pmic.h
display.h
display_options.h
div64.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
dm-demo.h
dm.h
dm9000.h
dma-uclass.h
dma.h
dp83848.h
ds1722.h
dsi_host.h
dt-structs.h dm: Add comments to dt-structs contents 2021-09-25 09:46:15 -06:00
dt_table.h
dw_hdmi.h
dwc3-omap-uboot.h
dwc3-sti-glue.h
dwc3-uboot.h
dwc_ahsata.h
dwmmc.h
e500.h
ec_commands.h
edid.h
eeprom.h Convert CONFIG_SYS_I2C_EEPROM_ADDR et al to Kconfig 2021-08-30 14:10:06 -04:00
eeprom_field.h
eeprom_layout.h
efi.h efi: Add a way to obtain boot services in the app 2021-11-07 18:36:55 +01:00
efi_api.h efi_loader: bump EFI_SPECIFICATION_VERSION to 2.9 2021-11-20 10:53:00 +01:00
efi_driver.h
efi_dt_fixup.h
efi_load_initrd.h efi_loader: avoid multiple local copies of lf2_initrd_guid 2021-10-21 03:46:04 +02:00
efi_loader.h efi_loader: Add check for event log passed from firmware 2021-11-30 09:23:49 +01:00
efi_rng.h
efi_selftest.h
efi_tcg2.h efi_loader: add UEFI GPT measurement 2021-10-26 21:32:46 +02:00
efi_variable.h efi_loader: function to get GUID for variable name 2021-10-25 21:13:06 +02:00
elf.h
env.h env: Make return value of env_get_f() behave like sprintf() on success 2021-10-21 12:50:48 -06:00
env_attr.h
env_callback.h
env_default.h env: Use static_assert() to check if default_environment is too large 2021-10-31 12:26:44 -06:00
env_flags.h
env_internal.h Convert CONFIG_ENV_IS_IN_SPI_FLASH et al to Kconfig 2021-11-12 14:18:17 -05:00
errno.h
eth_phy.h
ethsw.h
exception.h
exports.h
ext4fs.h
ext_common.h
extension_board.h
exynos_lcd.h
fastboot-internal.h
fastboot.h
fat.h
fb_mmc.h
fb_nand.h
fdt.h
fdt_region.h
fdt_simplefb.h
fdt_support.h hash: Use Kconfig to enable hashing in host tools and SPL 2021-10-08 15:53:26 -04:00
fdtdec.h sandbox: Remove OF_HOSTFILE 2021-10-27 16:38:26 -04:00
fis.h
flash.h flash.h: Remove CONFIG_SYS_FLASH_CFI from flash_info_t 2021-08-11 10:36:10 +02:00
fm_eth.h
fpga.h
fs.h fs: fat: add file attributes to struct fs_dirent 2021-07-12 20:30:48 +02:00
fs_internal.h
fs_loader.h
fsl_csu.h
fsl_dcu_fb.h
fsl_ddr.h
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h
fsl_ddrc_version.h
fsl_devdis.h
fsl_diu_fb.h
fsl_dspi.h m68k: Remove M5475x boards 2021-07-07 19:52:22 -04:00
fsl_dtsec.h
fsl_errata.h
fsl_esdhc.h
fsl_esdhc_imx.h mmc: sdhci-esdhc-imx: Add HS400 support for iMX7ULP 2021-10-07 21:58:49 +02:00
fsl_fman.h
fsl_ifc.h
fsl_immap.h
fsl_lpuart.h driver: serial: fsl_lpuart: support i.MX8ULP 2021-08-09 14:46:51 +02:00
fsl_mdio.h
fsl_memac.h
fsl_mmdc.h
fsl_pmic.h
fsl_qbman.h
fsl_qe.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
fsl_sec.h
fsl_sec_mon.h
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h
fsl_usb.h
fsl_validate.h
fsl_wdog.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
fuse.h
g_dnl.h
gdsys_fpga.h
generic-phy.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
getopt.h
gt64120.h
gzip.h gzip: Avoid use of u64 2021-10-08 15:53:26 -04:00
handoff.h
hang.h
hash.h hash: Use Kconfig to enable hashing in host tools and SPL 2021-10-08 15:53:26 -04:00
hda_codec.h
hexdump.h
host_arch.h
hw_sha.h
hwconfig.h
hwspinlock.h
i2c.h Convert CONFIG_SYS_I2C_SPEED et al to Kconfig 2021-08-30 14:10:07 -04:00
i2c_eeprom.h
i2s.h
i8042.h i8042: Do not abuse CONFIG namespace 2021-08-30 14:13:28 -04:00
ide.h
image-android-dt.h
image-sparse.h
image.h image.h: make image_sign_info.fit point to const 2021-10-31 12:26:44 -06:00
imx8image.h
imx_lpi2c.h
imx_sip.h
imx_thermal.h
imximage.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
init.h image: Explicitly declare do_bdinfo() 2021-11-15 14:33:33 -05:00
initcall.h
input.h
inttypes.h
iommu.h iommu: Add IOMMU uclass 2021-10-31 08:46:44 -04:00
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
irq.h irq: Tidy up of-platdata irq support 2021-09-25 09:46:15 -06:00
irq_func.h
k3-avs.h
k3-clk.h clk: ti: k3: Update driver to account for divider flags 2021-09-17 14:47:03 -04:00
k3-dev.h
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd.h
lcd_console.h
lcdvideo.h
ld9040.h
led.h
libata.h
libtizen.h
linker_lists.h
linux_logo.h
lmb.h lmb: drop unused lmb_size_bytes() 2021-11-20 10:53:00 +01:00
log.h
lxt971a.h
mailbox-uclass.h
mailbox.h
malloc.h
mapmem.h
mc9sdz60.h
mc13783.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
mc13892.h
mc34704.h
media_bus_format.h
memalign.h
membuff.h
menu.h
micrel.h
mii_phy.h
miiphy.h
mipi_display.h
mipi_dsi.h
misc.h
mk48t59.h
mm_communication.h
mmc.h mmc: Add support for enumerating MMC card in a given mode using mmc command 2021-09-10 18:17:04 +08:00
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h mpc83xx: Update comment 2021-08-30 14:13:28 -04:00
mpc85xx.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
mpc86xx.h
mpc106.h
msc01.h
mtd.h mtd: spi: nor: force mtd name to "nor%d" 2021-09-28 12:03:20 -04:00
mtd_node.h
mux-internal.h
mux.h mux: correct prototype for mux_control_try_select() 2021-07-23 07:13:25 -04:00
mv88e6352.h
mvebu_mmc.h
mvmfp.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
mxs_nand.h nand.h: Cleanup linux/mtd/rawnand.h usage 2021-10-06 09:16:23 -04:00
nand.h mtd: Remove mtd_erase_callback() entirely 2021-10-23 15:47:33 +05:30
net.h net: add set_promisc function to enable/disable Promiscuous mode 2021-07-10 18:12:41 +02:00
netdev.h net: remove unused CONFIG_DRIVER_AT91EMAC_* 2021-09-21 10:08:24 +03:00
ns16550.h
nuvoton_nct6102d.h
nvme.h
of_live.h
omap3_spi.h
onenand_uboot.h
opensbi.h
os.h sandbox: Add a way to map a file into memory 2021-09-16 13:19:25 -04:00
p2sb.h
palmas.h
panel.h
part.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
part_efi.h
pca953x.h
pca9564.h
pca9698.h
pch.h
pci.h arm: a37xx: pci: Handle propagation of CRSSVE bit from PCIe Root Port 2021-10-08 08:37:55 +02: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 WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
phy_interface.h net: replace the "xfi" phy-mode with "10gbase-r" 2021-09-28 18:50:56 +03:00
phys2bus.h
physmem.h
post.h ppc: Remove sbc8641d board 2021-07-07 19:52:24 -04:00
power-domain-uclass.h
power-domain.h treewide: Simply conditions with the new OF_REAL 2021-09-25 09:46:15 -06:00
ppc_asm.tmpl
ppc_defs.h
pvblock.h
pwm.h
pwrseq.h
pxa_lcd.h
pxe_utils.h pxe: Allow calling the pxe_get logic directly 2021-11-11 19:02:43 -05:00
qfw.h
ram.h
rand.h
rc4.h
regmap.h
reiserfs.h
relocate.h image: Avoid #ifdefs for manual relocation 2021-10-08 15:53:26 -04:00
remoteproc.h
reset-uclass.h
reset.h
rng.h
rtc.h
rtc_def.h
s_record.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandbox-clk.h
sandboxblockdev.h
sandboxfs.h
sandboxtee.h
sata.h
scf0403_lcd.h
scmi_agent-uclass.h
scmi_agent.h
scmi_protocols.h firmware: scmi: fix struct layout for scmi_clk_rate_set_in 2021-10-26 15:26:45 -04:00
scp03.h
scsi.h
sdhci.h drivers: mmc: Add wait_dat0 support for sdhci driver 2021-10-29 18:22:32 +09:00
sdp.h
search.h
serial.h
sh_pfc.h
signatures.h
sja1000.h
slre.h
smbios.h efi_loader: add SMBIOS table measurement 2021-10-26 17:58:14 +02:00
smem.h WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
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: spi-mem: add spi_mem_dtr_supports_op() 2021-06-28 11:56:06 +05:30
spi.h
spi_flash.h mtd: spi-flash: Check for zero length in legacy spi_flash_*() 2021-10-23 15:47:33 +05:30
spl.h arm: spl: prepare for jumping to OPTEE 2021-10-25 17:17:24 -04:00
spl_gpio.h
splash.h
squashfs.h
st_logo_data.h WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
status_led.h
stdint.h
stdio.h serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
stdio_dev.h
stdlib.h
stm32_rcc.h
stratixII.h
string.h
sunxi_image.h
sy8106a.h
sym53c8xx.h
syscon.h
sysinfo.h
sysreset.h watchdog: Automatically register device with sysreset 2021-11-04 08:57:19 +01:00
tables_csum.h
tca642x.h
tee.h tee: add a stub for tee_find_device 2021-10-05 08:44:48 -04:00
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
time.h
timer.h
timestamp.h
tlv_eeprom.h
tmu.h
tpm-common.h
tpm-v1.h
tpm-v2.h tpm: use more algorithms than sha256 on pcr_read 2021-11-30 09:23:49 +01:00
tpm_api.h
tps6586x.h
trace.h
tsec.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
tsi148.h
twl4030.h
twl6030.h
ubi_uboot.h
ubifs_uboot.h
ubispl.h
uboot_aes.h
ufs.h
universe.h
usb.h
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
vbe.h
versalpl.h
version.h Remove including timestamp.h in version.h 2021-09-17 12:10:44 -04:00
version_string.h version: Move version_string[] from version.h to version_string.h 2021-09-17 12:10:44 -04:00
video.h video: Add 30bpp support 2021-10-09 18:43:51 +02:00
video_bridge.h
video_console.h
video_easylogo.h
video_fb.h
video_font.h
video_font_4x6.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
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 convert a string to a hex value 2021-11-11 19:02:34 -05:00
vxworks.h
w1-eeprom.h
w1.h
w83c553f.h
wait_bit.h
watchdog.h Rename SPL_WATCHDOG_SUPPORT to SPL_WATCHDOG 2021-07-28 14:27:54 -04:00
wdt.h watchdog: wdt-uclass.c: add wdt_stop_all() helper 2021-08-31 12:04:03 +02:00
winbond_w83627.h
xen.h
xilinx.h
xyzModem.h
zfs_common.h
zynq_bootimg.h
zynqmp_firmware.h zynqmp_firmware: Add zynqmp firmware related enums 2021-08-06 09:35:34 +02:00
zynqmppl.h
zynqpl.h