Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2022.04 is OUT / Merge Window is OPEN until 25 April 2022 / Release v2022.07 is scheduled for 4 July 2022 / http://www.denx.de/wiki/U-Boot / Channel archives at https://libera.irclog.whitequark.org/u-boot
nz is now known as bq
dwrice0 has joined #u-boot
dwrice0__ has quit [Ping timeout: 268 seconds]
kettenis has quit [Ping timeout: 240 seconds]
torez has quit [Quit: torez]
kettenis has joined #u-boot
qschulz has quit [Remote host closed the connection]
qschulz has joined #u-boot
apritzel has quit [Ping timeout: 268 seconds]
lowfi has joined #u-boot
mmu_man has quit [Ping timeout: 248 seconds]
<flyback> I give up
<flyback> the toolchain is broken from u-boot's site
<flyback> apprentely it's not compatible with lubuntu at all
lowfi has quit [Quit: Leaving]
thopiekar_ has joined #u-boot
thopiekar is now known as Guest2801
thopiekar_ is now known as thopiekar
Guest2801 has quit [Killed (copper.libera.chat (Nickname regained by services))]
<flyback> will have to see if I can run a old version of qemu or something with powerpc support, run a full os off it and compile it that way
<flyback> cause cross compilers are *CANUCKED*
* flyback rubs a channel canadian on them
dwrice0_ has joined #u-boot
vagrantc has quit [Quit: leaving]
dwrice0 has quit [Ping timeout: 246 seconds]
<flyback> I guess the easiest thing to do is making a x86 vm of a linux old version where these cross compiler tools actually install and run
darkapex has joined #u-boot
jclsn0 has joined #u-boot
jclsn has quit [Ping timeout: 246 seconds]
rfried has quit [Quit: Ping timeout (120 seconds)]
rfried has joined #u-boot
prabhakarlad has joined #u-boot
prabhakarlad has quit [Ping timeout: 250 seconds]
prabhakarlad has joined #u-boot
monstr has joined #u-boot
apritzel has joined #u-boot
darkapex has quit [Ping timeout: 246 seconds]
darkapex has joined #u-boot
apritzel has quit [Quit: Leaving]
mckoan|away is now known as mckoan
Pali has joined #u-boot
frieder has joined #u-boot
Pali has left #u-boot [#u-boot]
zibolo has joined #u-boot
sszy has joined #u-boot
___nick___ has joined #u-boot
matthias_bgg has joined #u-boot
mort7 has joined #u-boot
mort7 is now known as mort
mort has quit [Ping timeout: 245 seconds]
Rondom has quit [Quit: No Ping reply in 180 seconds.]
zibolo has quit [Ping timeout: 248 seconds]
zibolo has joined #u-boot
Rondom has joined #u-boot
mmu_man has joined #u-boot
ldevulder has quit [Quit: Leaving]
prabhakarlad has quit [Quit: Client closed]
<rburton> Does u-boot support the qemu thing where it can look for a fw-cfg element in the devicetree that specifies kernel options (ie qemu's -append argument when it's not booting a kernel directly)
<rburton> i'm told edk2 does and uboot probably does
prabhakarlad has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
ldevulder has joined #u-boot
MrSaturn has joined #u-boot
<MrSaturn> For those of you that have been following my drama of the slow TFTP transfer speeds, I finally solved the (quite unexpected) problem. console multiplexing was enabled and stdout was being routed to both the console and VGA. The act of updating the framebuffer was so taxing on the processor that it was unable to keep up.
<MrSaturn> That is my theory any way. "setenv stdout serial" solved the issue.
stefanro has left #u-boot [#u-boot]
stefanro has joined #u-boot
ldevulder has quit [Quit: Leaving]
prabhakarlad has joined #u-boot
persmule has joined #u-boot
<Tartarus> rburton: Depends on the part of the fw-cfg thing you're talking about, I think
torez has joined #u-boot
<Tartarus> rburton: If you mean passing stuff in via /chosen, yes, I believe we use the passed in device tree as-is, so that should get passed along. If you mean passing kernel/ramdisk/dtb file to use, I forget how widely the qfw command works, I think it might not on ppc for example
<kabel> any native german here? my cousin received a speeding fine from germany (written in slovak), he paid via bank transaction, and two weeks ago he received another letter, now in german, for the same fine. I think they received the first payment, but didn't pair it yet before sending the second notice, but I may be wrong, and I have problems decoding the buro-deutsch in that letter. Can someone look
<kabel> at it?
persmule has quit [Ping timeout: 240 seconds]
<rburton> Tartarus: i found the qfw command which is close. so my use-case is I'm booting a disk image but really want to get the kernel to have extra arguments (specifically, i'm passing -append ip=dhcp in environments where we're using slirp). don't want to use qfw load as the kernel/initrd are in the disk image. I did just hack up a 'qfw args' command which pulls the append arguments and sets a variable, which seems like a step in the right direction!
<Tartarus> Hunh, ok, I would have thought it would just be in /chosen in the generated dtb
<Tartarus> But yeah, ok, new qfw command then :)
<Tartarus> If nothing else maybe it'll get someone else to point out what I'm missing/forgetting
<rburton> i'm still failing around in the dark so i may be doing something wrong
<rburton> ah i wonder if its the extlinux.conf on disk which means it explicitly sets some values
persmule has joined #u-boot
<Tartarus> Yeah, extlinux.conf adds more fun
<Tartarus> I think last time I kicked that stuff with OE I was making sure it had the right arguments in what was generated
persmule has quit [Ping timeout: 240 seconds]
monstr has quit [Remote host closed the connection]
mckoan is now known as mckoan|away
<rburton> i'm tempted to burn wic to the ground
<rburton> our extlinux.conf tells the uboot where to load a kernel from and some arguments, such as where the rootfs is
<rburton> but i want to inject more arguments from qemu-land
<rburton> looks like i can't do that :/
<MrSaturn> Alright, here we go. I set the TFTP_BLOCK to 4096, tftpboot works great - but when I run tftpput I get this error: "T Payload (4141) too large" any ideas?
<Tartarus> Yeah, I forget if you'd have more luck trying to go a more UEFI-direction or not
<Tartarus> depends on if -append gets in to /chosen or not, and you can poke that with the fdt command to check
<Tartarus> or, if it all gets overwritten with the idea that what's on disk is going to be most correct
<rburton> Tartarus: "bootargs = "root=/dev/vda rw mem=1024M ip=dhcp console=ttyAMA0 console=hvc0 ";"
<rburton> so the fdt has the right bits in
<rburton> guessing the extlinux having another append statement in means that wins when the kernel loads
<rburton> but i think i can work around this!
<Tartarus> MrSaturn: block + udp header or wahtever == 4141?
<Tartarus> rburton: Good progress, yeah. Lemme go check my notes..
<Tartarus> rburton: OK, yeah, so if we have ${foo} in the U-Boot env, and ${foo} in the extlinux.conf args line (I'd been doing root=PARTUUID=${uuid} so using UBOOT_EXTLINUX_ROOT wasn't absuing variables) it'll get expanded
vagrantc has joined #u-boot
Mike23 has joined #u-boot
sbach has joined #u-boot
sbach has quit [Remote host closed the connection]
sbach has joined #u-boot
Pali has joined #u-boot
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
sbach has quit [Remote host closed the connection]
Mike23 has quit [Quit: Client closed]
sbach has joined #u-boot
frieder has quit [Remote host closed the connection]
sobkas has joined #u-boot
mmu_man has quit [Ping timeout: 252 seconds]
<MrSaturn> Tartarus: yes, it appears so
prabhakarlad has quit [Quit: Client closed]
mmu_man has joined #u-boot
<Forty-Bot> what does "deferred" mean on patchwork?
redbrain has quit [Read error: Connection reset by peer]
redbrain has joined #u-boot
<apalos> rburton: I assume you are looking this into arm related context?
<apalos> If so Tom's right here, you probably need to test the EFI route (systemready etc)
<apalos> rburton: efidebug boot add -b 0 'the name' virtio 0:1 <path to image> -i virtio 0:1 <path to initrd -s 'cmd line args' && efidebug boot order 0 && bootefi bootmgr should do thge trick
<rburton> yes, arm. i think i need to rewrite the entire image generation dance.
<apalos> well the kernel get's stuffed with a PE/COFF header, so you dont really need to change anything there
<apalos> there's also a way for you to bake the output of that efidebug command into u-boot
gsz has joined #u-boot
<rburton> i don't want it baked in, that's the problem
<apalos> ok the the command is good enough?
<rburton> we've a wrapper script calling qemu which passes -append parameters depending on whether tap or slirp is being used
<apalos> there's also a series under review which has a bootmenu and you can graphically choose what you need to load with EFI
<apalos> but that needs a few more review rounds, generally it works though
zibolo has quit [Ping timeout: 260 seconds]
zibolo has joined #u-boot
<Tartarus> Forty-Bot: I'm not super consistent, but in the case of the nuvoton stuff, it's because there needs to be a v2 anyhow of other parts of the series and I try and not leave a series as partly new, partly changes requested
<Tartarus> I do assign to self and deferred when I clear out patches that haven't been applied after 1 year
<Forty-Bot> thanks; I was trying to figure out what the situation was
<Tartarus> And I also misread the 7xx and 8xx stuff as being the same, when it's not, but yeah, sure seems like there should be a good deal of driver overlap and so forth
<Forty-Bot> from what I can tell the 7xx clock driver is exactly the same as the v1 8xx driver but with the constants swapped out
<Forty-Bot> I'd love if there was some way to filter by which patches I've already reviewed and which I still need to address
<Forty-Bot> like if there was an intermediate state between "new/under review" and "accepted"
prabhakarlad has joined #u-boot
<Tartarus> there's "awaiting upstream", but I don't think that fits for this case
drewfustini has quit []
drewfustini has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
<MrSaturn> Yeah, this is pretty strange. I am seeing it on the development board as well. 2 different TFTP servers as well: T Payload (1514) too large
<MrSaturn> Is it true that "tftpput" is limited in the size you can transfer to less than a block size? It works fine for small files
<Tartarus> I think the most true statement is that tftput isn't nearly as well tested and used as tftpget/tftpboot so, there might be bugs
<Tartarus> If you can wireshark/tcpdump that might help (I'm not crazy and tcpdump does everything, right?)
<MrSaturn> https://paste.debian.net/1237030/ f'ing great. just what I wanted to see in ethernet driver.
<Tartarus> Welp
* MrSaturn sighs.
<MrSaturn> Maybe I upstream a patch. :)
<Tartarus> at least it didn't take long to track down the error message
<vagrantc> is there a script to tidy up sort order of configs/* ?
<Tartarus> huh?
<Tartarus> tools/moveconfig.py -s will re-sync them and I do that periodically
<vagrantc> like if i dump some random configuration options into configs/someboard_defconfig ... is there a tool to sort the order of the options within it? :)
<vagrantc> or help prune out redundant ones (e.g. CONFIG_FOO enables CONFIG_BAR, so no need to explicitly enable CONFIG_BAR)
<vagrantc> guessing moveconfig.py would do some of that...
<Tartarus> you can use -d to specify a list of them to re-sync rather than all
<Tartarus> Yes, tools/moveconfig.py will re-sync them
* vagrantc is working on something more than typo corrections :)
<vagrantc> though have a couple of those too :)
sobkas has quit [Quit: sobkas]
___nick___ has quit [Ping timeout: 248 seconds]
gsz has quit [Quit: leaving]
sakman has quit [Quit: Leaving]
mrnuke has quit [Ping timeout: 260 seconds]
mrnuke has joined #u-boot
sbach has quit [Ping timeout: 272 seconds]
<marex> Pali: if you fix the turris updater so it actually updates, I might find BDI2000 with PPC firmware ;-)
mmu_man has quit [Ping timeout: 272 seconds]
mmu_man has joined #u-boot
sbach has joined #u-boot
camus1 has joined #u-boot
camus has quit [Ping timeout: 268 seconds]
camus1 is now known as camus
Pali has left #u-boot [#u-boot]
kmcopper has joined #u-boot