GNUtoo has quit [Remote host closed the connection]
mmu_man has joined #u-boot
slobodan_ has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
dsimic has quit [Ping timeout: 255 seconds]
dsimic has joined #u-boot
goliath has joined #u-boot
ezulian has quit [Remote host closed the connection]
slobodan_ has quit [Read error: Connection reset by peer]
slobodan_ has joined #u-boot
Clamor has quit [Ping timeout: 264 seconds]
slobodan_ has quit [Read error: Connection reset by peer]
slobodan_ has joined #u-boot
mmu_man has quit [Ping timeout: 240 seconds]
ezulian has joined #u-boot
sng has quit [Read error: Connection reset by peer]
sng_ has joined #u-boot
gmcastil has joined #u-boot
<gmcastil>
I'm using u-boot to supply kernel boot arguments through the chosen node in a precompiled FDT binary - is there a way from the u-boot console to append boot arguments to those that the FDT already has? I want to pass dynamic debugging directives to the kernel without having to go modify my FDT or type the entire kernel command line in everyt ime
Clamor has joined #u-boot
<marex>
gmcastil: see => help fdt
<marex>
gmcastil: fdt addr / fdt resize / fdt get / fdt set
<gmcastil>
i'm not sure i'm clear
Clamor has quit [Ping timeout: 255 seconds]
<marex>
gmcastil: or just use bootargs and let uboot pass that
<gmcastil>
i'd like to use bootargs - that's my question
<gmcastil>
but, my bootargs are already in the FDT i've passed
Clamor has joined #u-boot
<gmcastil>
i'd like to append to them
<gmcastil>
instead of having to retype `setenv bootargs 'long ass string of u-boot params in FDT dyndbg="module foo.bar"`
<marex>
fdt get and then => setenv bootargs $var_from_fdt_get more bootargs from env
<gmcastil>
I suspect that isnt something i can do...well, i could ask my boot.scr to look for a user defined variable and add that if its there
<gmcastil>
oh, yeah that's a cool idea too
<gmcastil>
i didnt know i could do that
<gmcastil>
thanks mate, i wasnt aware that option existed
<marex>
fdt get value <var> <path> <prop> [<index>] - Get <property> and store in <var> In case of stringlist property, use optional <index> to select string within the stringlist. Default is 0.
<marex>
;)
<Clamor>
Searching for a reviewer for reviewing ;)
mmu_man has joined #u-boot
thopiekar has quit [Ping timeout: 246 seconds]
thopiekar has joined #u-boot
prabhakarlad has joined #u-boot
tnovotny has joined #u-boot
slobodan_ has quit [Read error: Connection reset by peer]
slobodan_ has joined #u-boot
monstr has quit [Ping timeout: 255 seconds]
Clamor has quit [Ping timeout: 255 seconds]
Clamor has joined #u-boot
<silurian_invader>
you can also do `env set bootargs "$bootargs ..."` which is nice
<silurian_invader>
although it would really be nice to have an `env append` ...
slobodan_ has quit [Read error: Connection reset by peer]
stefanro has quit [Quit: Leaving.]
slobodan_ has joined #u-boot
slobodan_ is now known as slobodan
ikarso has quit [Quit: Connection closed for inactivity]
GNUtoo has joined #u-boot
<gmcastil>
the problem I'm running into is that my boot script sets them and then loads the device tree (which has a chosen node)
<marex>
gmcastil: you can manipulate the DT with fdt command
<gmcastil>
more specifically, my device tree has a couple of entries in chosen that get overriden by bootargs that are supplied in a boot.script
<marex>
that includes removal of nodes, properties, application of DTOs etc
<gmcastil>
whatever the final device tree the kernel receives are the actual command line arguments, right?
<Sout_>
there is a kernel arg (iirc) that species where to gett the boot args from iirc.
GNUtoo has quit [Remote host closed the connection]
mckoan is now known as mckoan|away
GNUtoo has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
mmu_man has quit [Ping timeout: 255 seconds]
Stat_headcrabed has joined #u-boot
ezulian has quit [Quit: ezulian]
Stat_headcrabed has quit [Client Quit]
mmu_man has joined #u-boot
ldevulder has quit [Quit: Leaving]
slobodan has quit [Read error: Connection reset by peer]