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?
#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".
#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
#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?
#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.
#26
(04-22-2020, 08:56 AM)kuleszdl Wrote: My board is v2.1 2018-07-02 and it does NOT have the mentioned capacitors. I am not sure about the jumpers you mentioned but I don't see any wires there. Would it make sense to add them?

My RockPro64 v2.1, with "2018-07-02" (revision date) and "4719" (production week and date) silkscreened on the PCB, came with the 2x2 block of resistors unpopulated, while the 2x2 block of capacitors and resistors is populated.  This just confirms that the RockPro64 circuit diagrams available on the Pine64 wiki are outdated.

@tllim and @Luke, could we, please, get the updated circuit diagrams?
#27
(12-17-2020, 10:01 AM)dsimic Wrote:
(04-22-2020, 08:56 AM)kuleszdl Wrote: My board is v2.1 2018-07-02 and it does NOT have the mentioned capacitors. I am not sure about the jumpers you mentioned but I don't see any wires there. Would it make sense to add them?

My RockPro64 v2.1, with "2018-07-02" (revision date) and "4719" (production week and date) silkscreened on the PCB, came with the 2x2 block of resistors unpopulated, while the 2x2 block of capacitors and resistors is populated.  This just confirms that the RockPro64 circuit diagrams available on the Pine64 wiki are outdated.

@tllim and @Luke, could we, please, get the updated circuit diagrams?

RockPro64 v2.1 is the latest one and schematic already posted at wiki site.

https://files.pine64.org/doc/rockpro64/r...21-SCH.pdf
#28
(12-23-2020, 05:18 PM)tllim Wrote:
(12-17-2020, 10:01 AM)dsimic Wrote: My RockPro64 v2.1, with "2018-07-02" (revision date) and "4719" (production week and date) silkscreened on the PCB, came with the 2x2 block of resistors unpopulated, while the 2x2 block of capacitors and resistors is populated.  This just confirms that the RockPro64 circuit diagrams available on the Pine64 wiki are outdated.

@tllim and @Luke, could we, please, get the updated circuit diagrams?

RockPro64 v2.1 is the latest one and schematic already posted at wiki site.

https://files.pine64.org/doc/rockpro64/r...21-SCH.pdf

@tllim: Unfortunately, the PDF file you linked above seems to be outdated.  Please, have a look at the attached image, which is a screenshot of the page 27; for example, resistors R89508, R89509, R89510 and R89511 are not present on my RockPro64 v2.1 board.  This clearly shows that the currently available schematic is outdated.

Could you, please, ask the hardware engineers for the updated RockPro64 v2.1 schematic?


Attached Files Thumbnail(s)
   


Possibly Related Threads…
Thread Author Replies Views Last Post
  ROCKPro64 Battery Power Supply hoarfrosty 12 4,213 04-01-2024, 10:24 PM
Last Post: nano2
  Powering on the Rockpro64 JPT223 1 1,301 09-24-2023, 12:23 PM
Last Post: hoarfrosty
  ROCKPro64 with 16 ports SATA controller ZeblodS 19 29,132 12-18-2022, 06:25 PM
Last Post: heyghoge
  Using RPI hat on RockPro64? misterc 0 1,128 12-16-2022, 02:05 PM
Last Post: misterc
  GPIO on the RockPro64 - all pins high? colinmarc 2 2,198 11-18-2022, 10:20 AM
Last Post: colinmarc
  ROCKPro64 DOA ajtravis 8 8,175 11-08-2022, 03:40 AM
Last Post: ajtravis
  RockPro64 not booting up mvicha@gmail.com 0 1,426 09-19-2022, 07:35 AM
Last Post: mvicha@gmail.com
  GPIO Expander HAT for ROCKPro64 and Quartz64 CounterPillow 7 6,614 07-18-2022, 10:05 PM
Last Post: zer0sig
  RockPro64 premium aluminium casing justwantin 2 2,716 05-27-2022, 06:51 PM
Last Post: justwantin
  charging 3 rockpro64 from single source rpt312 1 2,096 05-16-2022, 02:34 AM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 3 Guest(s)