2021-09-22.log

- sl (QUIT: Quit: Lost terminal) (sl@otaku.sdf.org)00:23
- freakazoid343 (QUIT: Read error: Connection reset by peer) (~matt@2603:9000:cf0f:80e3:3d44:b4b4:9588:c922)00:29
+ freakazoid343 (~matt@2603-9000-cf0f-80e3-3d44-b4b4-9588-c922.inf6.spectrum.com)00:30
- doppler (QUIT: Remote host closed the connection) (~doppler@user/doppler)00:49
+ doppler (~doppler@user/doppler)00:50
+ sl (sl@freeshell.org)03:59
- sl (QUIT: Client Quit) (sl@freeshell.org)03:59
+ sl (sl@rie.sdf.org)04:01
- doppler (QUIT: Read error: Connection reset by peer) (~doppler@user/doppler)05:01
+ doppler (~doppler@user/doppler)05:02
- vkoskiv (QUIT: Ping timeout: 260 seconds) (~vkoskiv@89-166-62-97.bb.dnainternet.fi)05:06
+ vkoskiv (~vkoskiv@89-166-62-97.bb.dnainternet.fi)05:06
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)10:42
- jvalleroy (QUIT: Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) (~quassel@user/jvalleroy)12:06
- rasmus (PART: Disconnected: timeout during receiving) (~rasmus@c80-217-132-63.bredband.tele2.se)12:42
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)12:43
+ mjw (~mjw_@2001:1c06:2487:f800:9e5c:8eff:fe8f:a440)13:20
- rasmus (PART: Disconnected: timeout during receiving) (~rasmus@c80-217-132-63.bredband.tele2.se)14:43
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)14:44
- leonardo (QUIT: Quit: WeeChat 3.2) (~leonardo@ipv6two.tilde.club)15:36
+ leonardo (~leonardo@user/leonardo)15:36
- rasmus (PART: Disconnected: timeout during receiving) (~rasmus@c80-217-132-63.bredband.tele2.se)16:44
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)16:45
technomancyanyone remapped the ` key? it's some serious acrobatics to hit that together with shift...18:06
- eery (QUIT: Ping timeout: 268 seconds) (~eery@172.97.103.152)18:17
mntmnanyone tried it on reform yet? https://waydro.id/19:32
mntmntechnomancy: remap with xkb?19:33
technomancyoh no I meant more like ... did anyone have suggestions of where to move it19:34
technomancyoh, it's worse on my machine because I turned that weird key between shift and Z into shift and got rid of the original shift19:35
mntmnah, that "weird" key is to support stuff like QWERTZ19:47
mntmnwhich has <> there19:48
technomancyI should probably just move shift to the thumb19:48
mntmnone of the space bars for shift?19:50
mntmncould be neat19:50
mntmni feel like i use only the right spacebar19:50
technomancyI already made the left one into backspace =)19:50
mntmn(i'm mostly right handed)19:50
mntmnah :D19:50
technomancybut shift is maybe more important19:50
technomancyhalf my deletions are C-M-h instead of backspace anyway19:51
dopplerwho makes typos anyhow19:51
- mjw (QUIT: Quit: Leaving) (~mjw_@2001:1c06:2487:f800:9e5c:8eff:fe8f:a440)20:01
+ savely (~savely@62.113.119.217)20:31
savelyhi there, i am new to ARM and u-boot so wanted to ask question. as far as i got "Image" file in root directory is a kernel and u-boot boots it directly. personally i like Arch so thought it's enougth to just copy Image, dts files and bootstrap basic utilities to start, but it seems like it is not. am i correct? if yes, then how does it diffucult to20:36
savelyport Arch or any other distro?20:36
mntmnsavely: by root directory you mean the SD card, yes?20:37
mntmnsavely: do you get any error messages?20:37
mntmnsavely: i mean, the kernel should load anyway and show you output on the dispaly20:37
mntmndisplay20:37
savelyyes, but i personally got just a blank, turned off display20:38
savelybut leds at motherboard was on20:38
mntmnsavely: then the kernel doesn't load20:39
savelyhm, what could be wrong?20:39
mntmnsavely: how did you flash u-boot to the SD card?20:39
mntmnsavely: and where did you get the Image and the dtb file? and what is the name of the dtb file?20:39
savelymkfs.ext4 and just copied Image + dts-files20:39
mntmnso how did you install u-boot?20:40
mntmnor did you keep the original sd card and only formatted the partition?20:40
savelyoh, seems like i am not20:40
savelyno, i have formatted SD-card enritely20:40
mntmnwhere did you copy Image and the dtb (not dts!) files from and how are they called?20:40
savelysure, dtb (just confused with directory name)20:41
mntmnwhere did you get the dtb files from? did you save them from the original SD card?20:42
savelyi have just copied them inside root of sd-card, just like it was from the box20:42
mntmnok that's what i wanted to know20:42
savelyyes! i save them from sd-card20:42
mntmnok so you only need to write u-boot to the correct sector on the sd card then20:42
mntmnwait a moment20:42
+ jvalleroy (~quassel@user/jvalleroy)20:43
savelyi am already recreate SD-card from artifacts from gitlab ci/cd and it works as it is expected, but still want to try arch :)20:43
mntmnsavely: ah so you need flash.bin from here https://source.mnt.re/reform/reform-system-image/-/jobs/426/artifacts/browse/reform2-imx8mq/u-boot/20:43
mntmnthat is u-boot20:43
mntmnand then do sudo dd if=flash.bin of=/dev/sdx bs=1024 seek=3320:44
mntmnwhere sdx is the sd card drive20:44
mntmn(not the partition, but root of the device)20:44
savelyso i need to create partition with 1024 padding?20:44
mntmnmore20:45
savelyoh, yes it seems so, i am starting to understand20:45
mntmn4MiB offset20:45
savelythanks!20:45
mntmnin mkimage.sh we use "mkpart primary ext4 4MiB -1s"20:45
mntmnand partition table is MBR20:46
mntmn(DOS)20:46
savelyyeah, also used MBR20:46
savelymntmn also do i understand corretly that i cannot use btrfs and other FS because u-boot has driver only for ext4? it's seems to be similar with UEFI and direct kernel loading with efistub20:47
mntmnyeah but you could just make a second partition20:47
mntmnjust the first partition needs to be ext420:48
mntmnthe one with the kernel + dtb20:48
savelymakes sense 20:48
mntmnbut in the end you might want to use a NVMe SSD for your system and you can use any fs on that...20:48
savelyoh, i am already20:48
mntmnah ok20:48
mntmnso the partition with Image + .dtb is only for booting20:48
mntmnok and on the stock system it is for running the demo/install system20:49
savelyyep, i have just screwed up with u-boot part20:50
savelythanks for the help, will definitely try! 20:50
mntmngood luck!20:53
- savely (QUIT: Quit: Client closed) (~savely@62.113.119.217)20:56
- rasmus (PART: Disconnected: timeout during receiving) (~rasmus@c80-217-132-63.bredband.tele2.se)20:56
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)20:57
Lewis[m]mntmn: I hope you're evening is going okay, I was wondering if there are any updates re: offering the reform via https://shop.mntmn.com, whether that is still planned or whether I've missed an alteration in the plans regarding crowd supply and ordering etc.21:04
mntmnLewis[m]: hi, absolutely planned for the very near future (next week maybe)21:04
mntmnjust too much on the plate r/n21:04
Lewis[m]yeah, no worries at all, I had hoped that it was busy-ness, or otherwise that it was delayed, rather than it being off the table and that I'd missed an update somewhere. :)21:05
Lewis[m]this is definitely a more tangentially related-to-reform question, but how did you go about learning how to build a laptop? (I've been a web dev, and now SRE, for most of the past decade, and set myself a goal for the current decade to try to build my own laptop, and the Reform looks like an excellent way of starting to learn what the various systems and subsystems do). Do you have any book recommendations or otherwise things to experience?21:07
mntmnyeah, i guess we should communicate more21:08
mntmnwell, Reform and its handbook might be a pretty good starting point ^^ also previous, similar projects like Novena and its documentation 21:08
mntmnor Teres-121:09
technomancyIMO building keyboards is a great place to start. it's electrically trivial but you still need skills around soldering, design, fabrication, etc.21:09
mntmnotherwise, there are many layers, from user research, product design, prototyping, electronics, embedded, system software etc21:10
technomancy(speaking as someone who has constructed hundreds of keyboards by hand but is still far away from designing anything half as complex as a laptop)21:10
mntmnthat's true, the first thing i did in this direction was a keyboard, and also doing stuff like bit-banging VGA with arduino21:10
Lewis[m]I've pieced together mechanical keyboard kits and soldered them, and only got cold solder joints on a few switches first time. :D I'm also working my way through ben eater's build your own 8 bit CPU kit.21:11
mntmni made a complete weird-computer using arduino back in the day that had ps/2 keyboard, VGA output and could read/write to FAT filesystem on sd card21:11
mntmnthat was certainly fun!21:11
technomancymaybe build an rc-201421:11
technomancyhttps://rc2014.co.uk/21:11
Lewis[m]my goal with the laptop project is to go through from "how does a transistor work" up to "how to design an actual product".21:12
technomancyoh oh oh21:12
technomancynand2tetris for sure21:12
mntmnyeah21:12
Lewis[m]so there're bits and pieces of all kinds of things. My dream goal that I'm not sure how well I'll be able to realise in the 10 year timeframe is to write every line of code on electronics I've designed.21:12
Lewis[m]nand2tetris is the basis of the ben eater "kit"21:13
technomancyLewis[m]: so your goal is to be a full-stack developer then it sounds like?21:13
Lewis[m]yep21:13
technomancyawesome21:13
Lewis[m]I emailed mntmn a while ago about any jobs that they have on offer, because it's an excellent place to get involved with all of that sort of stuff, but I think a lot of it will be "take time off work and go through a project full-time", because that's few and far between21:14
Lewis[m]I don't know how widespread it is, but I'm definitely looking forward to https://osfc.io 2021 (potentially november) where I don't understand the ins and outs of most of it, but the entire firmware community is doing some really cool things21:15
- rasmus (PART: Disconnected: closed) (~rasmus@c80-217-132-63.bredband.tele2.se)21:53
- ggoes_ (QUIT: Ping timeout: 246 seconds) (~gregf@pool-72-69-95-105.nycmny.fios.verizon.net)22:36
+ savely (~savely@62.113.119.217)22:41
+ ggoes (~gregf@fsf/staff/ggoes)22:42
savelymntmn well now it boots! but i am getting kernel panic, "Requested init /sbin/reform-init failed (-2)", of course i've installed reform-tools and script should work as expected22:43
savely. i am currently starting to suspect that imx8m has armhf not arm64, but i'm not sure...22:44
mntmnwhat no.22:44
mntmnimx8m is arm6422:44
savelyoh cool :)22:44
mntmnthe /sbin/reform-init is a bash script22:44
mntmnis it there, and executable?22:44
mntmnah no it uses busybox22:45
mntmnso it expects /bin/busybox to be there22:45
savelyfor start i wanted to try with debian, so i used debootstrap to bootstrap base system, i've added you repo and installed reform-tools from it, /sbin contains reform-init script for sure22:46
mntmnyeah busybox is missing then22:46
mntmnit is a missing dependency of reform-tools22:46
mntmnwriting this down.22:46
savelyoh, reform-tools had a ton of deps like X, wayland and video drivers, so i thought it definitely has everything22:47
mntmnno22:47
mntmn> Depends: bash22:47
mntmnthat's the only dependency22:47
savelymntmn hm https://gist.github.com/L11R/43b4bc626f5c00e1d0a2776bcb3be0ac22:48
mntmnahhh probably because > Recommends: reform-handbook22:49
mntmnanyway busybox is missing22:50
savelyfinally22:50
savelyit works!22:50
mntmnwhat did you do?22:50
mntmninstall busybox? :322:50
savelyinstalled busybox :)22:50
savelywould be nice to add it as a dep22:50
mntmnyes, i wrote that down in my TODO list23:16

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