Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2022.07 is OUT / Merge Window is OPEN, -next is CLOSED / Release v2022.10 is scheduled for 3 October 2022 / http://www.denx.de/wiki/U-Boot / Channel archives at https://libera.irclog.whitequark.org/u-boot
hanetzer has quit [Ping timeout: 268 seconds]
hanetzer has joined #u-boot
akaWolf has quit [Ping timeout: 268 seconds]
umbramalison has quit [Quit: %So long and thanks for all the fish%]
umbramalison has joined #u-boot
flyback has quit [Quit: Leaving]
flyback has joined #u-boot
thopiekar has quit [Ping timeout: 255 seconds]
thopiekar has joined #u-boot
LeSpocky has quit [Ping timeout: 268 seconds]
LeSpocky has joined #u-boot
sam_sepi0l has joined #u-boot
vagrantc has quit [Quit: leaving]
haritz has quit [Ping timeout: 268 seconds]
akaWolf has joined #u-boot
monstr has quit [Remote host closed the connection]
Skiper has quit [Ping timeout: 268 seconds]
Skiper has joined #u-boot
persmule has quit [Remote host closed the connection]
persmule has joined #u-boot
Xeroine has joined #u-boot
Skiper has quit [Read error: Connection reset by peer]
Skiper has joined #u-boot
Skiper has quit [Ping timeout: 252 seconds]
Skiper has joined #u-boot
Xeroine has quit [Ping timeout: 268 seconds]
Skiper has quit [Read error: Connection reset by peer]
Skiper has joined #u-boot
Skiper has quit [Read error: Connection reset by peer]
<rfried> Hey.
<rfried> I'm trying to append to bootargs, so I'm using fdt_appendprop_strings() and it fails with FDT_ERR_NOSPACE.
<rfried> Am I missing something ? (no live tree)
<rfried> So I added some space beforehand using fdt_resize(). but the fdt_appendprop_strings() fails again with same error.
<rfried> marex, sjg1: any idea ^ ?
<marex> rfried: are you resizing the u-boot control DT or just plain DT passed to Linux ?
<marex> rfried: fdt_resize would be my first guess
<rfried> marex: plain DT
davlefou_ has joined #u-boot
GNUtoo has quit [Remote host closed the connection]
persmule has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
persmule has joined #u-boot
<sjg1> rfried: fdt_resize() is for the FDT sequential-write (sw) interface. You need fdt_open_into()
mmu_man has joined #u-boot
akaWolf has quit [Ping timeout: 252 seconds]
haritz has joined #u-boot
haritz has joined #u-boot
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
akaWolf has joined #u-boot
persmule has quit [Ping timeout: 268 seconds]
persmule has joined #u-boot
wyre has quit [Quit: ZNC 1.8.2 - https://znc.in]
wyre has joined #u-boot
akaWolf has quit [Ping timeout: 268 seconds]
tlwoerner has joined #u-boot
akaWolf has joined #u-boot
gsz has joined #u-boot
gsz has quit [Quit: leaving]
_whitelogger has joined #u-boot
mmu_man has quit [Ping timeout: 268 seconds]
gsz has joined #u-boot
mmu_man has joined #u-boot
<rfried> sjg1: Thanks, so basically, can I just fdt_open_into() into the same location and just increase the size ? do I need to call fdt_pack() afterwards ?
<sjg1> rfried: Yes you can do that, so long as there is space. You don't need to call fdt_pack() unless you want to pack
vagrantc has joined #u-boot
<rfried> sjg1: I followed your steps, but it's not working. but this time fdtlib doesn't complain at all, it just doesn't append anything.
<rfried> Care to take a look ? https://hastebin.com/owudizumil.cpp
sam_sepi0l has quit [Quit: Textual IRC Client: www.textualapp.com]
<rfried> sjg1: oh... it might be adding a new string as an array, and not actually extending the string....
Xeroine has joined #u-boot
<rfried> sjg1: working. Thanks a lot for your help.
<hanetzer> sjg1: hey, quick question. you happen to have an rk3288/rk3399 with u-boot at-hand I could convince you to poke a bit? mine are currently in storage
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
<hanetzer> on another note; is there a way to increase the font size in u-boot?
mmu_man has quit [Ping timeout: 268 seconds]
sam_sepi0l has joined #u-boot
akaWolf has quit [Ping timeout: 268 seconds]
akaWolf has joined #u-boot
<sjg1> rfried: good!
<sjg1> hanetzer: re rk3288/3399, possibly
<sjg1> hanetzer: CONFIG_CONSOLE_TRUETYPE_SIZE if you use truetype fonts
<sjg1> hanetzer: otherwise you need to change console_normal.c to include something other than video_font.h. There is a 4x6 font
mmu_man has joined #u-boot
persmule has quit [Ping timeout: 268 seconds]
<mps> hanetzer: I refactored apritzels patches for font and it is here for alpine linux https://git.alpinelinux.org/aports/tree/testing/u-boot-asahi
<mps> that is on apple m1 but could be easily addapted
<hanetzer> sjg1: nice.
indy has quit [Quit: ZNC 1.8.2 - https://znc.in]
<hanetzer> sjg1: basically, I wanna see if you can `md' the iomem area that should contain the bootrom and see if its visible
<mps> just tried to build u-boot for chromebook gru-kevin but only got blank screen when booting
<mps> with alpernebbi git repo it worked few months ago
Xeroine has quit [Ping timeout: 268 seconds]
indy has joined #u-boot
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #u-boot
<hanetzer> on another note. is there anything akin to kgdb over serial in u-boot?
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
GNUtoo has quit [Remote host closed the connection]
<hanetzer> and should one use drivers/ddr or drivers/ram for new stuff?
GNUtoo has joined #u-boot
<marex> hanetzer: there used to be bedbug
<marex> hanetzer: else, for debugging u-boot, use jtag
<hanetzer> marex: yeh.
<hanetzer> i've gotta wait on some 1mm ribbon cable to arrive so I can make a cable for this board's nonstandard pinout and 2mm pitch
<marex> ah the metric non-imperial pitch :)
Skiper has joined #u-boot
<hanetzer> yee. that as mentioned, its a 2x5 header but doesn't, as far as I can tell, match any 'standard' jtag adapters :)
<hanetzer> *that and
<marex> hanetzer: btw order some test hooks, those generally allow you to attach to any connector within reason, then you can quickly whip up a proto-cable
<hanetzer> I have some but they're eh.
<marex> hanetzer: did you try looking at segger offerings ?
<hanetzer> I just put in an order for a self-designed adapter pcb
<marex> fun
<hanetzer> and as mentioned, waiting on the finer ribbon to go with the finer idc headers.
<hanetzer> should arrive monday.
<hanetzer> pcb, who knows. oshpark says about 5d or so
<marex> hanetzer: is that still for the settopbox ?
<marex> the uh ... hisilicon ?
<hanetzer> marex: same family of chips, yes.
<marex> ha, nice
<hanetzer> this one is a dedicated dev board, hi3516dv300
<hanetzer> I figure, with it I can bootstrap a proper u-boot framework for the family and spring off from there to the other families :P
<hanetzer> its all very similar in general layout.
<hanetzer> and the vendor sdk for this chip is better/newer, if still shitty vendorware (kernel 5.10 and u-boot 2020)
<hanetzer> I have another stb, hi3535 iirc, which has jtag test points. gonna have to get a pcbite thingus to use that
<hanetzer> this one is fairly nice, in that it doesn't use bmc connectors for the cameras; it has a big ass 16-port poe network switch integrated, basically.
<hanetzer> (I mean the hi3535 one; it has the switch).
<hanetzer> this one is more or less 'meant to' go in ipcams
sbach has quit [Read error: Connection reset by peer]
sbach has joined #u-boot
davlefou_ has quit [Quit: Au Revoir]
redbrain has quit [Read error: Connection reset by peer]
redbrain has joined #u-boot
gsz has quit [Ping timeout: 268 seconds]
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #u-boot