u-boot-brain/test/dm
Fabien Dessenne 7a7c4cb0f0 remoteproc: add elf file load support
The current implementation supports only binary file load.
Add helpers to support ELF32 format (sanity check, and load).
Note that since an ELF32 image is built for the remote processor, the
load function uses the device_to_virt ops to translate the addresses.
Implement a basic translation for sandbox_testproc.

Add related tests. Test result:
=> ut dm remoteproc_elf
Test: dm_test_remoteproc_elf: remoteproc.c
Test: dm_test_remoteproc_elf: remoteproc.c (flat tree)
Failures: 0

Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
2019-07-22 09:21:28 +02:00
..
adc.c test: dm: adc: use the real device name 2019-07-12 21:07:58 -04:00
audio.c dm: sound: Create a uclass for audio codecs 2018-12-13 16:32:49 -07:00
axi.c test: Add AXI test 2018-08-11 08:11:02 +02:00
blk.c test: dm: blk: Correct blk_base test case 2018-11-14 09:16:27 -08:00
board.c test: Add tests for board uclass 2018-09-29 11:49:35 -06:00
bootcount.c test: bootcount: add bootcount-uclass test 2019-01-14 17:41:23 -05:00
bus.c test: dm: core: Add test case for uclass driver's child_post_probe() 2018-11-14 09:16:27 -08:00
cache.c dm: cache: Create a uclass for cache 2019-05-05 08:48:50 -04:00
clk.c test/dm: clk: Add clk_get_by_index[_nodev] test 2019-05-09 00:44:13 +05:30
core.c dm: device: fail uclass_find_first_device() if list_empty 2019-02-09 07:51:00 -05:00
cpu.c test: Add tests for CPU uclass 2018-09-18 08:12:21 -06:00
dma.c test: dma: add dma-uclass test 2018-12-07 08:13:45 -05:00
eth.c net: explicitly assign errno to return code in case of network failure 2019-01-24 11:35:28 -06:00
firmware.c dm: test: Add "/firmware" node scan test 2018-09-29 11:49:35 -06:00
gpio.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
hwspinlock.c dm: Add Hardware Spinlock class 2018-12-06 23:26:32 -05:00
i2c.c dm: sandbox: i2c: Use new emulator parent uclass 2018-11-29 09:30:05 -07:00
i2s.c dm: sound: Create a uclass for i2s 2018-12-13 16:32:49 -07:00
Kconfig test: Move the unit tests to their own menu 2015-05-21 09:16:17 -04:00
led.c sandbox: led: use new function to configure default state 2018-08-10 10:27:32 -04:00
mailbox.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile test: dm: add MDIO test 2019-07-15 13:32:25 -05:00
mdio.c test: dm: add MDIO test 2019-07-15 13:32:25 -05:00
misc.c misc: Update read() and write() methods to return bytes xfered 2018-11-20 19:14:22 -07:00
mmc.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
nop.c dm: Add a No-op uclass 2019-07-05 14:19:41 +02:00
ofnode.c dm: core: Update ofnode to read binman-style flash entry 2018-10-09 04:40:27 -06:00
osd.c video_osd: Add osd sandbox driver and tests 2018-09-28 18:26:52 +02:00
panel.c panel: Expand the backlight support 2018-10-09 04:40:27 -06:00
pch.c pch: Add ioctl support 2019-02-20 15:27:08 +08:00
pci_ep.c test: pci_ep: add basic pci_ep tests 2019-07-11 10:05:15 -04:00
pci.c test: dm: Add a test for PCI Enhanced Allocation 2019-07-10 16:52:58 -06:00
phy.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmic.c sandbox: tests: Add tests for mc34708 PMIC device 2018-05-18 08:27:26 +02:00
power-domain.c dm: power-domain: query power domain after get device 2018-08-06 11:52:19 +02:00
pwm.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ram.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
regmap.c test: dm: regmap: Fix the long test delay 2019-01-14 17:47:13 -07:00
regulator.c power: regulator: Introduce regulator_set_enable_if_allowed api 2019-02-09 12:50:22 -07:00
remoteproc.c remoteproc: add elf file load support 2019-07-22 09:21:28 +02:00
reset.c test/dm: reset: Add reset_get_by_index[_nodev] test 2019-05-09 00:44:13 +05:30
rtc.c dm: sandbox: i2c: Use new emulator parent uclass 2018-11-29 09:30:05 -07:00
serial.c dm: serial: Adjust serial_getinfo() to use proper API 2019-01-14 17:47:13 -07:00
sf.c sandbox: Drop the deprecated 'sb' command 2018-11-26 08:25:35 -05:00
smem.c test: smem: add basic smem test 2018-07-19 17:03:28 -04:00
sound.c sound: Add uclass operations for beeping 2019-02-20 15:27:08 +08:00
spi.c dm: spi: Update sandbox SPI emulation driver to use ofnode 2018-07-09 09:11:00 -06:00
spmi.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
syscon.c syscon: update syscon_regmap_lookup_by_phandle 2019-04-11 20:10:05 -06:00
sysreset.c sandbox: sysreset: Update to support power-on reset 2018-12-05 06:01:34 -07:00
tee.c test: tee: fix resource leak in dm_test_tee() 2018-11-01 10:02:43 -04:00
test-driver.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test-fdt.c dm: core: Introduce xxx_translate_dma_address() 2019-07-22 09:21:28 +02:00
test-main.c dm: test: Fix typo in test-main comment 2018-08-24 13:20:19 -04:00
test-uclass.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
timer.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
usb.c test: dm: usb: use the real device name 2019-07-12 21:07:59 -04:00
video.c video: Factor out vidconsole_put_string() 2019-05-20 12:00:05 +02:00
virtio.c test: dm: virtio: Add test cases for virtio uclass 2018-11-14 09:16:28 -08:00
wdt.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00