diff options
author | Frank Li <Frank.Li@nxp.com> | 2017-09-13 11:06:47 -0500 |
---|---|---|
committer | Frank Li <Frank.Li@nxp.com> | 2017-09-14 10:22:34 -0500 |
commit | aa20426dd0931d3fbd18e4de8f928e0a89b87770 (patch) | |
tree | 4fdf0fd7374312258dc6ea3f40e51e670e72ba70 | |
parent | 6e798b31d30551f74155fcdc93f560af0d0153b3 (diff) |
MLK-16465: fine tune build info to find it easily.
Find buildinfo easily and copy everything just one click
U-Boot 2017.03-00031-g0596078-dirty (Sep 13 2017 - 10:59:41 -0500)
CPU: Freescale i.MX8QXP revA A35 at 1200 MHz at 6C
Model: Freescale i.MX8QXP LPDDR4 ARM2
Board: iMX8QXP LPDDR4 ARM2
Boot: SD1
DRAM: 3 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
[pcie_ctrlb_sata_phy_init_rc] LNK DOWN 8600000
In: serial
Out: serial
Err: serial
BuildInfo:
- SCFW f0cb8b8e, IMX-MKIMAGE cc994971, ATF 0
- U-Boot 2017.03-00031-g0596078-dirty
switch to partitions
Signed-off-by: Frank Li <Frank.Li@nxp.com>
-rw-r--r-- | arch/arm/cpu/armv8/imx8/cpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv8/imx8/cpu.c b/arch/arm/cpu/armv8/imx8/cpu.c index df165c663f..9c9d2aea39 100644 --- a/arch/arm/cpu/armv8/imx8/cpu.c +++ b/arch/arm/cpu/armv8/imx8/cpu.c @@ -25,6 +25,7 @@ #include <fdtdec.h> #include <thermal.h> #include <asm/arch/cpu.h> +#include <generated/version_autogenerated.h> DECLARE_GLOBAL_DATA_PTR; @@ -701,7 +702,7 @@ static void acquire_buildinfo(void) /* Set all to env */ set_buildinfo_to_env(sc_commit, mkimage_commit, (char *)&atf_commit); - printf("BuildInfo: SCFW %x, IMX-MKIMAGE %s, ATF %s\n", sc_commit, mkimage_commit, (char *)&atf_commit); + printf("\n BuildInfo: \n - SCFW %x, IMX-MKIMAGE %s, ATF %s\n - %s \n\n", sc_commit, mkimage_commit, (char *)&atf_commit, U_BOOT_VERSION); } #if defined(CONFIG_ARCH_MISC_INIT) |