Firefly Open Source Community

   Login   |   Register   |
New_Topic
123
New Topic
Print Previous Topic Next Topic

[Linux] will Ubuntu 18.04 image be made for RK3399

32

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
32
Posted at 3/7/2019 18:15:14        Only Author  21#
penguin Posted at 3/7/2019 16:15
@tek

You are right. Using the same PARTUUID is the culprit.

Samsung EVOPlus 32GB UHS-1 MB-MC32CG

Later today I'll capture a few boots and post.
Reply

Use props Report

32

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
32
Posted at 3/7/2019 21:17:06        Only Author  22#
posting only the chunk of dmesg that differs...

This boot came up as ultra high speed:

sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
Synopsys Designware Multimedia Card Interface Driver
dwmmc_rockchip fe310000.dwmmc: IDMAC supports 32-bit address mode.
dwmmc_rockchip fe310000.dwmmc: Using internal DMA controller.
dwmmc_rockchip fe310000.dwmmc: Version ID is 270a
dwmmc_rockchip fe310000.dwmmc: DW MMC controller at irq 25,32 bit host data width,256 deep fifo
dwmmc_rockchip fe310000.dwmmc: No vmmc regulator found
dwmmc_rockchip fe310000.dwmmc: No vqmmc regulator found
dwmmc_rockchip fe320000.dwmmc: IDMAC supports 32-bit address mode.
dwmmc_rockchip fe320000.dwmmc: Using internal DMA controller.
dwmmc_rockchip fe320000.dwmmc: Version ID is 270a
dwmmc_rockchip fe320000.dwmmc: DW MMC controller at irq 26,32 bit host data width,256 deep fifo
dwmmc_rockchip fe320000.dwmmc: 'clock-freq-min-max' property was deprecated.
rockchip-iodomain ff770000.syscon:io-domains: Setting to 3300000 done
rockchip-iodomain ff770000.syscon:io-domains: Setting to 3300000 done
mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
dwmmc_rockchip fe320000.dwmmc: 1 slots initialized
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-arasan fe330000.sdhci: No vmmc regulator found
sdhci-arasan fe330000.sdhci: No vqmmc regulator found
rockchip-iodomain ff770000.syscon:io-domains: Setting to 3300000 done
rockchip-iodomain ff770000.syscon:io-domains: Setting to 1800000 done
mmc1: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
inv_mpu_iio: inv_mpu_init:746
ff100000.saradc supply vref not found, using dummy regulator
usbcore: registered new interface driver snd-usb-audio
Initializing XFRM netlink socket
NET: Registered protocol family 10
NET: Registered protocol family 17
NET: Registered protocol family 15
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
mmc_host mmc0: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
[WLAN_RFKILL]: Enter rfkill_wlan_init
[BT_RFKILL]: Enter rfkill_rk_init
Key type dns_resolver registered
sensor_register_slave:mpu6880_gyro,id=50
Error: Driver 'ov4689' is already registered, aborting...
Error: Driver 'ov13850' is already registered, aborting...
Registered cp15_barrier emulation handler
Registered setend emulation handler
Loading compiled-in X.509 certificates
phy phy-ff770000.syscon:usb2-phy@e450.3: Failed to get VBUS supply regulator
phy phy-ff770000.syscon:usb2-phy@e460.5: Failed to get VBUS supply regulator
rockchip-drm display-subsystem: dmc is disabled
rockchip-vop ff900000.vop: missing rockchip,grf property
[drm] no mcu-timing node found in /vop@ff900000
rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8008ce0b58)
rockchip-vop ff8f0000.vop: missing rockchip,grf property
[drm] no mcu-timing node found in /vop@ff8f0000
rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8008ce0b58)
i2c i2c-9: of_i2c: modalias failure on /hdmi@ff940000/ports
dwhdmi-rockchip ff940000.hdmi: registered DesignWare HDMI I2C bus driver
dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
rockchip-drm display-subsystem: bound ff940000.hdmi (ops 0xffffff8008cd5ef8)
i2c i2c-10: of_i2c: modalias failure on /dp@fec00000/ports
cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
rockchip-drm display-subsystem: bound fec00000.dp (ops 0xffffff8008cd6f18)
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
mmc1: MAN_BKOPS_EN bit is not set
[drm] No driver support for vblank timestamp query.
mmc1: new HS400 Enhanced strobe MMC card at address 0001
mmcblk1: mmc1:0001 AJTD4R 14.6 GiB
mmcblk1boot0: mmc1:0001 AJTD4R partition 1 4.00 MiB
mmcblk1boot1: mmc1:0001 AJTD4R partition 2 4.00 MiB
mmcblk1rpmb: mmc1:0001 AJTD4R partition 3 4.00 MiB
  mmcblk1: p1 p2 p3 p4 p5
dwmmc_rockchip fe320000.dwmmc: Successfully tuned phase to 238
mmc0: new ultra high speed SDR104 SDHC card at address 0001
mmcblk0: mmc0:0001 EB1QT 29.8 GiB
  mmcblk0: p1 p2 p3 p4 p5
rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 1920x1200p60, type: 11
Freeing drm_logo memory: 616K
Console: switching to colour frame buffer device 240x75
vendor storage:20160801 ret = 0
rockchip-drm display-subsystem: fb0:  frame buffer device
mali ff9a0000.gpu: GPU identified as 0x0860 r2p0 status 0
mali ff9a0000.gpu: Protected mode not available
mali ff9a0000.gpu: l=0 h=2147483647 hyst=5000 l_limit=0 h_limit=0
mali ff9a0000.gpu: Using configured power model mali-simple-power-model, and fallback mali-simple-power-model
mali ff9a0000.gpu: Probed as mali0
xhci-hcd xhci-hcd.8.auto: xHCI Host Controller
xhci-hcd xhci-hcd.8.auto: new USB bus registered, assigned bus number 1
xhci-hcd xhci-hcd.8.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x02030010
xhci-hcd xhci-hcd.8.auto: irq 225, io mem 0xfe800000
======

this boot came up with high speed:

sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
Synopsys Designware Multimedia Card Interface Driver
dwmmc_rockchip fe310000.dwmmc: IDMAC supports 32-bit address mode.
dwmmc_rockchip fe310000.dwmmc: Using internal DMA controller.
dwmmc_rockchip fe310000.dwmmc: Version ID is 270a
dwmmc_rockchip fe310000.dwmmc: DW MMC controller at irq 25,32 bit host data width,256 deep fifo
dwmmc_rockchip fe310000.dwmmc: No vmmc regulator found
dwmmc_rockchip fe310000.dwmmc: No vqmmc regulator found
dwmmc_rockchip fe320000.dwmmc: IDMAC supports 32-bit address mode.
dwmmc_rockchip fe320000.dwmmc: Using internal DMA controller.
dwmmc_rockchip fe320000.dwmmc: Version ID is 270a
dwmmc_rockchip fe320000.dwmmc: DW MMC controller at irq 26,32 bit host data width,256 deep fifo
dwmmc_rockchip fe320000.dwmmc: 'clock-freq-min-max' property was deprecated.
rockchip-iodomain ff770000.syscon:io-domains: Setting to 3300000 done
rockchip-iodomain ff770000.syscon:io-domains: Setting to 3300000 done
mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
dwmmc_rockchip fe320000.dwmmc: 1 slots initialized
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-arasan fe330000.sdhci: No vmmc regulator found
sdhci-arasan fe330000.sdhci: No vqmmc regulator found
mmc1: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
inv_mpu_iio: inv_mpu_init:746
mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
mmc0: new high speed SDHC card at address 0001
mmcblk0: mmc0:0001 EB1QT 29.8 GiB
ff100000.saradc supply vref not found, using dummy regulator
usbcore: registered new interface driver snd-usb-audio
  mmcblk0: p1 p2 p3 p4 p5
Initializing XFRM netlink socket
NET: Registered protocol family 10
NET: Registered protocol family 17
NET: Registered protocol family 15
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
[WLAN_RFKILL]: Enter rfkill_wlan_init
[BT_RFKILL]: Enter rfkill_rk_init
Key type dns_resolver registered
sensor_register_slave:mpu6880_gyro,id=50
Error: Driver 'ov4689' is already registered, aborting...
Error: Driver 'ov13850' is already registered, aborting...
Registered cp15_barrier emulation handler
Registered setend emulation handler
Loading compiled-in X.509 certificates
phy phy-ff770000.syscon:usb2-phy@e450.3: Failed to get VBUS supply regulator
phy phy-ff770000.syscon:usb2-phy@e460.5: Failed to get VBUS supply regulator
rockchip-drm display-subsystem: dmc is disabled
rockchip-vop ff900000.vop: missing rockchip,grf property
[drm] no mcu-timing node found in /vop@ff900000
rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8008ce0b58)
rockchip-vop ff8f0000.vop: missing rockchip,grf property
[drm] no mcu-timing node found in /vop@ff8f0000
rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8008ce0b58)
i2c i2c-9: of_i2c: modalias failure on /hdmi@ff940000/ports
dwhdmi-rockchip ff940000.hdmi: registered DesignWare HDMI I2C bus driver
mmc1: MAN_BKOPS_EN bit is not set
dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
rockchip-drm display-subsystem: bound ff940000.hdmi (ops 0xffffff8008cd5ef8)
i2c i2c-10: of_i2c: modalias failure on /dp@fec00000/ports
cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
rockchip-drm display-subsystem: bound fec00000.dp (ops 0xffffff8008cd6f18)
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] No driver support for vblank timestamp query.
mmc1: new HS400 Enhanced strobe MMC card at address 0001
mmcblk1: mmc1:0001 AJTD4R 14.6 GiB
mmcblk1boot0: mmc1:0001 AJTD4R partition 1 4.00 MiB
mmcblk1boot1: mmc1:0001 AJTD4R partition 2 4.00 MiB
mmcblk1rpmb: mmc1:0001 AJTD4R partition 3 4.00 MiB
  mmcblk1: p1 p2 p3 p4 p5
rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 1920x1200p60, type: 11
Freeing drm_logo memory: 616K
Console: switching to colour frame buffer device 240x75
rockchip-drm display-subsystem: fb0:  frame buffer device
mali ff9a0000.gpu: GPU identified as 0x0860 r2p0 status 0
mali ff9a0000.gpu: Protected mode not available
mali ff9a0000.gpu: l=0 h=2147483647 hyst=5000 l_limit=0 h_limit=0
mali ff9a0000.gpu: Using configured power model mali-simple-power-model, and fallback mali-simple-power-model
mali ff9a0000.gpu: Probed as mali0
vendor storage:20160801 ret = 0
xhci-hcd xhci-hcd.8.auto: xHCI Host Controller
xhci-hcd xhci-hcd.8.auto: new USB bus registered, assigned bus number 1
xhci-hcd xhci-hcd.8.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x02030010
xhci-hcd xhci-hcd.8.auto: irq 225, io mem 0xfe800000
======

Here's a diff to help you zoom in:

--- boot1_strip2.txt        2019-03-07 08:11:56.984308205 -0500
+++ boot0_strip2.txt        2019-03-07 08:10:11.304319514 -0500
@@ -19,23 +19,22 @@
  sdhci-pltfm: SDHCI platform and OF driver helper
  sdhci-arasan fe330000.sdhci: No vmmc regulator found
  sdhci-arasan fe330000.sdhci: No vqmmc regulator found
+ rockchip-iodomain ff770000.syscon:io-domains: Setting to 3300000 done
+ rockchip-iodomain ff770000.syscon:io-domains: Setting to 1800000 done
  mmc1: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA
  hidraw: raw HID events driver (C) Jiri Kosina
  usbcore: registered new interface driver usbhid
  usbhid: USB HID core driver
  inv_mpu_iio: inv_mpu_init:746
- mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
- mmc0: new high speed SDHC card at address 0001
- mmcblk0: mmc0:0001 EB1QT 29.8 GiB
  ff100000.saradc supply vref not found, using dummy regulator
  usbcore: registered new interface driver snd-usb-audio
-  mmcblk0: p1 p2 p3 p4 p5
  Initializing XFRM netlink socket
  NET: Registered protocol family 10
  NET: Registered protocol family 17
  NET: Registered protocol family 15
  Bluetooth: RFCOMM socket layer initialized
  Bluetooth: RFCOMM ver 1.11
+ mmc_host mmc0: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
  Bluetooth: HIDP (Human Interface Emulation) ver 1.2
  Bluetooth: HIDP socket layer initialized
  [WLAN_RFKILL]: Enter rfkill_wlan_init
@@ -58,13 +57,13 @@
  rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8008ce0b58)
  i2c i2c-9: of_i2c: modalias failure on /hdmi@ff940000/ports
  dwhdmi-rockchip ff940000.hdmi: registered DesignWare HDMI I2C bus driver
- mmc1: MAN_BKOPS_EN bit is not set
  dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
  rockchip-drm display-subsystem: bound ff940000.hdmi (ops 0xffffff8008cd5ef8)
  i2c i2c-10: of_i2c: modalias failure on /dp@fec00000/ports
  cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
  rockchip-drm display-subsystem: bound fec00000.dp (ops 0xffffff8008cd6f18)
  [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
+ mmc1: MAN_BKOPS_EN bit is not set
  [drm] No driver support for vblank timestamp query.
  mmc1: new HS400 Enhanced strobe MMC card at address 0001
  mmcblk1: mmc1:0001 AJTD4R 14.6 GiB
@@ -72,16 +71,20 @@
  mmcblk1boot1: mmc1:0001 AJTD4R partition 2 4.00 MiB
  mmcblk1rpmb: mmc1:0001 AJTD4R partition 3 4.00 MiB
   mmcblk1: p1 p2 p3 p4 p5
+ dwmmc_rockchip fe320000.dwmmc: Successfully tuned phase to 238
+ mmc0: new ultra high speed SDR104 SDHC card at address 0001
+ mmcblk0: mmc0:0001 EB1QT 29.8 GiB
+  mmcblk0: p1 p2 p3 p4 p5
  rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 1920x1200p60, type: 11
  Freeing drm_logo memory: 616K
  Console: switching to colour frame buffer device 240x75
+ vendor storage:20160801 ret = 0
  rockchip-drm display-subsystem: fb0:  frame buffer device
  mali ff9a0000.gpu: GPU identified as 0x0860 r2p0 status 0
  mali ff9a0000.gpu: Protected mode not available
  mali ff9a0000.gpu: l=0 h=2147483647 hyst=5000 l_limit=0 h_limit=0
  mali ff9a0000.gpu: Using configured power model mali-simple-power-model, and fallback mali-simple-power-model
  mali ff9a0000.gpu: Probed as mali0
- vendor storage:20160801 ret = 0
  xhci-hcd xhci-hcd.8.auto: xHCI Host Controller
  xhci-hcd xhci-hcd.8.auto: new USB bus registered, assigned bus number 1
  xhci-hcd xhci-hcd.8.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x02030010
Reply

Use props Report

1387

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1387
Posted at 3/12/2019 17:33:22        Only Author  23#
The difference is the phase tuning, but I do not have any clue about what causes this.
Reply

Use props Report

32

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
32
Posted at 3/19/2019 02:57:57        Only Author  24#
It looks like the 18.04 SD image may have a bad dtb..

The SD one seems to have a pile of issues (like PCI doesn't work).  It contains:
        model = "Firefly roc-rk3399-pc";
        compatible = "firefly,roc-rk3399-pc", "rockchip,rk3399";


The 18.04 eMMC image works much better, its dtb is:
        model = "Firefly-RK3399 Board (Linux Opensource)";
        compatible = "rockchip,rk3399-firefly", "rockchip,rk3399";
Reply

Use props Report

Return to List
123
You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list