2024-07-11.log

vkoskivI noticed that doesn't seem to work again on A311D. I can connect a cable, the yellow light comes up, but nothing in dmesg00:07
vkoskivScratch that, this appears in dmesg a short while after plugging a cable in:00:07
vkoskiv[27919.008914] meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-000:07
vkoskiv[27919.010086] meson8b-dwmac ff3f0000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -19)00:07
vkoskivI can see an end0 interface, but if I try to bring it up, RTNETLINK answers: No such device00:07
vkoskiv-19 is -ENODEV, so I guess something somewhere has some wrong bits set00:12
+ nocko (~nock@user/nocko)00:57
nockoI am attempting an upgrade from imx8mq to a311d. I have no output to the screen. I am attached to the serial console, and grabbed dmesg output: http://okturing.com/src/20314/body01:01
nockoSuggestions welcome. I reseated the DSI cable already.01:02
nockoIt's a really tight turn there next to the cap. I wonder if the cable is borked... I could reinstall the imx8mq to check... but maybe there are better things to try?01:03
joschMachine model: MNT Pocket Reform with BPI-CM4 Module01:03
joschLinux version 6.7.12-reform2+bpo-arm6401:03
joschnobody tried that combination yet as far as i know01:03
joschLukas has the a311d in their pocket reform but not with the backports kernel01:04
joschit might be that you are hitting a very similar problem as the people in the forums01:04
nockoBooting from the stable + backports image at reform.debian.org. I was attempting to follow your post from the forums.01:05
joschnocko: the one for the big reform?01:07
nockoI have only a big reform.01:07
joschbut look: Machine model: MNT Pocket Reform with BPI-CM4 Module01:08
joschas i wrote above01:08
joschthat is not the big reform but a pocket01:08
nockoHuh, I did not set this.01:08
joschyou are trying to boot the big reform with a device tree from the pocket reform01:08
nockoI simply installed the module and booted from the image... perhaps I grabbed the wrong image. Checking.01:09
nockoI grabbed the wrong image... sigh.01:10
nockoThank you.01:10
joschyou are not the first who mixed this up -- i wonder if there is something that can be improved about the presentation of the image options to make it harder for such mix-ups to happen01:11
nockoPerhaps the table could be split into two tables, one for each motherboard? Also, I could just slow down a bit and check my work...01:17
nockoI have a working screen now. Thank you again.01:29
- mjw (QUIT: Ping timeout: 252 seconds) (~mjw@gnu.wildebeest.org)01:31
nockoWell, it doesn't prompt for luks password and just hangs after "Starting systemd-udevd version xxxx". I am pretty tired of banging my head on this, maybe will revisit in the morning.01:45
nockoOh wait... It's just timing out some things... It eventually progressed to "Loading essential drivers".01:46
nocko"Timed out waiting for the udev queue being empty"01:47
nockoStuck at loading essential drivers for a while now.01:48
- mtm (QUIT: Ping timeout: 272 seconds) (~textual@c-71-228-84-213.hsd1.fl.comcast.net)02:03
+ mtm (~textual@c-71-228-84-213.hsd1.fl.comcast.net)02:06
+ bluerise_ (~bluerise@p5b0ac4d1.dip0.t-ipconnect.de)02:16
- bluerise (QUIT: Ping timeout: 272 seconds) (~bluerise@pc19f8fe9.dip0.t-ipconnect.de)02:16
mtmJonas: measured the temp on the buck/boost IC, the highest I saw was 76.7°C while the batteries were drawing 1.58 amps (battery life was registering 2%).  That's more the sort of range I would expect03:50
nockoFor future reference, there was some extra junk in my /etc/default/flash-kernel file that was imx8mq specific. Copying the less interesting one from the sd-card image and reinstalling the kernel fixed my issues. My issues being udev timeouts due to USB not initializing.04:00
- nsc (QUIT: Ping timeout: 252 seconds) (~nicolas@213-98-142-46.pool.kielnet.net)04:00
+ nsc (~nicolas@i5C74DFCE.versanet.de)04:02
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)04:23
- skipwich (QUIT: Quit: DISCONNECT) (~skipwich@user/skipwich)05:02
+ skipwich (~skipwich@user/skipwich)05:06
- digitalrayne (QUIT: Ping timeout: 240 seconds) (~digitalra@vps-446f4f39.vps.ovh.ca)05:58
+ digitalrayne (~digitalra@vps-446f4f39.vps.ovh.ca)06:20
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-64-230.tukw.qwest.net)06:39
joschnocko: do you remember what options those were?07:38
joschnocko: we could add these as checks into reform-check because it's recommended that you only migrate a system that doesn't show anything odd in reform-check07:38
+ mjw (~mjw@gnu.wildebeest.org)08:16
+ Jonas (~Jonas@82-65-231-86.subs.proxad.net)08:47
Jonas@mtm : thanks for taking the time for measurements. I think I received a defective unit, I've opened up a support ticket. In the meantime I'm trying to guess if the pocket can be powered directly witout it's charger board and batteries08:59
* Jonas -> Jonas___08:59
- mjw (QUIT: Ping timeout: 256 seconds) (~mjw@gnu.wildebeest.org)09:15
- buckket (QUIT: Server closed connection) (~buckket@vps.buckket.org)11:13
+ buckket (~buckket@vps.buckket.org)11:13
+ mjw (~mjw@gnu.wildebeest.org)11:28
- sbp (QUIT: Changing host) (~sbp@2001:19f0:6800:1102:5400:ff:fe11:39a1)11:39
+ sbp (~sbp@apache/doge/sbp)11:39
+ Twodisbetter (2cc0e4ea1c@irc.cheogram.com)11:40
Twodisbetterminute: dual boxed speaker mod? Do you have a picture or thread talking about that?11:43
joschminute: you mean the mod with the pocket speakers? https://mastodon.social/@mntmn/11162014385719206511:59
joscherrr sorr11:59
joschTwodisbetter: that was for you11:59
joschTwodisbetter: I can confirm that this works really well: https://floss.social/@josch/11173746654567786212:00
- cwebber (QUIT: Server closed connection) (~Christine@user/cwebber)12:19
+ cwebber (~Christine@user/cwebber)12:21
- aperezdc (QUIT: Server closed connection) (~aperezdc@46.23.89.43)12:36
+ aperezdc (~aperezdc@46.23.89.43)12:36
- sterni (QUIT: ) (~quassel@user/sterni)13:46
+ sterni (~quassel@user/sterni)13:46
- mtm (QUIT: Ping timeout: 264 seconds) (~textual@c-71-228-84-213.hsd1.fl.comcast.net)14:04
+ mtm (~textual@c-71-228-84-213.hsd1.fl.comcast.net)14:06
- Jonas___ (QUIT: Ping timeout: 252 seconds) (~Jonas@82-65-231-86.subs.proxad.net)14:08
sigridsecond day, no hangs14:27
- mjw (QUIT: Ping timeout: 268 seconds) (~mjw@gnu.wildebeest.org)14:28
+ mjw (~mjw@gnu.wildebeest.org)14:32
joschwow, nice!14:34
- mjw (QUIT: Ping timeout: 240 seconds) (~mjw@gnu.wildebeest.org)14:36
+ mjw (~mjw@gnu.wildebeest.org)14:59
grimmwareAnyone received any shipping notifications for the first Hyper batch yet?15:11
minutegrimmware: am also wondering! in the meantime we shipped a second batch, 42 hypers shipped so far15:59
+ Jonas___ (~Jonas@82-65-231-86.subs.proxad.net)16:14
- Jonas___ (QUIT: Ping timeout: 246 seconds) (~Jonas@82-65-231-86.subs.proxad.net)16:32
+ Jonas___ (~Jonas@82-65-231-86.subs.proxad.net)16:41
- mjw (QUIT: Ping timeout: 240 seconds) (~mjw@gnu.wildebeest.org)17:03
* Guest6755 -> mjw17:09
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)17:11
kop316minute: is there a way to know which batch one is in? I think I backed the hyper pretty early (I show 14 Mar 2023 at 1822 UTC)17:20
- Jonas___ (QUIT: Ping timeout: 264 seconds) (~Jonas@82-65-231-86.subs.proxad.net)17:26
+ chomwitt (~chomwitt@2a02:587:7a06:cd00:1ac0:4dff:fedb:a3f1)17:55
minutekop316: which color + keyswitch?18:05
kop316minute: Black, Kailh Choc White18:05
+ Jonas___ (~Jonas@82-65-231-86.subs.proxad.net)18:14
minutefinally have 32 gigs of ram in my reform :D18:16
minutebut for some reason the preinstalled android on the emmc18:18
minuteand i need to nuke it so i don't have to manually do stuff in uboot :D18:18
- Gooberpatrol66 (QUIT: Ping timeout: 268 seconds) (~Gooberpat@user/gooberpatrol66)18:18
minuteah yes, one just needs to delete all the android partitions, then it does distroboot 18:21
- Jonas___ (QUIT: Ping timeout: 268 seconds) (~Jonas@82-65-231-86.subs.proxad.net)18:23
+ mark_ (~mjw@gnu.wildebeest.org)18:40
- chomwitt (QUIT: Ping timeout: 256 seconds) (~chomwitt@2a02:587:7a06:cd00:1ac0:4dff:fedb:a3f1)18:52
+ Gooberpatrol66 (~Gooberpat@user/gooberpatrol66)19:04
* mjw -> Guest575619:07
- Guest5756 (QUIT: Killed (copper.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)19:07
* mark_ -> mjw19:07
+ Guest5756 (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)19:08
+ gustav28 (~gustav@c-1134524e.019-141-67626730.bbcust.telenor.se)20:02
- blast007 (QUIT: Server closed connection) (~blast@user/blast007)20:06
+ blast007 (~blast@user/blast007)20:06
+ bkeys (~Thunderbi@45.134.140.153)20:17
bkeysDoes the a311d SoM have no internal memory?20:17
minutebkeys: internal memory?20:18
bkeysemmc20:18
bkeysI'm trying to not boot from SD card anymore20:18
minuteah yes it does have emmc20:18
minute16GB i think20:18
bkeysOkay, that sounds good. It seems there is no uboot installed there by default20:18
minutecorrect20:18
bkeysOkay so my understanding of everything is correct. I take it the best course of action is to boot into my SD card, and write uboot to the emmc from there?20:19
minuteyou can install it manually though, but afaik we don't have a uboot build yet that tries to load the kernel from emmc as well20:19
bkeysI want to make a shot at installing centos stream 10 to my Reform; years ago I had Fedora running on a a311d based SBC of mine and it ran Fedora really well20:19
minuteso without sd card inserted it stays in uboot conosle20:19
minuteconsole20:19
minutenice20:20
bkeysDoes it require a whole new build, or will I be able to tweak the existing environment?20:20
bkeysminute, josch: Link to this uboot build?20:25
bkeysnvm, found it20:26
joschbkeys: the reform uboot will read /boot from emmc by default20:28
bkeysOkay, right now my emmc should be stock; all I did was install it and have been running off of SD card ever since20:28
bkeysI'm pretty sure my emmc is blank20:28
joschbkeys: with my a311d i have u-boot on sd-card (because i do not want to accidentally soft-brick my SoM) but my /boot is on emmc20:28
joschbkeys: my emmc had stuff on it when i received it20:29
joschi didn't investigate but it was not all zeroes20:29
bkeysWell I will try to mount them now and see what is there20:29
bkeysFirst partition contains dtb and kernel images, looks like a /boot partition20:30
bkeysWhat is in my emmc is likely the system image; but I doubt it's being used, it should be on my SD card20:30
bkeysTo your point about accidental soft brick; I will try to locate another SD card so I can try this uboot stuff on there20:31
+ Jonas___ (~Jonas@82-65-231-86.subs.proxad.net)20:31
bkeysI don't seem to be getting anything from the serial connection; not even on my system image that boots to desktop20:39
minutebkeys: are you using serial port 2?20:40
bkeysI'm using the pins about right in the middle of the edge of the motherboard20:40
bkeysTX RX GND20:40
minutebkeys: there are 2x 3 pins20:40
minutebkeys: one set points off of the motherboard (port 1) and the other points up20:41
bkeysThese pins point towards the batteries20:41
bkeysI have used them before to serial into the device20:41
minutebkeys: but not on the a311d probably20:41
minutebkeys: you need to use serial 2 for the a311d, the pins pointing up20:41
bkeysNo, I haven't done that on a311d20:41
bkeysUp as in, towards the bottom see through plate?20:41
minuteyeah20:42
bkeysI see, the ones right next to the ones I was using20:42
minutecorrect20:43
bkeysWhat is the correct baud rate?20:43
minutebkeys: 11520020:43
bkeysI'm still not seeing anything on the console20:44
bkeysMaybe I should flip tx and rx20:44
bkeysThat fixed it20:45
minuteaha!20:47
bkeysOkay, now I'm in uboot20:47
bkeysNow the uboot part, how to boot EFI with uboot20:49
- gustav28 (QUIT: Quit: Quit) (~gustav@c-1134524e.019-141-67626730.bbcust.telenor.se)21:04
+ gustav28 (~gustav@c-1134524e.019-141-67626730.bbcust.telenor.se)21:29
bkeysmeson-g12b-bananapi-cm4-mnt-reform2-flash.bin josch, is this the right file if I want only a uboot environment?21:36
bluerise_friends are trying to convince me to get the 32GB version of the RK3588 lol21:39
bkeysI don't need convincing; but I'm unemployed at the moment and have no clue when I will get another job21:40
bkeysSo now since I have all the time in the world, I want to see how far I can take the a311d21:40
* bluerise_ -> bluerise21:43
jackhillis it possible to order a camera now?21:48
minutejackhill: cameras are only available at crowd supply at the moment22:02
minutejackhill: if you scroll down towards the end here, in the product list https://www.crowdsupply.com/mnt/reform22:02
+ Jonas__ (~Jonas@45.134.79.119)22:03
- Jonas___ (QUIT: Ping timeout: 272 seconds) (~Jonas@82-65-231-86.subs.proxad.net)22:07
mtmfor the last day or so my Pocket, 6.9.7, has been occasionally dropping wifi and no amount of cajoling gets it back (short of a reboot).  After the reboot everything is good for quite a while and then, poof, gone again. Weird22:09
- gustav28 (QUIT: Quit: Quit) (~gustav@c-1134524e.019-141-67626730.bbcust.telenor.se)22:15
op_4mtm: I have the same thing. something about regdmn EU in dmesg. there's a community post about this 22:28
op_4considering switching to a pcie network card instead for the stability22:29
bkeysjosch: Are you about? As I said I'm trying to get uboot to boot EFI so I can try to install generic distros on here. I see that the a311d uboot has the distroboot command; I'm honestly drawing a blank on what I should start out with22:29
bkeysI think right now I gotta get the distro I want on the SD card along with the uboot itself. 22:30
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)22:35
jackhillminute: oh, awesome! I'm actually in the US, so CS is better for me :)22:40
op_4actually it's not obvious to me that an M.2 A/E key wifi card will work in the M.2 B slot on the mobo22:41
Jonas__Does anyone have succeeded in setting up multiboot on the NVMe on the Pocket Reform? As soon as mine will be working again I'd like to try that22:47
bkeysI can't get my nvme drive to be detected on my Reform, although it was detected just fine on imx822:48
jfredNo shipping notification for mine yet (but it's a purple hyper so I'm guessing those are coming later)23:01
minuteop_4 mtm: hmmmm maybe you have to play with 'iw reg' or disable wifi powersave 23:03
- Jonas__ (QUIT: Ping timeout: 246 seconds) (~Jonas@45.134.79.119)23:16
joschbkeys: sorry, i was afk for a bit23:22
bkeysNo problem23:22
bkeysHow much do I need to seek to install uboot on a311d?23:22
bkeysI'm trying to write just the uboot environment23:23
joschbkeys: you have a way to unbrick your a311d in case something goes wrong?23:23
bkeysI'm using an SD card as per your suggestion23:23
joschbkeys: okay, because you said you wanted to put uboot onto the a311d, so i thougt you meant you want to put u-boot onto the emmc23:24
bkeysSo what is the seek value I want to use to install uboot on here?23:26
joschbkeys: this information can be found in your "/usr/share/reform-tools/machines/MNT Reform 2 with BPI-CM4 Module.conf"23:27
joschbkeys: but beware that i think the only person who tested this so far was minute?23:27
joschbkeys: if you set EMMC_BOOT=false to EMMC_BOOT=true you can even use reform-flash-uboot to put u-boot onto your emmc23:29
joschbut please be careful!23:29
bkeysI'm not gonna touch my emmc until I have a process really tried out23:30
joschthe offset is in that file23:31
joschbkeys: that file is used by all the tools to flash u-boot to sd-card23:33
joschbkeys: for example by mkimage.sh in reform-system-image23:33
joschor by reform-flash-uboot23:33
bkeysjosch: I got Fedora booting on the Reform!23:36
minutebkeys: neat!23:36
minutebkeys: display working and all?23:36
joschbkeys: \o/23:37
bkeysNo display working23:38
bkeysBut it went through the installer just fine; I will document this and eventually post it on community.mnt.re23:38
joschbkeys: installer via serial then?23:39
- Gooberpatrol66 (QUIT: Ping timeout: 256 seconds) (~Gooberpat@user/gooberpatrol66)23:39
bkeysYes23:40
bkeysNow, I think a while ago I built the Fedora kernel with Reform patches; I might have to do that23:40
+ chomwitt (~chomwitt@2a02:587:7a06:cd00:1ac0:4dff:fedb:a3f1)23:42
bkeysThat or it is a device tree issue? For example, the ethernet port isn't working23:42
bkeyshttps://paste.centos.org/view/3dbb4c5923:43
bkeysHere is my dmesg output23:43
joschthere are still 13 kernel patches for a311d that get applied -- i am not familiar with the error messages one gets without those patches nor with the right dtb23:45
joschminute is probably the only one who saw these23:45
mtmminute: 'iw wlan0 get power_save' shows it as off.  I'll wait until it's borked again and see what I can find with 'dmesg'23:45
bkeysI wonder why my nvme drive doesn't show up in general with a311d23:51
minutebkeys: it's in mpcie adapter?23:52
bkeysYes the one you mailed me23:52
bkeysOkay I don't have ethernet on Fedora but wireless is now working23:52
minutebkeys: does the adapter have this fix? https://community.mnt.re/t/nvme-not-working-with-rcm4-fix-for-m-2-adapters/167423:53
minutebkeys: or is the rcm4 quite a recent one?23:53
bkeysI got it maybe 3 months ago23:53
minutehmm that's pretty recent23:53
minuteit's already almost midnight here so i need to get ready for sleeping but we can look into this further tomorrow23:54
minutei fixed the pcie reset thing in a recent revision of rcm423:54
bkeysYeah, I got people in #fedora-arm also looking out for stuff23:54
bkeysEventually once the install is on there I want to move everything except /boot onto NVME and then put /boot on emmc so I can boot without SD card23:55
bkeysThat would be the dream23:55
minuteyeah, i almost have that setup on my pocket reform too23:55
mtmminute: Feierabend was a while a go, no?23:56
minutemtm: yeah ;__;23:56

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