<paulbarker>
The suggested command `buildman --fetch-arch all` installs far too much, I killed it after it had pulled several GB of toolchains
<paulbarker>
Is there a way to find out which toolchain is needed to build sandbox_spl so I don't need to install all of them?
<paulbarker>
I can build following the instructions in `doc/arch/sandbox.rst` but the command in the test log `./tools/buildman/buildman -T0 -o ${UBOOT_TRAVIS_BUILD_DIR} -w --board sandbox_spl` fails
<LeSpocky>
is there a way to ask for confirmation in the u-boot console when running an u-boot script with potential destructive actions?
<LeSpocky>
there's confirm_yesno() in include/console.h but it's not exposed to any command for scripting
<LeSpocky>
well I did not look for builtin commands ^^
<LeSpocky>
thx
hanetzer has quit [Remote host closed the connection]
hanetzer has joined #u-boot
hanetzer has joined #u-boot
hanetzer has quit [Changing host]
matthias_bgg has quit [Read error: Connection reset by peer]
hanetzer has quit [Read error: Connection reset by peer]
<milkylainen>
LeSpocky: np
hanetzer has joined #u-boot
hanetzer1 has joined #u-boot
hanetzer has quit [Killed (NickServ (GHOST command used by hanetzer1!~hanetzer@172.58.97.69))]
hanetzer1 has joined #u-boot
hanetzer1 has quit [Changing host]
hanetzer1 is now known as hanetzer
monstr has joined #u-boot
matthias_bgg has joined #u-boot
<sjg1>
paulbarker: For sandbox you only need the native toolchain for your machine: sudo apt install build-essential
<sjg1>
paulbarker: But see the documentation for building U-Boot which has all of this
<sjg1>
paulbarker: For this one: binman.ftest.TestFunctional.testFullHelpInternal testtools.testresult.real._StringException: Traceback (most recent call last):
<sjg1>
paulbarker: you need to run ./tools/binman/binman test
<sjg1>
paulbarker: so 'buildman sandbox -o somedir
<sjg1>
Then ./tools/binman/binman --toolpath somedir/tools test
Xavier7 has joined #u-boot
jwillikers has joined #u-boot
<Tartarus>
paulbarker: It's also possible you'll just want to grab the container and re-run the tests in there instead, if you're still having a problem. OTOH I see you posted v3 and v4, so maybe you got it tested :) I'll try and fire off something shortly since I recall it was kind of annoying to reproduce the failure I saw, but it was repeatable in CI at least.
hanetzer has quit [Quit: WeeChat 3.2]
<paulbarker>
Tartarus: I figured out I could add a toolchain alias of 'sandbox' -> 'x86_64', install that single toolchain and build
<paulbarker>
Couldn't run all the tests as `lzma_alone` isn't packaged for opensuse as far as I can find, but I could re-run the test that failed, see the failure then fix it
<Tartarus>
OK, good :)
tlwoerner has joined #u-boot
torez has joined #u-boot
<Tartarus>
paulbarker: And reading the changelog now, yeah, wow, that's some python craziness
tnovotny_ has quit [Read error: Connection reset by peer]
tnovotny_ has joined #u-boot
tnovotny has joined #u-boot
tnovotny_ has quit [Ping timeout: 252 seconds]
<milkylainen>
sjg1: nice! I'll take a look as soon as I get some spare time. Any defconfig changes I need to enable to get support for the uefi protocols? Or are they just there in app mode?
PatDelaunay has quit [Quit: Client closed]
mmu_man has joined #u-boot
gsz has joined #u-boot
milkylainen has quit [Quit: Ping timeout (120 seconds)]
tnovotny has quit [Quit: Leaving]
matthias_bgg has quit [Ping timeout: 252 seconds]
sszy has quit [Ping timeout: 265 seconds]
guillaume_g has quit [Quit: Konversation terminated!]
<mrnuke>
Tartarus: I saw the PPC build fails on gitlab. I'm looking too see what fails
fdanis is now known as fdanis_away
matthias_bgg has joined #u-boot
<Tartarus>
mrnuke: I've got that, it's FSL_CAAM needs to imply SPL_CRYPTO if (ARM && SPL)
<Tartarus>
That's more of a wtf I'm trying to figure out right now
<Tartarus>
Ah, I think I see, problem in common/hash.c
<Tartarus>
#ifdef USE_HOSTCC
<Tartarus>
#endif
<Tartarus>
#else
<Tartarus>
# define I_WANT_MD5 IS_ENABLED(MD5)
<Tartarus>
# define I_WANT_MD5 1
<Tartarus>
But IS_ENABLED() needs CONFIG_foo, CONFIG_IS_ENABLED(foo) is what should be there
<Tartarus>
I can fix that and re-run
<mrnuke>
Tartarus: I'm sorry this series causes you so much headache. I wish it had just worked (forgot to builbman powerpc).
<Tartarus>
no worries
<mrnuke>
Tartarus: I do appreciate your help with this series. You did save me a lot of time. Thank you!
_whitelogger has joined #u-boot
Xavier7 has quit [Quit: IRcap 8.72 ]
monstr has quit [Remote host closed the connection]
mmu_man has quit [Ping timeout: 260 seconds]
Zapy has quit [Quit: The Bananas are coming! Flee for your lives!]
Zapy has joined #u-boot
Zapy has quit [Read error: Connection reset by peer]
Zapy has joined #u-boot
mripard has quit [Ping timeout: 252 seconds]
mripard has joined #u-boot
sakman has quit [Remote host closed the connection]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #u-boot
marc1 has joined #u-boot
gsz has quit [Quit: leaving]
sakman has joined #u-boot
frieder has quit [Remote host closed the connection]
<Tartarus>
mrnuke: OK, so here's a concern. It seems like that FIT_SHA256 select'd SHA256 meant that sha256 was a valid option for FIT verification before, but is dropped by your series
<Tartarus>
Or maybe the users weren't really using it anyhow, looking at others.
mmu_man has joined #u-boot
<mrnuke>
Tartarus: I did consider that. I would expect defconfigs to select FIT_SHA256, but they don't. There wasn't any other config that "select FIT_SHA256"
<mrnuke>
I see your point with "default y" -> FIT_SHA256 -> "select SHA256"
<mrnuke>
I suppose it wouldn't hurt for "config FIT" to "imply SHA256" I can test this locally to see if it builds
<mrnuke>
Tartarus: you're already ahead of me on that too! Reminds me of that commercial where some detectives were tracking and AMD GPU, and couldn't keep up with it because "It's too fast!"