Open main menu

DAVE Developer's Wiki β

Changes

SDVX-TN-001: Fast boot time

250 bytes added, 16:15, 3 November 2020
no edit summary
{{InfoBoxTop}}
{{Applies To SDVX}}
{{AppliesToAXELULite}}
{{AppliesToAXEL ULite TN}}
{{InfoBoxBottom}}
== History ==
* U-boot: 2016.03
* Linux Version: 4.1.15 ([[SDV04_Embedded_Linux_Kit_(SDVX)#SDVX_software_components | BSP]]).
* root file system: development rfs (bz2 tarball to be extracted around 292MB)
The [[SDV04|SDV04]] boot from an microSD card inserted on the Carrier board slot. U-boot is properly configured to reduce the waiting time and just boot loading the binary images from the storage device.
* SOC: NXP i.MX6 UL
* Flash storage: 128 MB SLC NAND
**
* U-boot: 2016.03
* Linux Version: 4.1.15 ([[SDV04_Embedded_Linux_Kit_(SDVX)#SDVX_software_components | BSP]]).
* root file system: minimal Qt5 rfs (bz2 tarball to be extracted around 42MB)
The [[SDV04|SDV04]] boot from the SOM's onboard NAND flash . U-boot is properly configured to reduce the waiting time and just boot loading the binary images from the NAND device once the UBI fs parameters have been correctly passed to the kernel command line.
<pre class="workstation-terminal">
[2020-04-08 1517:0300:00.206354] [2020-04-08 15:0317:00.206] [2020-04-08 15:03:00.206354] U-Boot 2016.03-sdvx-1.0.5 (Mar 11 Apr 08 2020 - 0016:0152:49 44 +01000200), Build: sdvx-1.0.5[2020[2020-04-08 1517:0300:00.206382] [2020-04-08 1517:0300:00.206382] CPU: Freescale i.MX6UL rev1.2 528 MHz (running at 396 MHz)[2020-04-08 1517:0300:00.206382] CPU: Industrial temperature grade (-40C to 105C) at 50C45C[2020-04-08 1517:0300:00.206382] Reset cause: POR[2020-04-08 1517:0300:00.206416] Environment: MMCNAND[2020-04-08 1517:0300:00.206416] I2C: ready[2020-04-08 1517:0300:00.225416] DRAM: 256 MiB[2020-04-08 1517:0300:00.225416] Relocating to 8ff1b0008ff1a000, new gd at 8ef18eb88eef9eb8, sp at 8ef18e908eef9e90[2020-04-08 1517:0300:00.320483] PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11[2020-04-08 1517:0300:00.320483] NAND: 128 MiB[2020-04-08 1517:0300:00.320483] MMC: FSL_SDHC: 0[2020-04-08 1517:0300:00.414654] Display: DSAM-07X0ETX07TG1I05 (1024x600)[2020-04-08 1517:0300:00.414654] Video: 1024x600x18[2020-04-08 1517:0300:00.438654] reading splash_image.bmp[2020-04-08 1517:0300:00.526654] 1843254 bytes NAND read in 95 ms (18.5 MiB/s): device 0 offset 0x1400000, size 0x1c2036[2020-04-08 1517:0300:00.606768] In: 1843254 bytes read: OK[2020-04-08 17:00:00.782] In: serial[2020-04-08 1517:0300:00.621782] Out: serial[2020-04-08 1517:0300:00.621782] Err: serial[2020-04-08 1517:0300:00.725894] switch to partitions #0, OK[2020-04-08 1517:0300:00.725894] mmc0 is current device (SD)[2020-04-08 1517:0300:00.725894] SOM ConfigID#: 00000014[2020-04-08 1517:0300:00.725894] SOM UniqueID#: ea9b89dd:113249d4[2020-04-08 1517:0300:00.725894] CB ConfigID#: 00000042[2020-04-08 1517:0300:00.725894] CB UniqueID#: 00000000:00000000[2020-04-08 1517:0300:00.725894] Board: MX6UL AXEL ULite rev.A on SFCZG[2020-04-08 1517:0300:0001.916088] Net: FEC0[2020-04-08 1517:0300:0001.916088] Warning: FEC0 (eth0) using random MAC address - 8a16:54af:02d1:e5f3:1f8a:1acf[2020-04-08 1517:0300:0001.943114] [2020-04-08 1517:0300:0001.943114] Normal Boot[2020-04-08 1517:0300:0001.943114] Hit any key to stop autoboot: 0 [2020-04-08 1517:0300:0001.943114] [2020-04-08 1517:0300:0001.943114] NAND read: device 0 offset 0xc00000, size 0x8000000x6cb590[2020-04-08 1517:0300:01.528497] 8388608 7124368 bytes read: OK[2020-04-08 1517:0300:01.528521] [2020-04-08 1517:0300:01.528521] NAND read: device 0 offset 0xa00000, size 0x100000[2020-04-08 1517:0300:01.630622] 1048576 bytes read: OK[2020-04-08 1517:0300:01.630622] FDT: override 'som_uniqueid' with 'ea9b89dd:113249d4'[2020-04-08 1517:0300:01.630622] FDT: override 'cb_uniqueid' with '00000000:00000000'[2020-04-08 1517:0300:01.630622] ## Booting kernel from Legacy Image at 80800000 ...[2020-04-08 1517:0300:01.630622] Image Name: Linux-4.1.15-sdvx-1.0.5[2020-04-08 1517:0300:01.630622] Image Type: ARM Linux Kernel Image (uncompressed)[2020-04-08 1517:0300:01.630622] Data Size: 7124304 Bytes = 6.8 MiB[2020-04-08 1517:0300:01.630622] Load Address: 80008000[2020-04-08 1517:0300:01.630622] Entry Point: 80008000[2020-04-08 1517:0300:01.630622] Verifying Checksum ... OK[2020-04-08 1517:0300:01.759751] ## Flattened Device Tree blob at 83000000[2020-04-08 1517:0300:01.780783] Booting using the fdt blob at 0x83000000[2020-04-08 1517:0300:01.780783] Loading Kernel Image ... OK[2020-04-08 1517:0300:01.842836] reserving fdt memory region: addr=83000000 size=9000[2020-04-08 1517:0300:01.876870] Using Device Tree in place at 83000000, end 8300bfff[2020-04-08 1517:0300:01.876870] Modify /soc/aips-bus@02000000/bee@02044000:status disabled[2020-04-08 1517:0300:01.876870] ft_system_setup for mx6[2020-04-08 1517:0300:01.876870] [2020-04-08 1517:0300:01.876870] Starting kernel ...[2020-04-08 1517:0300:01.876870] [2020-04-08 1517:0300:02.747736] [ 0.495057495967] gpmi-nand 1806000.gpmi-nand: mode:4 ,failed in set feature.[2020-04-08 1517:0300:06.204258] INIT: version 2.88 booting[2020-04-08 1517:0300:07.180220] Starting udev[2020-04-08 1517:0300:08.731627] bootlogd: cannot allocate pseudo tty: No such file or directory[2020-04-08 1517:0300:10.036007] INITWed Apr 8 16: Entering runlevel39: 550 UTC 2020[2020-04-08 1517:0300:10.160037] Configuring network interfaces.INIT: Entering runlevel: 5[2020-04-08 17:00:10.163] Configuring network interfaces... done.[2020-04-08 1517:0300:10.638628] Starting system message bus: dbus.[2020-04-08 1517:0300:11.205193] Starting OpenBSD Secure Shell server: sshd[2020-04-08 1517:0300:11.584577] done.[2020-04-08 1517:0300:11.696668] Starting ntpd: done[2020-04-08 1517:0300:12.096116] Starting syslogd/klogd: done[2020-04-08 1517:0300:12.303277] Starting crond: OK[2020-04-08 1517:0300:12.570567] [2020-04-08 1517:0300:12.570588] Freescale i.MX Release Distro 4.1.15-2.0.1 sfczg-ul /dev/ttymxc0[2020-04-08 1517:0300:12.570588] [2020-04-08 1517:0300:12.570588] sfczg-ul login:
</pre>
* u-boot starts at
1517:0300:00.206354
* linux kernel starts <b>1.6s5s</b> from the boot
1517:0300:01.876870
* INIT: runlevel 5 is executed after <b>7s9s</b> from the boot
1517:0300:10.036 037
and finally the <code>login:</code> is processed after '''12.5 3 s''' from the boot
8,231
edits