libera/#devuan-arm/ Friday, 2021-08-20

agneliguys what is your view on pine devices?07:10
adhocagneli: some of them are good, some need more work on the user space software (apparently)07:13
adhocagneli: what are you aiming to do with them ?07:13
agnelithe incomming e-ink ;)07:32
agnelimy only question is privacy07:35
agneliare the things doing only what is expecting of them or is mr Xi already behind it07:35
agneliin theroy this is Hong-Kong...07:37
agnelibut what is the reality?07:37
agneliis there any chip like this minix crap for intel...07:38
adhocminix? like the teaching operating system?07:41
adhocgiven most of our modern processors and silicon is manufactured in Indonesia, Malaysia, Thailand, Vietnam, Tiwain and China ...07:42
adhocin chip back doors are probably no more a risk that any silicon made in the USA.07:43
agnelion every intel based mb you have a small chip containing minix os, that can access everyhting on the main os remotely07:45
agneliwithout it you cannot even boot the cpu07:45
agnelihttps://en.wikipedia.org/wiki/Intel_Active_Management_Technology#History07:46
agnelihttps://github.com/intel/INTEL-SA-00075-Linux-Detection-And-Mitigation-Tools07:47
agneliand many other links07:47
agnelilots of big companies are movint to Amd or even m107:47
agneli*moving07:47
agnelibut anyway... anybody done the comparison of provided schematisc with the real board, please? :)07:48
adhocah, I see07:55
agnelii think big chances are it is perfectly ok08:13
agneliso that would be a great great great device08:13
agneliI am a huge fan of e-ink08:13
agneliok maybe my eyes not directly me ;)08:13
adhocIhave been looking foward to a decent eink device08:17
agneliThis thing look great08:31
agneliand does not cost €1k like oxbook08:32
agneli+it has linux rather than android08:32
VallSo, I finally got my RPi4 8GB. It boots perfectly with the "official" OS (2021-05-07-raspios-buster-armhf-lite, downloaded from https://www.raspberrypi.org/software/operating-systems/) but *not* with Devuan (devuan_beowulf_3.1.0_arm64_rpi4.img.zip from https://arm-files.devuan.org/).12:13
VallI have no HDMI monitor (in fact I don't even own one), but what I see when trying to boot with the Devuan image above, is that the green LED blinks a couple of times (for less than about 3 secs) and then everything goes quiet.12:14
VallI strongly suspect this is because my RPi4 is revision 1.4, which needs specific firmware blobs/dtd/kernel/whatnot which are not in Devuan yet12:15
VallCan anyone help?12:15
Vallagneli: re: Pine, I analyzed  their Rock64 SBC very closely for a specific use here12:23
Vallagneli: great specs and great price, and specially useful for my use case, it was theoretically capable of X265 hardware encoding.12:24
Vall(or at least the manufacturer of its SoC, the RK3328, promised).12:24
VallBut after 3 years of promises, the manufacturer just reneged on them: https://github.com/HermanChen/mpp/issues/712:27
VallSo, I just discarded the Rock64 (along with anything with a Rockchip SoC).12:29
agnelithank you Vall13:26
agneliVall: did you try bootstraping and compiling your own kernel13:28
agneliThis is what I am usually doing for my terga thing ;)13:28
agneliidr if I have done it with raspberry... i think so but I am not sure, I am not using my raspberry at all atm13:29
Vallagneli: nope, not yet14:09
VallAFAIK it's not a matter of kernel only, it has to be coordinated with the correct firmware/binblobs, dtd, etc14:10
VallAnd this would be totally above my current level of RPi expertise14:11
Vallagneli: you are welcome, mate -- thank *you* for all the tips and help you afforded me14:12
c0rneliusI don't own that rev of the board, but I don't see why it wouldn't boot?14:25
c0rneliusThe firmware boot blobs are pulled from the foundation and the kernel is compiled from foundation sources.14:26
c0rneliusThe pi4s also depend on eeprom, but even with an older version of it, I would still expect it to boot. Although be broken in places? Could be wrong though as I can't test it my self.14:28
Vallc0rnelius: "I don't see why it wouldn't boot?" that would make it two of us, mate :-)14:35
Vallc0rnelius: the fact is, it doesn't boot Devuan, but boots RasPIOS perfectly14:35
VallI've been googling and there was a lot of trouble with v1.4 boards like mine when they were launched. Even RasPIOS had to be updated to run on them14:36
VallBRB14:36
c0rneliuspull the card and make sure the PARTUUID matches whats in /boot/cmdline.txt14:36
c0rneliusAdam was telling me some of the builds were getting messed up.14:36
c0rneliusThe builder used to make the img is - https://github.com/pyavitz/rpi-img-builder14:38
c0rneliusAlthough I believe he forked it and also uses some kind of automation to make the imgs. Which the builder really isn't designed for.14:38
agneliVall: is there any kind of serial console in rpi? I believe it is... do you have any uart handy so you can monitor what is going on there, please?15:30
c0rneliusTenkawa: What rev of the rpi4 8GB do you have? `dmesg | grep model`18:27
Tenkawa Raspberry Pi 4 Model B Rev 1.418:29
c0rneliusever booted Devuan on it?18:34
TenkawaI  think so yes18:35
TenkawaI can test it in a little while if needed18:36
Tenkawathis is the argon40 so I can interchange os drives eaesy18:36
Tenkawaer easy18:36
c0rneliusIf you would that would be great. thanx.18:37
Tenkawanp.. got a image built?18:38
c0rneliusnopr18:38
c0rneliusnope*18:38
c0rneliusVall was trying to boot this one.18:38
Tenkawaook18:39
c0rneliushttps://arm-files.devuan.org/18:39
Tenkawaer ok18:39
c0rneliusIt looks like its from March. Kinda old. Not sure if that really matters though at this point.18:39
Vallback18:41
Vallc0rnelius: thanks for the tip re:PARTUUID, will check it right away18:41
Tenkawayeah I can test this easily18:47
Tenkawawill be a bit before I can do it (30 min or so)18:47
c0rneliusAll good. Vall can't get it to boot. I don't have the 8GB so I can't test.18:49
Vallc0rnelius: /boot is empty here, please check whether I messed up something in the verification: https://zerobin.net/?eccc6f2e5597832c#QzuS7oTKZae8TBc+O0v6LMDMbVK0C84PW/Z1NoIQcsc=18:50
c0rneliusVall: What did you use to write the img?18:51
Tenkawathis image righr? https://arm-files.devuan.org/devuan_beowulf_3.1.0_arm64_rpi4.img.zip18:55
c0rneliusyes18:56
Tenkawaer right18:56
Tenkawaok18:56
TenkawaVall: if you have linux you should be able to do a fdisk -l on  the uncompressed img file and see its partition table18:57
c0rneliusbrb, maybe. just upgraded the neo from buster to bullseye. Lets see what I broke :)18:57
TenkawaI'm getting that file right now to take a look18:58
Tenkawathe dload site is not too fast here18:58
Tenkawalooks good here19:02
TenkawaDevice                               Boot  Start     End Sectors  Size Id Type19:02
Tenkawadevuan_beowulf_3.1.0_arm64_rpi4.img1 *      2048  524287  522240  255M  b W95 FAT3219:02
Tenkawadevuan_beowulf_3.1.0_arm64_rpi4.img2      524288 3808592 3284305  1.6G 83 Linux19:02
Tenkawalet me mount it19:02
Tenkawathis is boot19:04
Tenkawa ls -l | wc -l19:04
Tenkawa2319:04
Tenkawa ls -l *.txt19:04
Tenkawa-rwxr-xr-x 1 root root  147 Feb 28 11:32 cmdline.txt19:04
Tenkawa-rwxr-xr-x 1 root root 2195 Feb 28 11:32 config.txt19:04
Tenkawa-rwxr-xr-x 1 root root  203 Feb 28 11:19 rename_to_credentials.txt19:04
Tenkawaall the usuals19:04
Tenkawasetting up the test now19:27
Vallback19:31
Vallc0rnelius: I wrote it with dd, exact command and output: https://zerobin.net/?7ca0eabd0d9ffcc5#4dvTHAevmuuYs2ooyTGoVybUJXVI9kfULpBPT3R/42g=19:34
VallTenkawa: I did the `fdisk -l` and pasted the result, see here: https://zerobin.net/?eccc6f2e5597832c#QzuS7oTKZae8TBc+O0v6LMDMbVK0C84PW/Z1NoIQcsc=19:35
Tenkawaumm thats a pi zero image.. not pi 419:36
VallTenkawa: in fact the output of `fdisk -l`  here is exactly the same as of yours19:36
Tenkawaarmel is pi zero19:36
Tenkawaand pi 119:37
VallTenkawa: you refering to my case? Or yours?19:37
Tenkawayours.. I was asked to test a pi 419:37
Tenkawathe pi 4 one works fine19:38
VallI have a Pi4 8GB v1.4, not pi zero nor pi1 ... and I can't see armel anywhere here. Can you please be more precise?19:38
Vallah19:38
VallI see it19:38
Vallsorry, double checking19:38
VallOK, bad paste, I pasted the command I ran about a week ago with another Pi, which was indeed a Pi1 and worked OK.19:39
VallLet me repeat the dd here with the correct image, just to be sure19:40
Tenkawaok19:40
* Vall facepalms19:41
Valllooks like I *really* tried to boot the Pi4 with the pi1 image... :-/19:41
Vallcrap19:41
Tenkawapi@devuan:~$ uname -a19:42
TenkawaLinux devuan 5.10.17-v8 #1 SMP PREEMPT Sun Feb 28 13:09:10 CET 2021 aarch64 GNU/Linux19:42
Tenkawapi@devuan:~$ dmesg | grep model19:42
Tenkawa[    0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.419:42
Valltrying again with the correct image, brb19:42
Tenkawayeah its all good here19:42
Tenkawafree19:43
Tenkawa              total        used        free      shared  buff/cache   available19:43
TenkawaMem:        7946672       63204     7783260        2860      100208     777367219:43
TenkawaSwap:       1048560           0     104856019:43
VallTenkawa: this is with a desktop environment loaded, right?19:46
Tenkawano.. just the base image.. why?19:46
Vallweird19:46
Vallhere's what I got with Raspbian:19:47
Vall        free19:47
Vall                          total        used        free      shared  buff/cache   available19:47
Vall            Mem:        8064284       47916     7901248        8592      115120     779938019:47
Vall            Swap:        102396           0      10239619:47
Tenkawawhat media are you  using?19:48
Vall2 things are weird IMHO: your total RAM is less (large graphics buffer?) and your used is more19:48
VallTenkawa: SD card19:48
Vallhere is the raspbian image I used: 2021-05-07-raspios-buster-armhf-lite.img19:48
VallI was expecting Devuan to use much much less RAM19:49
Vall(not more)19:49
Tenkawasd card is one reason … and check this… grep gpu /boot/config.txt19:49
Tenkawawhy would it use less?19:49
Tenkawathe os itself is still using the same kernel19:49
Tenkawawhich is most of the initial ram usage19:50
Vallheh can't check it right now as I just reused the raspios card with Devuan19:50
Vall1 min, rebooting with it, will brb19:50
Tenkawayes you can… they both have that setting..19:50
Tenkawapi@devuan:~$ grep gpu /boot/config.txt19:51
Tenkawagpu_mem=12819:51
Tenkawaits  not an "os" setting.. its a soc setting19:51
c0rneliusSo it does boot?19:52
Vallhere's my /boot/cmdline.txt: console=serial0,115200 console=tty1 root=PARTUUID=f718f3a2-02 rootfstype=ext4 elevator=deadline fsck.repair=yes logo.nologo net.ifnames=0 rootwait19:52
Vallchecking if PARTUUID is correct (with blkid)19:52
Vallblkid /dev/sdc219:52
Vall/dev/sdc2: LABEL="ROOTFS" UUID="0c9587bb-bc43-4fe6-b5ed-a33ab786a9ad" TYPE="ext4" PARTUUID="f718f3a2-02"19:52
VallYep, it is19:53
Vallejecting the card, inserting it in the Pi and booting19:53
Vallah -- question: if I have it connected via ethernet, it will try to dhcp on it, right?19:53
VallOr is it best if I configure wpa_supplicant.conf?19:54
c0rneliusit should dhcp, yes19:54
VallOK19:54
Vallbooting, 1 min19:54
VallThis time I'm seeing healthy activity in the green LED19:57
VallOK, reboot seems to have finished (much less activity in the green LED) but no DHCP  so far19:59
c0rneliusis the eth port doing anything?19:59
Vallyep, carrier is up, but no activity20:01
Vallnever mind, I will try again after configuring wpa_supplicant.conf20:02
c0rneliusWhich version of Devuan you want? Beowulf or Testing. I can make a fresh img.20:02
VallTesting is Sid/Ceres, right?20:02
VallOr is it Chimaera?20:03
c0rneliusChimaera should be20:03
TenkawaChimaera20:04
Tenkawain development20:04
Tenkawa62320:04
TenkawaBullseye20:04
TenkawaMaintained20:04
TenkawaCeres20:04
Tenkawaunstable20:04
Tenkawa120:04
TenkawaSid20:04
TenkawaMaintained20:04
VallIs Chimaera as good in Beta as Beowulf was?20:04
c0rneliusYeah but isn't it mostly the same shit? At this point in dev?20:04
Tenkawachimaera is bullseye and ceres is sid/unstable20:05
c0rneliusso testing then20:05
Tenkawac0rnelius: they are packing it in unstable already20:05
c0rnelius:) so unstable?20:05
Tenkawamy updates are flowing everytime I run it20:05
Tenkawanot for me.. but you know I can code the fixes if I need to20:06
c0rneliusVall: Which one do you want?20:06
c0rneliusBeowulf will be headed towards the bin soon enough. I can fire which ever out in not much time.20:07
c0rneliusTenkawa: Did you happen to uart the nanopi?20:09
Tenkawac0rnelius: that was the next step20:10
c0rneliusMine didn't appear to make it fully past first boot on 5.13.y20:10
Vallno go20:10
c0rneliusgcc-10/bullseye20:10
Vall(with the image from the devuan-arm site)20:10
TenkawaI had a fan on it that got in the way so a bit of moving will need to take place20:10
Vallc0rnelius: give me Chimaera or give me death ;-)20:10
c0rneliusok20:10
c0rneliusso testing or unstable? :D ha20:11
VallLOL20:11
c0rneliustesting20:11
Tenkawaunstable is very active right now (which is fine by me)… just wanted to make sure you knew20:12
* Tenkawa lives in unstable anyway20:13
c0rneliusin my experience which is honestly limited with Devuan, I saw very little diff between the two in my last go around.20:13
Tenkawac0rnelius: its usually the most active at the beginning of a new release20:14
Tenkawaie Beowulf just being released20:14
c0rneliusBut one would think testing is whats gonna be the next release?20:14
Tenkawano.. testing is whats been already hashed out20:15
c0rnelius:|20:15
Tenkawaand thats being locked down20:15
c0rneliusSee I don't know shit20:15
VallSometimes I wonder whether it's not better to go for broke and install Sid/Ceres or whatever anyway20:15
c0rneliusNow good at following all this Debian based jargon20:15
Tenkawathe day after Beowulf came out in Debian I had like 40 updates in unstable20:16
c0rneliusnot*20:16
Tenkawathey lock it down a few months early20:16
Tenkawaand only take changes that are necessary for go live20:16
c0rneliusyeah so... unstable would not be the next stable release as its "unstable".20:17
Tenkawaso the backlog can be huge20:17
c0rneliusLogically it would be testing as thats headed towards... stable.20:17
c0rneliusOne would think anyway.20:18
c0rneliusWhatever a img is being made, I'll post when uploaded.20:18
Vallc0rnelius: sure thing, and thanks20:19
Tenkawatesting is the "development stage" of the next release. Ahh here's some more descriptions:20:19
TenkawaUnstable gets all the new packages, except the experimental ones. After fifteen days without critical bugs, they migrate to testing. So unstable is less stable.20:19
TenkawaTesting eventually freezes before it becomes stable. Unstable is fluid.20:20
Tenkawaand then there was a time correction of: It's 2-10 days, not 1520:20
Tenkawaits  all a convulded mess20:21
Tenkawaer convoluded20:21
c0rneliusWelcome to Debian20:21
Tenkawayeah but thats also the fun part too lol20:22
VallChurchill would have said that Debian is the worst distro ever -- except for all the others ;-)20:22
Tenkawalol20:22
c0rneliusFunny. I always hated Debian when I started using Linux.20:23
VallI'm a relatively recent Debian user -- went from the mid 90s all the way to 2015 or so running Redhat derivatives (CentOS, etc). Then the whole systemd crapsunami arrived.20:24
VallI immediately migrated to Devuan when it became available, and have not looked back20:24
agneli19:41 < Vall> looks like I *really* tried to boot the Pi4 with the pi1 image... :-/ -> is not raspbian a rpi1 image indeed, still 32bit, etc? it should boot, am I wrong?20:25
* Tenkawa has used everything probably in existence20:25
c0rneliusSystemd doesn't bug me. I'm old and lazy now and just go with what works.20:25
VallIMHO apt/dpkg is still worse than rpm/yum, but what matters is the whole experience -- and RH with systemd (to say nothing of is other Lennardisms -- past, present and future) sucks so much it makes a vacuum20:26
Vallc0rnelius: just wait until you have to debug something in systemd-land which is not working20:26
Tenkawano.. rpm is a pile20:27
sadsnorkChurchill would have said "Does a Devuan have gin in it?".20:28
c0rneliusMost of my problems end up either being kernel or uboot related.20:28
c0rneliussystem service can be fixed and corrected.20:28
VallTenkawa: I developed my own RPMs (a few dozen of them) and did one or two debs -- at least from a developer's perspective, RPM really rocked20:28
Valleverything in a single spec file, etc20:28
Vallsadsnork: indeed ;-)20:29
TenkawaVall: the lack of dependency management is a nightmare though for system management and auditing20:29
VallTenkawa: RPM dependencies can be specified in the spec file, and are managed allright by yum (which is to rpm like apt is to dpkg)20:30
Vallagneli: not sure. the fact is, it didn't boot here :-P20:30
Tenkawayes but yum wasn't around when "I" was a redhat admin (mid 90's)20:31
TenkawaI started my sysadmin career in the early 90's20:31
agnelinot much was around by then Tenkawa :)20:31
agneliwhat was the version in mid '90? 4.x?20:32
Tenkawaagneli: umm.. I started working on Unix boxes in the late 70's20:32
Vallc0rnelius: I'm old and lazy too. But I'm so old that I had the privilege of using an original DEC PDP/11-70 running Version 7 Unix, and I learned to admire its philosophy. Systemd goes head-on against all of it20:32
TenkawaLinux may have been new.. but not Unix20:32
agneliTenkawa: I remember :)20:32
VallTenkawa: agreed. RPM without yum is not good20:32
TenkawaI really wish I knew where my 3A+ and my 0W disappeared off to lol20:34
* Tenkawa has 2 machines missing20:34
VallTenkawa: I started sysadmining with Cromix (look it up, ran on 8-bit S100 systems) and QNX (real-time Unixlike OS which booted, complete, from a single 360KB floppy disk in the original IBM-PC, and had a 2nd 360KB floppy with compiler, linker, libraries and free space to edit/compile/test/run your own programs). That was in the middle 80s20:34
TenkawaOh I had plenty of exposure to QNX20:35
VallMan, QNX rockerd20:35
Vall*rocked20:35
TenkawaI still have some ones that run that Nokia N800 os too.. Maemo20:36
Tenkawasitting around here somewhere20:36
agneliech... use gentoo or die :)20:36
VallAt work, the machine I used had an almost infinite 10MB hard-disk, and was used by me at the console, and two other guys with VT100 terminals connected to the IBM-PC serial ports20:36
Tenkawayep20:36
VallHeh, N800 -- I had one too.20:36
TenkawaVall: I was the local X.25/OSI, Assembly, and Cobol guy20:37
Vallyeah, X.2520:37
Vallthese were the days ;-)20:37
agneliwhich assembly Tenkawa?20:38
agnelion mhich cpu?20:38
agnelior cpus :)20:38
Tenkawaone of the reasons I stayed as far away from structured programming as I could for the rest of my career20:38
VallI was the C/Unix guy. Knew/messed with Cobol, Assembly (Z80 on my case), Pascal (UCSD and Turbo, both on 8 bits), BASIC and a ton of other shit, but my forte was C and Unix20:39
Tenkawaagneli: NCR ISA Microchannel back then and more recently X86 for a gaming engine20:39
Valland still is ;-)20:39
agneligaming engine? in assembly?20:39
agneliyou are a brave man20:39
Vallagneli: in those days, you had to use assembly for anything really performative like games20:40
Tenkawaagneli: yeah it was to connect the gaming engine to external databases (mysql and sqlite at that time) so we could make the game data persistent.20:40
agneliI did a raytracing 3d thing in assembly/machine code20:40
TenkawaIt was for the NWNX2 connector20:40
agneliearly to middle '90, x8620:40
agnelithose were the days...20:40
Vallhehehehe20:41
VallI'm in my mid-50s, what age are you guys (if you don't mind my asking)?20:41
agneliand the network part we were testing separately as I had access only to the network of 8088 pcs...20:41
agneliwith thin ethernet20:41
TenkawaVall: I never say.. lets just say ancient20:42
agneliso we had to remove all but network part20:42
VallTenkawa: LOL20:42
agneliI man all the graphics...20:42
agneliheheheh20:42
TenkawaVall: I got a real early start though20:42
agneliI am the youngest of the oldest here lookslike20:42
Vallagneli: thin ethernet: RG58 cable, terminator and ground loop nightmares ;-)20:43
agneliVall: Tenkawa always suggests he is 100+ and then he backs a little ;)20:43
agnelibut not much20:43
TenkawaI had walking problems young and I could read at an extreme young age so I was given a computer very young20:43
Vallagneli: I started when I was like 15th -- early 80s...20:43
Vallagneli: LOL20:43
Tenkawasince I couldn't play with others I had a lot of reading time before computers20:44
VallMe, I was just a nerd ;-)20:44
TenkawaVall: that was me later20:45
VallBut I loved reading computer manuals and playing with them20:45
Tenkawamy wife is also a computer person too.. she's the programmer of the family20:45
Vallnice!20:45
agnelimy first was atari 400 :D20:45
Vallmine was a Ti58C calculator :-P20:46
* Tenkawa 's memory is too shot to remember20:46
Valland of course the IBM 360 in the university's basement (I was still in high school, but my physics teacher let me use his mainframe account as long as I fixed/ran hsi FORTRAN-IV program for him)20:47
Vallpunched cards, bleh20:47
agneliTenkawa: 2 weeks back we went to do some pub crawling with friend of mine who is 70+, he still managed to come back with a nice girl in her twenties...20:47
agneliI guess it all depends on how old one feels :)20:47
Vallheh20:47
Vallyeah20:48
Tenkawaheh20:48
Vallgood point20:48
Vallfolks, gotta go20:48
VallWill be back later20:48
agnelienjoy... I will visit Chile soon20:48
Vallc0rnelius: if you can, please msg me with a link for the image, OK?20:48
agnelifor some reason I really want to see Valparaiso20:48
Tenkawacheers20:48
Vallagneli: Chile rocks ;-) Valparaiso sucks (IMHO), try the Atacama desert or the Patagonia, these are the places ;-)20:49
* Vall waves20:49
c0rneliusVall: https://github.com/pyavitz/binary/releases/download/060420/rpi-4-devuan-testing-5.10.59-v8-ext4-2021-08-20.img.xz20:51
c0rneliusyou can change the username by editing /boot/username.txt before firstboot, along with the wifi cred.20:53
c0rneliusinfo for that is here - https://github.com/pyavitz/rpi-img-builder20:53
c0rneliusTenkawa: it appears to be 5.13.12 on the Nano Pi.20:57
c0rneliusdoesn't boot20:57
Tenkawasounds like a dtb problem21:05
Tenkawalet me do some google searching21:06
c0rnelius5.13.9 booted as thats what I was running before21:07
Tenkawahmm might try taking its dtb.. and also comparing its .config21:08
Tenkawasee if anything sticks out21:08
UsLagneli: sounds almost like you had your place in the demo scene. Here is a clip from someone in Sweden I might or not know: https://www.youtube.com/watch?v=iGpU3DicbLQ mid nineties raytraced graphics on amiga. 07:19 ish22:29
Tenkawaagneli: Vall: for some odd reason I think one of my close friends here in town went to Valparaiso college/university22:31
Tenkawabut thats been so many decades ago22:31
Tenkawahard to remember22:31

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