08-12-2018, 03:52 PM
Tried rootdelay=20, did not help. Also tried timeout 200 which was equally futile.
I have zero knowledge on what causes what to happen during boot but clearly 4.4 gets the nvme ready very early in the process, and 4.18 does not. See the 2 logs below.
At 4.4 the pcie & nvme initialisation is ready before the rootfs is mounted (even though I am booting off the SDcard).
At 4.18 the pcie & nvme initialisation only happens way after the rootfs is mounted.
repeating this every 60s
I have zero knowledge on what causes what to happen during boot but clearly 4.4 gets the nvme ready very early in the process, and 4.18 does not. See the 2 logs below.
Code:
$uname -a
Linux rockpro64 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
$dmesg | grep nvme
[ 3.366224] nvme 0000:01:00.0: enabling device (0000 -> 0002)
[ 3.509043] nvme0n1: p1
$dmesg | grep pcie
[ 0.504048] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc3v3-pcie-regulator[0]' - status (0)
[ 0.504098] reg-fixed-voltage vcc3v3-pcie-regulator: Looking up vin-supply from device tree
[ 0.504137] vcc3v3_pcie: supplied by dc_12v
[ 0.504203] vcc3v3_pcie: 3300 mV
[ 0.504358] reg-fixed-voltage vcc3v3-pcie-regulator: vcc3v3_pcie supplying 3300000uV
[ 2.774636] vcc3v3_pcie: disabling
[ 3.078824] phy phy-pcie-phy.9: Looking up phy-supply from device tree
[ 3.078828] phy phy-pcie-phy.9: Looking up phy-supply property in node /pcie-phy failed
[ 3.142089] rockchip-pcie f8000000.pcie: GPIO lookup for consumer ep
[ 3.142103] rockchip-pcie f8000000.pcie: using device tree for GPIO lookup
[ 3.142163] of_get_named_gpiod_flags: parsed 'ep-gpios' property of node '/pcie@f8000000[0]' - status (0)
[ 3.142496] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply from device tree
[ 3.142741] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply from device tree
[ 3.142753] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply property in node /pcie@f8000000 failed
[ 3.142786] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[ 3.150011] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply from device tree
[ 3.150027] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply property in node /pcie@f8000000 failed
[ 3.150057] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[ 3.157191] rockchip-pcie f8000000.pcie: invalid power supply
[ 3.229681] PCI host bridge /pcie@f8000000 ranges:
[ 3.259602] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
[ 3.344039] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[ 3.351408] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[ 3.365337] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded
[ 3.365681] aer 0000:00:00.0:pcie02: service driver aer loaded
$dmesg | grep EXT4-fs
[ 4.022277] EXT4-fs (mmcblk0p7): mounted filesystem with writeback data mode. Opts: (null)
Code:
$uname -a
Linux rockpro64 4.18.0-rc8-1060-ayufan-g45828c4db727 #1 SMP PREEMPT Thu Aug 9 19:41:21 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
$dmesg ? grepp nvme
[ 11.267625] nvme nvme0: pci function 0000:01:00.0
[ 11.267700] nvme 0000:01:00.0: enabling device (0000 -> 0002)
[ 11.403278] nvme0n1: p1
$dmesg | grep pcie
[ 1.772645] vcc3v3_pcie: supplied by dc_12v
[ 3.557384] vcc3v3_pcie: disabling
[ 11.190914] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[ 11.190998] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[ 11.191009] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[ 11.258608] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[ 11.258634] rockchip-pcie f8000000.pcie: MEM 0xfa000000..0xfbdfffff -> 0xfa000000
[ 11.258642] rockchip-pcie f8000000.pcie: IO 0xfbe00000..0xfbefffff -> 0xfbe00000
[ 11.258909] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
$dmesg | grep EXT4-fs
[ 4.534168] EXT4-fs (mmcblk0p7): mounted filesystem with writeback data mode. Opts: (null)
(08-11-2018, 06:49 AM)Tigger Wrote: What exactly is on the eMMC ?Is a bionic minimal image - / on p7 etc. This is a separate issue I have with 4.18: if the emmc is plugged in when booting then the 4.18 kernel fails to complete its boot as it appears to be not able to initialise the emmc, and gets into infinite loop
Code:
mmc1: running CQE recovery
repeating this every 60s
- ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
- PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
- PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC