IMX8 - Linux Boot Time Optimization

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8 - Linux Boot Time Optimization

417 Views
duraip
Contributor I

Hi, 

We are doing the boot time optimization on target board which has the emmc device as a storage device. Have observed that ext4 filesystem mounting takes longer time (750ms) and want to reduce this time. Already emmc runs with HS400 mode. Please find the below log,

[    0.623431] mmc0: new HS400 MMC card at address 0001
[    0.624105] mmcblk0: mmc0:0001 S0J35A 7.28 GiB
[    0.624343] mmcblk0boot0: mmc0:0001 S0J35A partition 1 31.5 MiB
[    0.624546] mmcblk0boot1: mmc0:0001 S0J35A partition 2 31.5 MiB
[    0.624722] mmcblk0rpmb: mmc0:0001 S0J35A partition 3 4.00 MiB, chardev (244:0)
[    0.625832]  mmcblk0: p1
[    1.365697] gpio-42 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    1.365721] imx-lpi2c 37230000.i2c: using scl,sda for recovery
[    1.365735] imx-lpi2c 37230000.i2c: can't get the TX DMA channel, error -19!
[    1.372827] imx-lpi2c 37230000.i2c: error -ENODEV: dma setup error -19, use pio
[    1.380884] i2c i2c-16: LPI2C adapter registered
 
EMMC info : 
 
Device: FSL_SDHC
Manufacturer ID: 13
OEM: 14e
Name: S0J35
Bus Speed: 200000000
Mode: HS400 (200MHz)
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 7.3 GiB
Bus Width: 8-bit DDR
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 7.3 GiB WRREL
Boot Capacity: 31.5 MiB ENH
RPMB Capacity: 4 MiB ENH
Boot area 0 is not write protected
Boot area 1 is not write protected
 
Can anyone help me on this issue? 
 
Regards
Durai
 
0 Kudos
1 Reply

392 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

That log only means there are 750ms between the two log lines, it doesn't mean emmc cost 750ms to mount.

[    0.625832]  mmcblk0: p1

[    1.365697] gpio-42 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file

 

In normal case, to reduce the boot time, customer needs reduce the kernel size and rootfs size, this is out of NXP support, customer needs handle it based on their real product.

Regards

0 Kudos