rockpro64: Enable sdio0, disable pcie, on ayufan 4.4.132 ?
#1
Question 
I'm using 4.4.132, because when I tried 4.4.154, dw-hdmi-i2s sound doesn't work correctly; it sounds like things play at 0.001x speed.

Anyway, I am aware that sdio0 is disabled because of pcie issues when both are enabled.
I want to be able to use the rockpro64 wifi module, and I have no need for the pcie slot.

If one disables pcie, could sdio0 be safely re-enabled?
I am great at compiling kernels, but not great at editing device tree files.

What are the edits to make to rk3399-rockpro64.dts to accomplish that (if it's safe) ?
  Reply
#2
I'm currently working on this for my emulation + media kernel. The DTS changes aren't too difficult, just change "disabled" to "okay" under the relevant nodes. But you'll need some patches to make it stable as well as to get the wifi module to work. I'm still working on stability but when I'm done I'll submit a PR to ayufan's kernel to enable it. He's on an older 4.4 release than I'm working with so there may be some other tweaks needed but at least it will give you something to go from.
  Reply
#3
Okay, can't wait to see this.

That must be why my kernel paniced bcmdhd when I simply enabled sdio0.


Who is providing those patches you said were needed?

I have two major hurdles left and then I'm pretty happy with my rockpro64:
1) sdio0
2) getting dw_hdmi_i2s_audio to continue to work once I'm beyond 4.4.138-1100.  (Kernels past that have dmesg "fail to clear" i2s messages, and sounds play at 0.0000001 speed, sounds like satan coming from the pit in slow motion.)

I really want to be using a newer kernel from 4.4.x than 4.4.138, but ayufan's 4.4.154 is a bit messy, and Terra854's 4.4.162 has the same i2s clearing problem as ayufan's 4.4.154 so it must be designware/synopsys' fault. I wanted to see if I could drag forward the kernel module code from 4.4.138 and compile it inside of the 4.4.162 tree or something but I haven't had time to mess with that.

Not related to this thread, but is someone somewhere working on the i2s audio problem?
  Reply
#4
He is providing those patches. They already work since today.
You can find me on IRC, Discord and Twitter


  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Big Grin RETRO GAMING: UPDATED RECALBOX FOR THE RK3399 ROCKPRO64 Mrfixit2001 38 5,885 03-29-2020, 05:37 AM
Last Post: Crnppscls
  slarm64 (unofficial slackware) ROCKPro64 RK3399 (aarch64) mara 30 5,570 03-21-2020, 10:34 AM
Last Post: mara
  Arch Linux on RockPro64 mmatyas 28 10,339 03-20-2020, 12:27 AM
Last Post: hev
Thumbs Up Batocera for RockPro64 Luke 6 2,464 03-16-2020, 09:04 AM
Last Post: Crnppscls
Question Mainline Debian Buster on RockPro64 ? chrestomanci 2 195 03-08-2020, 01:35 PM
Last Post: chrestomanci
  RockPro64 getting started - non-booting images [solved] new-rockpro-user 3 293 03-06-2020, 06:31 AM
Last Post: new-rockpro-user
  Rockpro64 not stable... crashes now and then. Pineapple 15 1,093 02-14-2020, 02:24 PM
Last Post: hemertje
  Rockpro64 and stock arch linux TaborFife 6 885 01-15-2020, 05:17 PM
Last Post: dragop
  Ayufan 5.4.0 rc1 release - cannot boot Mentaluproar 2 357 01-05-2020, 02:39 PM
Last Post: mmiigg
  Reboot problem on latest ayufan and 4.4 /dev/null 2 398 11-27-2019, 04:23 AM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)