AnsweredAssumed Answered

SPL spends 1.5 seconds

Question asked by hj park on Jul 5, 2016
Latest reply on Jul 6, 2016 by hj park

Hi Guys,

 

I found very strange number from booting speed measurement on variscite board what uses I.MAX6Q.

Please found the RED on the log from SPL. As see, it spends 1.5 seconds.

Do you know why this SPL is so slow on eMMC ?

Is it a bug on the code or H/W problem?

FYI, this u-boot is from "git clone https://github.com/varigit/uboot-imx"

 

[0.000001 0.000001]

[0.001007 0.001006] U-Boot SPL 2015.04-14426-gf45bfc9 (Jul 05 2016 - 15:24:26)
[0.062982 0.061975]
[0.063943 0.000961] Part number: VSM-DT6-302
[0.066099 0.002156] Assembly: AS160306088
[0.068105 0.002006] Date of production: 2016 Apr 13
[1.553261 1.485156] MMC Boot Device: mmc1 (eMMC)
[1.697154 0.143893]
[1.697221 0.000067] U-Boot 2015.04-14426-gf45bfc9 (Jul 05 2016 - 15:24:26)
[1.702165 0.004944]
[1.702240 0.000075] CPU: Freescale i.MX6Q rev1.5 at 792 MHz
[1.716127 0.013887] CPU: Temperature 47 C
[1.718401 0.002274] Reset cause: POR
[1.719626 0.001225] Board: Variscite VAR-SOM-MX6 Quad-PoP 792 MHz
[1.723541 0.003915] I2C: ready
[1.725097 0.001556] DRAM: 1 GiB
[1.768103 0.043006] PMIC: PFUZE100 ID=0x10
[1.781095 0.012992] MMC: FSL_SDHC: 0, FSL_SDHC: 1
[1.910019 0.128924] auto-detected panel VAR-WVGA
[1.913123 0.003104] Display: VAR-WVGA (800x480)
[2.124984 0.211861] In: serial
[2.127038 0.002054] Out: serial
[2.128119 0.001081] Err: serial
[2.249945 0.121826] switch to partitions #0, OK
[2.253238 0.003293] mmc1(part 0) is current device
[2.255963 0.002725] eMMC: 7.3 GiB
[2.257182 0.001219] Net: using phy at 7
[2.285979 0.028797] FEC [PRIME]
[2.287958 0.001979] Normal Boot
[2.288947 0.000989] Hit any key to stop autoboot: 1     0
[3.413281 1.124334] switch to partitions #0, OK
[3.416414 0.003133] mmc1(part 0) is current device
[3.544225 0.127811] ** No boot file defined **
[3.551236 0.007011] reading uImage
[3.837130 0.285894] 5958784 bytes read in 286 ms (19.9 MiB/s)
[3.841167 0.004037] Booting from mmc ...
[3.847103 0.005936] reading imx6q-var-dart.dtb
[3.866032 0.018929] 43160 bytes read in 18 ms (2.3 MiB/s)
[3.869161 0.003129] ## Booting kernel from Legacy Image at 12000000 ...
[3.874070 0.004909] Image Name: Linux-4.1.15-gb8788ad
[3.877279 0.003209] Image Type: ARM Linux Kernel Image (uncompressed)
[3.882204 0.004925] Data Size: 5958720 Bytes = 5.7 MiB
[3.886116 0.003912] Load Address: 10008000
[3.888205 0.002089] Entry Point: 10008000
[3.891060 0.002855] Verifying Checksum ... OK
[3.961982 0.070922] ## Flattened Device Tree blob at 18000000
[3.965113 0.003131] Booting using the fdt blob at 0x18000000
[3.969140 0.004027] Loading Kernel Image ... OK
[4.044020 0.074880] Using Device Tree in place at 18000000, end 1800d897
[4.051925 0.007905] switch to ldo_bypass mode!
[4.054825 0.002900]
[4.054935 0.000110] Starting kernel ...

 

Outcomes