2023-01-10.log

- GNUmoon (QUIT: Ping timeout: 255 seconds) (~GNUmoon@gateway/tor-sasl/gnumoon)00:13
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)00:16
bkeysPLEASE NO00:34
bkeysOkay?00:36
bkeysOkay no worries00:40
minutebkeys: hm?00:46
minutebkeys: what happened?00:47
bkeysBetween the two plugs where the battery boards hook up to the carrier board, it looks like a see through bead of silicone00:50
bkeysI was worried something melted00:50
bkeysBut it's booting up fine, no sounds or smells and all batteries report to be there00:50
bkeysIt's great, no more worrying about buying another set of batteries00:51
- mtm (QUIT: Ping timeout: 272 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)01:03
- natalie (QUIT: Quit: quit) (~natalie@user/natalie)01:30
+ natalie (~natalie@user/natalie)01:34
- mjw (QUIT: Ping timeout: 264 seconds) (~wielaard@gnu.wildebeest.org)02:36
bkeysIs there a graphical display manager that works on the Reform?02:57
eery[m]gdm works fine (on fedora 37)02:59
bkeysHow do you get F37 on here?03:00
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)03:09
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)04:59
+ cinap_lenrek (~cinap_len@ns3076381.ip-147-135-136.eu)05:00
cinap_lenrekhola!05:00
cinap_lenrekmainscreen turn on! :)05:00
cinap_lenreklcdif working in uboot on the reform05:00
cinap_lenrekis here any magic required to get the usb keyboard working?05:07
- klardotsh (QUIT: Ping timeout: 260 seconds) (~klardotsh@2607:fb90:ec1f:d57c:52eb:71ff:fefa:beaf)05:19
+ klardotsh (~klardotsh@172.56.104.104)05:21
cinap_lenrekhm05:36
cinap_lenrekusb tree does not show the keyboard :(05:36
+ bgs (~bgs@212-85-160-171.dynamic.telemach.net)07:05
- GNUmoon (QUIT: Ping timeout: 255 seconds) (~GNUmoon@gateway/tor-sasl/gnumoon)07:12
cinap_lenrekusb_find_and_bind_driver: Match found: usb_kbd07:23
cinap_lenrekMissing uclass for driver usb_kbd07:23
cinap_lenrekib/errno_str.c:ERRNO_MSG(EPFNOSUPPORT, "Protocol family not supported"),07:27
cinap_lenrekinclude/linux/errno.h:#defineEPFNOSUPPORT96/* Protocol family not supported */07:27
cinap_lenrekyea07:27
cinap_lenrekseems the usb_kbd.c driver is fucked07:27
cinap_lenrekwhat a mess07:27
joschcinap_lenrek: but you got uboot to turn the screen on!! do you have a patch? :D07:38
cinap_lenrekhere we go!07:44
cinap_lenrekgot usb keyboard to work now07:45
cinap_lenrekneed to enable uclass drivers07:45
cinap_lenrekjosch: i will release patch soon07:45
cinap_lenreki spend like 2 days trying to figure out uboots crazy mess07:45
cinap_lenrekthen gave up and just ported my plan9 lcdif driver over07:46
cinap_lenreki removed the fbpanel.c shit07:46
cinap_lenrekhttps://felloff.net/usr/cinap_lenrek/lcdif.c07:47
cinap_lenreki'm stunned that there is absolutely no infrastructure for like setting timer frequencies07:48
- bgs (QUIT: Remote host closed the connection) (~bgs@212-85-160-171.dynamic.telemach.net)07:48
cinap_lenrekeveryone just hammers registers07:49
cinap_lenreki'll clean it up tomorrow08:02
cinap_lenreki would like to figure out if i can make the framebuffer address fixed08:04
cinap_lenrekthats makes it very easy for anyone wanting to port some os08:04
cinap_lenrekalso the clocks are not programmed correctly yet08:05
cinap_lenreki'm parsing the edid to get the correct pixel clock08:05
cinap_lenrekbut i have to calculate the dividers08:06
cinap_lenrekwhich obviously in uboot theres no code for this08:06
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)08:14
- natalie (QUIT: Remote host closed the connection) (~natalie@user/natalie)08:21
Boostisbetterminute: it feels like the crowd funding for the pocket is imminent. 08:50
+ natalie- (~natalie@user/natalie)09:32
+ MajorBiscuit (~MajorBisc@c-001-028-012.client.tudelft.eduvpn.nl)09:52
minutecinap_lenrek: amazing work! can't wait to test it!11:01
minutecinap_lenrek: also i very much agree with your chosen strategy11:01
minuteBoostisbetter: yes, we're working on campaign content11:05
+ mjw (~wielaard@gnu.wildebeest.org)11:22
- mjw (QUIT: Ping timeout: 268 seconds) (~wielaard@gnu.wildebeest.org)12:16
- klardotsh (QUIT: Ping timeout: 265 seconds) (~klardotsh@172.56.104.104)12:17
Boostisbetter👍12:20
+ klardotsh (~klardotsh@172.56.105.180)12:23
minuteBoostisbetter: i'm also working on the imx8mplus display bringup. last night it turned on for the first time, but i still have some encoding issue12:48
minute(before i was working with the imx8mq, which has a different DSI IP)12:48
* wielaard -> mjw13:03
- mtm (QUIT: Ping timeout: 260 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)13:04
Boostisbetterminute: exciting stuff! Do you want to wait for that to be ironed out before launching? Hopefully not. 😊14:01
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)15:09
+ wholesomedonut (~wholesome@76.129.124.232)16:30
- wholesomedonut (QUIT: Quit: Leaving) (~wholesome@76.129.124.232)16:34
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)17:06
- ec0 (QUIT: Ping timeout: 246 seconds) (~ec0@vps-446f4f39.vps.ovh.ca)17:08
* bleb_ -> bleb17:19
+ ec0 (~ec0@vps-446f4f39.vps.ovh.ca)17:34
+ bgs (~bgs@212-85-160-171.dynamic.telemach.net)17:54
minuteBoostisbetter: yes, but it's almost solved18:47
Boostisbetterminute, wunderbar!18:48
- MajorBiscuit (QUIT: Ping timeout: 260 seconds) (~MajorBisc@c-001-028-012.client.tudelft.eduvpn.nl)18:53
cinap_lenrekminute: https://felloff.net/usr/cinap_lenrek/lcdif.patch19:01
cinap_lenrekminute: i have not tested if this breaks linux boot tho19:01
cinap_lenreki dont have linux sdcard at hand right now19:02
cinap_lenreki need to build the system image19:02
cinap_lenrekhttps://felloff.net/usr/cinap_lenrek/flash.bin19:02
cinap_lenrekyou probably want me to clone the uboot in gitlab, no19:03
cinap_lenrekand make a branch and then you can pull it?19:03
cinap_lenreki'm really bad with git :(19:03
sigridcinap_lenrek: a small not important thing: CTRL1_CUR_FRAME_DONE_IRQ_EN isn't needed to be set19:03
sigridsince you removed blanking19:04
cinap_lenrekright19:04
sigridguess that goes for all irq stuff19:04
cinap_lenrekmakes sense19:04
cinap_lenrektho uboot has no irq's enabled anyway19:04
sigridyep19:04
cinap_lenrekbut yeah, should not set that flag :)19:04
sigrididk if it's worth to add lcdif on/off as commands to uboot19:04
cinap_lenreksigrid: i dont think so19:05
sigridbut maybe framebuffer address exported as a var?19:05
cinap_lenreki'm removing the fbpanel command completely because i couldnt figure out all that magic19:05
cinap_lenreksigrid: yes!19:05
cinap_lenreksigrid: or even better, put on fixed address19:05
cinap_lenrekor both!19:05
sigridyep19:06
cinap_lenreki'm fine if anyone wants todo that work19:06
cinap_lenrekas i said, i'm horrible with git AND uboot19:06
cinap_lenreki hate it like a plague19:06
cinap_lenreksigrid: ok, updated the patch19:11
minutecinap_lenrek: i can try to merge it myself :319:12
cinap_lenreknah, you'r busy man19:12
cinap_lenreki just have to get my shit together19:12
cinap_lenrekand also need to test linux19:12
sigrid+        sprintf(lcdif.modeIdent, "%dx%dx%d", mode.hactive, mode.vactive, 24);19:16
sigridsome spurious space char it seems19:16
sigridotherwise lgtm19:16
cinap_lenrekwill fix19:17
cinap_lenrekfixed.19:19
cinap_lenrekhaha19:27
cinap_lenrekcan we get rid of the silly logo somehow?19:27
sigridwould probably make sense to replace it with mntre one19:30
cinap_lenrekfound it19:37
sigridsome config option?19:37
cinap_lenreksigrid: yeah :D19:37
cinap_lenreksigrid: its in include/configs/nitrogen8m_som.h19:37
sigridoh, it's a logo AND a splash screen19:38
sigridmaybe uboot has video support?19:38
cinap_lenrekuboot is completely insane19:38
cinap_lenrekno sane functions for anything, but fucking spash screens19:38
cinap_lenrekok19:40
cinap_lenrekwhere where we19:40
cinap_lenrekright19:40
cinap_lenrekexport video mode and framebuffer address?19:40
cinap_lenrekits also baffeling why thats the job of the graphics driver19:40
sigridyeah. guess that would be enough for some uboot scripts to point kernels at the right things19:40
cinap_lenreksigrid: in uboots global data struct, it has a fb_base20:04
bkeysWhen is the Reform meet up this February supposed to be?20:04
cinap_lenrektheres also a function to reserve framebuffer somehow20:05
cinap_lenrekin common board_f20:05
cinap_lenreksigrid: i think setting gd->fb_base correctly would be very usefull20:06
cinap_lenreksigrid: as some of te image loaders can pass a framebuffer address20:06
cinap_lenrekour uboot also only seems to support the first blank up to 4GB20:07
cinap_lenreklike from 40000000-10000000020:07
cinap_lenrekwe could probably reserve the fb from there20:07
cinap_lenreksigrid: bdinfo also shows the FB base20:08
sigridmaybe that's what uboot provides to efi20:08
cinap_lenrekyes20:08
cinap_lenrekwhat pisses me off is that nothing is in any way consistent20:09
cinap_lenreklike you cant even find one example where you could follow the structure20:10
cinap_lenrekits all a complete mess20:10
cinap_lenrekok20:10
cinap_lenreki'll get some food :)20:10
minutehighlight bluerise 20:13
minutecinap_lenrek: sigrid: i plan to integrate a cool MNT Reform logo of course20:14
cinap_lenrekminute: :D20:14
cinap_lenrekwe should make like a picture frame with the mntreform zigzag resistor pattern20:14
sigridyay20:14
+ markw (~wielaard@gnu.wildebeest.org)20:20
joschcinap_lenrek: i got display with uboot *and* usb keyboard! nice!! :D20:27
joschi do not have linux booting though ;)20:27
josch(screen is on but stays blank)20:29
josch(maybe linux boots but i cannot check with uart right now because i don't have a second computer at hand)20:29
minutebkeys: hit up https://mastodon.social/@bnys@lasersword.club for the meetup20:33
minuteaccording to bluerise we can probably get openbsd going now, too20:36
- mjw (QUIT: Killed (NickServ (GHOST command used by markw!~wielaard@gnu.wildebeest.org))) (~mjw_@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)20:39
* markw -> mjw20:39
+ wielaard (~mjw_@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)20:39
bluerisehello hello20:39
blueriseis there a branch?20:40
bluerisedoes it work automatically or do I need to set something on the CLI?20:40
sigridhttps://felloff.net/usr/cinap_lenrek/lcdif.patch20:40
+ bkeys1 (~Thunderbi@157.201.98.1)20:40
bluerisethat's on top of which branch? the regular mnt reform one?20:41
minutei think it is20:41
minuteit does apply cleanly on top of https://source.mnt.re/reform/reform-boundary-uboot at least20:42
blueriseCool20:43
minutethere's a also a secret version of RiscOS that just needs this patch to be usable IIRC20:51
vagrantcam i reading correctly that there is some work towards a u-boot that can output on the screen for the mnt/reform? :)20:59
sigridyes20:59
vagrantcACTION claps20:59
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)21:39
+ ajr (~ajr@user/ajr)21:40
- bkeys1 (QUIT: Quit: With every step we take, danger will follow closely) (~Thunderbi@157.201.98.1)21:54
cinap_lenrekFB base = 0xFE54000021:56
cinap_lenrekhere we go21:56
cinap_lenrekupdated the patch21:57
cinap_lenrekthe driver now, if gd->fb_base is set, uses that for the framebuffer21:57
cinap_lenrekotherwise allocates it and sets it21:57
cinap_lenreki cannot figure out the maze that sets gd->fb_base21:57
cinap_lenrekCONFIG_FB_ADDR seems to only apply when we have CONFIG_LCD21:58
cinap_lenrekwhich implies that we also populate some global panel_info structure21:58
minuteoof21:58
cinap_lenrekbut who the fuck knows21:58
cinap_lenrekit is like 5 difference cases21:58
cinap_lenrekrandomly excluding ARM for no reason21:58
minutei also wanted to find that address once to dump it...21:58
cinap_lenreki dont understand any of this mess21:58
minuteyeah22:00
cinap_lenrekand i dont want to touch common/board_f.c22:01
cinap_lenrekmaybe the right thing todo is to implement CONFIG_LCD22:01
cinap_lenrekwhich also seems to populate device tree with the framebuffer info22:01
cinap_lenrekbut jesus crist22:02
cinap_lenrekhow many framebuffer info structures does uboot have?22:02
cinap_lenrekanyway22:03
c-keen[m]As many as you can cast22:04
cinap_lenrekthe idea would have been to move te framebuffer rigt below 4GB22:04
cinap_lenrekotherwise, you'r wasting like 30 MB from the top22:04
cinap_lenreki mean, its not rocket science for an os to recover the space after the framebuffer22:04
cinap_lenrekbut it seems ugly22:04
cinap_lenrekanother option might be to move the framebuffer at the beginning of dram22:05
cinap_lenrekthats what 9front does22:05
cinap_lenrekwe reserve the first MB of dram for some uncaced memory22:05
cinap_lenrekgiven the crazy imx memory map...22:05
cinap_lenrekbut i dont have the load addresses of linux at hand22:06
cinap_lenrekwould suck if that collides with the kernel load address22:06
cinap_lenrekyeah, no22:08
cinap_lenrekthats a bad idea22:08
cinap_lenreki see the scripts use that memory area22:08
cinap_lenrekotg_upgradeu=run usbnetwork; tftp 40020000 net_upgradeu.scr && source 4002000022:08
minuteyeah22:09
cinap_lenrekso at best you'd want to move the framebuffer right before 4GB22:09
minutei'm currently on imx8mp, but Moving Image from 0x40480000 to 0x40600000, end=426f000022:09
cinap_lenrekthen below that is uboot22:09
cinap_lenrekwhich can be recovered by the os22:09
minutesounds good22:11
minute(iff one has 4GB of memory)22:11
cinap_lenrekrigt22:11
cinap_lenrekwhat i *REALLY* ment is end of the dram bank that is below 4GB ;)22:12
minute^^22:12
minutejosch: do you remember what happened when you tested greetd? was it unable to do anything after login?23:03
joschminute: greetd had a bad bug that immediately logged you out after installation and then didn't let anybody log in: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=102587223:05
joschthat bug should be fixed though23:06
joschi didn't try it out but the diff looks like it should be correct23:06
joschi'm using greetd on my reform together with agreety23:06
minutejosch: oh wow ok23:06
minutei am trying it with tuigreet but it just restarts after logging in23:06
joschminute: what's in your /etc/greetd/config.toml?23:08
minuteah, this seems to be a probelm with tuigreet perhaps23:08
minutewith agreety, i can get into a shell23:08
joschokay, good23:08
joschi'm using this: command = "/usr/sbin/agreety --cmd sway"23:09
minutewith tuigreet, this doesn't even work: command = "/usr/local/bin/tuigreet --cmd /bin/sh"23:09
minuteperhaps tuigreet executable has to be blessed somehow?23:10
joschi do not have any immediate idea :/23:13
c-keen[m]<minute> "josch: do you remember what..." <- I am running greetd with wlgreet successfully 23:13
joschc-keen[m]: my main problems were with greetd not with wlgreet23:13
joschc-keen[m]: wlgreet worked but it has no way change the keyboard layout in the login screen23:14
c-keen[m]Oh ok23:14
minutelol the tuigreet executable is 76 MB23:14
minuteprobably because i built a debug build23:15
minute> reform greetd[11629]: error: check_children: greeter exited without creating a session23:17
minuteok anyway, too late to debug this today23:17
c-keen[m]Is it using a VT that is already busy?23:23
minutehmm, not sure... also, i wonder why it works with agreety with otherwise identical settings23:26
- cinap_lenrek (PART: !!unknown attribute: msg!!) (~cinap_len@ns3076381.ip-147-135-136.eu)23:41
+ cinap_lenrek (~cinap_len@ns3076381.ip-147-135-136.eu)23:45
- cinap_lenrek (QUIT: Read error: Connection reset by peer) (~cinap_len@ns3076381.ip-147-135-136.eu)23:45
+ cinap_lenrek (~cinap_len@ns3076381.ip-147-135-136.eu)23:46
- robin (QUIT: Remote host closed the connection) (~robin@user/terpri)23:48

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