Commit fbaab32b authored by Frank Li's avatar Frank Li Committed by Jason Liu

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: default avatarFrank Li <Frank.Li@nxp.com>
parent b949b7c8
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment