2021-05-25.log

- ephase (QUIT: Quit: WeeChat 3.1) (~ephase@2a01:e0a:168:1211:e0ac:6e1f:8def:210a)01:32
- doppler (QUIT: Ping timeout: 264 seconds) (~doppler@user/doppler)02:36
+ doppler (~doppler@user/doppler)02:37
- jnerula (QUIT: *.net *.split) (~jnerula@li1009-93.members.linode.com)02:37
+ jnerula (~jnerula@li1009-93.members.linode.com)02:37
+ freakazoid333 (~freakazoi@107.87.138.176)04:11
- freakazoid334 (QUIT: Ping timeout: 244 seconds) (~freakazoi@mobile-166-172-190-41.mycingular.net)04:12
+ jomo (~jomo@user/jomo)04:38
- freakazoid333 (QUIT: Ping timeout: 272 seconds) (~freakazoi@107.87.138.176)05:07
+ freakazoid333 (~freakazoi@mobile-166-172-185-113.mycingular.net)05:13
- Asmadeus (QUIT: Remote host closed the connection) (~asmadeus@240b:13:8c80:d300:e:98c:8000:d300)07:44
+ Asmadeus (~asmadeus@240b:13:8c80:d300:e:98c:8000:d300)07:44
+ marlun (~marlun@46.101.246.245)08:49
+ odnes (~odnes@109-178-144-206.pat.ren.cosmote.net)09:31
+ natalie- (~natalie@user/natalie)10:18
- jnerula (QUIT: *.net *.split) (~jnerula@li1009-93.members.linode.com)10:24
- natalie (QUIT: *.net *.split) (~natalie@user/natalie)10:24
- erlehmann (QUIT: *.net *.split) (~erle@dynamic-046-114-039-088.46.114.pool.telefonica.de)10:24
- q66 (QUIT: *.net *.split) (~q66@q66.moe)10:24
+ jnerula (~jnerula@li1009-93.members.linode.com)10:27
+ erlehmann (~erle@dynamic-046-114-039-088.46.114.pool.telefonica.de)10:27
+ q66 (~q66@q66.moe)10:27
+ mjw (~mjw_@2001:1c06:2488:200:9e5c:8eff:fe8f:a440)11:21
mntmnimportant mesa fix merged https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/760313:06
+ Guest7 (~Guest7@ipb21a7ce2.dynamic.kabel-deutschland.de)13:31
- Guest7 (QUIT: Quit: Connection closed) (~Guest7@ipb21a7ce2.dynamic.kabel-deutschland.de)14:00
- odnes (QUIT: Read error: No route to host) (~odnes@109-178-144-206.pat.ren.cosmote.net)15:59
- bluerise (QUIT: Ping timeout: 252 seconds) (~bluerise@user/bluerise)16:45
+ bluerise (~bluerise@pc19f80c5.dip0.t-ipconnect.de)16:49
+ odnes (~odnes@109-178-144-206.pat.ren.cosmote.net)17:04
- odnes (QUIT: Read error: Connection reset by peer) (~odnes@109-178-144-206.pat.ren.cosmote.net)17:09
+ scops (~scops@p200300da372581000219b8fffe08ddc1.dip0.t-ipconnect.de)17:11
- bluerise (QUIT: Changing host) (~bluerise@pc19f80c5.dip0.t-ipconnect.de)17:14
+ bluerise (~bluerise@user/bluerise)17:14
+ odnes (~odnes@109-178-144-206.pat.ren.cosmote.net)17:16
- odnes (QUIT: Read error: Connection reset by peer) (~odnes@109-178-144-206.pat.ren.cosmote.net)17:18
* truck -> lastebil17:38
bluerisemntmn: thanks for the invoice! without it I wouldn't have known it arrived. usually I get a mail that it's there, but this time I somehow didn't :O18:02
blueriseIt's been at work for 5 days and no one told me!!! Now I gotta shower and grab it ASAP18:03
mntmnwow!18:06
bluerisehow much fun I could have had... on the other hand, I need to finish my thesis first anyway.18:10
mntmn:D18:13
- erlehmann (QUIT: Ping timeout: 264 seconds) (~erle@dynamic-046-114-039-088.46.114.pool.telefonica.de)19:21
- mjw (QUIT: Quit: Leaving) (~mjw_@2001:1c06:2488:200:9e5c:8eff:fe8f:a440)19:32
+ erlehmann (~erle@dynamic-046-114-039-144.46.114.pool.telefonica.de)19:34
bluerisemntmn: is there a list for the additional screws?20:13
bluerisequestion is actually: which is the right screw for the nvme?20:22
scopshmmm does someone had success mit running x11 apps from inside a chroot ?20:28
dodohm, i've run some from docker containers20:30
dodohad to bind lots of stuff into the container..20:30
scopsi have set up a i386 qemu/chroot20:32
+ piroko (~piroko@104.225.216.16)20:56
mntmnscops: yes, i've done it20:59
mntmnscops: actually i do it every night to watch netflix20:59
mntmnbut with an armhf chroot20:59
scopscan you help me to get it up? :)20:59
mntmnscops: xhost +20:59
mntmnon the host20:59
mntmnlike, on the outside i mean21:00
mntmnin the chroot, export DISPLAY=:021:00
mntmnand you should be good to go21:00
+ helby (~helby@user/helby)21:04
scopsthanks i will try :)21:04
- scops (QUIT: Quit: Leaving) (~scops@p200300da372581000219b8fffe08ddc1.dip0.t-ipconnect.de)21:05
+ scops (~scops@p200300da372581000219b8fffe08ddc1.dip0.t-ipconnect.de)21:14
scopsruns :) now crossing fingers textmaker runs also xD21:14
blueriseaaaah, right, that u-boot doesn't have the nvme support yet21:17
mntmnbluerise: whichever screw fits ;) 21:19
bluerisehah21:19
mntmnbluerise: sorry only now i understood who you are @ invoice ;)21:19
bluerise:)21:20
bluerisemntmn: so, the SD card has host-OS + u-boot that it boots from. is there anything worth preserving on the eMMC?21:27
blueriseah, dip switch21:27
bluerisedo you have the u-boot binary around somewhere? from.. dunno, some CI pipelen?21:28
blueriseotherwise I'll just build it myself21:29
- jfred (QUIT: Changing host) (quassel@user/jfred)21:30
+ jfred (quassel@libera/sponsor/jfred)21:30
mntmnbluerise: the eMMC has the rescue system21:38
mntmnbluerise: be sure to skim this https://community.mnt.re/t/operating-system-on-nvme-without-sd-card/110/421:39
blueriseI love the dip switch :)21:39
mntmnah you probably have21:39
mntmnbluerise: you should build the u-boot yourself, easiest way is https://source.mnt.re/reform/reform-system-image/-/blob/main/reform2-imx8mq/mkuboot.sh21:40
mntmnthe git clone there still points to the old gitea, i also recently migrated the u-boot thing here https://source.mnt.re/reform/reform-boundary-uboot21:41
blueriseAh, that variant isn't much use for me, because basically I need u-boot to access the NVMe over PCI to load my efi bootloader, which then uses U-Boot's EFI API to access the NVMe disk 21:41
- helby (PART: !!unknown attribute: msg!!) (~helby@user/helby)21:41
blueriseI mean, for now I'll do that with the SD card, as in: U-Boot from eMMC, loading OpenBSD from the SD in that way21:42
mntmnbluerise: also, barebox apparently works with reform (according to lucas stach), maybe that's cleaner21:42
blueriseheh21:42
blueriseI need to see how much you changed in the Nitrogen code21:42
blueriseyou know, my mailserver runs on a Nitrogen8M SBC21:42
mntmnlol!21:42
mntmnok21:43
mntmni guess the sbc is a bit different from the SOM though21:43
blueriseand I did port a newer U-Boot version to that SBC some time back...21:43
mntmnbluerise: this might be useful https://git.pengutronix.de/cgit/barebox/commit/?id=b0e6c9fe229e5e99569bf06af542f24f18add1f221:44
bluerisewell, one question is how much you changed for the Reform, since maybe it might make sense to introduce a 'MNT Reform' board in U-Boot21:44
blueriseobviously as imx8mq variant :) since there might be more variants coming...21:44
blueriseah nice21:44
bluerisethat'll help :)21:45
blueriseanyway, first I'll try stock u-boot and OpenBSD on the SD21:45
mntmni think the main pitfalls are the DDR4 training parameters and some I2C muxes and I2C based power supplies on the OSM 21:46
mntmnSOM21:46
blueriseOh, and at work I built a i.MX8MQ-based product as well :)21:47
mntmnnice!21:47
bluerisebut we had to clock it all the way down due to thermal issues21:47
mntmni did not fork mainline u-boot because of the DDR4 stuff, i must have overlooked something small and couldn't get it to work21:47
bluerisethat's why I'm surprised the Librem5 isn't switching to the i.MX8MP21:48
bluerisemuch better thermal wise21:48
mntmnwell, probably too late for them to switch, also the GPU is worse i think?21:48
bluerisewe had so many heat problems...21:48
blueriseheh, yes21:48
blueriseI'll give it a try (u-boot mainline)21:48
mntmninteresting @ heat. it got better with kernel updates IIRC21:48
bluerisegot a Lauterbach as well if I need to debug21:48
mntmnalso reform has a bit more massive heatsink21:48
blueriseyup, good heatsink :)21:48
mntmni think this barebox patch from above is the most readable/clean set of changes that exists21:49
mntmnbluerise: otherwise you can see my changes to the vendor u-boot here https://source.mntmn.com/MNT/reform-boundary-uboot/commits/branch/master21:51
mntmnbut it's not substantial because boundary's u-boot already has support for nitrogen8m_som21:52
- freakazoid333 (QUIT: Ping timeout: 244 seconds) (~freakazoi@mobile-166-172-185-113.mycingular.net)22:01
- scops (QUIT: Quit: Leaving) (~scops@p200300da372581000219b8fffe08ddc1.dip0.t-ipconnect.de)22:13
+ freakazoid333 (~freakazoi@107.87.137.14)22:13
+ scops (~scops@p200300da372581000219b8fffe08ddc1.dip0.t-ipconnect.de)22:13
jackhillbluerise: if you get u-boot to UEFI working, I'd be curious to hear how that goes. I'm kind of interested in getting my using grub packaged for my distro once it gets to UEFI22:20
blueriseSo, that old U-Boot does have UEFI. you can just call 'bootefi ${loadaddr} ${fdt_addr}' with /Image and dtb loaded22:24
bluerisebut apparently OpenBSD doesn't like something that U-Boot provides in the memory table22:24
bluerisemaybe that's just OpenBSD complaining though22:24
blueriseStill, I'd probably just try and get mainline U-Boot running, since they fixed quite a few issues here and there22:24
bluerise*all* OpenBSD/arm64 machines boot with EFI, and most with U-Boot+EFI22:25
bluerisesome have EDK2 instead22:25
bluerisethe Apple M1 even boots U-Boot+EFI for OpenBSD/arm64 :)22:25
jackhillI see, thanks22:27
- scops (QUIT: Quit: Leaving) (~scops@p200300da372581000219b8fffe08ddc1.dip0.t-ipconnect.de)22:28
bluerisehttps://github.com/boundarydevices/u-boot-imx6/commit/5e762e8957f13327dbe92935826b03d30042b16f22:29
bluerisemntmn: looks like boundary devices updated theirs?22:29
bluerisethat's nice as an intermediate step before trying to mainline22:31
mntmnlooks like it22:41
blueriseyou removed a bunch of video stufF?22:42
blueriseand moved a USB hub powerup to some other place?22:42
mntmnpossible, i don't remember why @ video. probably don't need to remove it. usb hub reset is specific to reform22:43
mntmnthe hub is on the motherboard22:43
mntmnreset is via a gpio22:43
bluerisebut it's using the same pin as the SoM does apparently22:44
bluerise+  // Reform: Reset USB hub22:44
bluerise+  imx_iomux_v3_setup_pad(IMX8MQ_PAD_GPIO1_IO14__GPIO1_IO14 | MUX_PAD_CTRL(WEAK_PULLUP));22:45
blueriseand their stuff:22:45
bluerise#define GP_USB1_HUB_RESET       IMX_GPIO_NR(1, 14)22:45
bluerise        imx_iomux_v3_setup_pad(IMX8MQ_PAD_GPIO1_IO14__GPIO1_IO14 |22:45
bluerise                        MUX_PAD_CTRL(WEAK_PULLUP));22:45
blueriseto me it looks like you're both using the same pin to reset *some* USB hub22:45
bluerisecould be that on/off is inverse22:47
bluerise2020 version is a lot better22:52
blueriseoh yeah23:07
bluerisemntmn: http://ix.io/3nRG23:09
blueriseso I actually took boundary devices stock u-boot, because23:09
blueriseyour changes were a) usb hub reset, but those where the same pins, just in a different locaiton, and maybe inverse 1/0 and b) USDHC2 support23:09
bluerisetheir 2020 version has a specific image with sd card support, which is 90% the same that you did23:10
bluerisefigured I'd give it a try23:10
blueriseU-Boot thinks it has HDMI running...23:11
blueriseoh, and, the boot sequence isn't perfect because boundary devices is not using distro boot23:11
bluerisethey use their old outdated system for that, so it doesn't work out of the box like a mainline version woukd23:12
blueriseand I bet the watchdog is on23:14
bluerisethat it doesn't see the keyboard might mean the usb hub is the other way around23:15
+ ndufresne5 (~ndufresne@halloumi.collabora.co.uk)23:18
- sknebel (QUIT: Read error: Connection reset by peer) (~quassel@v22016013254630973.happysrv.de)23:20
- ndufresne (QUIT: Ping timeout: 272 seconds) (~ndufresne@halloumi.collabora.co.uk)23:21
* ndufresne5 -> ndufresne23:21
+ illegal (~v@anomalous.eu)23:21
- V (QUIT: Ping timeout: 272 seconds) (~v@anomalous.eu)23:24
+ odnes (~odnes@109-178-144-206.pat.ren.cosmote.net)23:29
mntmnbluerise: this is great!!23:35
mntmni shall upgrade the u-boot for the next release23:35
mntmnbluerise: and yes, keyboard and pointing devices are on the hub. amazing to see OpenBSD bootup already!23:37
mntmnbluerise: i see that the TI hub is probed in the log, though23:40
blueriseyeah, but nothing on the TI hub23:41
blueriseneed to check schematics if power for USB devices on the hub comes from the hub or external23:41
bluerisebut I was distracted from ordering serial TTL chips on aliexpress since I just destroyed one board mechanically..23:42
bluerisebtw, my imx8mq $work product also has a SSD1309 OLED :)23:43
blueriseand a keypad...23:44
blueriseand LTE :)23:44
blueriseAh, the Hub controls the vbus, ok, good.23:47
- odnes (QUIT: Read error: Connection reset by peer) (~odnes@109-178-144-206.pat.ren.cosmote.net)23:53
mntmnusb device power is external and turned on by lpc, but the hub can disable it on overcurrent condition23:54
mntmnso that might be it yeah. still wondering why it enumerates under reset. but maybe that is so23:55
mntmnbtw i see wsdisplay0 and i think the vendor u-boot does initialize a hdmi framebuffer23:55
mntmndo you get a console on hdmi?23:55
bluerisehaven't tried! I was hoping I'd get one on the display, but backlight is off23:56
bluerisewill try on hdmi, 1s23:56
blueriseI see u-boot output on hdmi, let's give it to openbsd...23:58
bluerise(set tty fb0 in openbsd's boot loader switches from serial to framebuffer)23:58
blueriseaww, no output,but that might be an openbsd bug23:59

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