]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-firmware/system-firmware-image-gen.git/log
processor-firmware/system-firmware-image-gen.git
4 years agogen_its.sh: Add SIG version and build info into the generated itb
Nishanth Menon [Sat, 18 May 2019 12:19:29 +0000 (07:19 -0500)]
gen_its.sh: Add SIG version and build info into the generated itb

Introduce the version of System Firmware Image Generator (SIG) as well
as the SOC variant and used CONFIG back into the generated image tree
blob so we can track those important aspects after deployment.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
4 years agoMakefile: Allow for builds for multiple SoCs
Andreas Dannenberg [Fri, 7 Jun 2019 19:21:08 +0000 (14:21 -0500)]
Makefile: Allow for builds for multiple SoCs

Allow for multiple SoCs to be built and object file names per SoC.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
4 years agocommon.h: Move to be inside include folder
Nishanth Menon [Sat, 18 May 2019 12:19:34 +0000 (07:19 -0500)]
common.h: Move to be inside include folder

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
4 years agocommon.h: Drop all AM65x specific header definitions
Nishanth Menon [Sat, 18 May 2019 12:19:32 +0000 (07:19 -0500)]
common.h: Drop all AM65x specific header definitions

Drop all the AM65x specific header definitions

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
4 years agocommon.h: Make board config data structure names generic
Nishanth Menon [Sat, 18 May 2019 12:19:31 +0000 (07:19 -0500)]
common.h: Make board config data structure names generic

Rename board config data structures for better alignment as well as
to be SoC independent. While at it drop the exporting of those data
structures that was inherited from a previous project which is no
longer necessary.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
4 years agocommon.h: Make AM65_BOARDCFG_RM_RESASG_ENTRIES generic
Nishanth Menon [Sat, 18 May 2019 12:19:30 +0000 (07:19 -0500)]
common.h: Make AM65_BOARDCFG_RM_RESASG_ENTRIES generic

Make AM65_BOARDCFG_RM_RESASG_ENTRIES to be generic to allow for cross
SoC usage. While at it, add include guards to the header file.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
4 years agoinclude: Add AM65X specific headers corresponding to SYSFW
Nishanth Menon [Sat, 18 May 2019 12:19:26 +0000 (07:19 -0500)]
include: Add AM65X specific headers corresponding to SYSFW

Introduce initial AM65X specific headers

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
4 years agoMakefile: Use SoC variable to pick up relevant binaries and include paths
Nishanth Menon [Sat, 18 May 2019 12:19:28 +0000 (07:19 -0500)]
Makefile: Use SoC variable to pick up relevant binaries and include paths

Let's use the define and use an SoC variable to pick up various include
definitions.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
4 years agoMakefile: Add -f to rm so that we can ignore nonexistent files
Nishanth Menon [Sat, 18 May 2019 12:19:27 +0000 (07:19 -0500)]
Makefile: Add -f to rm so that we can ignore nonexistent files

Stop complaining that files don't exist if folks do multiple cleans or
mrpropers.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
4 years agoMakefile: Drop the asm rule
Nishanth Menon [Sat, 18 May 2019 12:19:33 +0000 (07:19 -0500)]
Makefile: Drop the asm rule

We dont build ASM, so, why have a rule for the same.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
4 years agobuild: Default to use TI degenerate key for signing on non-HS devices
Andreas Dannenberg [Wed, 7 Nov 2018 16:48:20 +0000 (10:48 -0600)]
build: Default to use TI degenerate key for signing on non-HS devices

Switch to using the TI degenerate key to sign the system firmware binary
image on GP devices during the image tree blob build process. Using this
key speeds up the time needed by the ROM code execution for processing
this image and with this shortens our boot time.

The previous default behavior of signing with a random key can still
be triggered by passing an empty KEY variable to the make command as
follows:

$ make KEY=""

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
4 years agobuild: Allow signing SYSFW with custom key on non-HS devices
Andreas Dannenberg [Wed, 5 Jun 2019 20:08:06 +0000 (15:08 -0500)]
build: Allow signing SYSFW with custom key on non-HS devices

Enable the existing make variable KEY that was introduced to specify
the signing key used to sign SYSFW for use on HS devices to also be
used to sign SYSFW images destined for GP devices, overriding the
default random key that is used for signing.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
4 years agolinux-firmware: Update am65x sysfw to v2019.04a ti2019.01 ti2019.01-rc3 ti2019.01-rc4 ti2019.01-rc5
Praneeth Bajjuri [Wed, 8 May 2019 15:40:20 +0000 (10:40 -0500)]
linux-firmware: Update am65x sysfw to v2019.04a

Update the sysfw to v2019.04a from v2019.02

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
4 years agocommon: Add basic BIT(x) macro defininiton
Andreas Dannenberg [Tue, 6 Nov 2018 20:17:31 +0000 (14:17 -0600)]
common: Add basic BIT(x) macro defininiton

For that we can use macros that rely on BIT(x) in the different
configuration files we need to actually have that underlying macro
defined in the first place so go ahead and add the missing
definition.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Acked-by: Suman Anna <s-anna@ti.com>
4 years agobuild: Add support for HS devices
Andrew F. Davis [Tue, 23 Apr 2019 14:21:13 +0000 (10:21 -0400)]
build: Add support for HS devices

This tool can be used to download and sign HS SYSFW images, add
support for this here. Usage is described in the README.

Signed-off-by: Andrew F. Davis <afd@ti.com>
4 years agobuild: Use TI support email as default instead of Albert
Andrew F. Davis [Tue, 23 Apr 2019 14:21:12 +0000 (10:21 -0400)]
build: Use TI support email as default instead of Albert

Use a slightly more valid default certificate signer.

Signed-off-by: Andrew F. Davis <afd@ti.com>
5 years agolinux-firmware: Update am65x sysfw to v2019.02
Suman Anna [Tue, 5 Mar 2019 23:07:05 +0000 (17:07 -0600)]
linux-firmware: Update am65x sysfw to v2019.02

Update the sysfw to v2019.02 from v2018.10. Also update
the license year.

Signed-off-by: Suman Anna <s-anna@ti.com>
5 years agolinux-firmware: Update am65x sysfw to v2018.10
Andrew F. Davis [Tue, 6 Nov 2018 19:00:53 +0000 (13:00 -0600)]
linux-firmware: Update am65x sysfw to v2018.10

Update the sysfw to v2018.10 from v2018.09.

Signed-off-by: Andrew F. Davis <afd@ti.com>
5 years agolinux-firmware: Update am65x sysfw to v2018.09
Andreas Dannenberg [Mon, 29 Oct 2018 17:03:46 +0000 (12:03 -0500)]
linux-firmware: Update am65x sysfw to v2018.09

Update the sysfw to v2018.09 from v2018.08b.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
5 years agorm-cfg: Partition interrupt resources between R5F contexts
Sam Nelson [Tue, 23 Oct 2018 15:52:05 +0000 (10:52 -0500)]
rm-cfg: Partition interrupt resources between R5F contexts

Partitioning the MCU R5F IRQs to be distributed between R5F context 0
and context 1.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
5 years agoAdd software manifest as required for external release
Andreas Dannenberg [Fri, 28 Sep 2018 20:21:20 +0000 (15:21 -0500)]
Add software manifest as required for external release

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
5 years agoIntroduce framework to build SYSFW and config data into an ITB
Andreas Dannenberg [Fri, 31 Aug 2018 18:09:00 +0000 (13:09 -0500)]
Introduce framework to build SYSFW and config data into an ITB

In order to be able to consume system firmware (SYSFW) as well as the
associated configuration data from the boot media introduce a framework
that allows building the SYSFW image itself as well as the different
domain-specific configuration fragments (board, pm, rm, and sec) into an
image tree blob (ITB) file called sysfw.itb.

To establish a known-good starting point for development and testing use
U-Boot commit 7501705610 ("arm: K3: am654: Update board config for
v2018.07a enforcement in 2018.08 release of sysfw") as a baseline for the
AM654x board configuration data. Furthermore integrate SYSFW v2018.08b as
released on 09/12/2018 by way of download URL.

See included README.md for a more complete description.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>