ericwoud
(Eric W.)
January 28, 2023, 12:46pm
21
Checkout this, it will also apply to Debian i believe.
https://wiki.archlinux.org/title/F2FS
Chapter 3.2
If have used f2fs on SDmmc and Emmc and it behaves very well. For nvme I have chosen to use btrfs, as repair/recovery I think is better supported.
NsinghP
(Navi)
October 16, 2023, 6:51am
22
Hi Frank, Was this patch fixed in mainline? I have ordered Patriot P300, 512GB, M.2 SSD (P300P512GM28) for my Bpi-R3, is it going to be a pain to install? I can still cancel the order as I have not received the SSD.
frank-w
(Frank W.)
October 16, 2023, 7:10am
23
the patch was not accepted in mainline and daniel did a second attempt…but i had no issues yet with nvme…
NsinghP
(Navi)
October 16, 2023, 7:19am
24
Thanks, for quick response, I guess I will not cancel the order, lets see if the Patriot P300, 512GB, M.2 SSD (P300P512GM28) works out of the box with BPi-R3 running Current stable release - OpenWrt 23.05.0
frank-w
(Frank W.)
October 16, 2023, 7:41am
25
i guess the patch is included in openwrt (but not mainline linux) as daniel posted it too…
buggz
(buggz)
October 16, 2023, 8:25pm
26
I would be interested in this outcome, as I’d like to do this also.
As I currently understand, we cannot boot from nvme devices?
nvme devices can be used for applications, opkg installed packages?
NsinghP:
I guess I will not cancel the order, lets see if the Patriot P300, 512GB, M.2 SSD (P300P512GM28) works out of the box with BPi-R3 running Current stable release - OpenWrt 23.05.0
frank-w
(Frank W.)
October 16, 2023, 9:04pm
27
Yes,you have to boot from mmc or spi till linux kernel is loaded…rootfs can be on nvme
1 Like
duboisp
(Pierre Dubois)
October 19, 2023, 4:19pm
28
Just wanted to share my experience on a similar issue I had about PCIe link down.
I fixed my issue by replacing my M.2 hard drive with a new one that was clearly indicated to be compatible with NVMe. My issue was because I didn’t noticed the M.2 hard drive that I purchased was only supporting SATA and wasn’t compatible with NVMe.
frank-w
(Frank W.)
October 19, 2023, 4:32pm
29
Yes r3 has only pcie connected to m.2 slot. No sata or usb lanes…
Reboots randomly after about a day.
There are constant errors in the logs on the pci bus
Wed Oct 11 22:12:52 2023 kern.info kernel: [18415.914974] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
Wed Oct 11 22:12:52 2023 kern.warn kernel: [18415.922203] pcieport 0000:00:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Wed Oct 11 22:12:52 2023 kern.warn kernel: [18415.931756] pcieport 0000:00:00.0: device [14c3:1f32] error status/mask=000000c1/00006000
Wed Oct 11 22:12:52 2023 kern.warn kernel: [18415.940106] pcieport 0000:00:00.0: [ 0] RxErr (First)
Wed Oct 11 22:12:52 2023 kern.warn kernel: [18415.946891] pcieport 0000:00:00.0: [ 6] BadTLP
Wed Oct 11 22:12:52 2023 kern.warn kernel: [18415.952966] pcieport 0000:00:00.0: [ 7] BadDLLP
Wed Oct 11 22:12:52 2023 kern.info kernel: [18415.959061] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
Wed Oct 11 22:12:52 2023 kern.info kernel: [18416.016360] pcieport 0000:00:00.0: AER: can't find device of ID0000
Wed Oct 11 22:12:52 2023 kern.info kernel: [18416.022619] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
Wed Oct 11 22:12:52 2023 kern.info kernel: [18416.080292] pcieport 0000:00:00.0: AER: can't find device of ID0000
Wed Oct 11 22:12:52 2023 kern.info kernel: [18416.086570] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
Wed Oct 11 22:12:52 2023 kern.info kernel: [18416.144216] pcieport 0000:00:00.0: AER: can't find device of ID0000
Wed Oct 11 22:12:52 2023 kern.info kernel: [18416.150469] pcieport 0000:00:00.0: AER: Multiple Corrected error received: 0000:00:00.0
Wed Oct 11 22:12:52 2023 kern.info kernel: [18416.208146] pcieport 0000:00:00.0: AER: can't find device of ID0000
Wed Oct 11 22:12:52 2023 kern.info kernel: [18416.214409] pcieport 0000:00:00.0: AER: Uncorrected (Fatal) error received: 0000:00:00.0
Wed Oct 11 22:12:52 2023 kern.err kernel: [18416.222489] pcieport 0000:00:00.0: PCIe Bus Error: severity=Uncorrected (Fatal), type=Transaction Layer, (Requester ID)
Wed Oct 11 22:12:52 2023 kern.err kernel: [18416.233251] pcieport 0000:00:00.0: device [14c3:1f32] error status/mask=00004020/00400000
Wed Oct 11 22:12:52 2023 kern.err kernel: [18416.241594] pcieport 0000:00:00.0: [ 5] SDES (First)
Wed Oct 11 22:12:52 2023 kern.err kernel: [18416.248373] pcieport 0000:00:00.0: [14] CmpltTO
Wed Oct 11 22:12:52 2023 kern.debug kernel: [18416.254469] pcieport 0000:00:00.0: AER: broadcast error_detected message
Wed Oct 11 22:12:52 2023 kern.warn kernel: [18416.261159] nvme nvme0: frozen state error detected, reset controller
NVMe A-Data Falcon 1TB AFALCON-1T-C. Disabled APST in the kernel boot. Nothing helps.
NsinghP
(Navi)
October 24, 2023, 3:25pm
33
UPDATE:Received the Patriot P300, 512GB, M.2 SSD (P300P512GM28) today and installed it in my Bpi-R3. It is not recognized by the system! I have both kmod-nvme
and block-mount
packages installed. I guess I am just out of luck and will have to buy another SSD that is known to work with Bpi-R3. What a pain, it is very difficult and time consuming to remove all the antennas and then install them again to be able to reach the bottom of PCB to install the M.2 Nvme.
frank-w
(Frank W.)
October 24, 2023, 3:33pm
34
yes the metal case does not have a hole for replacing the nvme…
With kernel parameters fw_setenv bootargs pci=nomsi. The system works more stably. There are no errors in the logs. But about once a day, the router reboots. My NVMe drive supports msi-x. Does the PCI driver work with interruptions?
frank-w
(Frank W.)
October 25, 2023, 6:29am
36
Mt7986 pcie uses interrupts
clocks = <&infracfg CLK_INFRA_THERM_CK>,
<&infracfg CLK_INFRA_ADC_26M_CK>,
<&infracfg CLK_INFRA_ADC_FRC_CK>;
clock-names = "therm", "auxadc", "adc_32k";
mediatek,auxadc = <&auxadc>;
mediatek,apmixedsys = <&apmixedsys>;
nvmem-cells = <&thermal_calibration>;
nvmem-cell-names = "calibration-data";
};
pcie: pcie@11280000 {
compatible = "mediatek,mt7986-pcie",
"mediatek,mt8192-pcie";
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
reg = <0x00 0x11280000 0x00 0x4000>;
reg-names = "pcie-mac";
interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
bus-range = <0x00 0xff>;
ranges = <0x82000000 0x00 0x20000000 0x00
Do not know about msi support…maybe @sam33 or @Ryder.Lee can answer this
NsinghP
(Navi)
October 27, 2023, 3:32pm
37
Update: Installed Crucial P3 500GB SSD and it works out of the box. Crucial P3 500GB PCIe 3.0 3D NAND NVMe M.2 SSD (Model: CT500P3SSD8).
1 Like
furumc
(furumc)
January 31, 2024, 9:11am
38
I’ve ordered a 2TB Seagate Barracuda Q5 M.2 NVME SSD ( ZP2000CV3A001 ), but hasn’t arrived yet!
What are your opinion, will it be okay for bpi-r3?
Finally arrived, and can report it works out of the box!
Caumcs
(Carlos)
February 6, 2024, 11:58pm
39
Hi!
how did you do that?
I bought the WD BLUE SN580 1TB model.
But it’s not showing up.
thank you!
Hi. Whats about your SSD? Does it work?
furumc
(furumc)
July 24, 2024, 6:15am
41
Hi Radek!
it works flawlessly.