libera/#devuan-arm/ Thursday, 2021-05-27

c0rneliustuxd3v__: Yeah I don't know. I'd be happy you got the wifi working.00:08
c0rneliusExcept for mild experimenting on the NEO Plus2 I rarely bother really trying to make it work anymore.00:10
c0rneliusPersonally I think something needs to be patched kernel side.00:10
c0rneliusExample on the NEO plus2 - https://github.com/pyavitz/debian-image-builder/blob/feature/patches/allwinner/nanopi/nano_pi_neo_plus2_bluetooth.disable00:12
c0rneliusBut it makes the board run unstable00:12
zmomentTenkawa: when unzipped, the devuan_beowulf_3.1.0_arm64_rpi3.img.zip created a 32010928128 bytes file.  I unzipped it again and it generates an image of 1.9GB.   Don't know what happened.00:18
zmomentc0rnelius: the  armv8 that you support are the ones in https://github.com/pyavitz/rpi-img-builder/releases/download/images/ ?  Both the devuan and the others?00:24
tuxd3v__this should be in the minumum 1.1 volts00:24
tuxd3v__its for supply power to cpu00:24
tuxd3v__the max 1.3v00:24
tuxd3v__but there are a patch that has a rampdelay of 50 uv/yS00:25
tuxd3v__but there are a patch that has a rampdelay of 50 uv/uS00:25
c0rneliuszmoment: yeah armv8 and armv6. I don't support the v7's kernel wise as I'm only one person :)00:25
tuxd3v__but looking at it it gives me in 4ms only o.2volts00:25
c0rneliusAt that would mean compiling things twice and blah blah and I just don't wanna deal with it. People can make their own though.00:26
zmomentI'll use that armv8 for my RPi3B+.  Thank you .00:31
tuxd3v__yeah it gives a lot of trouble to support all arm32, aarch32, then armv8, and some day who knows armv9.. I don't expect that soon..00:32
zmomentI'm used to Linux, not to debian/devuan.  Last time I used debian was maybe sixteen or seventeen years ago.00:32
tuxd3v__zmoment, that is a long time :)00:32
tuxd3v__c0rnelius, the patch includes this: https://paste.debian.net/hidden/68ce7fcd/00:33
tuxd3v__I am thinking in trying something there to see if I can get bluetooth power sequence right..00:34
c0rneliustuxd3v__: https://github.com/armbian/build/blob/master/patch/kernel/archive/sunxi-5.10/board-h3-nanopi-neo-air-add-camera-wifi-bluetooth-otg.patch00:40
tuxd3v__c0rnelius, thanks :)00:44
c0rneliusyep00:44
tuxd3v__I am using majority of things from there..00:44
tuxd3v__but I am including in the uart3 the bluetooth inside, but by some strange factor it doesn't upload the patch and put bluetooth up00:45
tuxd3v__armbian on the otherside describe uart3, but doesn't put bluetooth inside.. II think they are doing later when system comep up:00:46
tuxd3v__hciattach /dev/serial3 bcm43xx 921600 noflow - $BDADDR00:47
tuxd3v__its another way..00:47
c0rneliusYes this is like how it needs to be done on the a64 module00:47
tuxd3v__and probably one that works.. I need to cjeck their image00:47
c0rneliusyou need a helper script00:47
c0rneliusWhat it would be for that board I don't know though?00:47
c0rneliusfor the a64 module its something like this - https://github.com/pyavitz/debian-image-builder/blob/feature/lib/function/allwinner#L58100:48
tuxd3v__For bananapi m2 zero and for nanaopi neo Air, I am doing it in aother way:01:18
tuxd3v__this case if for nanopi nei Air: https://paste.debian.net/hidden/f26c5ea2/01:18
tuxd3v__it in theory should load the module automatically without any helper01:18
tuxd3v__it works fine in bananapi m2 zero01:18
tuxd3v__but not in neo Air, only maybe 1 work in 100 tries..01:19
tuxd3v__The other wau to do it, is describing only uart3, and then do like you say, I need yet to experiment with that version to see if I get bluetooth reliably :)01:20
tuxd3v__its a option indeed :)01:20
tuxd3v__c0rnelius, I am with a kernel that doesn't have bluetooth defines in DT, only partially for rfkill05:21
tuxd3v__but the think is..05:22
tuxd3v__ttyS3 does indeed apear now under /dev/ttyS305:22
tuxd3v__but the device gives timout..05:22
tuxd3v__its also impossible to reset the device05:23
tuxd3v__2 diferent ways:05:23
tuxd3v__https://paste.debian.net/hidden/e5e95419/05:44
tuxd3v__There seems to be "something in the water"..05:44
tuxd3v__do you remember that patch... yeah tomorow I will try it in the bluetooth tools05:45
tuxd3v__https://gitea.devuan.org/tuxd3v/bluez/src/branch/master/debian/patches/cypress_bluetooth_broadcomm.patch05:45
tuxd3v__but in this case I need to better look at it..05:46
tuxd3v__because the device in case has diferent vendor id..05:46
tuxd3v__for what I inderstand the protocol used should be 'HCI_UART_H4', but I don't know if the system knows how to reset the device..05:50
tuxd3v__the kconfig is 'CONFIG_BT_HCIUART_BCM'05:55
tuxd3v__ShorTie, hold yourself tight :)06:34
tuxd3vsomething in the water during the night..18:43
tuxd3vleft my system compiling a new kernel, and wen I wake up system have rebooted :S18:43
tuxd3vI loged in, and I was in a diferent operating system..crazy thing..18:44
tuxd3vprobably my cat during the night took my keyboard as a piano18:44
tuxd3v:S18:44
Tenkawafmha18:47
Tenkawaer ha18:47
Tenkawasounds like my cats18:47
tuxd3vyeah, almost for sure he made his kungfu on my keyboard..18:47
tuxd3vTenkawa, c0rnelius I believe bluetooth is being activated before fylesystem..19:56
tuxd3vfilesystem*19:56
tuxd3vand at that phase there are no patch to load to bluetooth device..19:57
tuxd3vthere are not yet a filesystem to load patch from..19:57
tuxd3vnow, I can sort that out, maybe loading the firmware for bluetooth in the kernel19:58
tuxd3vin that way it got loaded after uboot..19:58
Tenkawatuxd3v: doesn't work that way20:00
Tenkawait either all gets loaded at kernel load time, at module load time, r at initrd load time20:01
Tenkawas/r/or20:01
tuxd3vkernel is loaded in memory first in the uboot process..20:01
Tenkawanot the userland20:01
tuxd3vit then will parse the device tree20:01
Tenkawano20:01
tuxd3vbut at that time there are not yet a fylesystem in place to load the firmware patch20:02
Tenkawauserland for the bt is only activated once needd20:02
Tenkawaand you havent made a call to it yet20:02
tuxd3vin my case is automatically loaded via device tree:https://paste.debian.net/hidden/f14b66ee/20:05
tuxd3vI could be wrong and it has nothing todo with it, but its a possibility20:05
tuxd3vI retired a lot of bluetooth drivers from kernel20:06
tuxd3vit has giving support to virtually any tipe of device availlable, and I only have one fixed device, so I checked dependencies for my device and disabled other kernel modules..20:06
tuxd3vnext step, load the firware in kernel20:07
tuxd3vfirmware*20:07
tuxd3vto try to validate my theory20:07

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!