lanefu changed the topic of #armbian-rockchip to: Armbian - Linux for ARM development boards | Rockchip SoC | www.armbian.com | This channel is relayed to the equivalent Discord channel | this channel is logged
DC-IRC has joined #armbian-rockchip
kevery has joined #armbian-rockchip
<DC-IRC> [Discord] <efectn> Does anyone here use usbc with mainline rk3588 and know what its situation?
<DC-IRC> [Discord] <superkali> I tried on NanoPC T6 LTS and works without any issue, but just in one orentation.
<DC-IRC> [Discord] <superkali> I tried on NanoPC T6 LTS & non-LTS and works without any issue, but just in one orentation.
<DC-IRC> [Discord] <superkali> I tried on NanoPC T6 LTS & non-LTS and works without any issue, but just in one orientation.
<DC-IRC> [Discord] <superkali> Taken from the post of pardini
<DC-IRC> [Discord] <efectn> Thanks i need more debugging to fix usbc on my boards then
<DC-IRC> [Discord] <beohoff3174> I tried to hook usb-c to usb-c and it started throwing driver errors for me on resume. But that was 6 months ago and might not have been on mainline
<DC-IRC> [Discord] <beohoff3174> I tried to hook usb-c to usb-c as a usb gadget and the rk3588 started throwing driver errors for me on resume of the other linux system (a laptop). But that was 6 months ago and might not have been on mainline
<DC-IRC> [Discord] <beohoff3174> I tried to hook usb-c to usb-c as a usb gadget and the rk3588 started throwing driver errors for me on resume of the other linux system (a linux laptop). But that was 6 months ago and might not have been on mainline
<DC-IRC> [Discord] <n4cnr> morning
<DC-IRC> [Discord] <n4cnr> so I am noticing a small issue and not shure if its the dtb or pipewire
<DC-IRC> [Discord] <n4cnr> but with aplay -l
javabean has quit [Ping timeout: 276 seconds]
<DC-IRC> [Discord] <n4cnr> ok so on rk3588 boards / dtb are the hdmi audio not yet supported or is it only via the soundcard now
<DC-IRC> [Discord] <superkali> Not all board support hdmi audio on mainline, after, specify too the board you're trying to use it, maybe on dts is not enabled.
<DC-IRC> [Discord] <n4cnr> I dont see a dts for sound . and the pipewire sees the chip. but I get no audio out of the headphone jack or the hdmi
<DC-IRC> [Discord] <n4cnr> I did not know they had moved sound to a dtbs file
<DC-IRC> [Discord] <n4cnr> but I will dig more
<DC-IRC> [Discord] <superkali> You still not mention which boards..
<DC-IRC> [Discord] <n4cnr> cm3588-nas
<DC-IRC> [Discord] <n4cnr> sam as the nanopct6
<DC-IRC> [Discord] <superkali> kernel edge? version?
<DC-IRC> [Discord] <n4cnr> current
<DC-IRC> [Discord] <n4cnr> as of right now I am using a usb soundcard to get audio
<DC-IRC> [Discord] <superkali> current not support hdmi sound
<DC-IRC> [Discord] <superkali> only newer kernel support it where is enabled
<DC-IRC> [Discord] <superkali> like 6.14.5 that's edge
<DC-IRC> [Discord] <n4cnr> so 6.13 or 14
<DC-IRC> [Discord] <superkali> 6.14.5 is the latest on armbian
<DC-IRC> [Discord] <n4cnr> ok I will have to build a kernel and update
<DC-IRC> [Discord] <superkali> you need maybe enable the node hdmi0_sound on dts
<DC-IRC> [Discord] <superkali> i don't remember if is enable because was mainlained the dts
<DC-IRC> [Discord] <superkali> https://github.com/armbian/build/pull/8150 here
<DC-IRC> [Discord] <superkali> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm64/boot/dts/rockchip/rk3588-friendlyelec-cm3588-nas.dts?h=v6.14.5 i don't see the hdmi0_sound node enable so you've to create a patch and try it
<DC-IRC> [Discord] <superkali> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm64/boot/dts/rockchip/rk3588-friendlyelec-cm3588-nas.dts?h=v6.14.5 i don't see the hdmi0_sound node enabled so you've to create a patch and try it
<DC-IRC> [Discord] <n4cnr> well I have no background in the kernel
<DC-IRC> [Discord] <n4cnr> but I do now have to find out why the sound is not working on the headset
<DC-IRC> [Discord] <n4cnr> so I will still have to build a edge kernel
<DC-IRC> [Discord] <superkali> just add:
<DC-IRC> [Discord] <superkali> &hdmi0_sound {
<DC-IRC> [Discord] <superkali> status = "okay";
<DC-IRC> [Discord] <superkali> };
<DC-IRC> [Discord] <superkali> on dts and try if it works
<DC-IRC> [Discord] <n4cnr> will when I build the kernel
<DC-IRC> [Discord] <n4cnr> at the min still compiling the xfce-labwc build we are workign on
<DC-IRC> [Discord] <n4cnr> I am on the kde-neon I built today and thus far I like it alot
<DC-IRC> [Discord] <n4cnr> on tne cm3588
<DC-IRC> [Discord] <n4cnr> going to look at installing it on the emmc
<DC-IRC> [Discord] <superkali> poorly emmc
<DC-IRC> [Discord] <superkali> 😦
<DC-IRC> [Discord] <n4cnr> ?
<DC-IRC> [Discord] <n4cnr> emmc = /boot nvme =/root
<DC-IRC> [Discord] <superkali> ah ok
<DC-IRC> [Discord] <superkali> I have never used emmc, also because then they deteriorate over time
<DC-IRC> [Discord] <n4cnr> as there is no other loader to make it boot just nvme yet
<DC-IRC> [Discord] <superkali> i using SPINOR for bootloader and nvme for system
<DC-IRC> [Discord] <superkali> but recently i have migrate system on sd card
<DC-IRC> [Discord] <n4cnr> you cant on the cm3588-nas
<DC-IRC> [Discord] <superkali> because i running virtual machine on nvme
<DC-IRC> [Discord] <superkali> i'm using nano pc t6
<DC-IRC> [Discord] <n4cnr> yes and you can there beause it has spi-nor
<DC-IRC> [Discord] <superkali> yes
<DC-IRC> [Discord] <n4cnr> the cm3566-nas does not
<DC-IRC> [Discord] <n4cnr> so no wat around it
<DC-IRC> [Discord] <superkali> this is my currently partition setup
<DC-IRC> [Discord] <n4cnr> wat/way
<DC-IRC> [Discord] <n4cnr> ahh
<DC-IRC> [Discord] <superkali> never used emmc
<DC-IRC> [Discord] <n4cnr> well I am not shure yet of my nvme setup
<DC-IRC> [Discord] <superkali> i wont kill it hahaha
<DC-IRC> [Discord] <n4cnr> with it only unis /boot mainly as a read it almost never write to it so it wold last a long time
<DC-IRC> [Discord] <n4cnr> so you put a micro nvme and a fullsize nvme in yours
<DC-IRC> [Discord] <n4cnr> and no wifi
<DC-IRC> [Discord] <superkali> SD card only for system, nvme drive for VMs
<DC-IRC> [Discord] <superkali> best setup
<DC-IRC> [Discord] <n4cnr> ok
<DC-IRC> [Discord] <superkali> if the nvme die, the system keeps running
<DC-IRC> [Discord] <n4cnr> well at this point I am just working to test the desktops for wayland and get them moving forward
<DC-IRC> [Discord] <n4cnr> I have never had a nvme die
<DC-IRC> [Discord] <n4cnr> and if the sd card dies you just reflash and reload
<DC-IRC> [Discord] <n4cnr> or you make a backup of your device
<DC-IRC> [Discord] <fbernier> sdcards degrade the same way as emmc no ?
<DC-IRC> [Discord] <superkali> but you cannot replace it easily
<DC-IRC> [Discord] <superkali> Some boards have emmc built-in on the board..
<DC-IRC> [Discord] <n4cnr> well it depends on the board
<DC-IRC> [Discord] <n4cnr> odroids and some others its a easy swap for emmc
<DC-IRC> [Discord] <n4cnr> and I wish that other boards had gone this route
<DC-IRC> [Discord] <superkali> i didn't see any rk3588 board that have emmc swap..
<DC-IRC> [Discord] <n4cnr> no
<DC-IRC> [Discord] <n4cnr> and its stupid they did not do this
<DC-IRC> [Discord] <superkali> maybe orangepi, idk
<DC-IRC> [Discord] <superkali> exactly..
<DC-IRC> [Discord] <superkali> i see orange pi they permit swap emmc
<DC-IRC> [Discord] <n4cnr> the issue I also find is with the emmc hard on the board there is more heat unless you put a copper plate over it
<DC-IRC> [Discord] <fbernier> I have an orangepi 5 max and I just had to plug the emmc in a socket
<DC-IRC> [Discord] <superkali> not all boards permit it
<DC-IRC> [Discord] <fbernier> ah interesting
<DC-IRC> [Discord] <n4cnr> nice
<DC-IRC> [Discord] <superkali> usually is soldered on the board
<DC-IRC> [Discord] <n4cnr> thast a good design
<DC-IRC> [Discord] <n4cnr> friendlyelec has not adopted this function yet
<DC-IRC> [Discord] <superkali> yes...
<DC-IRC> [Discord] <n4cnr> I wish they would
<DC-IRC> [Discord] <n4cnr> Charlie says he will talk to bing about it
<DC-IRC> [Discord] <n4cnr> Bing is the Owner