updated kernel 4.14.79-ti-rt-r85 takes 3 minutes to boot

I updated existing kernel 4.14.79-ti-r85 with 4.14.79-ti-rt-r85 as follows:

  • compiled kernel, dtb, modules with .config taken from old kernel (/boot/config-4.14.79-ti-r85)
  • copied newly compiled kernel into /boot/vmlinuz-4.14.79-ti-rt-r85
  • copied newly compiled dtbs into /boot/dtbs/4.14.79-ti-rt-r85
  • copied newly compiled modules into /lib/modules/4.14.79-ti-rt-r85/
  • copied existing /boot/initrd.img-4.14.79-ti-r85 to /boot/initrd.img-4.14.79-ti-rt-r85
  • changed uname_r in uEnv.txt to uname_r=4.14.79-ti-rt-r85

After reboot new kernel starts but after message

[ 2.012083] PM: Cannot get wkup_m3_ipc handle

appears, nothing happens for 2 minutes and only after the two minutes expire next message

rootfs: clean, 162464/236176 files, 847474/943104 blocks
comes up.

The first message was also present in old kernel but delay was cca 30 sec.
When I switch to the old kernel by overwriting uEnv.txt uname_r, boot time is again as usual.

Does anyone has any idea what is the reason of boot delay?

Here is complete boot log

Thank you

U-Boot SPL 2018.03-00002-gac9cce7c6a (Apr 05 2018 - 13:07:46 -0500)
Trying to boot from MMC2
Loading Environment from EXT4… Card did not respond to voltage select!
** Bad device mmc 0 **
Failed (-5)

U-Boot 2018.03-00002-gac9cce7c6a (Apr 05 2018 - 13:07:46 -0500), Build: jenkins-github_Bootloader-Builder-47

CPU : AM335X-GP rev 2.1
I2C: ready
DRAM: 512 MiB
No match for driver ‘omap_hsmmc’
No match for driver ‘omap_hsmmc’
Some drivers were not found
Reset Source: Global warm SW reset has occurred.
Reset Source: Power-on reset has occurred.
RTC 32KCLK Source: External.
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4… Card did not respond to voltage select!
** Bad device mmc 0 **
Failed (-5)
Board: BeagleBone Black
not set. Validating first E-fuse MAC
BeagleBone Black:
Model: Element14 BeagleBone Black Industrial:
BeagleBone: cape eeprom: i2c_probe: 0x54:
BeagleBone: cape eeprom: i2c_probe: 0x55:
BeagleBone: cape eeprom: i2c_probe: 0x56:
BeagleBone: cape eeprom: i2c_probe: 0x57:
Net: eth0: MII MODE
cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds
board_name=[A335BNLT] …
board_rev=[EIA0] …
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
Card did not respond to voltage select!
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1…
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc1(part 0) is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt …
Checking for: /boot.scr …
Checking for: /boot/boot.scr …
Checking for: /boot/uEnv.txt …
gpio: pin 55 (gpio 55) value is 1
2391 bytes read in 15 ms (155.3 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt…
gpio: pin 56 (gpio 56) value is 1
Running uname_boot …
loading /boot/vmlinuz-4.14.79-ti-rt-r85 …
10412544 bytes read in 2562 ms (3.9 MiB/s)
uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot-univ.dtb] …
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot-univ.dtb …
loading /boot/dtbs/4.14.79-ti-rt-r85/am335x-boneblack-uboot-univ.dtb …
161719 bytes read in 44 ms (3.5 MiB/s)
uboot_overlays: [fdt_buffer=0x60000] …
uboot_overlays: loading /lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo …
1440 bytes read in 272 ms (4.9 KiB/s)
uboot_overlays: uboot loading of [/lib/firmware/BB-HDMI-TDA998x-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_video=1]…
uboot_overlays: loading /lib/firmware/BB-ADC-00A0.dtbo …
711 bytes read in 245 ms (2 KiB/s)
uboot_overlays: loading /lib/firmware/AM335X-PRU-UIO-00A0.dtbo …
883 bytes read in 364 ms (2 KiB/s)
loading /boot/initrd.img-4.14.79-ti-rt-r85 …
4677135 bytes read in 310 ms (14.4 MiB/s)
debug: [console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet] …
debug: [bootz 0x82000000 0x88080000:475e0f 88000000] …

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000
Loading Ramdisk to 8fb8a000, end 8ffffe0f … OK
reserving fdt memory region: addr=88000000 size=88000
Loading Device Tree to 8faff000, end 8fb89fff … OK

Starting kernel …

[ 0.002071] timer_probe: no matching timers found
[ 1.572340] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 2.002321] omap_voltage_late_init: Voltage driver support not added
[ 2.012083] PM: Cannot get wkup_m3_ipc handle
rootfs: clean, 162464/236176 files, 847474/943104 blocks

Debian GNU/Linux 9 beaglebone ttyS0

BeagleBoard.org Debian Image 2018-06-17

Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

default username:password is [debian:temppwd]

beaglebone login:

Yeah, the mmc block layer with "RT" in v4.14.x is as slow as molasses.

Regards,

Enable RT -> slow.. Disable RT -> back to normal..

Regards,