Update 22.02.2019 Feature-complete Debian build - SDIO WiFi/BT / PCIe / 3D / 2D
#21
I tested my pcie sata controller based on a Marvel 9215 chipset, but it fails to initialize successfully.
The card itself gets extremely hot as well.  

You can see the output of lspci in the attachment.


Attached Files Thumbnail(s)
   
#22
(01-23-2019, 01:33 PM)Mrfixit2001 Wrote: I might suggest replacing libmali.so on the build with this blob:
https://github.com/rockchip-linux/libmal...x11-gbm.so

I haven't test it yet, but *in theory* that blob should support both gbm and x11. Hopefully that would allow you to run XORG applications, such as web browsers.

If you want wayland instead of X then you could try this blob:
https://github.com/rockchip-linux/libmal...and-gbm.so

Again, I haven't tested either one, so please report back if you have success Smile

Just download the blob and save it as libmali.so and overwrite the current symlink with this. If it works out then I'll include it in the next release.

Unfortunately, the swap file did not give anything. Chromium still does not start
#23
(01-24-2019, 08:55 AM)MisterA Wrote: I tested my pcie sata controller based on a Marvel 9215 chipset, but it fails to initialize successfully.

The same for me with the RockPro64 PCIe Dual SATA card (https://www.pine64.org/?product=rockpro6...rface-card):

Code:
# dmesg | grep -i pci
                  PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[    0.127759] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.220531] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc3v3-pcie-regulator[0]' - status (0)
[    0.220577] reg-fixed-voltage vcc3v3-pcie-regulator: Looking up vin-supply from device tree
[    0.220623] vcc3v3_pcie: supplied by dc_12v
[    0.220674] vcc3v3_pcie: 3300 mV
[    0.220827] reg-fixed-voltage vcc3v3-pcie-regulator: vcc3v3_pcie supplying 3300000uV
[    0.280807] PCI: CLS 0 bytes, default 64
[    0.414935] ehci-pci: EHCI PCI platform driver
[    0.897651] vcc3v3_pcie: disabling
[    1.837381] phy phy-pcie-phy.9: Looking up phy-supply from device tree
[    1.837397] phy phy-pcie-phy.9: Looking up phy-supply property in node /pcie-phy failed
[    1.839113] rockchip-pcie f8000000.pcie: GPIO lookup for consumer ep
[    1.839128] rockchip-pcie f8000000.pcie: using device tree for GPIO lookup
[    1.839185] of_get_named_gpiod_flags: parsed 'ep-gpios' property of node '/pcie@f8000000[0]' - status (0)
[    1.839472] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply from device tree
[    1.839673] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply from device tree
[    1.839684] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply property in node /pcie@f8000000 failed
[    1.839721] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[    1.839727] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply from device tree
[    1.839735] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply property in node /pcie@f8000000 failed
[    1.839749] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[    1.839827] rockchip-pcie f8000000.pcie: invalid power supply
[    2.339880] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[    2.340080] rockchip-pcie: probe of f8000000.pcie failed with error -110
#24
(01-26-2019, 12:04 PM)rosseba Wrote:
(01-24-2019, 08:55 AM)MisterA Wrote: I tested my pcie sata controller based on a Marvel 9215 chipset, but it fails to initialize successfully.

The same for me with the RockPro64 PCIe Dual SATA card (https://www.pine64.org/?product=rockpro6...rface-card):

Code:
# dmesg | grep -i pci
                  PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[    0.127759] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.220531] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc3v3-pcie-regulator[0]' - status (0)
[    0.220577] reg-fixed-voltage vcc3v3-pcie-regulator: Looking up vin-supply from device tree
[    0.220623] vcc3v3_pcie: supplied by dc_12v
[    0.220674] vcc3v3_pcie: 3300 mV
[    0.220827] reg-fixed-voltage vcc3v3-pcie-regulator: vcc3v3_pcie supplying 3300000uV
[    0.280807] PCI: CLS 0 bytes, default 64
[    0.414935] ehci-pci: EHCI PCI platform driver
[    0.897651] vcc3v3_pcie: disabling
[    1.837381] phy phy-pcie-phy.9: Looking up phy-supply from device tree
[    1.837397] phy phy-pcie-phy.9: Looking up phy-supply property in node /pcie-phy failed
[    1.839113] rockchip-pcie f8000000.pcie: GPIO lookup for consumer ep
[    1.839128] rockchip-pcie f8000000.pcie: using device tree for GPIO lookup
[    1.839185] of_get_named_gpiod_flags: parsed 'ep-gpios' property of node '/pcie@f8000000[0]' - status (0)
[    1.839472] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply from device tree
[    1.839673] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply from device tree
[    1.839684] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply property in node /pcie@f8000000 failed
[    1.839721] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[    1.839727] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply from device tree
[    1.839735] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply property in node /pcie@f8000000 failed
[    1.839749] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[    1.839827] rockchip-pcie f8000000.pcie: invalid power supply
[    2.339880] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[    2.340080] rockchip-pcie: probe of f8000000.pcie failed with error -110

I have exactly the same problem with Ayufan's builds, armbian's builds and this build on a myriad of kernels. Yet a lot of people seem to have SATA or just pcie in general working. How is it that nobody higher up at Pine64 or even Ayufan has taken a look at this? I get that people have stuff to do and all that, but I've spent way too much money on a product that's basically an expensive paperweight to me.

For the record, this also happens when there's no pcie card inserted

I'm not happy with this...

https://forum.pine64.org/showthread.php?...&pid=41632
https://forum.pine64.org/showthread.php?...3#pid41513
https://forum.pine64.org/showthread.php?...3#pid42243
#25
It shows that this images is running in 32 bit mode. Why is that?
#26
@mrfixit: First off: Thank you for your work!!!
I wanted to ask you how you get the SDIO WIFI module to work. I am running Arch Linux now and i tried to boot your kernel but it did not work (seems like some kind of firmware was not found). I also tried to enable all SDIO related options in kernel-config and built it against Mainline 4.19. Building did work but WIFI cannot be detected. I am asking you to either share your trick to get Linux to detect SDIO WIFI or alternatively, as open source programming generally would suggest, to share the complete patchset and/or config with the community.
#27
There is an updated release coming (I expect next week sometime) which will include additional kernel drivers and patches, including some for PCIe Smile That should take care of the remaining issues being experienced.

I've currently only provided arm32 images (kernel is 64-bit with a 32-bit userspace), but I can work on providing an arm64 image in my next release as well if there's a need for it.

At some point after that I'll work on a desktop image as well so you don't have to worry about the hassle of installing all the packages yourselves.

As for how to get SDIO, WIFI, and BT working in the kernel, I haven't published my kernel source itself yet. But I did write this patch for Batocera today which should outline the minimum requirements to get these features enabled. Hasn't been tested yet, as my kernel has an enormous amount of backports from mainline in it so I had to write this patch specifically for the "stock" rockchip kernel. Basically I'm saying I cannot guarantee how it will function without all the driver updates I've back-ported, but I think it's sufficient to enable everything.
https://github.com/batocera-linux/batoce...147d0ef192
#28
(02-01-2019, 04:18 PM)Mrfixit2001 Wrote: There is an updated release coming (I expect next week sometime) which will include additional kernel drivers and patches, including some for PCIe Smile That should take care of the remaining issues being experienced.

I've currently only provided arm32 images (kernel is 64-bit with a 32-bit userspace), but I can work on providing an arm64 image in my next release as well if there's a need for it.

At some point after that I'll work on a desktop image as well so you don't have to worry about the hassle of installing all the packages yourselves.

As for how to get SDIO, WIFI, and BT working in the kernel, I haven't published my kernel source itself yet. But I did write this patch for Batocera today which should outline the minimum requirements to get these features enabled. Hasn't been tested yet, as my kernel has an enormous amount of backports from mainline in it so I had to write this patch specifically for the "stock" rockchip kernel. Basically I'm saying I cannot guarantee how it will function without all the driver updates I've back-ported, but I think it's sufficient to enable everything.
https://github.com/batocera-linux/batoce...147d0ef192

I'm pretty excited about the work you are doing. A functional desktop environment with GPU support would make this board amazing. I put the board down after a while due to the software situation, but this build really reinvigorated my interest.

Great job so far!
#29
Still dying for kernel source tree.
(Doesn't that violate the GPL?)
#30
(02-12-2019, 08:11 AM)fosf0r Wrote: Still dying for kernel source tree.
(Doesn't that violate the GPL?)

Me too  Sad


Possibly Related Threads…
Thread Author Replies Views Last Post
  RK3399 PCIe enumeration jhadd 0 519 01-31-2024, 08:56 AM
Last Post: jhadd
  Vanilla mainline Debian 11 (Bullseye) on the RockPro64 Pete Tandy 22 21,322 08-16-2023, 01:34 AM
Last Post: varac
  Installing CH431SER on Ayufan 0.9.14: gitlab-ci-linux-build-159 Thisone 4 2,284 07-14-2023, 04:22 AM
Last Post: hunderteins
  How do I enable Pine touchdisplay as display on Debian? Thisone 0 820 04-23-2023, 11:02 PM
Last Post: Thisone
  GPIO on Ayufan 0.9.14 Build Thisone 7 3,489 04-23-2023, 01:32 PM
Last Post: diederik
  Is some u-boot required on the SPI for installing debian with the official installer? callegar 1 1,735 10-25-2022, 10:07 AM
Last Post: ratzzupaltuff
  Can RockPRO64 support PCIe Endpoint? andrewg132 3 2,886 10-14-2022, 06:24 AM
Last Post: rwk-
  bullseye 11.3 WiFi drivers moserwi 0 1,555 03-28-2022, 02:01 PM
Last Post: moserwi
  Install Mali 400 Drivers for Debian 11 on RockPro64 MaverickPi 2 2,981 02-19-2022, 06:44 AM
Last Post: sigmaris
  prevent bluetooth from loading (manjaro, no wifi/bt card installed) flounder 0 1,256 02-17-2022, 12:10 PM
Last Post: flounder

Forum Jump:


Users browsing this thread: 2 Guest(s)