jstefanop 1 Posted December 11, 2020 Share Posted December 11, 2020 What is the current pcie link speed set for stable Armbian 5.9.x release? I know stock kernels from orange pi have it set to Gen 1 speed. Need to test some Gen 2 hardware and see if it works. 0 Quote Link to post Share on other sites
piter75 104 Posted December 11, 2020 Share Posted December 11, 2020 22 minutes ago, jstefanop said: What is the current pcie link speed set for stable Armbian 5.9.x release? We have Gen1 by default as it's the only one that's officially supported by Rockchip with RK3399: https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-current/add-board-orangepi-4.patch#L839 You can however try switching it to Gen2 with pcie-gen2 overlay (overlays=pcie-gen2 in /boot/armbianEnv.txt) and see how it goes: https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-current/general-rockchip-overlays.patch#L70 0 Quote Link to post Share on other sites
ScottP 1 Posted December 13, 2020 Share Posted December 13, 2020 I have a NanoPC T4 (RK3399) with Friendly ARM ubuntu distro NOT Armbian as yet - I plan to migrate hence why I am reading these forums If this provides a data point? scott@hass:~$ sudo lspci -vv | grep -E 'PCI bridge|LnkCap' 00:00.0 PCI bridge: Fuzhou Rockchip Electronics Co., Ltd Device 0100 (prog-if 00 [Normal decode]) LnkCap: Port #0, Speed 5GT/s, Width x4, ASPM L1, Exit Latency L0s <256ns, L1 <8us LnkCap: Port #0, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L0s unlimited, L1 <64us scott@hass:~$ sudo hdparm -t /dev/nvme0n1p2 /dev/nvme0n1p2: Timing buffered disk reads: 1784 MB in 3.00 seconds = 594.26 MB/sec 1 Quote Link to post Share on other sites
jstefanop 1 Posted January 4 Author Share Posted January 4 On 12/11/2020 at 2:26 PM, piter75 said: We have Gen1 by default as it's the only one that's officially supported by Rockchip with RK3399: https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-current/add-board-orangepi-4.patch#L839 You can however try switching it to Gen2 with pcie-gen2 overlay (overlays=pcie-gen2 in /boot/armbianEnv.txt) and see how it goes: https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-current/general-rockchip-overlays.patch#L70 Ok we just finished our 2x M.2 breakout board (uses both lanes exposed by the PCIE port on the orange pi 4). Is there a similar setting for link width? Its currently picking up a x4 Gen 3 M.2 drive with both link speed downgraded to gen 1 (as expected), and width downgraded to 1x. Should be 2x. 0 Quote Link to post Share on other sites
VyacheslavS 5 Posted January 5 Share Posted January 5 14 часов назад, jstefanop сказал: Ok we just finished our 2x M.2 breakout board (uses both lanes exposed by the PCIE port on the orange pi 4). Which adapter do you use to connect the M2 for PCIE port on the orange pi 4? I can't find. 0 Quote Link to post Share on other sites
jstefanop 1 Posted January 8 Author Share Posted January 8 On 1/5/2021 at 7:30 AM, VyacheslavS said: Which adapter do you use to connect the M2 for PCIE port on the orange pi 4? I can't find. Its a custom board we have made. 0 Quote Link to post Share on other sites
thc013 7 Posted Tuesday at 10:51 AM Share Posted Tuesday at 10:51 AM On 1/5/2021 at 1:30 PM, VyacheslavS said: Which adapter do you use to connect the M2 for PCIE port on the orange pi 4? I can't find. they are back in stock now from what i see , i just ordered one last week https://www.aliexpress.com/item/4000575054675.html?spm=2114.12010612.8148356.1.30b67fddNzcI4W 0 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.