Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Armbian build PR] - Fixed issue with NVMe identification in rk3399-rock-pi-4.dts

Featured Replies

Description

During the investigation of the issue, was found that the rk3399-rock-pi-4.dtsi file had undergone significant changes, which created a mess in the code during the patch application and unstable pcie operation.

&pcie0 {
ep-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_HIGH>;
num-lanes = <4>;
max-link-speed = <1>;
pinctrl-names = "default";
pinctrl-0 = <&pcie_clkreqnb_cpm>;
vpcie12v-supply = <&vcc12v_dcin>;
vpcie3v3-supply = <&vcc3v3_pcie>;
status = "okay";
};

&pcie_phy {
status = "okay";
};

&pmu_io_domains {
status = "okay";

pmu1830-supply = <&vcc_3v0>;
};

&pcie_phy {
status = "okay";
};

&pcie0 {
ep-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_HIGH>;
num-lanes = <4>;
pinctrl-0 = <&pcie_clkreqnb_cpm>;
pinctrl-names = "default";
vpcie0v9-supply = <&vcc_0v9>;
vpcie1v8-supply = <&vcc_1v8>;
vpcie3v3-supply = <&vcc3v3_pcie>;
status = "okay";
};

The patch was put in order and tested on different builds.

How Has This Been Tested?

See full story of the investigation

The kernel 5.15.y works fine in all possible ways boot: cold boot; soft reboot, boot from eMMC when system on eMMC; etc... There are still unstable soft-reboot on the kernel 6.1.y + overlays=pcie-gen2, but this is all better than don't booting at all. And also I think it's can depends on my current hardwere.

  • [x] RockPi 4b v1.5 + remotable eMMC + NVMe KingSpec M.2 NMVe SSD NE 2280 512 GB
  • [x] RockPi 4b v1.5 + remotable eMMC + NVMe KingSpec M.2 NMVe SSD NE 2280 1 TB

Work without any problem:

  • [x] Armbian_23.02.0-trunk_Rockpi-4b_bullseye_current_5.15.85.img
  • [x] Armbian_23.02.0-trunk_Rockpi-4b_jammy_current_5.15.85.img

Sometimes does not define Name when overlays=pcie-gen2 is enabled (only then soft reboot):

  • [x] Armbian_23.02.0-trunk_Rockpi-4b_sid_edge_6.1.1.img
  • [x] Armbian_23.02.0-trunk_Rockpi-4b_kinetic_edge_6.1.1.img

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] Any dependent changes have been merged and published in downstream modules

View the full article

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.