<Guest7234>
i am currently trying to port an older cmd function to the current u-boot release.
<Guest7234>
The cmd function uses 'efi_get_boot' and 'efi_get_priv' from include/efi.h (source file is located under lib/efi.c)
<Guest7234>
Unfortunately i can not link the files ("undefined reference")
<Guest7234>
Does anyone know how to fix this?
<Guest7234>
Where i have to adjust the linker config?
mmu_man has quit [Ping timeout: 244 seconds]
goliath has joined #u-boot
mmu_man has joined #u-boot
clamor has quit [Ping timeout: 248 seconds]
<xypron>
Guest7234: The function efi_get_boot is only provided by the EFI app (CONFIG_EFI_APP=y) and not by normal U-Boot. Please, check your configuration.
clamor has joined #u-boot
ungeskriptet has quit [Remote host closed the connection]
<Guest7234>
CONFIG_EFI_APP is already activated
ungeskriptet has joined #u-boot
<Guest7234>
i can build it when "efi_get_boot" and "efi_get_priv" is commented out
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clamor>
Tartarus: thank you, though some values might still better be adjusted
<Tartarus>
paulbarker: Did you try that Kconfig patch along with "./tools/qconfig -s" to make sure nothing gets stuck now that option guards have changed around a bit?
<paulbarker>
Tartarus: I've checked that menuconfig works as expected but not checked with qconfig.py. I can try running and get back to you
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Tartarus>
Thanks
<Tartarus>
That basically re-runs "make savedefconfig" for everyone, and so if now something is being asked it'll ask
<Tartarus>
And if there's some dep problem, it'll hang
<paulbarker>
Tartarus: All looks good
<paulbarker>
I ran `./tools/qconfig.py -s` on the next branch without my change and committed the updated defconfigs, then applied my Kconfig change and re-ran it, all succeeded and it didn't introduce any extra defconfig changes
<Tartarus>
Great, thanks
enok has joined #u-boot
Stat_headcrabbed has quit [Remote host closed the connection]
monstr has quit [Remote host closed the connection]
Jones42 has quit [Ping timeout: 252 seconds]
Jones42 has joined #u-boot
<Jones42>
I'm a bit lost: how do I load a fitimage from a bare (no FS) partition into memory?
<Sout_>
depends on your system but you can just read it into memory (i use sf read load_addres, location_address, size, could use tftp as well), then bootm to the load address.
<Jones42>
Sout_: it's just a emmc with a dedicated partition for the fitimage. Thanks for the (in hindsight rather obvious) hint towards "read". That should do. I was somehow only looking at the boot* commands. Thanks!
<Sout_>
np, yeah i have a spinor. with just an offset.
enok has quit [Quit: enok]
enok71 has joined #u-boot
enok71 is now known as enok
enok has quit [Quit: enok]
enok has joined #u-boot
mckoan is now known as mckoan|away
vardhan has quit [Ping timeout: 244 seconds]
vardhan_ has quit [Ping timeout: 244 seconds]
goliath has quit [Quit: SIGSEGV]
enok has quit [Quit: enok]
enok71 has joined #u-boot
enok71 is now known as enok
MyNetAz has quit [Remote host closed the connection]
enok has quit [Ping timeout: 244 seconds]
<Tartarus>
Just "read" then?
MyNetAz has joined #u-boot
mripard has quit [Quit: WeeChat 4.5.1]
eballetbo has quit [Quit: Connection closed for inactivity]
enok has joined #u-boot
enok has quit [Ping timeout: 260 seconds]
ldevulder has quit [Remote host closed the connection]
<clamor>
Tartarus: those were values to be adjusted I mentioned before. I can shuffle and test but it is not for me to decide
<Tartarus>
clamor: Yeah. Keep in mind the thing about where/how big the fdt can be is a global thing, not a sandbox thing. So it's relevant to tegra too
warpme has joined #u-boot
<clamor>
Tartarus: true, but each arch/mach specifies it's own ranges in the ram
<Tartarus>
It does. But it's up to the custodian to figure it out / work with others to figure it out, is my only real point here.
<clamor>
Yes, I do get that. Though this exact issue is specific to sandbox and I would need Simons agreement as he is sandbox custodian.
<clamor>
If it was tegra, then it would be discussion with Thierry
<clamor>
sjg1: hello, busy?
enok has joined #u-boot
enok71 has joined #u-boot
enok has quit [Read error: Connection reset by peer]
enok71 is now known as enok
enok has quit [Ping timeout: 244 seconds]
enok has joined #u-boot
goliath has joined #u-boot
<sjg1>
clamor: Hi
<clamor>
sjg1: may we discuss sandbox memory loading points adjustments?
<sjg1>
clamor: sure
<clamor>
sjg1: I have sent a patch addressing the bloblist relocation issue, Tartarus proposed a more permanent solution and I do agree. May you take a look and express your opinion?
tec4 has quit [Quit: bye!]
tec4 has joined #u-boot
<sjg1>
clamor: Yes I think Tom's idea is good
shadowless has joined #u-boot
<clamor>
sjg1: alright 0x4000 offset from pre console buffer would be enough?
<clamor>
I have some rough calculations, just need this value
vagrantc has joined #u-boot
<sjg1>
clamor: Yes that's OK. If you want to be careful you could add a sandbox function which checks some of these things don't overlap
<clamor>
sjg1: I will check tomorrow, but so far that should be enough, even with some room for expansion. I will send my preliminary map to the mailing list and prep v2 tomorrow
<sjg1>
clamor: OK thank you
<clamor>
sjg1: np
clamor has quit [Quit: Quit]
clamor has joined #u-boot
clamor has quit [Client Quit]
enok has quit [Remote host closed the connection]
enok has joined #u-boot
umbramalison has joined #u-boot
umbramalison_alt has quit [Ping timeout: 245 seconds]