Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2023.07.02, v2023.10-rc4 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2023.10 is scheduled for 02 October 2023 / Channel archives at https://libera.irclog.whitequark.org/u-boot
goliath has quit [Quit: SIGSEGV]
vagrantc has quit [Quit: leaving]
persmule has joined #u-boot
sukrutb has quit [Ping timeout: 260 seconds]
sukrutb has joined #u-boot
sukrutb_ has joined #u-boot
sukrutb_ has quit [Ping timeout: 255 seconds]
sukrutb has quit [Ping timeout: 255 seconds]
jclsn has quit [Ping timeout: 260 seconds]
jclsn has joined #u-boot
mmu_man has quit [Ping timeout: 240 seconds]
persmule has quit [Remote host closed the connection]
Clamor has joined #u-boot
sukrutb_ has joined #u-boot
sukrutb has joined #u-boot
dsimic has quit [Quit: Going offline for now]
dsimic has joined #u-boot
dsimic has quit [Quit: Going offline for now]
dsimic has joined #u-boot
monstr has joined #u-boot
monstr_ has joined #u-boot
monstr has quit [Read error: Connection reset by peer]
dsimic has quit [Quit: Going offline for now]
dsimic has joined #u-boot
dsimic has quit [Client Quit]
dsimic has joined #u-boot
dsimic has quit [Client Quit]
dsimic has joined #u-boot
dsimic has quit [Quit: Going offline for now]
dsimic has joined #u-boot
sukrutb_ has quit [Ping timeout: 255 seconds]
sukrutb has quit [Ping timeout: 255 seconds]
mckoan|away is now known as mckoan
gmcastil_at_work has quit [Read error: Connection reset by peer]
gmcastil_at_work has joined #u-boot
gmcastil_at_work has quit [Remote host closed the connection]
gmcastil_at_work has joined #u-boot
gmcastil_at_work has quit [Remote host closed the connection]
gmcastil_at_work has joined #u-boot
gmcastil_at_work has quit [Remote host closed the connection]
gmcastil_at_work has joined #u-boot
dsimic has quit [Quit: Going offline for now]
dsimic has joined #u-boot
ldevulder has joined #u-boot
stefanro has joined #u-boot
sng has quit [Read error: Connection reset by peer]
gsz has joined #u-boot
sszy has joined #u-boot
sakman has quit [Ping timeout: 255 seconds]
deathcamel57 has joined #u-boot
deathcamel57__ has quit [Read error: Connection reset by peer]
deathcamel57_ has joined #u-boot
<xypron> mps: https://doc-en.rvspace.org/VisionFive2/Developer_Guide/JH7110_Boot_UG.pdf (2023/07/14) has "System will detect in sequence whether it can boot from the following device sequence: NVMe > SD > eMMC." So NVMe first as in my patch.
deathcamel57 has quit [Ping timeout: 240 seconds]
sng has joined #u-boot
<mps> xypron: interesting, here https://doc-en.rvspace.org/VisionFive2/Boot_UG/JH7110_SDK/boot_flow.html is written 'System will detect in sequence whether it can boot from the following device sequence: SD > eMMC > NVMe.'
<mps> to me this sounds better, if nvme can't boot (messed FS) then insert rescue mmc card and boot it to fix nvme
<mps> ofc, breaking u-boot and issue proper 'run bootcmd_$dev' can be used
<mps> xypron: I don't insist on any order, just thinking aloud what would be best for end users
mmu_man has joined #u-boot
ikarso has joined #u-boot
Clamor has quit [Ping timeout: 255 seconds]
Clamor has joined #u-boot
dsimic has quit [Quit: Going offline for now]
dsimic has joined #u-boot
prabhakarlad has joined #u-boot
dsimic has quit [Quit: Going offline for now]
dsimic has joined #u-boot
dsimic has quit [Client Quit]
dsimic has joined #u-boot
slobodan has joined #u-boot
dsimic has quit [Quit: Going offline for now]
dsimic has joined #u-boot
goliath has joined #u-boot
Guest1119 has quit [Quit: Quit]
Net147 has joined #u-boot
Net147 has quit [Changing host]
Net147 has joined #u-boot
dsimic has quit [Quit: Going offline for now]
dsimic has joined #u-boot
naoki has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
naoki has quit [Client Quit]
Clamor has joined #u-boot
mmu_man has quit [Ping timeout: 255 seconds]
mckoan is now known as mckoan|away
mmu_man has joined #u-boot
mmu_man has quit [Ping timeout: 255 seconds]
mmu_man has joined #u-boot
dsimic has quit [Ping timeout: 255 seconds]
dsimic has joined #u-boot
davlefou has quit [Ping timeout: 252 seconds]
<gsz> Hi! I've tried enabling USB_GADGET_DWC2_OTG on an STM32MP13-based board, but in drivers/usb/gadget/dwc2_udc_otg_phy.c there's an undefined variable used: s5p_cpu_id; S5P seems to be a Samsung SoC line. Is it possible to have a U-Boot USB gadget on non-Samsung boards?
<Xogium> gsz: mainline u-boot I'm guessing ? Cause for me on the st port it is working fine, that is, the otg serves as usb mass storage in u-boot
<Xogium> maybe you could check how it is done on the st port and try to replicate in mainline ? Random thought
<gsz> Thanks for confirming that it should work, I'll try to dig deeper
<Xogium> that seems like mainline to me but... I don't know ? Admitely I never saw that custodian thing before
<Xogium> the u-boot I use is the one st has on their github, stmicroelectronics/u-boot
<Xogium> v2022.10
<Xogium> also, this a custom board or the st dev kit ?
<gsz> Odyssey-STM32MP135D
<Xogium> omg
<Xogium> I've literally, just literally finished porting the odyssey to the st softwares (straight from st not seeed)
<gsz> I've noticed somewhere on IRC that you were working on it ;)
<gsz> Is it just U-Boot, or Linux works too?
<Xogium> I've not attempted mailine at all because I don't need it for my use case, but holy damn was the seeed software a mess
<Xogium> I ported to the whole boot chain including linux
<Xogium> even had some nice help to make the eeprom behave as it should, including being able to store mac addresses in there and retrieving via nvmem framework, both in linux and u-boot
<Xogium> you can also make u-boot store its env in there if you so wish
<gsz> Nice. Regarding mainlining, are you going to send patches to the relevant projects?
<Xogium> I don't know, given it's just st softwares atm. Like I said, I didn't attempt mainline, because it wasn't needed for my use case. I plan on using the full power management capabilities of the hardware and iirc this isn't yet possible in upstream
davlefou has joined #u-boot
<Xogium> I also spoted a few nasty things seeed did when they copied over the dt from the mp135f, including not fixing the vref of the adc. You end up with a vref of 3.3v when the manual clearly indicates it should be 1.8v when using an external vref
<Xogium> and also, unless I'm completely hallucinated that one, the eMMC in linux was even wrongly configured for 200 mhz frequency. At 3.3v
<gsz> That's why I'm writing the DT from scratch, though neither way is perfect
<Xogium> gsz: pm'ed you :)
gmcastil_ has joined #u-boot
mmu_man has quit [Ping timeout: 264 seconds]
gmcastil_at_work has quit [Ping timeout: 272 seconds]
Clamor has quit [Ping timeout: 255 seconds]
mmu_man has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
mmu_man has quit [Ping timeout: 255 seconds]
ikarso has quit [Quit: Connection closed for inactivity]
sakman has joined #u-boot
stefanro has quit [Quit: Leaving.]
ikarso has joined #u-boot
dsimic has quit [Quit: Going offline for now]
dsimic has joined #u-boot
persmule has joined #u-boot
dsimic has quit [Quit: Going offline for now]
dsimic has joined #u-boot
gmcastil_ has quit [Quit: Leaving]
prabhakarlad has joined #u-boot
<Sout_> so u-boot / linux interaction question. my device says "OF: fdt: Ignoring memory range 0x0 - 0x10000000" using a fit image. with a Load Address: 0x10000000 & Entry Point: 0x10000000. is that just a coincidence? or is that an effect of that load address?
dsimic has quit [Quit: Going offline for now]
dsimic has joined #u-boot
<Tartarus> Yes, coincidence
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<Sout_> k thanks. that really helps
torez has joined #u-boot
dsimic has quit [Quit: Going offline for now]
monstr_ has quit [Remote host closed the connection]
dsimic has joined #u-boot
Stat_headcrabed has joined #u-boot
flyback has quit [Quit: Leaving]
flyback- has joined #u-boot
flyback- has quit [Client Quit]
flyback has joined #u-boot
<macromorgan> is there a way to update a devicetree value to have multiple properties? For example I have a compatible string that I want to set as `"anbernic,rg353v-panel", "newvision,nv3051d"`. Today I'm just setting it as the last value using do_fixup_by_path_string().
<macromorgan> otherwise I'll have to fix a Linux driver and U-Boot board file at the same time and there could be some version compatibility issues.
slobodan has quit [Read error: Connection reset by peer]
mmu_man has joined #u-boot
slobodan has joined #u-boot
vagrantc has joined #u-boot
justache has quit [Ping timeout: 258 seconds]
justache has joined #u-boot
manchaw has quit [Ping timeout: 252 seconds]
manchaw has joined #u-boot
slobodan has quit [Quit: Leaving]
BobBeck has quit [Read error: Connection reset by peer]
BobBeck3 has joined #u-boot
ezulian has quit [Ping timeout: 240 seconds]
NishanthMenon has quit [Ping timeout: 252 seconds]
NishanthMenon has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
sukrutb has joined #u-boot
sukrutb_ has joined #u-boot
vagrantc has quit [Quit: leaving]
vagrantc has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
goliath has quit [Quit: SIGSEGV]
sukrutb has quit [Ping timeout: 255 seconds]
sukrutb_ has quit [Ping timeout: 258 seconds]
flom84 has joined #u-boot
sukrutb_ has joined #u-boot
sukrutb has joined #u-boot
sukrutb_ has quit [Ping timeout: 255 seconds]
sukrutb has quit [Ping timeout: 255 seconds]
mripard has quit [Quit: mripard]
ikarso has joined #u-boot
goliath has joined #u-boot
mmu_man has quit [Ping timeout: 255 seconds]
rockosov has quit [Quit: WeeChat 3.4-dev]
Mis012 has joined #u-boot
Mis012- has quit [Ping timeout: 252 seconds]
mmu_man has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
vagrantc has quit [Ping timeout: 258 seconds]
flom84 has quit [Ping timeout: 255 seconds]
vagrantc has joined #u-boot
<silurian_invader> has anyone else been getting crashes in lists_driver_lookup_name("root_driver")?
<silurian_invader> it happened to me with qemu_x86_64 and sandbox_spl
<silurian_invader> after some modifications, so I'm not sure if it's just something misconfigured
<silurian_invader> the weird thing is that the disassembly looks like https://paste.debian.net/1293560/
<silurian_invader> and the loop condition is based on ll_entry_end() - ll_entry_start()
<silurian_invader> but 0x37348 - 0x361e0 is 4456, which isn't divisible by sizeof(struct driver) (which is 120 bytes)
<silurian_invader> so maybe something is off with the linker stuff?
<silurian_invader> but we should always find root_driver...
<silurian_invader> (as a side note, I think we should really loop until entry == ll_entry_end() since that avoids an imul)
<silurian_invader> the weird thing is that even on _start there is bogus stuff in the linker list https://gist.github.com/sean-anderson-seco/842298ba7e1af50620f7d52f3d021844
<silurian_invader> how did that get there?
torez has quit [Quit: torez]
goliath has quit [Quit: SIGSEGV]
<silurian_invader> ok, so I have found 16 bytes in my linker list https://gist.github.com/sean-anderson-seco/01a2db7d036a154c17cede9b1c96a931
<silurian_invader> no symbol at that address though
<silurian_invader> an alternative view of the problem: https://gist.github.com/sean-anderson-seco/adbc6b61a3ff4d03868de66a3238aeda
goliath has joined #u-boot
flyback has quit [Quit: Leaving]
pgreco_ has joined #u-boot
pgreco has quit [Ping timeout: 245 seconds]