mach-imx: Adding new argument for SIP call interface
PATCH 1/3 mach-imx: Adding new argument for SIP call interface
From: Ye Li <[email protected]>
Need to pass total 5 arguments for SIP HAB call on i.MX8MQ, so update the interface to add new argument.
--- arch/arm/include/asm/mach-imx/sys_proto.h | 3 ++- arch/arm/mach-imx/imx_bootaux.c | 4 ++-- arch/arm/mach-imx/sip.c | 4 +++- drivers/misc/imx8/fuse.c | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-)
arch/arm/include/asm/mach-imx/sys_proto.h +2 -1
@@ -143,7 +143,8 @@ int mxs_wait_mask_set(struct mxs_register_32 *reg, u32 mask, u32 timeout);int mxs_wait_mask_clr (struct mxs_register_32 *reg,u32 mask,u32 timeout);unsigned long call_imx_sip (unsigned long id,unsigned long reg0, -unsigned long reg1,unsigned long reg2); +unsigned long reg1,unsigned long reg2, +unsigned long reg3);unsigned long call_imx_sip_ret2 (unsigned long id,unsigned long reg0,unsigned long *reg1,unsigned long reg2,unsigned long reg3);
arch/arm/mach-imx/imx_bootaux.c +2 -2
@@ -26,7 +26,7 @@ int arch_auxiliary_core_up(u32 core_id, ulong boot_private_data)/* Enable M4 */ #ifdef CONFIG_IMX8M -call_imx_sip (IMX_SIP_SRC ,IMX_SIP_SRC_M4_START ,0 ,0 ); +call_imx_sip (IMX_SIP_SRC ,IMX_SIP_SRC_M4_START ,0 ,0 ,0 );#else clrsetbits_le32 (SRC_BASE_ADDR +SRC_M4_REG_OFFSET ,SRC_M4C_NON_SCLR_RST_MASK ,SRC_M4_ENABLE_MASK );
@@ -38,7 +38,7 @@ int arch_auxiliary_core_up(u32 core_id, ulong boot_private_data)int arch_auxiliary_core_check_up (u32 core_id) {#ifdef CONFIG_IMX8M -return call_imx_sip (IMX_SIP_SRC ,IMX_SIP_SRC_M4_STARTED ,0 ,0 ); +return call_imx_sip (IMX_SIP_SRC ,IMX_SIP_SRC_M4_STARTED ,0 ,0 ,0 );#else unsigned int val;
arch/arm/mach-imx/sip.c +3 -1
@@ -7,7 +7,8 @@#include <asm/arch/sys_proto.h> unsigned long call_imx_sip (unsigned long id,unsigned long reg0, -unsigned long reg1,unsigned long reg2) +unsigned long reg1,unsigned long reg2, +unsigned long reg3) {struct pt_regs regs;
@@ -15,6 +16,7 @@ unsigned long call_imx_sip(unsigned long id, unsigned long reg0, regs.regs[1 ] = reg0; regs.regs[2 ] = reg1; regs.regs[3 ] = reg2; + regs.regs[4 ] = reg3;smc_call (®s);
drivers/misc/imx8/fuse.c +1 -1
@@ -74,7 +74,7 @@ int fuse_prog(u32 bank, u32 word, u32 val) }return call_imx_sip (FSL_SIP_OTP_WRITE , (unsigned long )word, - (unsigned long )val,0 ); + (unsigned long )val,0 ,0 ); }int fuse_override (u32 bank,u32 word,u32 val)
Signature · 1 line
2.17.1
PATCH 1/3 mach-imx: Adding new argument for SIP call interface
On Mon, 21 Oct 2019 17:58:49 +0200
Anatolij Gustschin agust at denx.de wrote:
...
Quoted 2 lines
Need to pass total 5 arguments for SIP HAB call on i.MX8MQ, so update the interface to add new argument.
with current git master this patch breaks building imx8m-power-domain.c. I'll fix it v2 patch.
--
Anatolij
PATCH 2/3 imx8: add sc_misc_seco_build_info()
In reply to Anatolij GustschinAdd function for reading SECO-FW commit id.
--- arch/arm/include/asm/arch-imx8/sci/sci.h | 1 + drivers/misc/imx8/scu_api.c | 27 ++++++++++++++++++++++++ 2 files changed, 28 insertions(+)
arch/arm/include/asm/arch-imx8/sci/sci.h +1 -0
@@ -81,6 +81,7 @@ int sc_misc_get_control(sc_ipc_t ipc, sc_rsrc_t resource, sc_ctrl_t ctrl,void sc_misc_get_boot_dev (sc_ipc_t ipc,sc_rsrc_t *boot_dev);void sc_misc_boot_status (sc_ipc_t ipc,sc_misc_boot_status_t status);void sc_misc_build_info (sc_ipc_t ipc,u32 *build,u32 *commit); +void sc_misc_seco_build_info (sc_ipc_t ipc,u32 *version,u32 *commit);int sc_misc_otp_fuse_read (sc_ipc_t ipc,u32 word,u32 *val);int sc_misc_get_temp (sc_ipc_t ipc,sc_rsrc_t resource,sc_misc_temp_t temp,s16 *celsius,s8 *tenths);
drivers/misc/imx8/scu_api.c +27 -0
@@ -349,6 +349,33 @@ void sc_misc_build_info(sc_ipc_t ipc, u32 *build, u32 *commit) *commit =RPC_U32 (&msg,4 ); } +void sc_misc_seco_build_info (sc_ipc_t ipc,u32 *version,u32 *commit) +{ +struct udevice *dev = gd->arch.scu_dev; +int size =sizeof (struct sc_rpc_msg_s ); +struct sc_rpc_msg_s msg; +int ret; + +if (!dev) +hang (); + +RPC_VER (&msg) =SC_RPC_VERSION ; +RPC_SVC (&msg) =SC_RPC_SVC_MISC ; +RPC_FUNC (&msg) =MISC_FUNC_SECO_BUILD_INFO ; +RPC_SIZE (&msg) =1 ; + + ret =misc_call (dev,SC_FALSE , &msg, size, &msg, size); +if (ret <0 ) { +printf ("%s: err: %d\n" , __func__, ret); +return ; + } + +if (version) + *version =RPC_U32 (&msg,0 ); +if (commit) + *commit =RPC_U32 (&msg,4 ); +} +int sc_misc_otp_fuse_read (sc_ipc_t ipc,u32 word,u32 *val) {struct udevice *dev = gd->arch.scu_dev;
Signature · 1 line
2.17.1
PATCH 2/3 imx8: add sc_misc_seco_build_info()
Hi Anatolij
Quoted 1 line
Subject: [PATCH 2/3] imx8: add
sc_misc_seco_build_info()
sc_seco_build_info already in Stefano's tree.
Thanks,
Peng.
Quoted 62 lines
Add function for reading SECO-FW commit id.
Signed-off-by Anatolij Gustschin <[email protected]>--- arch/arm/include/asm/arch-imx8/sci/sci.h | 1 + drivers/misc/imx8/scu_api.c | 27 ++++++++++++++++++++++++ 2 files changed, 28 insertions(+)arch/arm/include/asm/arch-imx8/sci/sci.h +0
-0@@ -81,6 +81,7 @@ int sc_misc_get_control(sc_ipc_t ipc, sc_rsrc_t resource,
sc_ctrl_tctrl, voidsc_misc_get_boot_dev(sc_ipc_t ipc, sc_rsrc_t *boot_dev); voidsc_misc_boot_status(sc_ipc_t ipc, sc_misc_boot_status_t status); voidsc_misc_build_info(sc_ipc_t ipc, u32 *build, u32 *commit); +voidsc_misc_seco_build_info(sc_ipc_t ipc, u32 *version, u32 *commit);
intsc_misc_otp_fuse_read(sc_ipc_t ipc, u32 word, u32 *val); int
sc_misc_get_temp(sc_ipc_t ipc,sc_rsrc_tresource,sc_misc_temp_ttemp,arch/arm/include/asm/arch-imx8/sci/sci.h +0
-0s16 *celsius, s8 *tenths);drivers/misc/imx8/scu_api.c index renamed from drivers/misc/imx8/scu_api.c +0
-0
b2fdeef13a..44d0165c3f100644drivers/misc/imx8/scu_api.c +26
-1@@ -349,6 +349,33 @@ void sc_misc_build_info(sc_ipc_t ipc, u32 *build, u32 *commit) *commit =RPC_U32 (&msg,4 ); } +void sc_misc_seco_build_info (sc_ipc_t ipc,u32 *version,u32 *commit) { +struct udevice *dev = gd->arch.scu_dev; +int size =sizeof (struct sc_rpc_msg_s ); +struct sc_rpc_msg_s msg; +int ret; + +if (!dev) +hang (); + +RPC_VER (&msg) =SC_RPC_VERSION ; +RPC_SVC (&msg) =SC_RPC_SVC_MISC ; +RPC_FUNC (&msg) =MISC_FUNC_SECO_BUILD_INFO ; +RPC_SIZE (&msg) =1 ; + + ret =misc_call (dev,SC_FALSE , &msg, size, &msg, size); +if (ret <0 ) { +printf ("%s: err: %d\n" , __func__, ret); +return ; + } + +if (version) + *version =RPC_U32 (&msg,0 ); +if (commit) + *commit =RPC_U32 (&msg,4 ); +} +int sc_misc_otp_fuse_read (sc_ipc_t ipc,u32 word,u32 *val) {struct udevice *dev = gd->arch.scu_dev; --2.17.1
PATCH 2/3 imx8: add sc_misc_seco_build_info()
Hi Peng,
On Tue, 22 Oct 2019 02:47:28 +0000
Peng Fan peng.fan at nxp.com wrote:
...
Quoted 1 line
sc_seco_build_infoalready in Stefano's tree.
Ah, I didn't notice it, must have been merged recently.
Thanks for pointing!
--
Anatolij
PATCH 2/3 imx8: add sc_misc_seco_build_info()
In reply to Peng FanHi Peng,
On Tue, 22 Oct 2019 02:47:28 +0000
Peng Fan peng.fan at nxp.com wrote:
...
Quoted 3 lines
Quoted 1 line
Subject: [PATCH 2/3] imx8: add
sc_misc_seco_build_info()
sc_seco_build_infoalready in Stefano's tree.
sc_seco_build_info() in current git master works on i.MX8QXP MEK board, but it doesn't work on my custom board with different blobs. Here U-Boot triggers system reset somewhere in sc_seco_build_info()->misc_call().
With sc_misc_seco_build_info() in this patch getting the IDs works, I've following IDs on this board:
SCFW 65afe5f6, SECO-FW 9d71fd5b, ATF d6451cc
The differences:sc_seco_build_info() uses SC_RPC_SVC_SECO/SECO_FUNC_BUILD_INFO, sc_misc_seco_build_info() uses SC_RPC_SVC_MISC/MISC_FUNC_SECO_BUILD_INFO.
Any idea why sc_seco_build_info() ends in system reset?
Thanks,
--
Anatolij
PATCH 2/3 imx8: add sc_misc_seco_build_info()
Quoted 19 lines
Subject: Re: [PATCH 2/3] imx8: add
sc_misc_seco_build_info()Hi Peng,
On Tue, 22 Oct 2019 02:47:28 +0000
Peng Fan peng.fan at nxp.com wrote:
...Quoted 3 lines
Quoted 1 line
Subject: [PATCH 2/3] imx8: add
sc_misc_seco_build_info()
sc_seco_build_infoalready in Stefano's tree.
sc_seco_build_info()in current git master works on i.MX8QXP MEK board, but it doesn't work on my custom board with different blobs. Here U-Boot triggers system reset somewhere in sc_seco_build_info()->misc_call().With
sc_misc_seco_build_info()in this patch getting the IDs works, I've following IDs on this board:
SCFW65afe5f6, SECO-FW9d71fd5b, ATF d6451cc
Quoted 6 lines
The differences:
sc_seco_build_info()uses SC_RPC_SVC_SECO/SECO_FUNC_BUILD_INFO,sc_misc_seco_build_info()uses SC_RPC_SVC_MISC/MISC_FUNC_SECO_BUILD_INFO.Any idea why
sc_seco_build_info()ends in system reset?
You might need to update your seco/scfw.
Thanks,
Peng
Quoted 5 lines
Thanks,
--
Anatolij
PATCH 1/3 mach-imx: Adding new argument for SIP call interface
In reply to Anatolij GustschinQuoted 91 lines · Anatolij Gustschin
From: Ye Li <[email protected]>
Need to pass total 5 arguments for SIP HAB call on i.MX8MQ, so update the interface to add new argument.
Signed-off-by Ye Li <[email protected]>--- arch/arm/include/asm/mach-imx/sys_proto.h | 3 ++- arch/arm/mach-imx/imx_bootaux.c | 4 ++-- arch/arm/mach-imx/sip.c | 4 +++- drivers/misc/imx8/fuse.c | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-)arch/arm/include/asm/mach-imx/sys_proto.h +2
-1@@ -143,7 +143,8 @@ int mxs_wait_mask_set(struct mxs_register_32 *reg, u32 mask, u32 timeout);int mxs_wait_mask_clr (struct mxs_register_32 *reg,u32 mask,u32 timeout);unsigned long call_imx_sip (unsigned long id,unsigned long reg0, -unsigned long reg1,unsigned long reg2); +unsigned long reg1,unsigned long reg2, +unsigned long reg3);unsigned long call_imx_sip_ret2 (unsigned long id,unsigned long reg0,unsigned long *reg1,unsigned long reg2,unsigned long reg3);arch/arm/mach-imx/imx_bootaux.c +2
-2@@ -26,7 +26,7 @@ int arch_auxiliary_core_up(u32 core_id, ulong boot_private_data)/* Enable M4 */ #ifdef CONFIG_IMX8M -call_imx_sip (IMX_SIP_SRC ,IMX_SIP_SRC_M4_START ,0 ,0 ); +call_imx_sip (IMX_SIP_SRC ,IMX_SIP_SRC_M4_START ,0 ,0 ,0 );#else clrsetbits_le32 (SRC_BASE_ADDR +SRC_M4_REG_OFFSET ,SRC_M4C_NON_SCLR_RST_MASK ,SRC_M4_ENABLE_MASK );@@ -38,7 +38,7 @@ int arch_auxiliary_core_up(u32 core_id, ulong boot_private_data)int arch_auxiliary_core_check_up (u32 core_id) {#ifdef CONFIG_IMX8M -return call_imx_sip (IMX_SIP_SRC ,IMX_SIP_SRC_M4_STARTED ,0 ,0 ); +return call_imx_sip (IMX_SIP_SRC ,IMX_SIP_SRC_M4_STARTED ,0 ,0 ,0 );#else unsigned int val;arch/arm/mach-imx/sip.c +3
-1@@ -7,7 +7,8 @@#include <asm/arch/sys_proto.h> unsigned long call_imx_sip (unsigned long id,unsigned long reg0, -unsigned long reg1,unsigned long reg2) +unsigned long reg1,unsigned long reg2, +unsigned long reg3) {struct pt_regs regs;@@ -15,6 +16,7 @@ unsigned long call_imx_sip(unsigned long id, unsigned long reg0, regs.regs[1 ] = reg0; regs.regs[2 ] = reg1; regs.regs[3 ] = reg2; + regs.regs[4 ] = reg3;smc_call (®s);drivers/misc/imx8/fuse.c +1
-1@@ -74,7 +74,7 @@ int fuse_prog(u32 bank, u32 word, u32 val) }return call_imx_sip (FSL_SIP_OTP_WRITE , (unsigned long )word, - (unsigned long )val,0 ); + (unsigned long )val,0 ,0 ); }int fuse_override (u32 bank,u32 word,u32 val)Signature · 6 lines
2.17.1 _______________________________________________ U-Boot mailing list U-Boot at lists.denx.de https://lists.denx.de/listinfo/u-boot
PATCH 3/3 imx8: output SECO-FW, ATF and imx-mkimage commit IDs
In reply to Anatolij GustschinBorrow ID reading code from Ye Li (NXP U-Boot, commit ID 5b443e3e2617) and add the commit IDs to the environment.
--- arch/arm/mach-imx/imx8/misc.c | 61 ++++++++++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-)
arch/arm/mach-imx/imx8/misc.c +60 -1
@@ -1,6 +1,9 @@// SPDX-License-Identifier: GPL-2.0+ #include <common.h> #include <asm/arch/sci/sci.h> +#include <asm/arch/sys_proto.h> + +DECLARE_GLOBAL_DATA_PTR ;int sc_pm_setup_uart (sc_rsrc_t uart_rsrc,sc_pm_clock_rate_t clk_rate) {
@@ -25,9 +28,28 @@ int sc_pm_setup_uart(sc_rsrc_t uart_rsrc, sc_pm_clock_rate_t clk_rate)return 0 ; } +#define FSL_SIP_BUILDINFO 0xC2000003 +#define FSL_SIP_BUILDINFO_GET_COMMITHASH 0x00 +extern uint32_t _end_ofs; + +static void set_buildinfo_to_env (uint32_t scfw,uint32_t secofw, +char *mkimage,char *atf) +{ +if (!mkimage || !atf) +return ; + +env_set ("commit_mkimage" , mkimage); +env_set ("commit_atf" , atf); +env_set_hex ("commit_scfw" , (ulong )scfw); +env_set_hex ("commit_secofw" , (ulong )secofw); +} +void build_info (void ) { +u32 seco_build =0 , seco_commit =0 ;u32 sc_build =0 , sc_commit =0 ; +ulong atf_commit =0 ; +char *mkimage_commit, *temp;/* Get SCFW build and commit id */ sc_misc_build_info (-1 , &sc_build, &sc_commit);
@@ -35,5 +57,42 @@ void build_info(void)printf ("SCFW does not support build info\n" ); sc_commit =0 ;/* Display 0 if build info not supported */ } -printf ("Build: SCFW %x\n" , sc_commit); + +/* Get SECO FW build and commit id */ +sc_misc_seco_build_info (-1 , &seco_build, &seco_commit); +if (!seco_build) { +debug ("SECO FW does not support build info\n" ); +/* Display 0 when the build info is not supported */ + seco_commit =0 ; + } + +/* +* Get imx-mkimage commit id. +* The imx-mkimage puts the commit hash behind the end of u-boot.bin +*/ + mkimage_commit = (char *)(ulong)(CONFIG_SYS_TEXT_BASE + _end_ofs + +fdt_totalsize (gd->fdt_blob)); + temp = mkimage_commit +8 ; + *temp ='\0' ; + +if (strlen (mkimage_commit) ==0 ) { +debug ("IMX-MKIMAGE does not support build info\n" ); + mkimage_commit ="0" ;/* Display 0 */ + } + +/* Get ARM Trusted Firmware commit id */ + atf_commit =call_imx_sip (FSL_SIP_BUILDINFO , +FSL_SIP_BUILDINFO_GET_COMMITHASH ,0 ,0 ,0 ); +if (atf_commit ==0xffffffff ) { +debug ("ATF does not support build info\n" ); + atf_commit =0x30 ;/* Display 0 */ + } + +printf ("Build: SCFW %08x, SECO-FW %08x\n" +" IMX-MKIMAGE %s, ATF %s\n" , + sc_commit, seco_commit, mkimage_commit, (char *)&atf_commit); + +/* Set all to env */ +set_buildinfo_to_env (sc_commit, seco_commit, mkimage_commit, + (char *)&atf_commit); }
Signature · 1 line
2.17.1
PATCH 3/3 imx8: output SECO-FW, ATF and imx-mkimage commit IDs
Hi Anatolij,
Quoted 55 lines
Subject: [PATCH 3/3] imx8: output SECO-FW, ATF and imx-mkimage commit IDs
Borrow ID reading code from Ye Li (NXP U-Boot, commit ID
5b443e3e2617) and add the commit IDs to the environment.Signed-off-by Anatolij Gustschin <[email protected]>--- arch/arm/mach-imx/imx8/misc.c | 61 ++++++++++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-)(quoted diff) +0
-0
b/arch/arm/mach-imx/imx8/misc.cindexfe73e29eee..b0693358e7100644arch/arm/mach-imx/imx8/misc.c +3
-0@@ -1,6 +1,9 @@// SPDX-License-Identifier: GPL-2.0+ #include <common.h> #include <asm/arch/sci/sci.h> +#include <asm/arch/sys_proto.h> + +DECLARE_GLOBAL_DATA_PTR ;int sc_pm_setup_uart (sc_rsrc_t uart_rsrc,sc_pm_clock_rate_t clk_rate) { @@ -25,9 +28,28 @@ int sc_pm_setup_uart(sc_rsrc_t uart_rsrc,
sc_pm_clock_rate_tclk_rate)arch/arm/mach-imx/imx8/misc.c +18
-0return 0 ; } +#define FSL_SIP_BUILDINFO 0xC2000003 +#define FSL_SIP_BUILDINFO_GET_COMMITHASH 0x00 +extern uint32_t _end_ofs; + +static void set_buildinfo_to_env (uint32_t scfw,uint32_t secofw, +char *mkimage,char *atf) +{ +if (!mkimage || !atf) +return ; + +env_set ("commit_mkimage" , mkimage); +env_set ("commit_atf" , atf); +env_set_hex ("commit_scfw" , (ulong )scfw); +env_set_hex ("commit_secofw" , (ulong )secofw); } +void build_info (void ) { +u32 seco_build =0 , seco_commit =0 ;u32 sc_build =0 , sc_commit =0 ; +ulong atf_commit =0 ; +char *mkimage_commit, *temp;/* Get SCFW build and commit id */ sc_misc_build_info(-1, &sc_build, &sc_commit); @@ -35,5 +57,42 @@void
build_info(void)
arch/arm/mach-imx/imx8/misc.c void build_info(void) · line 62
Quoted 7 lines
arch/arm/mach-imx/imx8/misc.c +3
-1printf ("SCFW does not support build info\n" ); sc_commit =0 ;/* Display 0 if build info not supported */ } -printf ("Build: SCFW %x\n" , sc_commit); + +/* Get SECO FW build and commit id */ +sc_misc_seco_build_info (-1 , &seco_build, &seco_commit);
Use sc_seco_build_info.
Quoted 10 lines
arch/arm/mach-imx/imx8/misc.c +10
-0+if (!seco_build) { +debug ("SECO FW does not support build info\n" ); +/* Display 0 when the build info is not supported */ + seco_commit =0 ; + } + +/* +* Get imx-mkimage commit id. +* The imx-mkimage puts the commit hash behind the end of u-boot.bin +*/
arch/arm/mach-imx/imx8/misc.c void build_info(void) · line 89
Quoted 10 lines
arch/arm/mach-imx/imx8/misc.c +10
-0+ mkimage_commit = (char *)(ulong)(CONFIG_SYS_TEXT_BASE + _end_ofs + +fdt_totalsize (gd->fdt_blob)); + temp = mkimage_commit +8 ; + *temp ='\0' ; + +if (strlen (mkimage_commit) ==0 ) { +debug ("IMX-MKIMAGE does not support build info\n" ); + mkimage_commit ="0" ;/* Display 0 */ + }
We no need imx-mkimage, use mkimage in U-Boot no need this piece code.
Regards,
Peng.
Quoted 20 lines
arch/arm/mach-imx/imx8/misc.c +12
-0+ +/* Get ARM Trusted Firmware commit id */ + atf_commit =call_imx_sip (FSL_SIP_BUILDINFO , +FSL_SIP_BUILDINFO_GET_COMMITHASH ,0 ,0 ,0 ); +if (atf_commit ==0xffffffff ) { +debug ("ATF does not support build info\n" ); + atf_commit =0x30 ;/* Display 0 */ + } + + printf("Build: SCFW %08x, SECO-FW %08x\n" + " IMX-MKIMAGE %s, ATF %s\n", + sc_commit, seco_commit, mkimage_commit, (char*)&atf_commit);
arch/arm/mach-imx/imx8/misc.c +4
-1+ +/* Set all to env */ +set_buildinfo_to_env (sc_commit, seco_commit, mkimage_commit, + (char *)&atf_commit); } --2.17.1
PATCH 3/3 imx8: output SECO-FW, ATF and imx-mkimage commit IDs
Hi Peng,
On Tue, 22 Oct 2019 02:49:53 +0000
Peng Fan peng.fan at nxp.com wrote:
...
Quoted 4 lines
arch/arm/mach-imx/imx8/misc.c void build_info(void) · line 62
Quoted 2 lines
arch/arm/mach-imx/imx8/misc.c +2
-0+/* Get SECO FW build and commit id */ +sc_misc_seco_build_info (-1 , &seco_build, &seco_commit);Use
sc_seco_build_info.
OK, will do in v2.
...
Quoted 6 lines
arch/arm/mach-imx/imx8/misc.c void build_info(void) · line 81
Quoted 4 lines
arch/arm/mach-imx/imx8/misc.c +4
-0+if (strlen (mkimage_commit) ==0 ) { +debug ("IMX-MKIMAGE does not support build info\n" ); + mkimage_commit ="0" ;/* Display 0 */ + }We no need imx-mkimage, use mkimage in U-Boot no need this piece code.
will drop it in v2 patch.
--
Anatolij