ikarso has quit [Quit: Connection closed for inactivity]
soxrok2212 has quit [Quit: Who ate my gummy worms?]
soxrok2212 has joined #u-boot
qschulz has quit [Remote host closed the connection]
qschulz has joined #u-boot
flyback has quit [Quit: Leaving]
goliath has quit [Quit: SIGSEGV]
flyback has joined #u-boot
mmu_man has quit [Ping timeout: 245 seconds]
jclsn has quit [Ping timeout: 245 seconds]
jclsn has joined #u-boot
urja has quit [Read error: Connection reset by peer]
urja has joined #u-boot
camus has joined #u-boot
naoki has joined #u-boot
<Lightsword>
is there a good method for triggering uboot to conditionally boot in USB DFU mode?
<Lightsword>
like for example triggering DFU mode if uboot is loaded via SDP instead of from NAND
<Forty-Bot>
easiest way is to have a button/switch
<Forty-Bot>
what you mentioned will also work
<Lightsword>
Forty-Bot, well there's a button that triggers SDP mode, but I guess what I'm asking is if there is a way within uboot to detect if the running uboot was loaded via SDP or via a different source?
<Lightsword>
I'm loading uboot over SDP with this command 'snagrecover -s imx6q -F "{'SPL': {'path': 'SPL'}}" -F "{'u-boot': {'path': 'u-boot.imx'}}"'
<Forty-Bot>
depends on your SoC
<Forty-Bot>
usually there will be some kind of boot mode bits
<Lightsword>
Forty-Bot, it's an imx6q variant
<Forty-Bot>
that should probably have one, but I haven't personally worked with it
<Lightsword>
Forty-Bot, yeah been poking around at sources/docs and haven't come across anything obvious yet
<Forty-Bot>
worst comes to worst you can always read the button status and instruct users to hold it down for X seconds
<Lightsword>
Forty-Bot, yeah, not entirely sure how to read the button status either
<Forty-Bot>
you may be able to configure it as a gpio
<Lightsword>
hmm, seeing something about sending a uboot script over SDP or something like that
<sjg1>
Tartarus: Buried the latest buildman series is a --maintainer-check option that should do what you want. Unfortunately there are some missing maintainers. I'm sorry about that..
sng_ has quit [Remote host closed the connection]
mmu_man has joined #u-boot
<Forty-Bot>
Lightsword: I've used fastboot for this in the past; you can e.g. flash/boot an image (and set mmc options) which is mainly what matters
qqq has quit [Ping timeout: 246 seconds]
slobodan_ has quit [Ping timeout: 246 seconds]
<Lightsword>
Forty-Bot, yeah, I tried using fastboot to launch a ramdisk image but ran into issues that seem to be related to the fastboot buffer using extra space
<Lightsword>
trying to figure out a good way to dynamically enable DFU mode when booting from SDP