2024-07-09.log

chartreuseAlso an update on the headphone jack detect, the 220k pullup at R144 seems to be working perfectly. Though since 9front handles it fine there must be a way of fixing it in software, and I suspect that involves using the anti-pop capacitor discharge resistors 01:13
jfredNow that I'm getting the hang of kicad a bit more I'm noticing some things about the Pocket top panel. I see there's a big square in the B.Mask layer, is that there for heat dissipation or something since it'd be exposed copper?01:39
jfredAnd I guess it's fine to overhang the edge of the PCB in one of the mask layers? That might actually make my life a lot easier when importing my design haha01:40
chartreuseMasks can be bigger than the board outline use, makes it easy when you have curved corners to just use a rectangular mask if you need to have some exposed copper in the corners01:45
chartreuseSilkscreen can also overlap the edge and just be cut off01:45
jfredExcellent, that's helpful, thanks! Means I don't have to worry so much about getting the edges just right02:01
jfredI do still need to make sure I don't have silkscreen and mask drawings overlapping though but that should be much easier02:02
- mtm (QUIT: Ping timeout: 264 seconds) (~textual@c-71-228-84-213.hsd1.fl.comcast.net)02:03
jfreda little preview of the top panel I've been working on https://usercontent.irccloud-cdn.com/file/j5gEo104/1000009921.png02:03
chartreuseTook me a while to find where 9front is doing the audio config stuff for the reform (/sys/src/9/imx8/sai.c). And in an older commit I can find the wm8960 at /sys/src/cmd/aux/wm8960.c but not finding that in the latest one so not sure where it got moved too02:04
chartreuseKicad and similar have a export setting to subtract soldermask from silkscreen so you won't have it on the exported file, just would need to only worry about the overlap where you don't intend it to be cutoff02:05
+ mtm (~textual@c-71-228-84-213.hsd1.fl.comcast.net)02:05
jfredOh neat02:06
jfredAlthough in this case I think I'd actually want the reverse haha since my silkscreen design is meant to look like it's obscuring the soldermask design02:08
- mtm (QUIT: Ping timeout: 268 seconds) (~textual@c-71-228-84-213.hsd1.fl.comcast.net)02:37
+ mtm (~textual@c-71-228-84-213.hsd1.fl.comcast.net)02:39
- xktr (QUIT: Quit: leaving) (~xktr@user/xktr)02:47
- nsc (QUIT: Ping timeout: 264 seconds) (~nicolas@105-99-142-46.pool.kielnet.net)03:05
+ nsc (~nicolas@19-97-142-46.pool.kielnet.net)03:07
+ lifning (~lifning@user/lifning)03:11
- lifning (QUIT: Quit: Lost terminal) (~lifning@user/lifning)03:52
- kop316 (QUIT: Remote host closed the connection) (m-6f6zq6@static.138.159.90.157.clients.your-server.de)04:03
- nsc (QUIT: Ping timeout: 268 seconds) (~nicolas@19-97-142-46.pool.kielnet.net)04:04
+ nsc (~nicolas@220-99-142-46.pool.kielnet.net)04:05
+ kop316 (m-6f6zq6@static.138.159.90.157.clients.your-server.de)04:05
- vagrantc (QUIT: Ping timeout: 272 seconds) (~vagrant@2600:3c01:e000:21:7:77:0:50)04:51
+ lifning (~lifning@user/lifning)04:57
lifningshould the headphone jack on my pocket reform be showing up in pavucontrol when i have something plugged into it? there's nothing but Speakers in the Port dropdown. tried re-seating the little cable to the side-board on both ends just in case, but no difference05:00
- Gooberpatrol66 (QUIT: Remote host closed the connection) (~Gooberpat@user/gooberpatrol66)05:00
+ Gooberpatrol66 (~Gooberpat@user/gooberpatrol66)05:00
+ photomattmills (~photomatt@184-23-21-40.fiber.dynamic.sonic.net)07:09
photomattmillsdo I need to do anything to get serial console output on the pocket reform? I've tried both ports, nothing on either S1 or S207:17
joschphotomattmills: Lukas usually joins this channel only in about 2-3 hours, so maybe ping minute about your issue07:32
photomattmillsyeah, I think we're at crossed timezones. might just post on the forum so we can debug async07:33
chchartreuse: i think sys/src/cmd/reform/audio.c is what you are looking for07:58
- photomattmills (QUIT: Ping timeout: 250 seconds) (~photomatt@184-23-21-40.fiber.dynamic.sonic.net)08:27
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)08:39
- vagrantc (QUIT: Client Quit) (~vagrant@2600:3c01:e000:21:7:77:0:50)08:43
minutelifning: no, this is still TODO, i don't know yet why the headphone output doesn't show up. but you can enable headphone output, volume etc in alsamixer (in a terminal)09:05
lifningooh! thanks for the workaround :D09:52
chartreusech: Ah perfect, I didn't see that reform folder in cmd09:55
joschex-parrot: did you test the debian-installer images on a imx8mq reform on an a311d reform? and if the former: did you try the bookworm or the bookworm-backports images?09:55
chartreuseA bit late for me tonight, but I'll dig into what registers that 9front is setting vs the linux drivers09:55
joschex-parrot: for some reason the bookworm-backports kernel fails to load the xz-compressed modules09:56
ex-parrotjosch: imx8mq, and "bookworm", the "bookworm-backports" image didn't boot09:56
joschaha!09:56
ex-parrotok that would match09:56
joschyes, i know why now09:56
ex-parrotlovely09:56
joschbookworm-backports doesn't work in qemu either09:56
ex-parrotI haven't had a chance to re-test anything yet, I got sidetracked hacking on a different machine09:56
joschi'm currently trying to setup automated testing for debian-installer on the reform using openqa.debian.net09:56
ex-parrotnice!09:56
joschi have yet to find a way to tell qemu to create block devices that are named like eMMC devices because i want to be able to test that d-i can put /boot on the drive that is *not* sata or nvme09:57
joschhrm... maybe -drive if=sd suffices for now...09:59
chartreusehttps://gitlab.com/qemu-project/qemu/-/issues/174710:04
chartreuseDoesn't sound like it has a emmc type, but it does have a sdhci type10:05
joschif=sd seems to be enough10:05
joschi now have a /dev/mmcblk010:05
joschmagic options were -device sdhci-pci -device sd-card,drive=mydrive -drive id=mydrive,if=none,format=raw,file=emmc.img10:06
+ photomattmills (~photomatt@184-23-21-40.fiber.dynamic.sonic.net)10:09
- lifning (QUIT: Remote host closed the connection) (~lifning@user/lifning)10:26
joschaha and apparently only one sd-card at once is possible but not multiple: https://gitlab.com/qemu-project/qemu/-/issues/5410:27
joschbut nice, i can also emulate nvme and now have a /dev/nvme0n1 -- this will be practical to test reform-setup-encrypted-nvme10:30
- photomattmills (QUIT: Ping timeout: 250 seconds) (~photomatt@184-23-21-40.fiber.dynamic.sonic.net)10:38
joschex-parrot: could you, once you get the chance, take a photo of the partitioning menu on your imx8mq?11:10
joschi drew the partition editor using ansci escapes: https://mister-muffin.de/p/cvkC.html11:10
josch*ansi11:10
joschand now i need to edit the text so that it doesn't say QEMU anymore but whatever is shown on imx8mq instead11:11
joschi think if i put a screenshot on the reform.d.n page it might be more clear what should be done to get the partitioning right11:12
josch"screenshot" of d-i without using a raster graphic: https://reform.debian.net/d-i/11:42
joschprobably a png would be smaller than the HTML used to render this but the advantage is, that this makes the 'screenshot' editable later11:42
- mjw (QUIT: Quit: Leaving) (~mjw@gnu.wildebeest.org)13:32
- Bertl (QUIT: Server closed connection) (herbert@IRC.13thfloor.at)13:35
+ Bertl (herbert@IRC.13thfloor.at)13:35
* Guest3632 -> mjw13:58
- mtm (QUIT: Ping timeout: 264 seconds) (~textual@c-71-228-84-213.hsd1.fl.comcast.net)14:03
+ mtm (~textual@c-71-228-84-213.hsd1.fl.comcast.net)14:05
- mtm (QUIT: Read error: Connection reset by peer) (~textual@c-71-228-84-213.hsd1.fl.comcast.net)15:54
+ mtm (~textual@c-71-228-84-213.hsd1.fl.comcast.net)15:55
- inhji (QUIT: Quit: The Lounge - https://thelounge.chat) (~inhji@2a01:4f8:1c0c:42e4::1)17:27
joschuff.. these nodejs dependencies remind me why we cannot yet ship the Iosevka font in debian... :(17:29
+ inhji (~inhji@2a01:4f8:1c0c:42e4::1)17:29
swivelhrm I'm still having occasional problems with my imx8 reform becoming unresponsive after running for days-weeks in a mostly idle use case, doesn't seem to be prevented by turning off dpms/console blanking etc17:37
swiveli use it at work as a terminal server, mostly remotely accessed via ethernet+ssh17:37
swivelwith all its usb ports connected to serial consoles via usb2serial adapters17:38
sigridI've considered it might have been related to having a wifi module, and for quite a while I stopped having hangs on mine, but once the summer came (read: higher temperatures) the hangs appeared17:39
swivelit just randomly stops being pingable and when I try use it at the keyboard the screen is black and nothing works except circle key to cause a reset via the oled/lpc17:39
sigridtheories welcome17:39
swivelsigrid: hmm so you have hangs too, and suspect it's heat related?17:39
sigrid"for quite a while I stopped having hangs on mine" -> because I took the wifi module out17:39
sigridyes17:39
joschswivel: you have it running sway or in a tty?17:40
sigridin retrospect I think it'd make sense taking wifi module out would help in winter - it produces heat too17:40
swiveljosch: nah it's just sitting at a console17:40
swiveljosch: not even past the login prompt17:40
sigridbut it only ever seems to hang while in idle17:40
sigridlike, *hours* in idle17:41
joschthe only input i can give in the matter is, that i had my imx8mq turned on 24/7 (in sway) and stopping to use dpms on/off completely made my random hangs go away (even in summer -- the thing is sitting on a couch cushion)17:41
sigridmaybe it's both, temperature and dpms? I can't imagine why though17:42
joschswivel: how do you turn the screen brightness off when you are in console? or do you never turn it off?17:42
swiveljosch: it's just sitting there with the login prompt visible 24x717:43
joschokay, then indeed it cannot be dpms17:44
swiveli'd rather it didn't but was told that may be the cause of the hangs, didn't seem to change the hangs17:44
joschswivel: can you maybe try and see if you also get the hangs when you idle in sway instead of idling at the tty?17:45
chartreuseI'd be surprised if it was heat though, the reform doesn't get particularilly hot. I did add a thermal pad to mine between the heatsink and rear case so it's not 1:1, but mine basically sits pretty solid around 45-50C cpu temps17:45
swiveljosch: i can17:47
chartreuseI've had lockups like that before too though, quite rarely though17:47
joschswivel: it's a super long shot but maybe at least something to try if there are no other things to try...17:48
swivelwilling to try pretty much anything, since I use it at work to access the hardware on my desk when out of office... it's quite annoying when it's unavailable17:48
chartreuseI'm not using the wifi card that was offered with the reform (bought it as a kit), but it's also an Ath9k one (a 3x3 version from a mac)17:48
joschswivel: ah indeed i also am not using the wifi card supplied with the reform17:49
swiveli have the supplied wifi card installed but don't actually use it17:49
chartreuseIf it's frequent enough to debug, maybe worth hooking up the serial port to another computer and logging it till it happens and see if anything is printed?17:50
joschi did that with mine when i had the dpms lockups and there was nothing in dmesg or over serial before the lockup -- would just stop17:53
joschnot saying that you will not have anything either, but maybe do not get your hopes up too much ;)17:53
swiveli'd love to but don't really have time to mess with it17:55
swivelmy day job is already an infinite backlog of debugging broken embedded linux junk17:55
sigridmaybe you can test booting with enable_wait_mode=off kernel param17:56
sigridthere is an errata item on imx8mq that looks suspiciously related17:56
swiveloh?  cursory search makes it look more related to imx6?17:57
swivele.g. https://community.nxp.com/t5/i-MX-Processors/Implications-of-setting-enable-wait-mode-off-in-3-0-35/m-p/23408017:57
sigrid"e11174: CA53: Cannot enter WAIT mode"17:58
sigridhttps://www.nxp.com/docs/en/errata/IMX8MDQLQ_0N14W.pdf17:58
swiveloof17:59
sigridI can try doing the same here on 9front and see if it helps17:59
sigridall I need to test this is to keep the laptop on at night17:59
+ xktr (~xktr@user/xktr)17:59
swiveli'll add it on mine... is this supposed to be a power saving feature?18:00
sigridyeah18:01
swivelmine's constantly plugged into AC so not particularly concerned with battery life, but eventually I wanted to get a second reform and use it at cafes etc.18:01
sigrididk what's the impact on battery when disabling this. I imagine one could make a workaround that keeps WAIT mode enabled but makes the core not enter it when there *are* pending interrupts18:02
swivelconsidering the librem5 *is* power sensitive, I'm surprised this isn't prioritized for fixing properly18:03
swiveli guess they haven't really sold enough of those to build a thriving community18:03
sigridhmmm enable_wait_mode isn't even in mainline linux18:10
sigridmaybe it's indeed only available for imx6* on old kernels18:12
swivelbummer18:28
swiveli spose another option is to just get a different SoM like the cm4 and see if the lockups go away18:28
swivelhere I was thinking going imx8 was going to be the most mature and stable option18:28
sigridI've disabled scu+l2 power down here and will see if it's related in any way18:41
joschswivel: in terms of stability, my a311d seems to be as stable as the imx8mq (if you disable dmps for both)19:01
josch(i still have my reform on 24/7 because there is no suspend)19:01
+ mark_ (~mjw@gnu.wildebeest.org)19:14
* mjw -> Guest366419:16
- Guest3664 (QUIT: Killed (platinum.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)19:16
* mark_ -> mjw19:16
+ Guest3664 (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)19:16
- Gooberpatrol66 (QUIT: Ping timeout: 246 seconds) (~Gooberpat@user/gooberpatrol66)19:37
+ gustav28 (~gustav@c-1134524e.019-141-67626730.bbcust.telenor.se)20:02
mhoyeRandom q: is there a way to use the little 32-bit core on the imx8 ?20:30
- midfavila (QUIT: Quit: Lost terminal) (midfavila@sdf.org)20:31
mhoyeSetting aside the whole 'why would you want that' question20:34
chartreuseDidn't know about that core and was just looking looking through the manual at it now. I'm guessing that it's going completely unused under linux. You'd probably need to write a kernel module to bring it up and point it at some code, and then set up the messaging unit for talking to it afterwords21:49
- tretinha (PART: !!unknown attribute: msg!!) (3a571d9f43@2a03:6000:1812:100::1151)22:01
+ tretinha (3a571d9f43@2a03:6000:1812:100::1151)22:01
op_4hey all just recieved my pocket reform and having a great time. Looking over the module page https://mntre.com/modularity.html i'd like to get a sense for what would be the least power hungry platform. As things stand with some effort i can obtain 6h ish from the pocket22:06
op_4so is this information recorded somewhere? TDP/current/flops per W or something?22:06
- gustav28 (QUIT: Quit: Quit) (~gustav@c-1134524e.019-141-67626730.bbcust.telenor.se)22:15
+ hl_ (~hl@user/hl)23:18
- hl (QUIT: Ping timeout: 256 seconds) (~hl@user/hl)23:20
- hl_ (QUIT: Client Quit) (~hl@user/hl)23:22
minutechartreuse mhoye: i think what you're looking for is remoteproc23:24
+ hl (~hl@user/hl)23:24
minuteop_4: not really measured yet but my current rec would be the rcm4+bpi (a311d), also available at crowd supply atm for a good price23:25
svpwas wondering: from what i understand, since the modules' single-pcie-bus designs seem to prefer the m.2 slot for their pcie bus, that would mean the mpcie slot is going to be useless, right?23:25
minutechartreuse mhoye: https://lore.kernel.org/linux-remoteproc/20210805163943.GE3205691@p14s/T/23:26
minutesvp: on which module? in reform most modules have pcie on the mpcie slot23:27
minutesvp: and we ship an m2 adapter for it23:27
svprcm4, but i guess i was hasty in my guess23:28
svpstill, i'm just a little puzzled at the decision not to connect mpcie 38 and 36 (usb d+/d-), it wouldve probably made the slot more useful in case the situation i was expecting was the case23:29
+ Gooberpatrol66 (~Gooberpat@user/gooberpatrol66)23:38

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