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 has bad Memory (Software sogfaults and kernel panics) kop316 20 7,537 08-04-2021, 07:42 PM
Last Post: t4_4t
  Rockpro64 Sata Card kills itself jerry110 31 16,390 06-21-2021, 05:19 AM
Last Post: hyc
  rockpro64 13 megapixel camera Aycaramba 8 4,843 05-18-2021, 05:40 AM
Last Post: VictorSchonk
  zfs on rockpro64 - any dual nvme PCI adapter for software raid ? romadr 0 434 04-22-2021, 02:59 PM
Last Post: romadr
Question 1U Rackmount Case for ROCKPro64 tuaris 3 1,263 02-18-2021, 08:09 PM
Last Post: TRS-80
  DHT22 on Rockpro64 {-DesT-} 0 650 02-08-2021, 01:20 PM
Last Post: {-DesT-}
  ROCKPro64 with 16 ports SATA controller ZeblodS 16 11,873 01-21-2021, 08:59 PM
Last Post: Film Gab
  case for RockPro64 + PCI-E M.2 NVMe Card? AndyOfLinux 9 5,637 01-05-2021, 05:05 PM
Last Post: kuleszdl
  PoE IEEE802.3af/at for RockPro64 bolinches 1 1,214 12-20-2020, 07:28 AM
Last Post: bolinches
Question RockPro64 Lithium Battery Port TitleOS 0 794 12-05-2020, 12:35 AM
Last Post: TitleOS

Forum Jump:


Users browsing this thread: 2 Guest(s)