libera/#devuan-arm/ Tuesday, 2021-11-30

VallFaling that, is there a good mirror I can download locally to try and achieve the same?00:10
gnarfacearm-files.devuan.org00:37
gnarfaceand sorry, i think the answer is no00:49
gnarfacei think these are all in the form of pre-installed disk images00:49
c0rneliustasksel I think is broken by default when pulled in from debootstrap. So you could sudo apt purge -y tasksel --autoremove; sudo apt install -y tasksel; sudo tasksel00:58
c0rneliusThat will give you a select of desktops and what not available to you for easy install.00:58
c0rneliusJust know it will also drag in everything under the sun :)00:59
rrqVall: I added the arm64-pool branch to the devuan/installer-iso project, and used that to prepare a pool ISO with the 5000 "most popular" packages..10:34
rrqat https://charla.rrq.id.au/download/devuan/10:35
Vallrrq: many thanks!16:40
VallChecking it out now16:40
Vallrrq: this would be the deb-containing image, right? devuan_chimaera_4.0_arm64_pool1.iso16:41
Vallgnarface: no prob, and thanks for the ref to arm-files.devuan.org16:47
steevc0rnelius: that radxa firmware - why do you pull in the ene firmware manually instead of firmware-nonfree?  that firmware hasn't been touched in 10 years20:42
c0rneliussteev: I haven't received the board yet. The firmware I've pulled together is preemptive and researched online.20:46
steevah, got ya20:47
steevwhcih one are you getting?20:47
c0rneliusI do pull in firmware-nonfree though20:47
steevi've got an 2G/8G and a 4G/128G20:47
c0rnelius4GB 16eMMC20:47
steevc0rnelius: i was meaning https://github.com/pyavitz/debian-image-builder/commit/a1ae645fecf00b53ac25511315ea1fa5fdba2a0e#diff-86e3d650ad1353f5fee7c6066c889f3c7c40ba4c7c3b5aaf9b42bd98b7fc4979R234-R240 - those firmware are in firmware-nonfree and haven't been touched in 10 years (according to the path history of the URL you pull them from :) )20:48
c0rneliussteev: Does the board have any reboot/shutdown problems?20:48
steevc0rnelius: sort of20:48
c0rneliusI thought so20:48
steevthere seems to be some vampiric draw from my hdmi monitor20:48
steevif hdmi isn't connected, it reboots/shuts down fine20:49
steevif hdmi is connected, reboot just shuts it down20:49
c0rneliusOh ur referring to ene-ub625020:49
steevyeah, sorry that wasn't more clear :)20:49
c0rneliusOh I just dropped that in. I'm not even sure if I need it yet.20:50
steevgot ya20:50
steevis that what that revert is supposed to help? the shutdown20:51
steevi'm currently just running their kernels (but my own dtb)20:51
c0rneliusI'm hoping yes20:51
steevi'd asked about it a few weeks ago in #linux-amlogic20:51
c0rneliusWon't know till someone tests or I get the board20:51
steevnever got any response20:51
steevi haven't tried a mainline kernel just yet20:52
c0rneliusI'm not even sure if I got the boot fips right :) But it seems to build ok.20:52
c0rneliusmight actually need to only revert this -> https://github.com/pyavitz/debian-image-builder/blob/feature/patches/amlogic/radxazero/003-revert-meson-drv-shutdown.patch#L2520:54
c0rneliusOn the odroids the full patch needs to be applied though.20:54
c0rneliusand Oh yeah... When making Ubuntu imgs I don't pull in the Ubuntu firmware package as its something retarded like 600MB or more extracted. Thats why I drag that in.`ene-ub6250` I do the same for the other amlogic socs or else initramfs complains.21:07
steevoh, yeah that's a good reason to do it21:08
steevubuntu's firmware package is all the firmware, i always forget about that21:09
steevfwiw, i'm able to build u-boot jsut fine... but all i get is a magenta screen on hdmi21:09
steevi haven't researched it further as was building up to our 2021.4 release21:09
steevnow that is complete on my end, i can focus on this, might do it over my vacation21:10
c0rneliusThe RC?21:10
steevit could be that running the fip stuff through qemu is what is breaking it21:10
steevour  = kali21:10
steevhttps://gitlab.com/kalilinux/build-scripts/kali-arm/-/merge_requests/297/diffs is my initial stuff21:11
c0rneliusIt looked to me that the application of the fips were exactly like that of say the C4. So I just napped the fips from chewitt and used the same score.21:11
steevi haven't looked at what you do there, but is the c4 similar to the c2?21:11
c0rneliushttps://github.com/pyavitz/debian-image-builder/blob/feature/lib/function/uboot#L70521:12
c0rneliusWhen building it looks fine. I just of course can't test it.21:12
c0rneliusyet21:12
steevhttps://github.com/afaerber/meson-tools21:13
steevgot a download? i can slap it on my 2g/8g21:13
steevsee if it does anything21:13
c0rneliusyou mean pre-compiled? u-boot bins21:14
c0rneliusor an actual whole img?21:14
steeveither/or21:15
steevone other thing i need to track down at some point, is why sway, or something sway-ish keeps crashing on it21:15
c0rneliusI can make an img real quick.21:16
steevno rush21:17
c0rneliusI made one yesterday just to make sure I didn't break the builder. Won't be long.21:18
c0rneliusI'll just do a fresh one with the newer shit added.21:19
c0rneliusall but that revert patch anyway21:19
steevsounds good21:19
steevi can try on both sdcard and emmc; it bothers me that the address might be different between them21:20
steevi couldn't exactly tell21:20
steevhttps://wiki.radxa.com/Zero/dev/u-boot says count=444, somewhere else completely skips it21:23
c0rneliuswhats the lsblk21:32
c0rneliusI still don't know what number the eMMC sits on21:32
steevon a system just booted from emmc it's mmcblk221:33
steevhttps://bpa.st/QDVQ21:33
c0rneliusthanx21:33
c0rneliusare they using vfat for the boot partition?21:35
steevsadly21:36
c0rneliuseither way I'll need to add the board to the write2mmc script. Good to know its on mmcblk2.21:36
steevactually21:36
steev /dev/mmcblk2p1 *      32768   1081343   1048576   512M ef EFI (FAT-12/16/32)21:36
steev /dev/mmcblk2p2      1081344 241662047 240580704 114.7G 83 Linux21:36
c0rneliusinteresting21:37
steevi thought so too21:37
steevbut it is just vfat21:37
c0rneliusI looked over one the imgs and noticed it was missing when mounted so I figured EFI was at play there.21:39
c0rneliussdcard only. If it boots, ur login is: steev:board --> https://github.com/pyavitz/binary/releases/download/060420/g12a-radxa-zero-debian-bullseye-5.15.5-2021-11-30.img.xz21:40
steevcool, will give it a spin21:41
c0rneliusthanx21:41
steevbtw https://github.com/radxa/radxa-zero-images-released/releases some of those files are helpful21:41
steevparticularly the rz-blah.bin21:42
steevfastboot, obviously, to put it into fastboot mode, and udisks makes it show up as, well, a usb drive21:42
c0rneliusAdded to the reading list, thanx.21:42
steevthat's for use with pyamlboot or whatever it was21:43
c0rneliusI really know nothing about the board. Just that I ordered one and figured I would start work on getting something in place before I needed to do some trouble shooting.21:44
steevi do that too21:44
steevbtw, the hdmi thing21:44
steevit happens whether i have microhdmi plugged in to hdmi or dvi, so21:44
c0rneliusWell considering the board isn't rreally supported yet in current stable mainline linux or uboot I'm sure its got tons of problems.21:45
c0rneliusand looks like most of those efforts are the usual suspects. armstrong and chewitt.21:46
steev5.16 should have a dts21:56
steevOr maybe it’s 5.1721:56
steevIs First Boot one of your services?21:56
steevI can’t tell if it’s booting from sdcard or from the emmc. I stupidly just wrote to the emmc too21:57
steevNot the image you gave, I meant I’d just written one of Radxa’s21:57
steevI don’t have headers on mine, sadly, and I dunno where the fuck the headers I ordered off Amazon are. The post office seems to have lost them21:59
c0rneliusYes firstboot and credentials is a service22:01
steevit seems to just be... running22:01
c0rneliusfirstboot won't write to it, but will check it to see if needs to be grown.22:02
c0rneliusWell... We know it boots :)22:02
steevindeed :D22:02
c0rneliusProbs because of the fat partition on the MMC22:02
steevhttps://usercontent.irccloud-cdn.com/file/DqYXuoir/1638306175.JPG22:02
steevI wish there was a way to cancel22:03
c0rneliushmm22:03
c0rneliusI bet its because of that fat partition.22:03
steevSuppose I could mount the partition and remove the service22:04
c0rneliusI guess I need to re-write that stupid script now22:04
c0rneliushttps://github.com/pyavitz/debian-image-builder/blob/feature/files/scripts/firstboot22:04
steevI just use the growpart script from cloud-guest-utils (without pulling it in because of the god awful amount of dependencies)22:04
c0rneliusbecause I added the pi4 I put in all these if and fi22:05
c0rneliusIts probs confused22:05
c0rneliusI didn't think anyone was using vfat anymore expect the foundation. :\22:06
c0rneliusexcept*22:06
c0rneliustry hitting space or enter a bunch of times22:06
c0rneliusmight cacnle it22:06
c0rneliuscancel*22:07
steevhttps://usercontent.irccloud-cdn.com/file/NHj3ECiG/1638306466.JPG22:07
steevI just powered it off, fscked, mounted and removed the first boot service22:08
c0rneliusnice22:08
c0rneliusI think if I just remove this -> https://github.com/pyavitz/debian-image-builder/blob/feature/files/scripts/firstboot#L3022:08
c0rneliusprobs solved22:08
c0rneliusits looking somewhere a pi wouldn't anyway22:09
c0rneliusdoes wifi / bluetooth work?22:09
steevLooks quite good, though, no nmcli22:09
c0rneliusswh -h22:09
c0rneliusgive access to the wpa and interfaces file22:10
c0rneliusmight need to manually adjust /etc/default/crda though22:10
c0rneliusShit I'm just happy I got uboot/fips right :) You the man for testing. Thank you so much. The little stuff I can easily sort out.22:13
c0rneliusDo you know if it clocks higher then 1800000?22:14
steevBluetooth not working (not blocked either)22:16
steevI don’t know if it does22:16
steevI mean I guess you technically could22:16
steevI don’t know how stable it would be22:16
steevI run schedutil on my personal one, mostly so that it idles at 100mhz instead of the default22:17
steevAlso 5.15 is very unhappy with my ssd :(22:18
steevBut that’s likely because I’m currently powering it off a MacBook USB port22:18
steevYeah that was it22:20
steevoh22:22
steevbooted from your sdcard, the sdcard is mmcblk1, and the emmc is mmcblk022:22
c0rneliusAlright the good info22:23
c0rneliusthen/thats*22:23
c0rneliusThey are probs using some vendor uboot22:24
steevhttps://paste.debian.net/1221422/22:24
steevdmesg output22:24
c0rneliusCMA memory pool looks good22:24
steevBCM4345C5.hcd22:26
steevit looks for the blueooth firmware to be named that22:26
c0rneliusyeah I was just looking at that22:27
c0rneliusi have it symlinked -> https://github.com/pyavitz/firmware/tree/radxa/ap625622:28
c0rneliusmaybe its broken22:28
c0rneliusor I should symlink it into brcm22:28
c0rneliusDoesn't look to bad for a first run.22:30
steev5.15 doesn't look in /lib/firmware/ap625622:30
steevit looks in /lib/firmware/brcm22:31
c0rneliusGotcha22:31
steevlet me reboot it22:31
steevoh22:32
steevyours seems to reboot properly22:32
c0rneliusWell I wasn't sure if I was gonna need to patchram the thing like with NEO plus222:32
c0rneliusSo I just did whatever. Reboots huh?22:32
steevreboots properly yeah22:32
c0rneliusnice22:32
steevcreated the symlink under brcm and bluetooth works22:33
steev[bluetooth]# list22:33
steevController D4:9C:DD:A1:64:71 rzero [default]22:33
c0rneliusnicee....22:33
steevnow i just need to look at what you're doing and do the same :P22:34
c0rneliusOk so... adjust firmware, correct first boot and apparently mainline MMC#s are completely different.22:35
c0rneliusI'm willing to bet if you never had vendor shit on the mmc firstboot would have been fine.22:36
c0rneliusBut I should and probs remove that anyway.22:36
steevthat's possible too yeah22:37
c0rneliusI really appreciate you testing this. Thank you.22:38
steevno problem22:38
steevit helps me too :D22:38
c0rnelius;)22:38
steevit lets me know where i did dumb shit :D22:38
steevprotip : everywehre22:38
c0rneliusI'm just winging it, bud.22:41
steevme too22:41
steevboot.cmd  factory-loader.img  fip  mainline-u-boot  rz-fastboot-loader.bin  rz-udisk-loader.bin  u-boot  update_extlinux.sh  update_uenv.sh  zz-uncompress  zz-update-extlinux  zz-update-uenv22:41
c0rneliusTenkawa was like I order the board! So I was like, fuck it I'll order one too and put that together in a few hours.22:42
steevignoring factory-loader, and uboot stuffs22:42
steevthosse were the files i found interesting in their debian image22:42
steevupdate_extlinux seems odd as their image does *not* use it22:42
steevit uses the boot.scr and uEnv.txt file22:42
c0rneliusYeah I saw all that stuff on their imgs22:42
c0rneliusand didn't get why it was there22:42
steevbased on having worked at a vendor.....22:43
steevthey didn't know better22:43
c0rneliusThats why they drop donations over at Armbian and Libre/CoreELEC22:43
steevi mean, the boot.scr is22:43
steevbasically from the c422:43
steev# odroid c4 legacy kernel values from boot.ini22:43
c0rneliusyeah but boot.scr is so old school.22:43
steevis a comment in the boot.cmd22:43
steevyeah i know22:44
steevold habits die hard for some folk22:44
c0rneliusI disliked it before it was popular not to like it :)22:44
c0rneliusstupid file22:44
c0rneliusLets drop a binary file in here for some stupid reason? How about we don't.22:45
steevoh i absolutely hated it too22:45
steevbut distro_bootcmd or whatever the argument is, didn't exist way back when22:46
c0rneliustrue22:46
c0rneliusAlso not a fan of the boot.ini file either. But I let that one slide for now.22:46
steevto be fair i am talking about when i was a vendor dev... back in 2010 or so22:46
steevoh!22:47
steevthat reminds me of something i want to test on yours22:47
steevaudio is broken downstream22:47
steevjust need to swap the dvi for the hdmi cable, but i'm doing stuff on the other one at the moment so i can't22:47
c0rneliusGotcha. I never dealt in vendor stuff. I just hobby my way through it all.22:48
c0rneliusKool. Let me know,22:48
steevi turned the vendor down many many times because it was my hobby until they literally asked "what will it take for you to not say no" for the job22:48
c0rneliusWell... If they offered me real money I was would probs take the job.22:53
c0rneliusI would still suggest we move forward.22:53
c0rneliusI think a lot of this vendor shit is because they wanna support android which in my opinion is fine and all, but thats not where the rest of the production should be stuck at.22:54
c0rneliusWe all know Android is in its own little fantasy land.22:55
steevfor big vendors, kinda yeah.  for little vendors, it's more about not having the resources to both release a *fully working* device, and chase mainline22:55
steevlike, if the mainline devs nak a patch that you need for your hardware to work... you're screwed22:56
c0rneliusWell maybe thats why they should hire us to chase the dragon :D22:56
steevwhich, is what happened to us at genesi with the efikamx22:56
steevwe needed some quirk added to the usb driver, and they refused to because they interpreted the usb spec differently and refused to add it22:56
c0rneliusWell thats just dumb22:57
c0rneliusand not forward thinking22:57

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