Rockpro64 PCI-Express Issue.
#21
No joy, it won't get into mainline.
So this is just something the end user has to do if they want to try it.

Also, there is at least two versions of the 2.1 board, since mine is also a 2.1 board and still has the resistors in place.

Edit: If I can get people with all revisions of the board, the 2.0, the 2.1 with the resistors in place, and your variant of the 2.1 with the resistors not installed from the factory, I will push for this to be a rockpro64 specific thing, as long as it works flawlessly on all version of the board.

Edit 2: Never mind, probably not wise.
By the way, does USB C work for you on your board with mainline?
  Reply
#22
Somehow I am getting "Bad Linux ARM64 Image magic!" when loading the dtb file with the 5.6 kernel I compiled. However, the dtb file seems to work with my old 5.5 unstable kernel. With this, Indeed I get the 5 GT/s in lspci as well as a reasonable hdparm speed (860-880 MB/s with my Samsung 970 Evo) which is a clear improvement.

In the end, the end-user will just need to use a different dtb to get this change, right? So it's rather a question of deployment or making multiple DTBs available.

I assume that uboot has no way to determine the correct PCB version of the rockpro64 right? A similar problem exists with the pinephone that also needs different dtbs depending on the hardware revision and is being discussed here:

https://gitlab.com/postmarketOS/pmaports/-/issues/549

Edit: I got the 5.6 kernel working (the issue was that I had a zImage but u-boot needed an uncompressed image). I also got to test USB-C and USB 3.0 using a USB 3.1 to NVMe adapter but it does not work (USB-C does not recognize the drive, USB 3 renders "bad/missing sense data and get me just about 30 MB/s".
  Reply
#23
(04-23-2020, 01:17 PM)kuleszdl Wrote: Somehow I am getting "Bad Linux ARM64 Image magic!" when loading the dtb file with the 5.6 kernel I compiled. However, the dtb file seems to work with my old 5.5 unstable kernel. With this, Indeed I get the 5 GT/s in lspci as well as a reasonable hdparm speed (860-880 MB/s with my Samsung 970 Evo) which is a clear improvement.

In the end, the end-user will just need to use a different dtb to get this change, right? So it's rather a question of deployment or making multiple DTBs available.

I assume that uboot has no way to determine the correct PCB version of the rockpro64 right? A similar problem exists with the pinephone that also needs different dtbs depending on the hardware revision and is being discussed here:

https://gitlab.com/postmarketOS/pmaports/-/issues/549

Edit: I got the 5.6 kernel working (the issue was that I had a zImage but u-boot needed an uncompressed image). I also got to test USB-C and USB 3.0 using a USB 3.1 to NVMe adapter but it does not work (USB-C does not recognize the drive, USB 3 renders "bad/missing sense data and get me just about 30 MB/s".

Try changing the usbc controller to "host" in the devicetree.
Code:
&usbdrd_dwc3_0 {
dr_mode = "host";
};

I've made a rockpro64 device compatibility page.
Please update it with your successes/failures.

https://wiki.pine64.org/index.php/ROCKPro64_Hardware_Accessory_Compatibility
  Reply
#24
Thanks, I added two of the devices I tested.

Since I don't want to compile and update my own kernel I thought about only using a self-compiled dtb with the changes. Do you have any experience with using outdated dtb files with newer kernels?
  Reply
#25
(04-23-2020, 04:52 PM)kuleszdl Wrote: Thanks, I added two of the devices I tested.

Since I don't want to compile and update my own kernel I thought about only using a self-compiled dtb with the changes. Do you have any experience with using outdated dtb files with newer kernels?

Generally the dtbs are pretty stable.
Also compatibility is maintained as much as possible.

I only really change my dtb if I need a specific fix.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rockpro64 Sata Card kills itself jerry110 18 3,313 05-14-2020, 06:44 AM
Last Post: aldrick
  Cheap 4-port SATA card working with RockPro64 4Gb andyburn 3 329 04-25-2020, 11:57 AM
Last Post: andyburn
  Questions about the ROCKPro64 1x1 Dual Band WIFI module thelabratrules 0 145 04-04-2020, 03:29 PM
Last Post: thelabratrules
  RockPro64 pcie Gpu Davidos 6 1,818 03-20-2020, 02:07 PM
Last Post: bluciano
  My RockPro64 died after 8 months diskers 18 1,580 03-10-2020, 08:43 PM
Last Post: pfeerick
  RockPro64 PCIx4 soundcard srhtpc 0 331 01-18-2020, 10:31 PM
Last Post: srhtpc
  ROCKPro64 pwm-fan inoperable resistanceisfutile 3 349 01-01-2020, 12:47 PM
Last Post: resistanceisfutile
  RockPro64 UPS for in car use nJoy. 3 614 10-23-2019, 04:05 AM
Last Post: rahulsharma
  PCI Express x4 Device Support machinevault 1 690 09-19-2019, 09:33 AM
Last Post: iops/watt
  Rockpro64 12v Lipo battery for playbox? ScrumpyJack 0 211 09-18-2019, 01:25 AM
Last Post: ScrumpyJack

Forum Jump:


Users browsing this thread: 1 Guest(s)