2023-11-26.log

minuteeibachd: awesome00:00
- robin (QUIT: Quit: Leaving) (~robin@user/terpri)00:05
+ robin (~robin@user/terpri)00:52
- mtm (QUIT: Ping timeout: 260 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)01:02
- eibachd (QUIT: Ping timeout: 260 seconds) (~eibachd@p200300dcf73d8b00537e4b194d65f380.dip0.t-ipconnect.de)01:23
+ eibachd (~eibachd@p200300dcf73d8b008af5fa8d029d5a67.dip0.t-ipconnect.de)01:23
- mjw (QUIT: Remote host closed the connection) (~mjw@gnu.wildebeest.org)01:36
+ mjw (~mjw@gnu.wildebeest.org)01:36
- mjw (QUIT: Ping timeout: 252 seconds) (~mjw@gnu.wildebeest.org)02:09
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)03:08
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-140-33.tukw.qwest.net)03:33
+ colinsane (~colinunin@97-113-140-33.tukw.qwest.net)03:35
- nsc (QUIT: Ping timeout: 255 seconds) (~nicolas@21-98-142-46.pool.kielnet.net)03:58
+ nsc (~nicolas@46.142.49.137)04:00
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)04:02
joscheibachd: i really honestly appreciate that you wrote your article in a way that makes even people like me understand what is going on. Really impressive! Thank you for the work and the write-up! :D06:13
joscheibachd: your copy of u-boot did have sata_boot available but it did not automatically run that with the default distro_bootcmd, right?06:15
joschi think it would not hurt to modify the u-boot config so that it would automatically try running sata_boot as part of the default boot sequence06:15
- vkoskiv (QUIT: Ping timeout: 268 seconds) (~vkoskiv@87-95-190-139.bb.dnainternet.fi)07:31
eibachdjosch: yes, I had to modify the bootcmd. Including that in the standard config would be cool. I did not find where the root entry for the kernel command line would come from in that case.08:40
eibachdjosch: really glad you liked the article.08:41
josch:)08:59
josch# CONFIG_SATA_BOOT is not set09:01
joschchanging this in the u-boot config might already be enouguh09:01
+ vkoskiv (~vkoskiv@87-100-163-117.bb.dnainternet.fi)09:03
joscheibachd: i created https://source.mnt.re/reform/reform-ls1028a-uboot/-/merge_requests/3 and will test it as soon as I have my second mainboard that i can install my ls1028a to09:07
joschbecause testing this should yield the same results with u-boot on sd-card (which is of course the case for me)09:07
f_eibachd: Nice article :)09:07
eibachdjosch: Thanks, I will give it a test on my system.09:08
eibachdf_: thanks, glad you liked it09:09
f_Wish I could write good blog posts09:10
f_I'm terrible at blogs.09:10
eibachdI have set up an environment, where I enjoy writing. That helps a lot.09:11
f_an ssg you mean?09:14
f_https://blog.vitali64.duckdna.org/ :P09:15
f_* https://vitali64.duckdns.org/09:15
f_* https://blog.vitali64.duckdns.org/09:15
eibachdYes, there is also some CI involved ;) https://zeromips.org/posts/2022-03-04-website/09:22
f_I also use an ssg for my blog09:24
eibachdSo it comes down to text editor and beverage of choice and that's it.09:27
f_For me too, the problem I have is...no inspiration :)09:29
eibachdFor me it is about writing down my own adventures, so I will remember them later.09:32
f_Yeah that, but I mean, I have no inspiration on how to write it all.09:48
f_Anyway yes, that's a good blog post ;)09:48
- Boostisbetter (QUIT: Ping timeout: 256 seconds) (4a410829d7@irc.cheogram.com)09:51
eibachdf_: The link to the sourcecode in your ssg post seems to be broken10:20
f_Yeah, it's actually https://git.vitali64.duckdns.org/utils/seen.git branch: flask10:20
hramrachthere isn't really 'how to write it' - you write something, and it's written10:32
hramrachbtw duckdns using google analytics, eww10:33
f_duckdns.org?10:41
f_my website doesn't use google analytics.10:41
+ reform20442 (~mauro@2a02:a03f:ea78:f501:cedc:c4c3:9993:354f)10:48
+ Boostisbetter (4a410829d7@irc.cheogram.com)11:12
- XYZ (QUIT: Ping timeout: 268 seconds) (~XYZ@37-48-32-137.nat.epc.tmcz.cz)11:30
- reform20442 (QUIT: Quit: Leaving) (~mauro@2a02:a03f:ea78:f501:cedc:c4c3:9993:354f)11:36
+ XYZ (~XYZ@37-48-40-37.nat.epc.tmcz.cz)11:46
- XYZ (QUIT: Read error: Connection reset by peer) (~XYZ@37-48-40-37.nat.epc.tmcz.cz)11:46
- eibachd (QUIT: Ping timeout: 260 seconds) (~eibachd@p200300dcf73d8b008af5fa8d029d5a67.dip0.t-ipconnect.de)12:10
+ eibachd (~eibachd@p200300dcf73d8b007e9b42d38e52e335.dip0.t-ipconnect.de)12:10
joscheibachd: i didn't test it yet but looked at the raw flash.bin and it shouldn't work yet because we also have to adjust boot_targets... let me figure out how...12:12
+ mjw (~mjw@gnu.wildebeest.org)12:14
joschminute: in include/configs/ls1028a_common.h, is the "setenv xtrace yes" still necessary?12:21
eibachdWe also will have to modify build.sh in reform-ls1028a-uboot, so birth images for SD and eMMC get built.12:22
eibachd*both*12:22
joscheibachd: what's the difference for u-boot that is put on emmc?12:24
eibachdThe ATF build must be called with a different BOOT_MODE parameter, emmc instead of sd. This results on a different PBI code. Remember the block copy in my12:28
eibachdWrite-up? It has a src parameter 9 for eMMC, 8 for SD.12:28
joschah BOOT_MODE=sd12:29
joschright12:29
joschis setting BOOT_MODE=emmc all that needs to be done?12:30
eibachdExactly12:30
joschokay, i'll write that up after lunch12:31
- lexik (QUIT: Quit: Bella ciao.) (~lexik@93.185.97.209)12:31
joschi pushed a new commit to that MR which now sets12:31
joschboot_targets=mmc0 mmc1 usb0 sata012:31
josch(not tested yet of course)12:31
eibachdI don't know if there is more changes resulting from this parameter. As I wrote, I cannot access SD anymore. I will examine this later.12:31
hramrachyes. I am looking at the dynamic dns people use because mine was too annoying to keep going12:42
hramrachalso it turns out my ISP no longer provides public IP addresses, it was swallowed by another one, and apparently the IP space is no longer sufficient, and they cannot do v6 because they suck12:43
- ggoes (QUIT: Quit: ZNC - https://znc.in) (~gregf@fsf/staff/ggoes)12:46
+ ggoes (~gregf@fsf/staff/ggoes)12:48
- mtm (QUIT: Ping timeout: 252 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)13:04
- Boostisbetter (QUIT: Ping timeout: 255 seconds) (4a410829d7@irc.cheogram.com)13:13
+ lexik (~lexik@93.185.97.209)13:36
+ BoostisBetter (4a410829d7@irc.cheogram.com)13:46
erlethey cannot do v6 because they suck, in $CURRENT_YEAR … oof13:47
erleeibachd i like how detailed your blog posts are. and all images are on-point, feels kinda like a rarity nowadaysj13:49
hramrachnot quite detailed enough if you wanted to replicate it14:16
eibachderle: thanks for the feedback, that is really encouraging14:35
eibachdhramrach: right, I am not doing step by step tutorials. My goal is to write texts that are actually fun reading.14:37
erlehramrach that is something i would probably notice at some point if i tried to reproduce it, but i do not. i must say detailed texts that are not *quite* detailed enough are frustrating (most commonly scientific papers)14:37
minutebtw not sure if i mentioned it, but the rest of the 50x LS1028A modules batch is on the way to us14:49
minuteshould arrive in the coming week if there are no customs issues14:49
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)15:10
erleeibachd as (maybe?) part of your audience i would appreciate it even more detailed actually, but take care: only a fraction of users will try to replicate it at all, i mean i probably won't.15:12
erleeibachd maybe you can just link to a repo or tarball containing your full instructions at the end?15:12
erleeibachd assuming you have actually written down everything ^_^15:13
minutei think some of it is already in an MR to official repos15:20
- eibachd (QUIT: Ping timeout: 246 seconds) (~eibachd@p200300dcf73d8b007e9b42d38e52e335.dip0.t-ipconnect.de)15:21
+ eibachd (~eibachd@2a01:599:207:e431:cd2e:4731:8d7a:8ccb)15:25
- eibachd (QUIT: Read error: Connection reset by peer) (~eibachd@2a01:599:207:e431:cd2e:4731:8d7a:8ccb)15:45
+ eibachd (~eibachd@p200300dcf73d8b009df7d895d963fc5b.dip0.t-ipconnect.de)15:46
joschokay, the u-boot changes from above MR indeed seem to trigger the correct changes in the u-boot environment: https://paste.debian.net/hidden/aae08273/15:53
joschnow i'll let the pipeline create two artifacts: one for sd and one for emmc15:54
joschi'll use the chance for a bit more clean-up of build.sh15:54
eibachderle: I like the idea of adding additional documents for download. There are no full written down instructions, but I could add some notes and drawings.15:55
eibachdAs the process of replicating will void your warranty, involves delicate soldering and might result in a non-working system I really don't want to push anybody into this.15:55
joschminute: do you think we can move ls1028a u-boot from v2023.10-rc4 to v2023.1015:57
eibachdjosch: great, thanks. Have you found where the "root" parameter for the kernel commandline is coming from? 15:57
eibachdBecause 'run sata_boot' won't set it.15:58
joscheibachd: it should work without root= as the initramfs should contain all the information about where the rootfs is and what needs to be mounted where15:58
joschmy /proc/cmdline certainly does not contain it15:58
joschso if your /etc/fstab is correct, re-generating your initramfs should just do the right thing15:59
minutejosch: sure @ move15:59
joschnice -- i'll leave that MR as draft until everything has been tested16:00
eibachdOkay, that sounds good. How would I properly regenerate the initramfs?16:00
joscheibachd: sudo mkinitramfs -u16:01
joscherrr sorry16:01
joschsudo update-initramfs -u16:01
eibachdGreat, will try later.16:02
hramrachwell, there is the thing ho you reference the root filesystem16:15
hramrachif by device name like mmcblk0p1 then you are screwed when you move the filesystem to another device16:16
hramrachif by uuid or label it should just work16:16
erleeibachd you can be assured that voiding the warranty is a thing with MNT customers ;)16:17
erleeibachd i mean i would definitely *know* i am doing that if i was doing it16:17
erleof course my reform is pristine hahaha16:18
erle:P16:18
erleeibachd in any case, i like your blog posts. please continue!16:18
BoostisBettereibachd: can I get a link to your blog?16:25
eibachdzeromips.org16:26
- sundog20629 (QUIT: Quit: The Lounge - https://thelounge.chat) (~sundog@164.subnet-151-210-103.ellijay.com)16:26
joscheibachd: so the u-boot binaries for sd and emmc differ a lot but the important change is probably this one at the very beginning: https://paste.debian.net/1299284/16:28
joschwhere it says 09 for emmc and 08 for sd16:28
eibachdYes, that is the PBI code.16:29
joschi wonder if it's possible to just patch a u-boot.bin for sd like that to create a working u-boot.bin for emmc?16:30
joschthen i could avoid building atf twice and just patch the correct location16:31
eibachdAs I said,I am not sure what else gets changed.16:33
eibachdI will investigate further, as my SD card is not working at the moment.16:35
joschi'll leave it as a double-build for now but verify at the end that this is the only diff between the two binaries16:35
eibachdMakes sense16:42
joschokay, sd and emmc ls1028a u-boot binaries now here: https://source.mnt.re/reform/reform-ls1028a-uboot/-/jobs/2621/artifacts/browse17:06
joschthe list of changes in the MR became a bit bigger than intended :) https://source.mnt.re/reform/reform-ls1028a-uboot/-/merge_requests/317:06
joschwill test once i'm back on my ls1028a soon!17:07
- eibachd (QUIT: Ping timeout: 256 seconds) (~eibachd@p200300dcf73d8b009df7d895d963fc5b.dip0.t-ipconnect.de)17:33
+ eibachd (~eibachd@p200300dcf73d8b0165c2c554b91925ff.dip0.t-ipconnect.de)17:39
- eibachd (QUIT: Ping timeout: 268 seconds) (~eibachd@p200300dcf73d8b0165c2c554b91925ff.dip0.t-ipconnect.de)18:22
+ eibachd (~eibachd@p200300dcf73d8b00e0eb9b18b91c2691.dip0.t-ipconnect.de)18:23
- ggoes (QUIT: Quit: ZNC - https://znc.in) (~gregf@fsf/staff/ggoes)18:26
+ ggoes (~gregf@fsf/staff/ggoes)18:27
- eibachd (QUIT: Ping timeout: 240 seconds) (~eibachd@p200300dcf73d8b00e0eb9b18b91c2691.dip0.t-ipconnect.de)18:37
+ eibachd (~eibachd@p200300dcf73d8b0158b3e67d26667452.dip0.t-ipconnect.de)18:38
- eibachd (QUIT: Ping timeout: 276 seconds) (~eibachd@p200300dcf73d8b0158b3e67d26667452.dip0.t-ipconnect.de)19:16
+ eibachd (~eibachd@p200300dcf73d8b007cce257666741f27.dip0.t-ipconnect.de)19:16
+ eibachd1 (~eibachd@p200300dcf73d8b0055a01349ef6828fc.dip0.t-ipconnect.de)20:54
+ XYZ (~XYZ@37-48-40-37.nat.epc.tmcz.cz)21:02
eibachd1josch: Damn. That did not go so well: ERROR:   EMMC driver not present. Check your BUILD21:11
eibachd1Returned to my manually built flash.bin for eMMC and everything works. Phew. And you were right, after update-initramfs I do not need the root option in the kernel commandline anymore.21:25
eibachd1I guess I will leave it there cause my australian exchange student will need it this week for some more EtherCAT work.21:28
- eibachd1 (QUIT: Quit: Client closed) (~eibachd@p200300dcf73d8b0055a01349ef6828fc.dip0.t-ipconnect.de)21:52
hramrachjosch: looks like you are missing some EOL backslashes in that boot script https://source.mnt.re/reform/reform-ls1028a-uboot/-/merge_requests/3/diffs?commit_id=0bc4da6c6a2832755279be720bf760382b5fb0a022:08
joschhramrach: reading the diff of a diff is hard. Here is the actual diff after getting patched: https://source.mnt.re/reform/reform-ls1028a-uboot/-/blob/0bc4da6c6a2832755279be720bf760382b5fb0a0/patches/0001-tweak-boot-commands.patch22:11
joschhramrach: do you still see a missing backslash somewhere?22:11
joschif it's still there then i need help because i don't see it :D22:12
hramrachwhen applied it looks fine 22:16
joschthe error message "EMMC driver not present." seems to come from ATF not u-boot22:18
hramrachI guess the coloring gitlab uses does not help22:18
joschfunnily in the code just below it says /* Should never reach here */22:18
joschnow i wonder how i built my stuff differently from how Dirk built it22:18
hramrachdid you build the ATF?22:19
joschatf is built from https://source.mnt.re/reform/reform-ls1028a-atf.git22:20
eibachdjosch: I did a full rebuild of the ATF. Maybe some dependency in the makefile is wrong.22:21
joschyes, that's a possiblity -- maybe i just should do a "git clean -fdx" instead22:21
eibachdThat should do it.22:22
joschwe'll get back to this topic once you and/or I can test this again :)22:22
eibachdYep22:23
joscheibachd: do you have an account on source.mnt.re? Otherwise i can also leave that error message you got in that MR so that we don't forget the current status by then.22:25
eibachdjosch: I have22:27
hramrachthe message is gnerated when #if defined(EMMC_BOOT) && defined(NXP_ESDHC2_ADDR) is not true22:27
BoostisBetteranyone know if it is possible getting protonmail bridge running on the Reform?22:35
f_BoostisBetter: no idea, but I've been using hydroxide for proton22:37
eibachdjosch: done 22:37
f_perhaps try that22:37
minuteBoostisBetter: i've taken a quick look out of curiosity, it's a amd64 binary22:38
minutebox64 crashes > 18176|0x46ad69: Unimplemented Opcode (00 01 75 10) 0F 01 F9 48 C1 E2 20 48 01 D0 48 89 44 24 0822:39
minuteso, no dice. better use open source solutions i guess22:39
minuteBoostisBetter: f_'s recommendation looks good (https://github.com/emersion/hydroxide)22:40
- bkeys (QUIT: Ping timeout: 255 seconds) (~Thunderbi@45.134.140.153)23:13
+ bkeys (~Thunderbi@45.134.140.153)23:20

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