2022-06-03.log

- mjw (QUIT: Quit: Leaving) (~mark@gnu.wildebeest.org)00:17
- chomwitt (QUIT: Ping timeout: 244 seconds) (~chomwitt@2a02:587:dc0e:3e00:bc0d:a683:e7e9:901)00:17
- littlebobeep (QUIT: Ping timeout: 240 seconds) (~alMalsamo@gateway/tor-sasl/almalsamo)01:06
+ ggoes (~gregf@fsf/staff/ggoes)01:08
- ggoes (QUIT: Quit: ZNC 1.8.2+deb2+b1 - https://znc.in) (~gregf@fsf/staff/ggoes)01:14
+ littlebobeep (~alMalsamo@gateway/tor-sasl/almalsamo)01:14
+ ggoes (~gregf@fsf/staff/ggoes)01:19
- Christoph_ (QUIT: Remote host closed the connection) (~Christoph@p4fe73f15.dip0.t-ipconnect.de)01:31
+ littlebo1eep (~alMalsamo@gateway/tor-sasl/almalsamo)01:36
- littlebobeep (QUIT: Ping timeout: 240 seconds) (~alMalsamo@gateway/tor-sasl/almalsamo)01:38
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)01:57
+ littlebobeep (~alMalsamo@gateway/tor-sasl/almalsamo)01:58
- littlebo1eep (QUIT: Ping timeout: 240 seconds) (~alMalsamo@gateway/tor-sasl/almalsamo)02:00
- mtm (QUIT: Ping timeout: 246 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)02:01
- littlebobeep (QUIT: Ping timeout: 240 seconds) (~alMalsamo@gateway/tor-sasl/almalsamo)02:03
+ littlebo1eep (~alMalsamo@gateway/tor-sasl/almalsamo)02:03
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)04:08
- bkeys (QUIT: Quit: With every step we take, danger will follow closely) (~Thunderbi@static-198-54-135-37.cust.tzulo.com)04:51
+ bkeys (~Thunderbi@static-198-54-135-37.cust.tzulo.com)04:52
- littlebo1eep (QUIT: Ping timeout: 240 seconds) (~alMalsamo@gateway/tor-sasl/almalsamo)04:57
+ littlebobeep (~alMalsamo@gateway/tor-sasl/almalsamo)05:50
+ chomwitt (~chomwitt@2a02:587:dc0e:3e00:8d09:3de9:107a:d1d4)07:17
- littlebobeep (QUIT: Ping timeout: 240 seconds) (~alMalsamo@gateway/tor-sasl/almalsamo)08:04
+ mjw (~mark@gnu.wildebeest.org)11:01
+ Christoph_ (~Christoph@p4fe73e80.dip0.t-ipconnect.de)11:05
+ wielaard (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)11:48
- mjw (QUIT: Killed (NickServ (GHOST command used by wielaard!~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440))) (~mark@gnu.wildebeest.org)11:49
* wielaard -> mjw11:50
+ mark_ (~mark@gnu.wildebeest.org)11:50
- mlarkin (QUIT: Ping timeout: 255 seconds) (~mlarkin@047-048-086-214.biz.spectrum.com)12:29
+ mlarkin (~mlarkin@047-048-086-214.biz.spectrum.com)12:36
+ littlebobeep (~alMalsamo@gateway/tor-sasl/almalsamo)13:18
joschhrm... I just isolated my battery clips according to https://community.mnt.re/t/isolating-battery-clips/962 and replugged everything. But now battery status shows ???% even though each cell is reported as 3.2 V. Why did it loose the overall percentage?13:24
joschThe system is running just fine from battery but I don't know how to make the ???% go away and be replaced by the actual percentage.13:25
- littlebobeep (QUIT: Ping timeout: 240 seconds) (~alMalsamo@gateway/tor-sasl/almalsamo)13:25
+ littlebobeep (~alMalsamo@gateway/tor-sasl/almalsamo)13:37
minutejosch: just charge full once13:45
minutejosch: lpc reset, so it has to relearn the capacity 13:45
joschhrm... I did -- at least until the battery status showed 0.0 A13:45
joschokay, I'll try a reset13:45
joschah i misread your message -- you mean that since I unplugged the battery the lpc did reset and it has to relearn13:49
joschdoes this mean that I also have to discharge it once?13:50
minutecorrect13:56
minuteno, you only have to discharge so it gets the % estimation right next time 13:56
minutebut once it reaches full charge it will switch to "100%" and assumes 1800mAh13:56
minutesometimes reaching full charge takes a longer time if it has to balance forever at the top end13:57
minutei want to improve that with a timeout13:57
joschah okay, yes I only waited maybe half an hour at 0.0 A charging which probably wasn't long enough then13:57
joschthis information should go into the handbook, right? i don't find it there. I can propose some wording in a MR with what I learned right now.13:58
- mtm (QUIT: Ping timeout: 240 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)14:02
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)14:45
- littlebobeep (QUIT: Ping timeout: 240 seconds) (~alMalsamo@gateway/tor-sasl/almalsamo)15:34
- qbit (QUIT: Quit: WeeChat 3.5) (~qbit@h.suah.dev)16:28
+ qbit (~qbit@h.suah.dev)16:35
vkoskivFedEx is fast! It was estimating monday night, but it already arrived this morning!16:51
vkoskivNow I just have to recover from this flu, and then travel to my parents' place to go build it.16:51
+ bkeys1 (~Thunderbi@static-198-54-135-37.cust.tzulo.com)17:31
bkeys1minute: So I need to have reform-init copied over to the Fedora image before I try to boot it, right?17:32
joschbkeys1: not necessarily -- it depends how you want to boot the machine with fedora17:33
joschwith Debian we don't use reform-init anymore17:33
bkeys1nvme17:33
bkeys1I got fedora on nvme drive17:33
joschso your bootloader (u-boot) needs to be on sd-card or emmc17:34
joschu-boot can then read the kernel from sd-card or emmc and then depending on the kernel cmdline you can load an initramfs or directly load an /sbin/init from your nvme17:34
bkeys1I'd rather have it on emmc that way the sd card slot is still usable. This thing doesn't have the ability to put it on SPI flash?17:34
- bkeys1 (QUIT: Remote host closed the connection) (~Thunderbi@static-198-54-135-37.cust.tzulo.com)17:37
+ bkeys81 (~bkeys@static-198-54-135-37.cust.tzulo.com)17:45
bkeys81josch Sorry, IRC client is being crappy17:45
bkeys81So is there a guide on how to get the uboot on the emmc?17:46
bkeys81And the reform has no SPI?17:46
joschI cannot answer about SPI but this is how you flash uboot on emmc: https://source.mnt.re/reform/reform-tools/-/blob/main/sbin/reform-flash-rescue#L3117:47
- chomwitt (QUIT: Quit: Leaving) (~chomwitt@2a02:587:dc0e:3e00:8d09:3de9:107a:d1d4)17:48
bkeys81So I just run that one echo command?17:49
joschbkeys81: that echo command allows you to write to /dev/mmcblk0boot017:50
joschbkeys81: the next line does the actual flashing17:50
bkeys81I have the script installed (I am still on the debian image for reform atm); can't I just run that?17:51
joschsure, the script will do more than installing uboot though17:51
bkeys81Ah, I tried running it and it says that the boot0 isn't writeable, I see what you are saying17:52
bkeys81Alright, I ran that and flashed it17:53
bkeys81Do I need to do anything else?17:53
bkeys81      --emmc Record boot preference on eMMC instead of SD card.17:55
bkeys81             This is only useful with SoM dip switch turned off.17:55
bkeys81From the reform-boot-config command, am I gonna have to take this thing apart?17:55
joschyes, see here: https://community.mnt.re/t/operating-system-on-nvme-without-sd-card/110/317:56
joschwhat I do is that I have uboot on the sdcard but the kernel and initrd is on emmc17:56
joschthat way i can remove the sdcard after booting and have the sdcard slot free17:56
joschloading uboot from sdcard is useful for me because I often find myself playing with some uboot stuff and it's a hasle to always flip that dip switch because it's hidden under the heatsink17:57
bkeys81I will probably do what you are doing until I confirm that Fedora works well on the reform17:58
joschyes, i think that's a sensible choice17:58
bkeys81Do you have a handy link that describes how to replicate your set up?17:59
bkeys81I got runelite (old school runescape) running on here; I need to post it to the gaming thread17:59
joschflash image to sd card, boot, run reform-setup-encrypted-nvme, done17:59
bkeys81But my fedora image isn't encrypted18:00
bkeys81Ideally it would be, but I wanna see it working in the first place18:00
joschflash image to sd card, boot, create partitions, run reform-migrate, done18:00
bkeys81Do you have a link to the uboot image that I would flash?18:01
bkeys81ACTION gets up to get his usb to sd adapter18:01
joschno way there is an open source old school runescape client18:01
joschnow I can show off my 99 firemaking even on the reform!18:02
bkeys81Brother let me get you a screenshot, I freaking love this laptop18:03
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:40)18:04
- vagrantc (QUIT: Ping timeout: 260 seconds) (~vagrant@2600:3c01:e000:21:7:77:0:40)18:15
- bkeys81 (QUIT: Quit: Client closed) (~bkeys@static-198-54-135-37.cust.tzulo.com)18:29
+ littlebobeep (~alMalsamo@gateway/tor-sasl/almalsamo)18:30
- mjw (QUIT: Quit: Leaving) (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)18:31
+ bkeys46 (~bkeys@static-198-54-135-37.cust.tzulo.com)18:38
bkeys46josch Gosh I cannot find out how to take a screenshot on this thing18:38
bkeys46The client is called runelite, it is written in Java so it works on all cpu architectures18:38
bkeys46Can you repost how to get your SD card setup with uboot? This web client has no history.18:40
joschbkeys46: https://mntre.com/reform-irc-logs/2022-06-03.log.html18:40
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:40)18:41
bkeys46josch https://runelite.net/18:41
bkeys46I found the jar easier than the appimage18:43
joschi'll build from source and see if i can get it into Debian contrib18:43
bkeys46I need to learn how to make .rpm packages so I can contribute this kind of stuff to the Fedora repos18:44
- littlebobeep (QUIT: Ping timeout: 240 seconds) (~alMalsamo@gateway/tor-sasl/almalsamo)18:47
kfxbkeys46: the magic of .spec files with the horrors of copr...18:48
+ littlebobeep (~alMalsamo@gateway/tor-sasl/almalsamo)19:04
- littlebobeep (QUIT: Ping timeout: 240 seconds) (~alMalsamo@gateway/tor-sasl/almalsamo)19:08
- bkeys46 (QUIT: Ping timeout: 252 seconds) (~bkeys@static-198-54-135-37.cust.tzulo.com)19:12
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)19:13
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)19:14
- bkeys (QUIT: Read error: Connection reset by peer) (~Thunderbi@static-198-54-135-37.cust.tzulo.com)19:23
+ bkeys (~Thunderbi@static-198-54-135-37.cust.tzulo.com)19:23
+ littlebobeep (~alMalsamo@gateway/tor-sasl/almalsamo)19:29
+ bkeys33 (~bkeys@static-198-54-135-37.cust.tzulo.com)19:43
+ bkeys1 (~Thunderbi@static-198-54-135-37.cust.tzulo.com)19:48
erle“it is written in Java so it works on all cpu architectures” unfortunately, you can't rely on such stuff. mindustry, for example, is written in java, but only runs on x86_64 or amd64 or how you call it.19:49
- bkeys1 (QUIT: Client Quit) (~Thunderbi@static-198-54-135-37.cust.tzulo.com)19:52
kfxwhat was the old quote, "java code can run anywhere someone wrote a jvm in c"19:52
bkeys33Well I have gotten runelite to run even on ppc64le19:53
bkeys33Does anyone know if something other than gnome, sway and windowmaker works on here at all?20:03
+ Ar|stote|is (~linx@149-210-28-152.mobile.nym.cosmote.net)20:15
- littlebobeep (QUIT: Ping timeout: 240 seconds) (~alMalsamo@gateway/tor-sasl/almalsamo)20:16
cinap_lenrekjava: write once, run away.20:18
bkeys33Yeah really20:22
- Ar|stote|is (QUIT: Read error: Connection reset by peer) (~linx@149-210-28-152.mobile.nym.cosmote.net)20:23
+ littlebobeep (~alMalsamo@gateway/tor-sasl/almalsamo)20:24
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:40)20:28
vkoskivHow does one write Java that only runs on certain CPU architectures?20:29
bkeys33My guess is they have some non-java stuff built into it20:33
+ Ar|stote|is (~linx@149-210-28-152.mobile.nym.cosmote.net)20:39
- Ar|stote|is (QUIT: Read error: Connection reset by peer) (~linx@149-210-28-152.mobile.nym.cosmote.net)20:46
- erle (QUIT: Ping timeout: 260 seconds) (~erle@95.90.247.163)20:54
bkeys33josch So to replicate your setup I flash the /boot/flash.bin to my sd card?20:57
+ erle (~erle@ip5f5af7a3.dynamic.kabel-deutschland.de)21:10
* mark_ -> mjw21:11
- bkeys33 (QUIT: Quit: Client closed) (~bkeys@static-198-54-135-37.cust.tzulo.com)21:11
+ bkeys1 (~Thunderbi@static-198-54-135-37.cust.tzulo.com)21:12
+ bkeys11 (~bkeys@static-198-54-135-37.cust.tzulo.com)21:12
+ Ar|stote|is (~linx@149-210-28-104.mobile.nym.cosmote.net)21:20
- Ar|stote|is (QUIT: Read error: Connection reset by peer) (~linx@149-210-28-104.mobile.nym.cosmote.net)21:22
joschbkeys11: creating an sd-card with uboot is the first step, yes21:30
- bkeys1 (QUIT: Quit: With every step we take, danger will follow closely) (~Thunderbi@static-198-54-135-37.cust.tzulo.com)21:30
+ Ar|stote|is (~linx@149-210-28-104.mobile.nym.cosmote.net)21:30
joschbkeys11: once uboot is on the sdcard it will look for /boot/boot.scr or /boot.scr on the first partition of the sd-card and then on the first partition of emmc21:31
bkeys11Well it is already booting from SD with debian but I wasn't able to get it to a uboot prompt on my sd card21:31
joschboot.scr is a script that you can create with uboot-utils21:31
joschwhat do you mean by "uboot prompt"?21:31
bkeys11I wouldn't just copy all of this from the debian installation?21:31
bkeys11The screen did not light up at all21:32
joschthe boot.scr from Debian is generated every time a new kernel is installed because it contains kernel version specific stuff21:32
joschuboot cannot turn on the screen21:32
joschyou have to see what's going on via serial21:32
bkeys11So if I understand right, I generate a boot.scr that is specific to the Fedora image?21:32
joschyes21:32
bkeys11I wonder if the image already has it21:33
joschor you use a different uboot with distro_cmd support and then write an extlinux.conf21:33
joschhttps://source.mnt.re/reform/reform-boundary-uboot/-/merge_requests/621:33
joschwriting an extlinux.conf is a bit easier than writing a boot.scr21:33
joschbecause every time you want to edit something in boot.scr (which is basically a shell script) you have to regenerate boot.scr by running mkimag efrom uboot-utils21:34
joschwhereas extlinux.conf is just a declarative file in a format known from extlinux21:34
joschfor example the Debian installer uses an extlinux.conf21:34
- bkeys11 (QUIT: Quit: Client closed) (~bkeys@static-198-54-135-37.cust.tzulo.com)21:35
- Ar|stote|is (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~linx@149-210-28-104.mobile.nym.cosmote.net)21:36
+ Ar|stote|is (~linx@149-210-28-104.mobile.nym.cosmote.net)21:36
+ bkeys57 (~bkeys@static-198-54-135-37.cust.tzulo.com)21:37
joschbkeys57: in Debian we generate our boot.scr using the flash-kernel package but that is a Debian-specific thing. Probably fedora has its own tooling to interface with uboot.21:38
bkeys57My understanding is that Fedora will boot out of the box as long as uboot is already booted outside of the boot device (on SPI or emmc)21:39
joschOtherwise I'd recommend using an extlinux.conf and point it to a fixed symlink and that symlink you update on every kernel update to point at the correct kernel version21:39
bkeys57Because it doesn't use uboot to boot a kernel, it uses it to boot grub and then boot the kernel (which is my understanding); that way you can boot whatever kernel version21:39
joschsure, if fedora provides a boot.scr then that might happen21:39
joschsince uboot will not switch on the internal display you should connect via serial21:40
joschor hook up a hdmi display (uboot will output on that)21:40
bkeys57 I have the fedora image (including the boot and EFI partitions) mounted on /mnt and there is no boot.scr image on ther21:40
bkeys57ACTION gets up and gets his usb powered HDMI monitor21:40
bkeys57Okay, so I hook it up to hdmi; I should be able to see the uboot output on the screen?21:43
joschyes21:44
bkeys57Is it mainline uboot on the reform?21:44
joschnope, it's this: https://source.mnt.re/reform/reform-boundary-uboot21:45
bkeys57I am wondering if the uboot is configured to look specifically for the boot.scr stuff21:45
joschyes, it is21:46
bkeys57Okay, so no point in rebooting just yet then; because the Fedora image does not provide that21:46
joschyou can see the exact logic here: https://source.mnt.re/reform/reform-boundary-uboot/-/blob/master/board/boundary/nitrogen8m_som/nitrogen8m_som.c#L34821:47
+ MajorBiscuit (~MajorBisc@2a02-a461-129d-1-6d4c-38a4-18b7-4b48.fixed6.kpn.net)21:47
bkeys57I am asking the Fedora-arm guy about this21:50
bkeys57Any luck on getting runelite working?21:50
+ chomwitt (~chomwitt@2a02:587:dc0e:3e00:aef5:6b9f:ef2:cb1f)21:50
joschbkeys57: nope, I'm investigating this atm https://community.mnt.re/t/mnt-reform-system-image-v3-beta/744/7821:51
+ bkeys1 (~Thunderbi@static-198-54-135-37.cust.tzulo.com)21:54
- MajorBiscuit (QUIT: Quit: WeeChat 3.5) (~MajorBisc@2a02-a461-129d-1-6d4c-38a4-18b7-4b48.fixed6.kpn.net)22:05
- littlebobeep (QUIT: Ping timeout: 240 seconds) (~alMalsamo@gateway/tor-sasl/almalsamo)22:14
+ littlebobeep (~alMalsamo@gateway/tor-sasl/almalsamo)22:26
- littlebobeep (QUIT: Ping timeout: 240 seconds) (~alMalsamo@gateway/tor-sasl/almalsamo)22:36
+ littlebobeep (~alMalsamo@gateway/tor-sasl/almalsamo)22:43
- bkeys1 (QUIT: Ping timeout: 246 seconds) (~Thunderbi@static-198-54-135-37.cust.tzulo.com)22:55
- bkeys57 (QUIT: Ping timeout: 252 seconds) (~bkeys@static-198-54-135-37.cust.tzulo.com)22:56
- chomwitt (QUIT: Ping timeout: 248 seconds) (~chomwitt@2a02:587:dc0e:3e00:aef5:6b9f:ef2:cb1f)23:23

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