]> git.sur5r.net Git - u-boot/commit
arm: Add support for semihosting for armv8 fastmodel targets.
authorDarwin Rambo <drambo@broadcom.com>
Mon, 9 Jun 2014 18:12:59 +0000 (11:12 -0700)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 3 Jul 2014 06:35:45 +0000 (08:35 +0200)
commit261d27605c70f5c7644686df25ce76adf80a7a21
treea966d774b34259fa5af60dd85b3cf4cc9517185d
parentfe8b3212b7938861eacdefe6115810303a96f9cc
arm: Add support for semihosting for armv8 fastmodel targets.

The armv8 ARM Trusted Firmware (ATF) can be used to load various ATF
images and u-boot, and does this for virtual platforms by using
semihosting. This commit extends this idea by allowing u-boot to also
use semihosting to load the kernel/ramdisk/dtb. This eliminates the need
for a bootwrapper and produces a more realistic boot sequence with
virtual models.

Though the semihosting code is quite generic, support for armv7 in
fastmodel is less useful due to the wide range of available silicon
and the lack of a free armv7 fastmodel, so this change contains an
untested armv7 placeholder for the service trap opcode.

Please refer to doc/README.semihosting for a more detailed description
of semihosting and how it is used with the armv8 virtual platforms.

Signed-off-by: Darwin Rambo <drambo@broadcom.com>
Cc: trini@ti.com
Cc: fenghua@phytium.com.cn
Cc: bhupesh.sharma@freescale.com
arch/arm/include/asm/semihosting.h [new file with mode: 0644]
arch/arm/lib/Makefile
arch/arm/lib/semihosting.c [new file with mode: 0644]
board/armltd/vexpress64/vexpress64.c
boards.cfg
doc/README.semihosting [new file with mode: 0644]
include/configs/vexpress_aemv8a.h