vkoskiv | I noticed that doesn't seem to work again on A311D. I can connect a cable, the yellow light comes up, but nothing in dmesg | 00:07 |
---|---|---|
vkoskiv | Scratch 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-0 | 00:07 |
vkoskiv | [27919.010086] meson8b-dwmac ff3f0000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -19) | 00:07 |
vkoskiv | I can see an end0 interface, but if I try to bring it up, RTNETLINK answers: No such device | 00:07 |
vkoskiv | -19 is -ENODEV, so I guess something somewhere has some wrong bits set | 00:12 |
+ nocko (~nock@user/nocko) | 00:57 | |
nocko | I 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/body | 01:01 |
nocko | Suggestions welcome. I reseated the DSI cable already. | 01:02 |
nocko | It'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 |
josch | Machine model: MNT Pocket Reform with BPI-CM4 Module | 01:03 |
josch | Linux version 6.7.12-reform2+bpo-arm64 | 01:03 |
josch | nobody tried that combination yet as far as i know | 01:03 |
josch | Lukas has the a311d in their pocket reform but not with the backports kernel | 01:04 |
josch | it might be that you are hitting a very similar problem as the people in the forums | 01:04 |
nocko | Booting from the stable + backports image at reform.debian.org. I was attempting to follow your post from the forums. | 01:05 |
josch | nocko: the one for the big reform? | 01:07 |
nocko | I have only a big reform. | 01:07 |
josch | but look: Machine model: MNT Pocket Reform with BPI-CM4 Module | 01:08 |
josch | as i wrote above | 01:08 |
josch | that is not the big reform but a pocket | 01:08 |
nocko | Huh, I did not set this. | 01:08 |
josch | you are trying to boot the big reform with a device tree from the pocket reform | 01:08 |
nocko | I simply installed the module and booted from the image... perhaps I grabbed the wrong image. Checking. | 01:09 |
nocko | I grabbed the wrong image... sigh. | 01:10 |
nocko | Thank you. | 01:10 |
josch | you 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 happen | 01:11 |
nocko | Perhaps 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 |
nocko | I have a working screen now. Thank you again. | 01:29 |
- mjw (QUIT: Ping timeout: 252 seconds) (~mjw@gnu.wildebeest.org) | 01:31 | |
nocko | Well, 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 |
nocko | Oh 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 |
nocko | Stuck 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 | |
mtm | Jonas: 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 expect | 03:50 |
nocko | For 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 | |
josch | nocko: do you remember what options those were? | 07:38 |
josch | nocko: 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-check | 07: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 batteries | 08: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 | |
Twodisbetter | minute: dual boxed speaker mod? Do you have a picture or thread talking about that? | 11:43 |
josch | minute: you mean the mod with the pocket speakers? https://mastodon.social/@mntmn/111620143857192065 | 11:59 |
josch | errr sorr | 11:59 |
josch | Twodisbetter: that was for you | 11:59 |
josch | Twodisbetter: I can confirm that this works really well: https://floss.social/@josch/111737466545677862 | 12: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 | |
sigrid | second day, no hangs | 14:27 |
- mjw (QUIT: Ping timeout: 268 seconds) (~mjw@gnu.wildebeest.org) | 14:28 | |
+ mjw (~mjw@gnu.wildebeest.org) | 14:32 | |
josch | wow, nice! | 14:34 |
- mjw (QUIT: Ping timeout: 240 seconds) (~mjw@gnu.wildebeest.org) | 14:36 | |
+ mjw (~mjw@gnu.wildebeest.org) | 14:59 | |
grimmware | Anyone received any shipping notifications for the first Hyper batch yet? | 15:11 |
minute | grimmware: am also wondering! in the meantime we shipped a second batch, 42 hypers shipped so far | 15: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 -> mjw | 17:09 | |
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50) | 17:11 | |
kop316 | minute: 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 | |
minute | kop316: which color + keyswitch? | 18:05 |
kop316 | minute: Black, Kailh Choc White | 18:05 |
+ Jonas___ (~Jonas@82-65-231-86.subs.proxad.net) | 18:14 | |
minute | finally have 32 gigs of ram in my reform :D | 18:16 |
minute | but for some reason the preinstalled android on the emmc | 18:18 |
minute | and i need to nuke it so i don't have to manually do stuff in uboot :D | 18:18 |
- Gooberpatrol66 (QUIT: Ping timeout: 268 seconds) (~Gooberpat@user/gooberpatrol66) | 18:18 | |
minute | ah 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 -> Guest5756 | 19:07 | |
- Guest5756 (QUIT: Killed (copper.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae) | 19:07 | |
* mark_ -> mjw | 19: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 | |
bkeys | Does the a311d SoM have no internal memory? | 20:17 |
minute | bkeys: internal memory? | 20:18 |
bkeys | emmc | 20:18 |
bkeys | I'm trying to not boot from SD card anymore | 20:18 |
minute | ah yes it does have emmc | 20:18 |
minute | 16GB i think | 20:18 |
bkeys | Okay, that sounds good. It seems there is no uboot installed there by default | 20:18 |
minute | correct | 20:18 |
bkeys | Okay 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 |
minute | you can install it manually though, but afaik we don't have a uboot build yet that tries to load the kernel from emmc as well | 20:19 |
bkeys | I 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 well | 20:19 |
minute | so without sd card inserted it stays in uboot conosle | 20:19 |
minute | console | 20:19 |
minute | nice | 20:20 |
bkeys | Does it require a whole new build, or will I be able to tweak the existing environment? | 20:20 |
bkeys | minute, josch: Link to this uboot build? | 20:25 |
bkeys | nvm, found it | 20:26 |
josch | bkeys: the reform uboot will read /boot from emmc by default | 20:28 |
bkeys | Okay, right now my emmc should be stock; all I did was install it and have been running off of SD card ever since | 20:28 |
bkeys | I'm pretty sure my emmc is blank | 20:28 |
josch | bkeys: 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 emmc | 20:28 |
josch | bkeys: my emmc had stuff on it when i received it | 20:29 |
josch | i didn't investigate but it was not all zeroes | 20:29 |
bkeys | Well I will try to mount them now and see what is there | 20:29 |
bkeys | First partition contains dtb and kernel images, looks like a /boot partition | 20:30 |
bkeys | What is in my emmc is likely the system image; but I doubt it's being used, it should be on my SD card | 20:30 |
bkeys | To your point about accidental soft brick; I will try to locate another SD card so I can try this uboot stuff on there | 20:31 |
+ Jonas___ (~Jonas@82-65-231-86.subs.proxad.net) | 20:31 | |
bkeys | I don't seem to be getting anything from the serial connection; not even on my system image that boots to desktop | 20:39 |
minute | bkeys: are you using serial port 2? | 20:40 |
bkeys | I'm using the pins about right in the middle of the edge of the motherboard | 20:40 |
bkeys | TX RX GND | 20:40 |
minute | bkeys: there are 2x 3 pins | 20:40 |
minute | bkeys: one set points off of the motherboard (port 1) and the other points up | 20:41 |
bkeys | These pins point towards the batteries | 20:41 |
bkeys | I have used them before to serial into the device | 20:41 |
minute | bkeys: but not on the a311d probably | 20:41 |
minute | bkeys: you need to use serial 2 for the a311d, the pins pointing up | 20:41 |
bkeys | No, I haven't done that on a311d | 20:41 |
bkeys | Up as in, towards the bottom see through plate? | 20:41 |
minute | yeah | 20:42 |
bkeys | I see, the ones right next to the ones I was using | 20:42 |
minute | correct | 20:43 |
bkeys | What is the correct baud rate? | 20:43 |
minute | bkeys: 115200 | 20:43 |
bkeys | I'm still not seeing anything on the console | 20:44 |
bkeys | Maybe I should flip tx and rx | 20:44 |
bkeys | That fixed it | 20:45 |
minute | aha! | 20:47 |
bkeys | Okay, now I'm in uboot | 20:47 |
bkeys | Now the uboot part, how to boot EFI with uboot | 20: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 | |
bkeys | meson-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 lol | 21:39 |
bkeys | I don't need convincing; but I'm unemployed at the moment and have no clue when I will get another job | 21:40 |
bkeys | So now since I have all the time in the world, I want to see how far I can take the a311d | 21:40 |
* bluerise_ -> bluerise | 21:43 | |
jackhill | is it possible to order a camera now? | 21:48 |
minute | jackhill: cameras are only available at crowd supply at the moment | 22:02 |
minute | jackhill: if you scroll down towards the end here, in the product list https://www.crowdsupply.com/mnt/reform | 22: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 | |
mtm | for 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. Weird | 22:09 |
- gustav28 (QUIT: Quit: Quit) (~gustav@c-1134524e.019-141-67626730.bbcust.telenor.se) | 22:15 | |
op_4 | mtm: I have the same thing. something about regdmn EU in dmesg. there's a community post about this | 22:28 |
op_4 | considering switching to a pcie network card instead for the stability | 22:29 |
bkeys | josch: 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 with | 22:29 |
bkeys | I 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 | |
jackhill | minute: oh, awesome! I'm actually in the US, so CS is better for me :) | 22:40 |
op_4 | actually 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 mobo | 22: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 that | 22:47 |
bkeys | I can't get my nvme drive to be detected on my Reform, although it was detected just fine on imx8 | 22:48 |
jfred | No shipping notification for mine yet (but it's a purple hyper so I'm guessing those are coming later) | 23:01 |
minute | op_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 | |
josch | bkeys: sorry, i was afk for a bit | 23:22 |
bkeys | No problem | 23:22 |
bkeys | How much do I need to seek to install uboot on a311d? | 23:22 |
bkeys | I'm trying to write just the uboot environment | 23:23 |
josch | bkeys: you have a way to unbrick your a311d in case something goes wrong? | 23:23 |
bkeys | I'm using an SD card as per your suggestion | 23:23 |
josch | bkeys: 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 emmc | 23:24 |
bkeys | So what is the seek value I want to use to install uboot on here? | 23:26 |
josch | bkeys: this information can be found in your "/usr/share/reform-tools/machines/MNT Reform 2 with BPI-CM4 Module.conf" | 23:27 |
josch | bkeys: but beware that i think the only person who tested this so far was minute? | 23:27 |
josch | bkeys: if you set EMMC_BOOT=false to EMMC_BOOT=true you can even use reform-flash-uboot to put u-boot onto your emmc | 23:29 |
josch | but please be careful! | 23:29 |
bkeys | I'm not gonna touch my emmc until I have a process really tried out | 23:30 |
josch | the offset is in that file | 23:31 |
josch | bkeys: that file is used by all the tools to flash u-boot to sd-card | 23:33 |
josch | bkeys: for example by mkimage.sh in reform-system-image | 23:33 |
josch | or by reform-flash-uboot | 23:33 |
bkeys | josch: I got Fedora booting on the Reform! | 23:36 |
minute | bkeys: neat! | 23:36 |
minute | bkeys: display working and all? | 23:36 |
josch | bkeys: \o/ | 23:37 |
bkeys | No display working | 23:38 |
bkeys | But it went through the installer just fine; I will document this and eventually post it on community.mnt.re | 23:38 |
josch | bkeys: installer via serial then? | 23:39 |
- Gooberpatrol66 (QUIT: Ping timeout: 256 seconds) (~Gooberpat@user/gooberpatrol66) | 23:39 | |
bkeys | Yes | 23:40 |
bkeys | Now, I think a while ago I built the Fedora kernel with Reform patches; I might have to do that | 23:40 |
+ chomwitt (~chomwitt@2a02:587:7a06:cd00:1ac0:4dff:fedb:a3f1) | 23:42 | |
bkeys | That or it is a device tree issue? For example, the ethernet port isn't working | 23:42 |
bkeys | https://paste.centos.org/view/3dbb4c59 | 23:43 |
bkeys | Here is my dmesg output | 23:43 |
josch | there 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 dtb | 23:45 |
josch | minute is probably the only one who saw these | 23:45 |
mtm | minute: '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 |
bkeys | I wonder why my nvme drive doesn't show up in general with a311d | 23:51 |
minute | bkeys: it's in mpcie adapter? | 23:52 |
bkeys | Yes the one you mailed me | 23:52 |
bkeys | Okay I don't have ethernet on Fedora but wireless is now working | 23:52 |
minute | bkeys: does the adapter have this fix? https://community.mnt.re/t/nvme-not-working-with-rcm4-fix-for-m-2-adapters/1674 | 23:53 |
minute | bkeys: or is the rcm4 quite a recent one? | 23:53 |
bkeys | I got it maybe 3 months ago | 23:53 |
minute | hmm that's pretty recent | 23:53 |
minute | it's already almost midnight here so i need to get ready for sleeping but we can look into this further tomorrow | 23:54 |
minute | i fixed the pcie reset thing in a recent revision of rcm4 | 23:54 |
bkeys | Yeah, I got people in #fedora-arm also looking out for stuff | 23:54 |
bkeys | Eventually 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 card | 23:55 |
bkeys | That would be the dream | 23:55 |
minute | yeah, i almost have that setup on my pocket reform too | 23:55 |
mtm | minute: Feierabend was a while a go, no? | 23:56 |
minute | mtm: yeah ;__; | 23:56 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!