mckoan|away has quit [Quit: Quitting irssi IRC Client, bye.]
mckoan has joined #u-boot
mwalle has joined #u-boot
apritzel_ has joined #u-boot
enok has quit [Quit: enok]
enok has joined #u-boot
haritz has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
enok has quit [Ping timeout: 276 seconds]
rvalue- has joined #u-boot
rvalue has quit [Ping timeout: 248 seconds]
apritzel_ has quit [Ping timeout: 260 seconds]
rvalue- is now known as rvalue
frieder has joined #u-boot
frieder has quit [Remote host closed the connection]
frieder has joined #u-boot
sszy has joined #u-boot
frieder has quit [Ping timeout: 245 seconds]
prabhakalad has joined #u-boot
frieder has joined #u-boot
<xypron>
apalos: That patch is not in Ubuntu's efivar package.
apritzel_ has joined #u-boot
apritzel_ has quit [Ping timeout: 265 seconds]
zibolo has quit [Quit: bye]
K900 has quit [Remote host closed the connection]
K900 has joined #u-boot
enok has joined #u-boot
apritzel has joined #u-boot
Guest3583 has joined #u-boot
enok has quit [Quit: enok]
enok71 has joined #u-boot
enok71 has quit [Ping timeout: 252 seconds]
apritzel_ has joined #u-boot
apritzel_ has quit [Ping timeout: 252 seconds]
enok has joined #u-boot
clamor has quit [Read error: Connection reset by peer]
clamor has joined #u-boot
mmu_man has joined #u-boot
naoki has quit [Quit: naoki]
haritz has joined #u-boot
haritz has joined #u-boot
Guest3583 has quit [Quit: Client closed]
monstr has joined #u-boot
ldevulder has quit [Ping timeout: 276 seconds]
monstr has quit [Ping timeout: 252 seconds]
clamor has quit [Ping timeout: 252 seconds]
clamor has joined #u-boot
ldevulder has joined #u-boot
frieder has quit [Ping timeout: 252 seconds]
joeskb7 has joined #u-boot
frieder has joined #u-boot
<Stalevar>
Can I implement U-Boot script which boots the system from USB flash if it's inserted and from NAND otherwise? Or maybe use some hardware buttons or whatever, I don't know if it's possible to detect from u-boot
<Stalevar>
U-Boot is 2011 version and it's a pre-built binary, however there is a vendor GPL source though I have no idea if it's buildable. The vendor didn't provide Corresponding Source code, they just threw one version which is different from what's shipped with device
<Stalevar>
And several binaries
<Stalevar>
Also what's better, 2011, or 1.1.4 ?
<Stalevar>
So far I know it can run code from a variable and it can have multiple commands separated by semicolon
<marex>
Stalevar: sure , look at distro_bootcmd , that's pretty much what it is for
monstr has joined #u-boot
<marex>
Stalevar: err ... 2011 ... probably did not contain that, 1.1.4 is even older
<marex>
but sure, the shell has regular bourne shell conditionals, if / then / else / fi , you can probably use that to hand-roll such a thing
<Stalevar>
Are there docs about uboot script syntax which isn't described in help?
<marex>
Stalevar: try 'if true ; then echo ok ; else echo ng ; fi' and 'if false ; then echo ok ; else echo ng ; fi'
enok71 has quit [Ping timeout: 276 seconds]
<marex>
Stalevar: the shell is some early version of hush I think at that point
<Stalevar>
I will only get to device in some hours, but now how do I check how many usb devices do I have? Like try to ext2load some file in if condition?
<marex>
Stalevar: try some "usb start ; echo $?" or yes ... 'test -e' also sets $?
<marex>
$? is return value
<Stalevar>
marex, also a boot selector on device console (keyboard+screen) is out of question?
<Stalevar>
Would be cool if u-boot could be accessed same way as uefi shell on PC or openfirmware on mac via some keycombo
<Stalevar>
but I doubt that u-boot has an XGI graphic driver, even if USB keyboard is here. Hm, though usb keyboard can be used to do some keypresses blindly
<marex>
Stalevar: U-Boot does support all this, but it did not 15 years ago ...
<Stalevar>
marex, do you think I can build modern u-boot for kirkwood feroceon 88F6282 ?
<Stalevar>
Anyway, I think it's better to just run script from USB flash drive. Judging by help output, can you suggest what can I do? I see there is usbboot command which loads stuff from USB partition to memory and ext2load / fatload which does same but from file
<Stalevar>
can I load and execute u-boot script from USB flash?
<Stalevar>
Maybe uImage with u-boot commands and bootm ?
<Stalevar>
It should autodetect that I have script instead of kernel, I guess
mmu_man has quit [Ping timeout: 244 seconds]
<calebccff>
marex: yeah will have a look and also get a review from the db410c maintainer
mmu_man has joined #u-boot
Poltawer has joined #u-boot
monstr has quit [Ping timeout: 252 seconds]
<clamor>
Stalevar: if you are stuck with a device, consider porting the latest u-boot
goliath has quit [Quit: SIGSEGV]
frieder has quit [Remote host closed the connection]
<marex>
Stalevar: I think 88F6282 used to be supported
<Tartarus>
clamor: CFG_PRAM may just need moving to CONFIG and also having it moved from the top-level README to doc/
<clamor>
Tartarus: yes, though atm it is not possible
<clamor>
On a few devices left with CFG_PRAM it is set with calculation, not declaration of a static value
<Tartarus>
Yes but is that actually dynamic or just code as documentation?
<Tartarus>
I haven't looked at it in a few years now
<clamor>
Tartarus: that is a good question. Last time I dug into this, boards which used pram set it dynamically. That might have changed
<Tartarus>
OK
<clamor>
Tartarus: I will check once more and write about findings.
<Tartarus>
Sounds good
dhruvag2000 has joined #u-boot
mmu_man has quit [Ping timeout: 252 seconds]
ldevulder has quit [Ping timeout: 252 seconds]
dsimic has quit [Ping timeout: 245 seconds]
dsimic has joined #u-boot
goliath has joined #u-boot
mmu_man has joined #u-boot
mckoan is now known as mckoan|away
KREYREN_ has joined #u-boot
KREYREN_ has quit [Remote host closed the connection]
dhruvag2000 has quit [Quit: Connection closed for inactivity]
apritzel has quit [Ping timeout: 252 seconds]
<clamor>
Tartarus: for kmcent2 and pg-wcom-ls102xa pram is calculated from a set of Kconfigs which might be hard to track correctly to make a correct pram estimation. ti_omap5_common uses a single Kconfig which should not be too big of a deal. All others define a static pram value
<clamor>
Hm, too much stuff may break, I will try to contain this inside Tegra
clamor has quit [Ping timeout: 252 seconds]
clamor has joined #u-boot
swiftgeek has quit [Ping timeout: 252 seconds]
clamor has quit [Read error: Connection reset by peer]