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
_whitelogger has joined #armbian-rockchip
<DC-IRC> <bubbajaysmith> any chance you have arduino or rpio gpio / dupont cables ? My ftdi adapters don't have any molded connectors, but even if yours does, female to male should adapt fine.
<DC-IRC> <tenkawa42> I have some buried somewhere.....
<DC-IRC> <tenkawa42> I'll buy some more if I need to
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-rockchip
Ark74 has quit [Read error: Connection reset by peer]
Ark74 has joined #armbian-rockchip
<DC-IRC> <mosquitoattacks> https://discord.gg/xxxboobs @everyone @here
<juri_> hmm. no nanopi r5c image?
<DC-IRC> <lanefu> yeah the r5's ended up not getting much armbia n attention
<DC-IRC> <lanefu> i added CSC support for r5s for edge kernel
<DC-IRC> <tenkawa42> @lanefu check it out
<DC-IRC> <lanefu> but would be easy to flip the device tree
<DC-IRC> <lanefu> ```
<DC-IRC> <lanefu> root@clammy-ng:/boot/dtb/rockchip# ls *r5*
<DC-IRC> <lanefu> rk3568-nanopi-r5c.dtb rk3568-nanopi-r5s.dtb
<DC-IRC> <lanefu> ```
<DC-IRC> <tenkawa42> uname -a ; dmesg | grep model ; df -m | grep nvm
<DC-IRC> <tenkawa42> Linux rock5-1 6.7.0-rc3+ #1 SMP Mon Nov 27 15:12:55 EST 2023 aarch64 GNU/Linux
<DC-IRC> <tenkawa42> [ 0.000000] Machine model: Radxa ROCK 5 Model B
<DC-IRC> <tenkawa42> /dev/nvme0n1p2 468990 11715 438172 3% /
<DC-IRC> <tenkawa42> /dev/nvme0n1p1 496 71 426 15% /boot
<DC-IRC> <tenkawa42> That collabora defconfig is "really" odd thougg
<DC-IRC> <lanefu> yeah i played iwth it over the weekend. it's looking good.. even ran VM's on nvme
<DC-IRC> <tenkawa42> That collabora defconfig is "really" odd though... it needs a lot of tweaking
<DC-IRC> <lanefu> yeah i'm sure it needs to be updated
<DC-IRC> <tenkawa42> It has way too much extraneous stuff and doesn't include some needed base from their git repo by default
<DC-IRC> <tenkawa42> It includes SoC =y for almost every ARCH which is kind of a waste
<DC-IRC> <lanefu> you're using this one https://github.com/armbian/build/blob/main/config/kernel/linux-rockchip-rk3588-collabora.config or just straight from their tree?
<juri_> I think i'll add this to my "support me please" pile, when i know what's going on with my hands. i have a nerve conductivity test wednesday, wish me luck.
<DC-IRC> <lanefu> juri_ hope the nerve test gives good info
<DC-IRC> <tenkawa42> @lanefu we were using collaboras... this is not for Armbian
<DC-IRC> <tenkawa42> So you probably already had to filter through it before
<DC-IRC> <lanefu> yeah although i dunno how much housekeeping i did TBH
<DC-IRC> <tenkawa42> well the default one from https://gitlab.collabora.com/hardware-enablement/rockchip-3588/linux.git is horrible...
<DC-IRC> <tenkawa42> just a few lines...
<DC-IRC> <tenkawa42> CONFIG_ARCH_ACTIONS=y
<DC-IRC> <tenkawa42> CONFIG_ARCH_SUNXI=y
<DC-IRC> <tenkawa42> CONFIG_ARCH_ALPINE=y
<DC-IRC> <tenkawa42> CONFIG_ARCH_APPLE=y
<DC-IRC> <tenkawa42> CONFIG_ARCH_BCM=y
<DC-IRC> <tenkawa42> why oh why
<DC-IRC> <tenkawa42> ....
<DC-IRC> <tenkawa42> completely unneeded
<DC-IRC> <tenkawa42> as you see... I also updated it to rc3 as well.. that patched with no problems at all
<DC-IRC> <lanefu> well if you were making a real UEFI ARM kernel you'd probably want toleave those on and see what pukes
<DC-IRC> <tenkawa42> no you don't..
<DC-IRC> <tenkawa42> you do "not" want to make heavy kernels...
<DC-IRC> <tenkawa42> You are going to do nothing but kill your system performance and troubleshooting problems by adding all that extraneous code
<DC-IRC> <tenkawa42> This whole UEFI thing is a "excuse" to not be diligent with the code and setups.
<DC-IRC> <lanefu> yeah I know it's bloated as fuck compared to a SoC optimized kernel... but If I'm a person doing mainline work, I'd assume I have some sort of responsibility to makes sure I don't break a bloated kernel
<DC-IRC> <tenkawa42> haahaa.... at least its not Cyrix right???
<DC-IRC> <tenkawa42> lol
<DC-IRC> <lanefu> truth
<DC-IRC> <lanefu> i built a 6x86 P166+ in highschool 😛
<DC-IRC> <lanefu> and it was an IBM stamped chip
<DC-IRC> <tenkawa42> yeah...
<DC-IRC> <tenkawa42> I remember those
<DC-IRC> <lanefu> was $5 cheaper
<DC-IRC> <tenkawa42> haahaa
<DC-IRC> <tenkawa42> in todays money... $75 cheaper lol
<DC-IRC> <tenkawa42> right?
<DC-IRC> <lanefu> lol pretty close
<DC-IRC> <tenkawa42> Now time to build a Edge2 image and see if it will boot
<DC-IRC> <lanefu> who's being doing the DT for edge2?
<DC-IRC> <tenkawa42> good q.. let me see if there's actually anything in there
<DC-IRC> <tenkawa42> not worth trying if its empty
<DC-IRC> <tenkawa42> well its got 3100 lines in the main dtsi and 36 in the board specific one
<DC-IRC> <lanefu> ready, fire, aim
<DC-IRC> <tenkawa42> Putting it on a microsd so not going to hurt to try heheh
<DC-IRC> <efectn> Probably it won't boot with sd card
<DC-IRC> <efectn> There are no sdmmc and pmic nodes
<DC-IRC> <tenkawa42> so the nodes in the dtsi are just placeholders still eh?
<DC-IRC> <efectn> Most of them are disabled by default
<DC-IRC> <efectn> They need to be configured and enabled on khadas' dts
<DC-IRC> <lanefu> juri_: looks like we can clone the r5s board config and change uboot defconfigname and dtb name to r5c and that's all thats needed
<DC-IRC> <tenkawa42> @efectn I'm not talking about Khadas's source.. I'm talking about mainline
<DC-IRC> <efectn> I mean khadas dts on mainline
<DC-IRC> <tenkawa42> grep sdmmc rk3588s.dtsi
<DC-IRC> <tenkawa42> pm_qos = <&qos_sdmmc>;
<DC-IRC> <tenkawa42> qos_sdmmc: qos@fdf3d800 {
<DC-IRC> <tenkawa42> sdmmc: mmc@fe2c0000 {
<DC-IRC> <tenkawa42> pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
<DC-IRC> <tenkawa42> It has sdmmc on the main dtso but nothing on the edge2 dts
<DC-IRC> <tenkawa42> It has sdmmc on the main dtsi but nothing on the edge2 dts
<DC-IRC> <efectn> For example pmic is necessary to make sdmmc working properly
<DC-IRC> <efectn> For example pmic is necessary to make sdmmc working proper
<DC-IRC> <tenkawa42> how is pmic working in the rk3588 then?
<DC-IRC> <tenkawa42> I would assume the 3588's use a pmic as well
<DC-IRC> <efectn> It's added as a chidld node to spi2
<DC-IRC> <efectn> It's added as a child node to spi2
<DC-IRC> <tenkawa42> thats a rk3588s.. not rk3588
<DC-IRC> <efectn> There is no difference. Most rk3588 sbc has single pmic
<DC-IRC> <efectn> There is no difference. Most rk3588(s) sbc has single pmic
<DC-IRC> <efectn> There are few SBCs have dual pmics
<DC-IRC> <efectn> There are few RK3588 SBCs have dual pmics
<DC-IRC> <tenkawa42> My point being I'm running 3588 live from Collabora right now on a Rock5
<DC-IRC> <tenkawa42> So is there a repo/source that would work at this point in time for Khadas's boards or are they still behind?
<DC-IRC> <c0rnelius77> I think what he is saying is; the current dts is super weak. it only has 37 lines. So it needs to be properly edited to at least add `status = okay` where that needs to be. at least on a basic level.
<DC-IRC> <efectn> I don't know if someone is working on mainlining edge2
<DC-IRC> <c0rnelius77> it looks like the dts file requires effort and the one in 6.7 is just super base.
<DC-IRC> <c0rnelius77> it looks like the dts file requires effort and the one in 6.7 is just super bas.
<DC-IRC> <lanefu> so much for _premium_
<DC-IRC> <lanefu> anyway i mean forreal tho. props to Raxda for paying collabora to do work
<DC-IRC> <tenkawa42> Yeah I've finally got something to really use my Rock5's for again
<DC-IRC> <lanefu> yeah i might finally retire midstream on my rock5b workers
<DC-IRC> <nottoosmart> Just reinstalled Armbian but this time with the desktop. After installing to eMMC and booting off of it successfully the wifi connection that was created before eMMC install is now gone. I did do the apt update and upgrade prior to pushing and it worked fine. any ideas?
<DC-IRC> <lanefu> odd... are you able to re-add the wifi connection?
<DC-IRC> <nottoosmart> no
<DC-IRC> <nottoosmart> its not even seeing the adapter
<DC-IRC> <nottoosmart> weird part is I boot from microsd and the adapter starts working again.
<DC-IRC> <lanefu> yeah must be some pain pint between SDIO wifi and the emmc
<DC-IRC> <nottoosmart> OliviaHarper@1
<DC-IRC> <lanefu> not that what I just said will help you
<DC-IRC> <nottoosmart> gotcha. ill keep working it
<DC-IRC> <lanefu> but that's probably the problem
<DC-IRC> <lanefu> yeah must be some pain point between SDIO wifi and the emmc
<DC-IRC> <nottoosmart> interestingly other OS's work...
<DC-IRC> <lanefu> `armbianmonitor -m`
<DC-IRC> <nottoosmart> im re-running the install push to eMMC. then ill try that
<DC-IRC> <nottoosmart> im pushing with armbian-install
<DC-IRC> <nottoosmart> interestingly enough, it worked
<DC-IRC> <nottoosmart> this is weirdest crap ever
<DC-IRC> <lanefu> lol
<DC-IRC> <nottoosmart> sometimes I miss my raspi. then i see the spec on this thing and i dont miss it at all lol
<DC-IRC> <christiancock> The issue was: IPv6 is enabled 🥲 Is there any software that I could use to edit /etc/sysctl.conf to disable Ipv6 in the actual .img file? (I'm on windows)
<DC-IRC> <tenkawa42> That doesn't sound right
<DC-IRC> <tenkawa42> IPV6 shouldn't stop usb from booting
<DC-IRC> <tenkawa42> that sounds like a red herring error
<DC-IRC> <tenkawa42> Are you netbooting only?
<DC-IRC> <christiancock> I connected to uart ttl debug interface and the system had booted. The reason I couldnt find it on the network was because it only got an IPv6 address. This image is a headless image if you call it that.
<DC-IRC> <tenkawa42> Well you said "IPV6 shouldn't stop usb from booting" ... thats not the case
<DC-IRC> <tenkawa42> it did not pick up a network address
<DC-IRC> <tenkawa42> There is a very distinct functional difference
<DC-IRC> <tenkawa42> If you picked up a ipv6 address you should still be able to access it via avahi (multicast dns)
<DC-IRC> <tenkawa42> @lanefu is avahi/mdns enabled by default on Armbian images
<DC-IRC> <tenkawa42> @lanefu is avahi/mdns enabled by default on Armbian images?
<DC-IRC> <tenkawa42> I know we do on our builder but I'm not sure about Armbian
<DC-IRC> <christiancock> Ok im gonna try that too. Im a noob on this field with SBCs without monitors 😆
<DC-IRC> <tenkawa42> @christiancock hopefully mdns is enabled then you can... I personally can't remember if Armbian enables it by default.. We do on another builder project I work on
<DC-IRC> <tenkawa42> @christiancock one other thing you can do if you have access is install WSL2 and mount up the card/drive with a reader on your Windows box that way too
<DC-IRC> <tenkawa42> WSL2 is quite handy and included with Win10/11
<DC-IRC> <tenkawa42> (you might need to install it though.. not always done by default)