Rockpi4b pcie-gen2 NVME?

Hi. I am running from Rockpi4b Manjaro Xfce 20.06 without problems from an Nvme disk. I would like to know if there is no way to enable overlays = pcie-gen2. I can't find the configuration files on the boot partition, nor do I know if that resource is enabled by default.

Drives:
  Local Storage: total: 232.89 GiB used: 10.92 GiB (4.7%) 
  ID-1: /dev/nvme0n1 vendor: HP model: SSD EX900 250GB size: 232.89 GiB 
  speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: S0614B0 scheme: GPT 

sudo inxi -Fxxxz --no-host
[sudo] password for gg:
System:
Kernel: 5.7.10-2-MANJARO-ARM aarch64 bits: 64 compiler: gcc v: 9.3.0
Desktop: Xfce 4.14.2 tk: Gtk 3.24.20 info: xfce4-panel wm: xfwm4
dm: LightDM 1.30.0 Distro: Manjaro ARM
Machine:
Type: ARM Device System: Radxa ROCK Pi 4 details: N/A serial:
Battery:
Device-1: hidpp_battery_0 model: Logitech Wireless Touch Keyboard K400
serial: charge: 55% (should be ignored) rechargeable: yes
status: Discharging
CPU:
Topology: 6-Core (2-Die) model: N/A variant-1: cortex-a53
variant-2: cortex-a72 bits: 64 type: MCP MCM arch: ARMv8 rev: 4
features: Use -f option to see features bogomips: 0
Speed: 816 MHz min/max: 408/1416:1800 MHz Core speeds (MHz): 1: 408 2: 408
3: 1416 4: 1416 5: 816 6: 816
Graphics:
Device-1: display-subsystem driver: rockchip_drm v: N/A bus ID: N/A
chip ID: rockchip:display-subsystem
Device-2: rk3399-dw-hdmi driver: dwhdmi_rockchip v: N/A bus ID: N/A
chip ID: rockchip:ff940000
Device-3: rk3399-mali driver: panfrost v: kernel bus ID: N/A
chip ID: rockchip:ff9a0000
Display: server: X.org 1.20.8 driver: modesetting alternate: fbdev
resolution:
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
Device-1: rk3399-dw-hdmi driver: dwhdmi_rockchip bus ID: N/A
chip ID: rockchip:ff940000
Device-2: simple-audio-card driver: asoc_simple_card bus ID: N/A
chip ID: simple-audio-card:hdmi-sound
Sound Server: ALSA v: k5.7.10-2-MANJARO-ARM
Network:
Device-1: rk3399-gmac driver: rk_gmac_dwmac v: N/A port: N/A bus ID: N/A
chip ID: rockchip:fe300000
Device-2: TP-Link TL WN823N RTL8192EU type: USB driver: rtl8xxxu
bus ID: 2-1:2 chip ID: 2357:0109 serial:
IF: wlan1 state: up mac:
IF-ID-1: eth0 state: down mac:
IF-ID-2: wlan0 state: down mac:
Drives:
Local Storage: total: 232.89 GiB used: 10.92 GiB (4.7%)
ID-1: /dev/nvme0n1 vendor: HP model: SSD EX900 250GB size: 232.89 GiB
speed: 31.6 Gb/s lanes: 4 serial: rev: S0614B0 scheme: GPT
Partition:
ID-1: / size: 100.10 GiB used: 5.63 GiB (5.6%) fs: ext4
dev: /dev/nvme0n1p7
ID-2: /boot size: 247.9 MiB used: 57.2 MiB (23.1%) fs: ext2
dev: /dev/nvme0n1p6
Sensors:
System Temperatures: cpu: 44.4 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 212 Uptime: 40m Memory: 3.71 GiB used: 1.15 GiB (30.9%)
Init: systemd v: 245 Compilers: gcc: N/A Shell: bash (sudo) v: 5.0.17
running in: xfce4-terminal inxi: 3.0.37

What do you mean by this ?

Can you elaborate a little more and share what is the issue and what you're trying to achieve with overlays?

Thank you.

Hi, thanks for asking. I am referring to the write and read speeds that the NVME device supports from where I am running the operating system.

On the rockpi (radxa) page, it explains in detail how to enable pcie-gen2, but I can't find the configuration files in the manjaro system. I paste below the page to which I refer, in case my explanation is not enough:
https://wiki.radxa.com/Rockpi4/Linux_system_runs_on_M.2_NVME_SSD

Step 4 Enable PCIe Gen2 mode to get max speed
By default, the PCIe of ROCK Pi 4 runs on Gen1 mode for the most capability. Once you confirm that your NVMe works well you can try to enable the PCIe gen2 mode to get the max speed of NVMe(reading/writing > 1000MB/s).

To enable PCIe gen2 mode, make sure you are booting on NVMe as rootfs and /boot is mounted:

     ├─nvme0n1p4 259:4    0   112M  0 part /boot
edit /boot/hw_intfc.conf, uncomment the line:

   intfc:dtoverlay=pcie-gen2
save and reboot. You should have higher speed on NVMe.

I think @Strit can advice on this as he have the rockpi but idk if nvme was tested on it.

That file is not provided by mainline uboot or mainline kernel.
Maybe you can just create the file and it will work? I don't know if the mainline uboot can do overlays...

This topic was automatically closed 89 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by