<Blok>
Device tree question: I have a SPI device that in addition to normal SPI pins has a reset pin connected. How do I define that in the device tree?
<Tartarus>
However the Linux dts bindings say to
mckoan is now known as mckoan|away
vfazio_ has quit [Ping timeout: 240 seconds]
vfazio has joined #u-boot
<cambrian_invader>
wyre: how do you know if a custom environment is being used?
Blok has quit [Quit: Client closed]
<wyre>
cambrian_invader, bc when I close the jumper in the board (to boot directly from the SDCard) it loads a different environment than when I just boot the board without the jumper (so it boots the nand content)
<cambrian_invader>
wyre: have a look at env_get_location
<wyre>
cambrian_invader, is it a u-boot command? 🤔
<cambrian_invader>
no the function in board/st/stm32mp1/stm32mp1.c
brujah has quit [Remote host closed the connection]
<wyre>
cambrian_invader, the SoM is nxp 🤔
brujah has joined #u-boot
<cambrian_invader>
sorry, I meant board/engicam/stm32mp1/stm32mp1.c
<cambrian_invader>
but just grep for it
<cambrian_invader>
e.g. arch/arm/mach-imx/imx8m/soc.c
Tooniis[m] has quit [Quit: You have been kicked for being idle]
<wyre>
cambrian_invader, but ... wouldn't that need to have the system booted?
<cambrian_invader>
yes
<cambrian_invader>
at least enough to get to U-Boot :)\
<wyre>
cambrian_invader, may I use that c function in the u-boot shell?
<cambrian_invader>
no, but see the "env import" command
adeepv has joined #u-boot
sobkas has joined #u-boot
brujah_ has quit [Ping timeout: 260 seconds]
maxim[m] has joined #u-boot
___nick___ has quit [Ping timeout: 272 seconds]
brujah has joined #u-boot
matthias_bgg has joined #u-boot
<wyre>
cambrian_invader, I can't see any `env` command, aside `setenv`, I'm not sure if you are pointing to it
<cambrian_invader>
CONFIG_CMD_IMPORTENV
<cambrian_invader>
you may also be interested in CONFIG_CMD_NVEDIT_SELECT
<cambrian_invader>
which seems very relevant to your use case
brujah has quit [Quit: Leaving]
torez has quit [Quit: torez]
apritzel has joined #u-boot
matthias_bgg has quit [Ping timeout: 260 seconds]
<kabel>
Tartarus: I am looking at the nokia RX-51 azure test, it is always compiling the same version of qemu-system-arm from scratch
<kabel>
Tartarus: can we put that into the container image? Or precompile it and store it somehow into the image from the test run? is that possible?
<kabel>
Tartarus: or are there some temporary directories that are preserved between pipeline runs?
<Tartarus>
kabel: In the end, I don't object to patches that add building that special qemu in the Dockerfile, that doesn't break the rest of the QEMUs we build and use.
<Tartarus>
It does tend to be a short bottleneck now that Azure is doing stages like in GitLab
<kabel>
ah, the dockerfile is also in the u-boot tree!
<kabel>
so I can create PR for that, nice :)
camus1 has joined #u-boot
sobkas has quit [Remote host closed the connection]
camus has quit [Remote host closed the connection]