haritz has quit [Read error: Connection reset by peer]
stefanct has quit [Quit: quit]
stefanct has joined #u-boot
Perflosopher0 has quit [Quit: Ping timeout (120 seconds)]
Perflosopher0 has joined #u-boot
vagrantc has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
qschulz has quit [Remote host closed the connection]
zibolo has quit [Ping timeout: 260 seconds]
qschulz has joined #u-boot
zibolo has joined #u-boot
vagrantc has quit [Quit: leaving]
jclsn has quit [Ping timeout: 272 seconds]
jclsn has joined #u-boot
nga23 has joined #u-boot
nga23 has quit [Quit: WeeChat 4.5.1]
nga23 has joined #u-boot
LeSpocky has quit [Ping timeout: 244 seconds]
LeSpocky has joined #u-boot
mmu_man has quit [Ping timeout: 244 seconds]
frytaped has joined #u-boot
frytaped has quit [Ping timeout: 252 seconds]
frytaped has joined #u-boot
Peng_Fan has quit [Quit: Connection closed for inactivity]
persmule has quit [Remote host closed the connection]
nga539 has joined #u-boot
nga23 has quit [Ping timeout: 252 seconds]
ikarso has joined #u-boot
Peng_Fan has joined #u-boot
persmule has joined #u-boot
gsz has joined #u-boot
gsz has quit [Ping timeout: 245 seconds]
gsz has joined #u-boot
gsz has quit [Ping timeout: 252 seconds]
dsimic has quit [Ping timeout: 244 seconds]
dsimic has joined #u-boot
vardhan has joined #u-boot
vardhan_ has joined #u-boot
nga539 has quit [Quit: WeeChat 4.5.1]
gsz has joined #u-boot
Peng_Fan has quit [Quit: Connection closed for inactivity]
ALTracer has joined #u-boot
goliath has joined #u-boot
rvalue- has joined #u-boot
rvalue has quit [Ping timeout: 252 seconds]
goliath has quit [Quit: SIGSEGV]
rvalue- is now known as rvalue
goliath has joined #u-boot
mmu_man has joined #u-boot
vardhan has quit [Ping timeout: 252 seconds]
vardhan_ has quit [Ping timeout: 245 seconds]
LordKalma has quit [Quit: Server has probably crashed]
LordKalma has joined #u-boot
retr0id5 has joined #u-boot
retr0id has quit [Ping timeout: 248 seconds]
retr0id5 is now known as retr0id
Stat_headcrabbed has joined #u-boot
burlak has joined #u-boot
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
naoki has quit [Quit: naoki]
mmu_man has quit [Read error: Connection reset by peer]
mmu_man has joined #u-boot
<samcday>
Anyone know the history of the REBOOT_MODE uclass? I wrote a driver for it and manually kludged "dm_reboot_mode_update" into my "board_late_init" and it works nicely, but it seems like it isn't used anywhere. Should that "dm_reboot_mode_update" be called somewhere automatically when "DM_REBOOT_MODE=y"?
<marex>
I never used that one
<marex>
seems sandbox specific ... sjg1 ^ ?
<samcday>
My gut feeling is it was intended to properly codify something that was done elsewhere (such as "sniper" board), but after the groundwork was laid no actual consumers were integrated because life do be like that sometimes
<samcday>
I'd be surprised if it was just for sandbox since the original author implemented actual drivers for GPIO and nvram
<marex>
oh, you're right
<samcday>
Also, interestingly, the uclass code is making use of a "mode-" property convention on the DT node to map the reboot codes to strings, and the device I chose to write a reboot mode for (PM8916) already has those properties in the upstream .dtsi ... So that's why I'm really confused as to why all this great stuff already exists (since 2021!) but isn't in use anywhere o.O
Hammdist has joined #u-boot
<Hammdist>
hello. I am interested in building a custom u-boot for orange pi 5 that would utilize a smaller baud rate than the default, because my serial port adapater does not support 1500000. is this possible?
<samcday>
So I think it might be as easy as dropping a "stdout-path = "serial2:<your new buad>n8";" into the "/chosen" of that file, and then rebuild
<sjg1>
samcday: The reason for the sandbox support is that we have to have sandbox tests for each uclass. I'm not sure why no one has upstreamed actual use of this feature to U-Boot
<samcday>
I was thinking maybe it'd make sense to do as a uclass ".child_post_probe" or something, but the problem with that is "env_set" doesn't work until somewhere later like "board_late_init"
zsoltiv_ has joined #u-boot
ALTracer has quit [Quit: Quit]
Han50lo85 has joined #u-boot
frytaped has quit [Ping timeout: 252 seconds]
goliath has quit [Quit: SIGSEGV]
Stat_headcrabbed has joined #u-boot
Stat_headcrabbed has quit [Client Quit]
Han50lo85 has quit [Quit: Han50lo85]
<sjg1>
samcday: You could perhaps create a sysinfo driver for the board and do it there. You could have a phandle from the sysinfo node pointing to the reboot-mode device.
<marex>
Hammdist: setenv baudrate number ; saveenv
<marex>
Hammdist: you can reconfigure baudrate by setting that variable in your U-Boot env, no need to rebuild anything
naoki has joined #u-boot
goliath has joined #u-boot
mmu_man has quit [Ping timeout: 265 seconds]
mmu_man has joined #u-boot
alpernebbi has quit [Ping timeout: 252 seconds]
alpernebbi has joined #u-boot
Perflosopher0 has quit [Ping timeout: 252 seconds]
Perflosopher0 has joined #u-boot
<marex>
Tartarus: did that hash md5 test go all weird ?
goliath has quit [Quit: SIGSEGV]
<Tartarus>
marex: well, there's something up yes, no, no one knows why
<Tartarus>
Removing or skipping the test papers over the problem, and the problem only shows up when the test was added