On 7/21/2023 12:39 PM, Mathew McBride wrote:
Ensure nvme devices are scanned before reaching the shell,
otherwise extra user intervention ("nvme scan") is required
before they are visible to bootdev/bootflow.
Signed-off-by: Mathew McBride
Reviewed-by: Peng Fan
On 7/21/2023 12:39 PM, Mathew McBride wrote:
This restores NVMe functionality after PCI(e) NVMe support
was split out from the NVMe driver.
Signed-off-by: Mathew McBride
Reviewed-by: Peng Fan
On 7/21/2023 12:39 PM, Mathew McBride wrote:
The recovery-firmware and OpenWrt-NAND do not yet have bootflow
/bootstd entrypoints, so add bootmenu entries to make them
accessible.
Signed-off-by: Mathew McBride
Reviewed-by: Peng Fan
On 7/21/2023 12:39 PM, Mathew McBride wrote:
The default Ten64 MTD configuration reserves two ubifs partitions
for OpenWrt residing on NAND flash. Add the bootcmd for this system
into the default environment.
Signed-off-by: Mathew McBride
Reviewed-by: Peng Fan
.
Ensure the bootargs are set correctly prior to booting recovery.
Signed-off-by: Mathew McBride
Reviewed-by: Peng Fan
n installs a standard Linux
distribution over the top of that sdcard, (in theory)
it will be left alone by distribution boot tooling.
Signed-off-by: Mathew McBride
Reviewed-by: Peng Fan
Signed-off-by: Mathew McBride
Reviewed-by: Peng Fan
On 7/21/2023 12:39 PM, Mathew McBride wrote:
Board revision C (production) and later require the SFP+
retimer to be turned on (or reset) on boot, by way of issuing
a command to the board's microcontroller (via I2C).
The comparison statement here was incorrect, as the board
ID decrements
Hi Tom,
Hi Tom,
Please pull fsl-qoriq-2023-7-6 for next
-
Enable DM Serial for ls1043ardb and ls1046ardb/afrwy
Fixed secure boot on LS-CH2 platforms
-
Hi Tom,
Please pull fsl-qoriq-2023-7-6 for next
-
Enable DM Serial for ls1043ardb and ls1046ardb/afrwy
Fixed secure boot on LS-CH2 platforms
-
spl_mmc_get_uboot_raw_sector() .
Signed-off-by: Marek Vasut
Reviewed-by: Peng Fan
---
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
---
board/data_modul/imx8mp_edm_sbc/spl.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/board/data_modul/imx8mp_edm_sbc/spl.c
b
On 6/25/2023 6:34 PM, Marek Vasut wrote:
Bitwise operations on signed integers are not defined,
replace then with per-call checks.
Typo: then->them
Signed-off-by: Marek Vasut
Reviewed-by: Peng Fan
On 6/27/2023 2:25 AM, Tim Harvey wrote:
If optee is detected configure it in the Linux device-tree:
- add /firmware/optee node
- add /reserved-memory nodes for optee_core and optee_shm
Signed-off-by: Tim Harvey
Reviewed-by: Peng Fan
On 6/25/2023 6:34 PM, Marek Vasut wrote:
Bitwise operations on signed integers are not defined,
replace then with per-call checks.
You mean C99 standard?
Thanks,
Peng.
Signed-off-by: Marek Vasut
---
Cc: "NXP i.MX U-Boot Team"
Cc: Fabio Estevam
Cc: Heiko Schocher
Cc: Heinrich
the drivers are initialized before relocation. New board specific
*-u-boot.dtsi files are created to store these properties. We do this in
order to keep serial node descriptions in sync with Linux.
Lastly, CONFIG_DM_SERIAL is enabled in the relevant defconfigs.
For the patchset,
Reviewed-by: Peng Fan
On 6/21/2023 11:11 AM, xf_...@163.com wrote:
Caution: This is an external email. Please take care when clicking links or
opening attachments. When in doubt, report the message using the 'Report this
email' button
From: xiefei
Due to the need to read the register value before
switching
Acked-by: Peng Fan
boards moved away from using
CONFIG_SPL_FIT_GENERATOR this was lost. This patch restores that
functionality. A Kconfig option is added due to binman not being
able to utilize env variables.
Signed-off-by: Tim Harvey
Reviewed-by: Peng Fan
On 6/23/2023 2:52 AM, Tim Harvey wrote:
Move the crypto and sec_jr* nodes from board-specific
u-boot.dtsi files into the common files. Additionally protect the
nodes with ifdef FSL_CAAM as they don't serve any purpose if that is
not enabled.
Signed-off-by: Tim Harvey
Reviewed-by: Peng Fan
On 6/24/2023 12:44 AM, Tim Harvey wrote:
Switch to a 2-bank dram config to properly support 4GiB.
Signed-off-by: Tim Harvey
Reviewed-by: Peng Fan
arch_misc_init to probe
the CAAM driver.
Signed-off-by: Tim Harvey
Reviewed-by: Peng Fan
PM Tim Harvey wrote:
On Thu, Jun 15, 2023 at 8:31 PM Peng Fan wrote:
On 6/16/2023 9:56 AM, Tim Harvey wrote:
Greetings,
I've seen several IMX8M boards include a firmware/optee node in the
U-Boot dt (git grep optee arch/arm/dts/imx8m*.dtsi) yet but none that
I see configure binman
changes
> ---
> Cc: "Ying-Chun Liu (PaulLiu)"
> Cc: Hai Pham
> Cc: Jaehoon Chung
> Cc: Loic Poulain
> Cc: Peng Fan
> Cc: Simon Glass
> Cc: Takeshi Kihara
> ---
> drivers/mmc/renesas-sdhi.c | 11 +++
> 1 file changed, 11 insertions(+)
> Rename to mmc_send_stop_transmission().
> Remove tuning opcode check, this is controller driver specific.
> Deduplicate part of mmc_read_blocks() using this function.]
> ---
> V2: Support both read and write transmission stop
> V3: Update on previous patch changes
> -
> -Original Message-
> From: Marek Vasut
> Sent: 2023年6月20日 6:38
> To: u-boot@lists.denx.de
> Cc: Marek Vasut ; Ying-Chun Liu
> (PaulLiu) ; Hai Pham ;
> Jaehoon Chung ; Loic Poulain
> ; Peng Fan ; Simon Glass
> ; Takeshi Kihara
> Su
gt; +75,9 @@ int spl_parse_legacy_header(struct spl_image_info *spl_image,
> "payload image: %32s load addr: 0x%lx size: %d\n",
> spl_image->name, spl_image->load_addr, spl_image->size);
>
> + spl_parse_legacy_validate(spl_image->load_addr, spl_image->size);
> + spl_parse_legacy_validate(spl_image->entry_point, 0);
> +
> return 0;
Reviewed-by: Peng Fan
> }
>
> --
> 2.39.2
On 6/16/2023 9:56 AM, Tim Harvey wrote:
Greetings,
I've seen several IMX8M boards include a firmware/optee node in the
U-Boot dt (git grep optee arch/arm/dts/imx8m*.dtsi) yet but none that
I see configure binman to actually add the binary in the u-boot.dtsi,
do anything to keep U-Boot from
.1/
+export CSF_KEY=$CST_DIR/crts/CSF1_1_sha256_4096_65537_v3_usr_crt.pem
+export IMG_KEY=$CST_DIR/crts/IMG1_1_sha256_4096_65537_v3_usr_crt.pem
+export SRK_TABLE=$CST_DIR/crts/SRK_1_2_3_4_table.bin
+export PATH=$CST_DIR/linux64/bin:$PATH
+/bin/sh doc/imx/habv4/csf_examples/mx8m/csf.sh
+```
Reviewed-by: Peng Fan
It will be better if add SRK programming fuse in guide.
Thanks,
Peng.
1.4 Closing the device
---
--
2.25.1
On 6/13/2023 4:14 AM, Simon Glass wrote:
Caution: This is an external email. Please take care when clicking links or
opening attachments. When in doubt, report the message using the 'Report this
email' button
The intent here was to allow ANSI codes to be disabled, since it was
proving
On 6/15/2023 8:37 PM, Camelia Groza wrote:
Make sure the serial driver is initialized before relocation by tagging
the serial nodes with "bootph-all".
Add fsl-ls1046a-u-boot.dtsi for U-Boot specific changes.
Thanks,
Peng.
Signed-off-by: Camelia Groza
---
arch/arm/dts/fsl-ls1046a.dtsi
On 6/15/2023 8:37 PM, Camelia Groza wrote:
Pick up the serial node descriptions from Linux for the ls1046ardb and
ls1046afrwy boards and their dependencies. Including the
fsl,qoriq-clockgen.h and arm-gic.h headers forces us to change the include
directives to explicitly go through the C
On 6/15/2023 8:37 PM, Camelia Groza wrote:
Make sure the serial driver is initialized before relocation by tagging
the serial nodes with "bootph-all".
Please add fsl-ls1043a-u-boot.dtsi for U-Boot specific changes.
Regards,
Peng.
Signed-off-by: Camelia Groza
---
boards in the ls1043a SoC family.
Better add the tag or commit of linux kernel that you sync from.
Other than that, Acked-by: Peng Fan
Signed-off-by: Camelia Groza
---
arch/arm/dts/fsl-ls1043a-qds.dtsi | 2 +-
arch/arm/dts/fsl-ls1043a-rdb.dts | 6 +-
arch/arm/dts/fsl-ls1043a.dtsi
Hi Tom,
Please pull fsl-qoriq-2023-6-15 for next.
DM_MDIO/CMD for ls1046afrwy
sync APIs for fsl-mc
ldpaa_eth update
lx2160ardb recv support.
net: dsa fix of fallback lookup
CI:
From: Peng Fan
- Add crc computation.
- Add ele_generate_dek_blob API for encrypted boot support.
Signed-off-by: Clement Faure
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/ele_api.h | 2 +-
drivers/misc/imx_ele/ele_api.c | 44 +
2 files changed
arenthesis around the address "a" so that however the address is
calculated, the casting is applied to the final calculated address.
Reviewed-by: Horia Geanta
Reviewed-by: Ye Li
Signed-off-by: Utkarsh Gupta
Signed-off-by: Peng Fan
---
include/fsl_sec.h | 4 ++--
1 file changed, 2 insert
From: Maximus Sun
Use structure to avoid define CAAM_SCFGR for each platform
Signed-off-by: Maximus Sun
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/priblob.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-imx/priblob.c b/arch/arm/mach-imx
From: Peng Fan
Add CAAM_BASE_ADDR which will be used by priblob.c
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8m/imx-regs.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h
b/arch/arm/include/asm/arch-imx8m/imx-regs.h
index
From: Ye Li
Abstract common interfaces for AHAB authentication operations.
Then share some common codes for AHAB and SPL container authentication
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/ahab.h | 15
arch/arm/mach-imx/imx8/ahab.c| 129
From: Gaurav Jain
add support for SHA-256 secure hash algorithm using the ARM v8
SHA-256 instructions for verifying image hash.
Signed-off-by: Gaurav Jain
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8/ahab.c | 28
1 file changed, 24 insertions(+), 4
From: Nitin Garg
If the container has image which conflicts with
spl_get_load_buffer address, there are processing failures.
Use malloc instead of spl_get_load_buffer.
Reviewed-by: Ye Li
Signed-off-by: Nitin Garg
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/parse-container.c | 38
From: Peng Fan
i.MX8M[M,N,P] SRC not has 0x1004 offset register, so drop it.
Reviewed-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/clock_imx8mm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mm.c
b/arch/arm/mach-imx/imx8m
he bootaux will copy
the M4 image from DDR to its TCML.
2. Implment bootaux for HIFI on QXP
command: bootaux 0x8100 1
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/sys_proto.h | 1 +
arch/arm/mach-imx/Kconfig | 2 +-
arch/arm/mach-im
From: Ye Li
The bootaux uses ulong to read private data and write to M4 TCM,
this cause problem on ARM64 platform where the ulong is 8bytes.
Fix it by using u32 to replace ulong.
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx_bootaux.c | 6
From: Peng Fan
The current bootaux supports i.MX8M and i.MX93, but the name "_M4_"
implies that the SoCs have Cortex-M4. Actually i.MX8MM/Q use Cortex-M4,
i.MX8MN/P use Cortex-M7, i.MX93 use Cortex-M33, so use "_MCU_" in place
of "_M4_" to simplify the naming.
Sign
From: Peng Fan
Add the support for loading image from secondary container set on
iMX8QM B0, iMX8QXP C0.
Using the SCFW API to get container set index, if it is the secondary
boot, get the offset from fuse and apply to offset of current container
set beginning for loading.
Also override
From: Ye Li
Checking container header tag and version is wrong, it causes to fail
to bypass invalid container
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/image-container.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch
From: Ye Li
Fix below coverity issues caused by get_idx function where "-1" is
compared with uint8_t "element"
343336 Unsigned compared with neg
343337 Operands don't affect result
Additional, this function returns "-1" will cause overflow to
event string array.
From: Peng Fan
On the imx8ulp A1 SoC, the ELE RNG needs to be manually started.
Signed-off-by: Clement Faure
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/ele_api.h | 1 +
board/freescale/imx8ulp_evk/spl.c | 10 ++
drivers/misc/imx_ele/ele_api.c | 25
From: Ye Li
Extend the RX timeout value to 10s, because when authentication is failed
the ELE needs long time (>2s for 28M image) to return the result. Print
rx wait info per 1s.
Also correct TX and RX status registers in debug.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/m
From: Clement Faure
Add ELE DEK Blob generation for the cmd_dek command.
Signed-off-by: Clement Faure
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/Kconfig | 7
arch/arm/mach-imx/cmd_dek.c | 84 +
2 files changed, 91 insertions(+)
diff --git
From: Ye Li
According to SRM, the Sentinel MU has 8 TR and 4 RR registers. All
of them are used for ELE message. So update TR count to 8 and fix a
typo in receive msg
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/misc/imx_ele/ele_mu.c | 4 ++--
1 file
From: Ye Li
Fix Coverity (CID 21143558).
When tee_shm_register returns failure, the shm_input pointer is
invalid, should not free it. Same issue also exists on registering
shm_output.
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/cmd_dek.c | 3
From: Peng Fan
Per NXP requirement, we rename all the NXP EdgeLock Secure Enclave
code including comment, folder and API name to ELE to align.
Signed-off-by: Peng Fan
---
arch/arm/Kconfig | 4 +-
arch/arm/include/asm/arch-imx9/ccm_regs.h | 2 +-
arch/arm
From: Peng Fan
Add two ELE API: ele_return_lifecycle_update and ele_write_secure_fuse
Add two cmd: ahab_return_lifecycle and ahab_sec_fuse_prog
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/ele_api.h | 2 +
arch/arm/mach-imx/ele_ahab.c| 74
From: Peng Fan
Use hextoul which looks a bit simpler.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/ele_ahab.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/ele_ahab.c b/arch/arm/mach-imx/ele_ahab.c
index 9bb37919638..5f23486304c 100644
--- a/arch/arm
From: Peng Fan
Fix build warning:
warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3
has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=]
printf("can't find memreg for image %d load address 0x%x, error %d\n",
warning: format ‘%lx’ expects argume
From: Peng Fan
Upgrade SCFW API to 1.16
Add more APIs:
sc_misc_get_button_status
sc_pm_reboot
sc_seco_v2x_build_info
Signed-off-by: Peng Fan
---
drivers/misc/imx8/scu_api.c | 78
include/firmware/imx/sci/rpc.h | 27 ---
include/firmware/imx
From: Peng Fan
The return value is int type, not sc_err_t(u8), correct the usage.
Signed-off-by: Peng Fan
Tested-by: Oliver Graute
Reviewed-by: Oliver Graute
---
board/congatec/cgtqmx8/cgtqmx8.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/board/congatec
From: Peng Fan
The return value is int type, not sc_err_t(u8), correct the usage.
Signed-off-by: Peng Fan
Tested-by: Oliver Graute
Reviewed-by: Oliver Graute
---
board/advantech/imx8qm_dmsse20_a1/spl.c | 6 +++---
board/advantech/imx8qm_rom7720_a1/spl.c | 6 +++---
2 files changed, 6
From: Peng Fan
The return value is int type, not sc_err_t(u8), correct the usage.
Signed-off-by: Peng Fan
---
board/siemens/capricorn/board.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/board/siemens/capricorn/board.c b/board/siemens/capricorn/board.c
From: Peng Fan
The return value is int type, not sc_err_t(u8), correct the usage.
Signed-off-by: Peng Fan
---
board/toradex/colibri-imx8x/colibri-imx8x.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/board/toradex/colibri-imx8x/colibri-imx8x.c
b/board/toradex
From: Peng Fan
The return value is int type, not sc_err_t(u8), correct the usage.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/cmd_dek.c | 2 +-
arch/arm/mach-imx/imx8/ahab.c | 10 +-
arch/arm/mach-imx/imx8/cpu.c | 6 +-
arch/arm/mach
From: Peng Fan
The return value is int type, not sc_err_t(u8), correct the usage.
Signed-off-by: Peng Fan
---
board/toradex/apalis-imx8/apalis-imx8.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/board/toradex/apalis-imx8/apalis-imx8.c
b/board/toradex/apalis
From: Peng Fan
V2:
Update commit log for patch 21 Per Marek
This patchset includes some misc update and fix from NXP downstream
- i.MX8 SCU API usage correction
- Use ELE(EdgeLockSecure Enclave) public from NXP to replace S400 or Sentinel
- Secondary container support and header checking
On 6/3/2023 3:35 PM, Peng Fan (OSS) wrote:
On 5/31/2023 11:02 PM, Ioana Ciornei wrote:
From: Florin Chiculita
Since the new RevC LX2160A-RDB board has its 10G Aquantia PHYs at
different MDIO bus addresses, we must update both the kernel DTS and
u-boot's DTS (in case of DM_ETH) in case
-Chun Liu (PaulLiu)"
Cc: Hai Pham
Cc: Jaehoon Chung
Cc: Loic Poulain
Cc: Peng Fan
Cc: Simon Glass
Cc: Takeshi Kihara
---
drivers/mmc/mmc.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 965bc8f0dba..f9b2f940
On 4/1/2023 7:17 PM, Yang Xiwen wrote:
It adds compatible "hisilicon,hi3798mv200-dw-mshc" for HC2910 SoC
Hi3798MV200 to probe this mmc driver.
It would be better if you could write more information, about
why it reuse the data structure of hi6220_mmc_data.
Regards,
Peng.
Signed-off-by:
On 5/11/2023 11:07 PM, Pavel Löbl wrote:
MMC driver requires request and response frame buffers to be properly
aligned for DMA transfers.
Fix already implemented reallocation for request frame and also add
realigment for response frame if needed.
Have you met any issues without your patch?
On 5/25/2023 1:45 PM, Ji Luo wrote:
polling the mmc status to make sure the rpmb request has been
sent and the mmc is not in BUSY state. This avoids potential
rpmb request failure during rpmb data write.
Signed-off-by: Ji Luo
Reviewed-by: Peng Fan
---
drivers/mmc/rpmb.c | 10
to legacy_speed]
Signed-off-by: Hai Pham
---
Cc: "Ying-Chun Liu (PaulLiu)"
Cc: Hai Pham
Cc: Jaehoon Chung
Cc: Loic Poulain
Cc: Peng Fan
Cc: Simon Glass
Cc: Takeshi Kihara
Reviewed-by: Peng Fan
---
drivers/mmc/mmc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/m
ction.]
---
Cc: "Ying-Chun Liu (PaulLiu)"
Cc: Hai Pham
Cc: Jaehoon Chung
Cc: Loic Poulain
Cc: Peng Fan
Cc: Simon Glass
Cc: Takeshi Kihara
---
drivers/mmc/mmc.c | 16
include/mmc.h | 2 ++
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/dri
and ARCH_BCM283X; and selected for
32-bit mvebu mmc booting (which requires it).
Signed-off-by: Pali Rohár
Looks good to me.
Reviewed-by: Peng Fan
I expect Jaehoon will handle this patch.
Regards,
Peng.
---
arch/arm/mach-mvebu/Kconfig | 1 +
drivers/mmc/Kconfig | 12
kernel's DTS and u-boot's DTS.
Signed-off-by: Florin Chiculita
Signed-off-by: Ioana Ciornei
Reviewed-by: Peng Fan
On 5/31/2023 11:02 PM, Ioana Ciornei wrote:
From: Florin Chiculita
Add new API for obtaining board revision and trigger the i2c node
fixup with this new API.
Signed-off-by: Florin Chiculita
Signed-off-by: Ioana Ciornei
Reviewed-by: Peng Fan
On 6/2/2023 2:34 PM, Marek Vasut wrote:
Caution: This is an external email. Please take care when clicking links
or opening attachments. When in doubt, report the message using the
'Report this email' button
On 6/2/23 08:45, Peng Fan (OSS) wrote:
From: Peng Fan
i.MX8MN/P has Cortex-M7
arenthesis around the address "a" so that however the address is
calculated, the casting is applied to the final calculated address.
Reviewed-by: Horia Geanta
Reviewed-by: Ye Li
Signed-off-by: Utkarsh Gupta
Signed-off-by: Peng Fan
---
include/fsl_sec.h | 4 ++--
1 file changed, 2 insert
From: Maximus Sun
Use structure to avoid define CAAM_SCFGR for each platform
Signed-off-by: Maximus Sun
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/priblob.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-imx/priblob.c b/arch/arm/mach-imx
From: Gaurav Jain
add support for SHA-256 secure hash algorithm using the ARM v8
SHA-256 instructions for verifying image hash.
Signed-off-by: Gaurav Jain
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8/ahab.c | 28
1 file changed, 24 insertions(+), 4
From: Peng Fan
Add CAAM_BASE_ADDR which will be used by priblob.c
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8m/imx-regs.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h
b/arch/arm/include/asm/arch-imx8m/imx-regs.h
index
From: Ye Li
Abstract common interfaces for AHAB authentication operations.
Then share some common codes for AHAB and SPL container authentication
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/ahab.h | 15
arch/arm/mach-imx/imx8/ahab.c| 129
From: Nitin Garg
If the container has image which conflicts with
spl_get_load_buffer address, there are processing failures.
Use malloc instead of spl_get_load_buffer.
Reviewed-by: Ye Li
Signed-off-by: Nitin Garg
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/parse-container.c | 38
From: Peng Fan
i.MX8M[M,N,P] SRC not has 0x1004 offset register, so drop it.
Reviewed-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/clock_imx8mm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mm.c
b/arch/arm/mach-imx/imx8m
he bootaux will copy
the M4 image from DDR to its TCML.
2. Implment bootaux for HIFI on QXP
command: bootaux 0x8100 1
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/sys_proto.h | 1 +
arch/arm/mach-imx/Kconfig | 2 +-
arch/arm/mach-im
From: Ye Li
The bootaux uses ulong to read private data and write to M4 TCM,
this cause problem on ARM64 platform where the ulong is 8bytes.
Fix it by using u32 to replace ulong.
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx_bootaux.c | 6
From: Peng Fan
i.MX8MN/P has Cortex-M7, i.MX93 has Cortex-M33, so use "M4" is a bit
misleading, so update the name of the macro
Signed-off-by: faqiang.zhu
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8m/imx-regs.h | 2 +-
arch/arm/include/asm/arch-mx6/imx-regs.h |
From: Peng Fan
Add the support for loading image from secondary container set on
iMX8QM B0, iMX8QXP C0.
Using the SCFW API to get container set index, if it is the secondary
boot, get the offset from fuse and apply to offset of current container
set beginning for loading.
Also override
From: Ye Li
Checking container header tag and version is wrong, it causes to fail
to bypass invalid container
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/image-container.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch
From: Ye Li
Fix below coverity issues caused by get_idx function where "-1" is
compared with uint8_t "element"
343336 Unsigned compared with neg
343337 Operands don't affect result
Additional, this function returns "-1" will cause overflow to
event string array.
From: Peng Fan
On the imx8ulp A1 SoC, the ELE RNG needs to be manually started.
Signed-off-by: Clement Faure
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/ele_api.h | 1 +
board/freescale/imx8ulp_evk/spl.c | 10 ++
drivers/misc/imx_ele/ele_api.c | 25
From: Ye Li
Extend the RX timeout value to 10s, because when authentication is failed
the ELE needs long time (>2s for 28M image) to return the result. Print
rx wait info per 1s.
Also correct TX and RX status registers in debug.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/m
From: Ye Li
According to SRM, the Sentinel MU has 8 TR and 4 RR registers. All
of them are used for ELE message. So update TR count to 8 and fix a
typo in receive msg
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/misc/imx_ele/ele_mu.c | 4 ++--
1 file
From: Clement Faure
Add ELE DEK Blob generation for the cmd_dek command.
Signed-off-by: Clement Faure
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/Kconfig | 7
arch/arm/mach-imx/cmd_dek.c | 84 +
2 files changed, 91 insertions(+)
diff --git
From: Ye Li
Fix Coverity (CID 21143558).
When tee_shm_register returns failure, the shm_input pointer is
invalid, should not free it. Same issue also exists on registering
shm_output.
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/cmd_dek.c | 3
From: Peng Fan
- Add crc computation.
- Add ele_generate_dek_blob API for encrypted boot support.
Signed-off-by: Clement Faure
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/ele_api.h | 2 +-
drivers/misc/imx_ele/ele_api.c | 44 +
2 files changed
From: Peng Fan
Add two ELE API: ele_return_lifecycle_update and ele_write_secure_fuse
Add two cmd: ahab_return_lifecycle and ahab_sec_fuse_prog
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/ele_api.h | 2 +
arch/arm/mach-imx/ele_ahab.c| 74
From: Peng Fan
Use hextoul which looks a bit simpler.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/ele_ahab.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/ele_ahab.c b/arch/arm/mach-imx/ele_ahab.c
index 9bb37919638..5f23486304c 100644
--- a/arch/arm
From: Peng Fan
Per NXP requirement, we rename all the NXP EdgeLock Secure Enclave
code including comment, folder and API name to ELE to align.
Signed-off-by: Peng Fan
---
arch/arm/Kconfig | 4 +-
arch/arm/include/asm/arch-imx9/ccm_regs.h | 2 +-
arch/arm
From: Peng Fan
Fix build warning:
warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3
has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=]
printf("can't find memreg for image %d load address 0x%x, error %d\n",
warning: format ‘%lx’ expects argume
From: Peng Fan
Upgrade SCFW API to 1.16
Add more APIs:
sc_misc_get_button_status
sc_pm_reboot
sc_seco_v2x_build_info
Signed-off-by: Peng Fan
---
drivers/misc/imx8/scu_api.c | 78
include/firmware/imx/sci/rpc.h | 27 ---
include/firmware/imx
101 - 200 of 5447 matches
Mail list logo