Age | Commit message (Collapse) | Author |
|
Removing copying the rootfs to SRAM.
Because the rootfs is a CramFS XIP filesystem
stored in flash, there is no need to copy
it to DDR.
Change-Id: I706d709050ae98a9b07fc00bb97c1d824f9399e6
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
|
|
This driver module add support for sdc-600 which enables
secure debugging using Arm Coresight.There is one internal
and external internal COM port for the communication between
the debugger and debugged system.
links:
Advanced Communication channel: http://infocenter.arm.com/help/topic/com.arm.doc.subset.coresight.architecture/index.html
SDC-600 : http://infocenter.arm.com/help/topic/com.arm.doc.101130_0002_02_en/coresight_sdc_600_technical_reference_manual_101130_0002_02_en.pdf
Change-Id: I579b026500f4f38fc45186a033817fd7ca6e9798
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
|
|
Arm recommends to wait for the associated RGN_ST.MPE_EN bit reflects
the enabling/disabling of MPE
Change-Id: I3c4d5373765a7ac1dd1bf23a9a96ce151aaac9d4
Signed-off-by: Avinash Mehta <avinash.mehta@arm.com>
|
|
This change adds fc_init_mpl api to initialize the mpl and brings them
to a known state as Arm recommends setting RGN_MPL register before
enabling MPE.
Change-Id: I6f9f204af54d3542db490ba47c8c55dd548cfb6d
Signed-off-by: Avinash Mehta <avinash.mehta@arm.com>
|
|
This change clears the rgn_size register before programming it, as the
reset value is rgn_size register is UNKNOWN and Arm recommends to set
register to a known value before performing read-modify-write operations
Change-Id: I6edadccfd33e1c331f9df1e086b091876e779989
Signed-off-by: Avinash Mehta <avinash.mehta@arm.com>
|
|
This change disables the master permission entry before programming the
regions as recommended by the firewall specification.
Change-Id: Ic8c769cd16c17894c34bc0805e4191df0b6d2c0f
Signed-off-by: Avinash Mehta <avinash.mehta@arm.com>
|
|
These changes copy DTB and ROOTFS to DDR from Flash
Change-Id: Ief27faa2c3d989e1c2c6be234c42b89b859d8485
Signed-off-by: Avinash Mehta <avinash.mehta@arm.com>
|
|
This change adds firewall policies to access OCVM(DDR) from boot
processor.
1) boot processor can access 512MB of DDR through the host access region
2) memory attributes enabled in host_firewall_setup allows both secure
and non-secure accesses from all masters
Change-Id: Ia4c507510610784c6727170d8e634fc2cba6d69a
Signed-off-by: Avinash Mehta <avinash.mehta@arm.com>
|
|
This change adds enum for secure enclave and host firewall comp IDs.
Change-Id: I4abebb734422cc5d5ea2d3d0cb85dc8a22ee2318
Signed-off-by: Avinash Mehta <avinash.mehta@arm.com>
|
|
This change is to change the size of ROOTFS from a hardcoded value
to a macro.
Change-Id: Id654749befc9d3c2a1b635bef555db87067d0d39
|
|
As FPGA and FVP now have 8MB of flash and rootfs is less than 4MB.
This change is to reduce rootfs size to 2MB
Change-Id: Iced3a36561165983ba5afad1a95a262bda55d14c
|
|
Change-Id: I86f1feddab99374a1582bac6b5f070efc558b354
Signed-off-by: Avinash Mehta <avinash.mehta@arm.com>
|
|
Change-Id: I29ff1eacddec5620be8b5e2a3149832e74b8bb68
Signed-off-by: Avinash Mehta <avinash.mehta@arm.com>
|
|
Change-Id: I34e31b8c95d907107f074459342cf6e06da305f8
Signed-off-by: Avinash Mehta <avinash.mehta@arm.com>
|
|
Change-Id: I619d9c3b1735a8d7ee4e78ce8dc7cc953a83bb32
Signed-off-by: Avinash Mehta <avinash.mehta@arm.com>
|
|
Restructured firewall driver code
Added APIs for FC and FCTRL registers
Added seperate firewall driver file
Signed-off-by: Avinash Mehta <avinash.mehta@arm.com>
Change-Id: Ie66ab96a7ea914b5ba7396e34b052d3b46b2f89e
|
|
moving contents of product/corstone-700/module to module folder
Change-Id: I1b1dc32001929dcc082542ab0a1e3be613d47ffc
Signed-off-by: Avinash Mehta <avinash.mehta@arm.com>
|
|
Change-Id: I47ac67dedd410368bb8eae8e3e22cf70735f5d0d
Signed-off-by: Avinash Mehta <avinash.mehta@arm.com>
|
|
Change-Id: I7687db08544cd00e3a3d3a1bcf2d12900d0b528c
|
|
Change-Id: If5d78a11fa511824f672c3da85a05f8e19004006
Signed-off-by: Avinash Mehta <avinash.mehta@arm.com>
|
|
Running check_spacing.py, check_tabs.py, check_style.py on the codebase
and making required changes
Change-Id: I2710243bc823e9c05b83fa3c2f80f1eeda7d98fd
Signed-off-by: Avinash Mehta <avinash.mehta@arm.com>
|
|
Change-Id: If67185e2d96b7baa1d7215982ebaf7ceef2b9ad9
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
|
|
Change-Id: I442b35334b1d262a76588eb389a4cccbccb1e314
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
|
|
Change-Id: I1828b09ba1ce7c773fa477a1286dad71af9992af
Signed-off-by: Morten Borup Petersen <morten.petersen@arm.com>
|
|
Corstone-700 has two Firewall IP's one with boot processor
and other in Host System, both will be programmed in boot
processor as it is root of trust.
This patch introduces Firewall module and also the programming
of SE Firewall translation of Host access regions.
Following four Host regions are currently accessed from SE
1. Boot Instruction Register
2. Shared RAM
3. Execute in Place(XIP) Flash
4. Host peripheral regions
Change-Id: Ice81cd119bddf3db9beca1cf6a12915b0e851479
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
|
|
This commit adds testing of the timer and interrupt
router modules.The test may be started by receiving
the enumerated command value on the Non Secure channel(MHU1).
Change-Id: If0a69c7bed8f5bb16b878e725807e0837031ea11
Signed-off-by: Morten Borup Petersen <morten.petersen@arm.com>
|
|
This commit introduces a module for handling events which may be triggered when
unit testing the platform.
In this commit, support for handling commands received by the rpmsg driver is
introduced. These commands tie into the MHU test application(s) running in the
corstone-700 CI setup.
Change-Id: I11b58fe10b6b87ce2c5122cb81c8ab2a67948600
Signed-off-by: Morten Borup Petersen <morten.petersen@arm.com>
|
|
this commit removes the hardcoded framework IDs
for the boot firmware < = > HOST MHU 0 & 1
channels and replaces them with a call to the
lookup function in the mhu driver.
Change-Id: Ifc4ff8a7c607901bd7e221314f45d166ede178ae
Signed-off-by: Morten Borup Petersen <morten.petersen@arm.com>
|
|
This commit implements lookup of a channel which is registered as a module
element within the boot firmware framework. Based on the destination address
(which is stored as the transmit address of an MHU channel), a framework ID
can be built.
Change-Id: I7df06b0c1bdf421172f99b5e1968af9842f8888f
Signed-off-by: Morten Borup Petersen <morten.petersen@arm.com>
|
|
Change-Id: Ia49cc2db440b6203b176c686a2e1fb5a06d77349
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
|
|
Change-Id: I830b68d6ce5136ba3bc34f5081579ee8788ddbb7
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
|
|
Change-Id: I8cda33045588d6b6fabf171ba8c9a07e48d8bee1
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
|
|
Change-Id: I17acb83977e699f6104558d2bdf2856e8fa9fb79
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
|
|
Change-Id: I5cd334904499fd2eb540aa10af847bca3c47fdcd
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
|
|
this module will:
1. encode boot instruction regsiter (BIR) of Host Cortex A32
2. get infomation from fip parser to copy DTB and
root file system in shared RAM
3. release Host from reset
Change-Id: Id2211f5b6e92b969f1c839f7251008e974798c84
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
|
|
this module parse TF-A fip generated as part of TF-A build.
It will detect the number of images it contatin and
information about the images by reading there UUID
Change-Id: I2a6a3b4eb33350fdf2b0984294c347ce9ddf84c5
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
|
|
Change-Id: Ide06f1e95756de7be56fac865ef3295a1ddb25d6
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
|
|
this patch adds sipport for booting RTX RTOS
in boot processors SRAM
Change-Id: I8641839926bda1a0a8786a3958ca0c4a2b06315d
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
|
|
this module load ram firmware from flash after
getting the offset from spitoc module.the firmware
is loaded into boot processor SRAM
Change-Id: I7f0ffc752d86c739355e4a3d90e79709556b17ca
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
|
|
this module parse the SPI flash table of contents.
this information is present on flash at 0x0 in the
form of a binary called spitoc.bin created by using
spitoccreater tool.It has file offset, size and flags
of ram firmware and Host TF-A FIP image.This is then
parsed by rom firmware to load ram firmware.
Change-Id: If7ca74a9d43e6e2d12954f56c9854d247121a9b9
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
|
|
Change-Id: Ibd0d2ee8b6e5ac12ace0c5728316bca1d1968520
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
|
|
this tool creates a binary which has TF-A FIP's and boot processor's
ram firmware information like (size, offset, header etc.)
how to run:
spitoc --seram <ram firmware binary> --offset <in KB> --fip <TF-A FIP> --offset <in KB> --out <spitoc.bin>
Change-Id: Ibc1130e22d606874476cc29cea2f555ca735f417
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
|
|
Change-Id: I601e20ba519f21bba968fb19af919ba5eab1d861
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
|
|
this commit adds support for architecture, nvic,
framework and build tools
Change-Id: I0583a0795b8c3dac63a31694b75096ba89374ac7
Signed-off-by: tushar khandelwal <tushar.khandelwal@arm.com>
|
|
Change-Id: I8d590d9ed85408edbcef7f5b7e306bbd7ca3896a
Signed-off-by: tushar khandelwal <tushar.khandelwal@arm.com>
|
|
|