Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.04, v2024.07-rc5 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2024.07 is scheduled for 01 July 2024 / Channel archives at https://libera.irclog.whitequark.org/u-boot
zibolo has quit [Ping timeout: 255 seconds]
zibolo has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
joeskb7 has quit [Ping timeout: 268 seconds]
jclsn has quit [Ping timeout: 255 seconds]
tec has quit [Quit: bye!]
jclsn has joined #u-boot
LordKalma has quit [Quit: Ping timeout (120 seconds)]
LordKalma has joined #u-boot
tec has joined #u-boot
joeskb7 has joined #u-boot
mmu_man has quit [Ping timeout: 268 seconds]
mrnuke has quit [Quit: ZNC 1.8.2 - https://znc.in]
mrnuke has joined #u-boot
logicalerzor has joined #u-boot
Clamor has joined #u-boot
hanetzer has quit [Ping timeout: 264 seconds]
hanetzer has joined #u-boot
stefanro has joined #u-boot
gsz has quit [Ping timeout: 246 seconds]
warpme has joined #u-boot
<logicalerzor> hey calebccff would like some help here. i got uboot to build, but i can't seem to get it to output logs over uart. my progress is here: https://codeberg.org/LogicalErzor/u-boot/commit/4b065799f3adb433d3fa0e605dcc69b5fa8e6873 and upstream uart is here: https://codeberg.org/LogicalErzor/linux/src/branch/expressatt/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts#L23
<logicalerzor> some questions:
<logicalerzor> - are the changes i made to crt0.S and start.S breaking this somehow
<logicalerzor> - my bootloader deals with atags and board files, not dts. would i need to follow this https://github.com/u-boot/u-boot/blob/master/doc/board/qualcomm/board.rst ? i think it would be different for me, but not sure if i can just do something like `mkbootimg --kernel u-boot-dtb.bin \
<logicalerzor> - do i need to add clocks for uart? i thought it would be inited by stock bootloader. should i pull from linux upstream?
<logicalerzor> --output boot.img --pagesize 4096 --base 0x80000000`
<logicalerzor> - d/icache isn't necessary to boot?
<logicalerzor> - uboot doesn't need a linux kernel header for arm32 devices?
Clamor has quit [Ping timeout: 256 seconds]
Clamor has joined #u-boot
frieder has joined #u-boot
<logicalerzor> the crt0.S and start.S changes I made are pulled from arm64: https://source.denx.de/u-boot/u-boot/-/blob/master/arch/arm/lib/crt0_64.S#L77-81 so I'm not sure if there are changes needed to be made elsewhere (i dont think there needs to be, but u-boot is a new codebase for me). not sure if CONFIG_POSITION_INDEPENDENT is important or if u think i could use another config instead and bypass adding these changes in
flyback has quit [Ping timeout: 268 seconds]
eballetbo has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
flyback has joined #u-boot
mckoan_ has joined #u-boot
mckoan|away has quit [Ping timeout: 264 seconds]
warpme has joined #u-boot
enok has joined #u-boot
sng has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
sng has joined #u-boot
mckoan_ is now known as mckoan
sszy has joined #u-boot
hanetzer has quit [Ping timeout: 252 seconds]
hanetzer has joined #u-boot
enok has quit [Read error: Connection reset by peer]
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #u-boot
<calebccff> logicalerzor: kernel header I guess would still be needed but i have no idea. Maybe instead of doing the PIE hacks you could just define the right TEXT_BASE for your board? At least to get it started. If you don't need to pass the dtb via the bootloader then just use the u-boot-dtb.bin file since it has the dtb baked in already.
<calebccff> if you enable debug uart and have the correct addresses and don't see any output then it either means that: a) your bootloader turns off UART clocks (which would be super dumb and kinda unlikely but definitely possible), or b) execution isn't getting far enough to print stuff over UART. I'd lead towards b right now. Maybe you can write a tiny UART gadget in assembly to try and spit some characters
<calebccff> out really early on
rvalue- has joined #u-boot
rvalue has quit [Ping timeout: 264 seconds]
rvalue- is now known as rvalue
yann-kaelig has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enok has joined #u-boot
warpme has joined #u-boot
logicalerzor has quit [Quit: Connection closed for inactivity]
joeskb7 has quit [Ping timeout: 252 seconds]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joeskb7 has joined #u-boot
warpme has joined #u-boot
logicalerzor has joined #u-boot
enok has quit [Read error: Connection reset by peer]
MrCryo has joined #u-boot
ikarso has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tec5 has joined #u-boot
tec has quit [Ping timeout: 256 seconds]
tec5 is now known as tec
Clamor has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
warpme has joined #u-boot
mmu_man has joined #u-boot
tec has quit [Quit: bye!]
tec has joined #u-boot
yann-kaelig has quit []
goliath has quit [Quit: SIGSEGV]
logicalerzor has quit [Quit: Connection closed for inactivity]
enok has joined #u-boot
<naoki> StarFive # led list
<naoki> led-0 <inactive>
<naoki> StarFive # led led-0
<naoki> LED 'led-0' not found (err=-19)
<naoki> any idea?
enok has quit [Ping timeout: 264 seconds]
gsz has joined #u-boot
naoki has quit [Quit: naoki]
enok has joined #u-boot
pivi has quit [Ping timeout: 252 seconds]
pivi has joined #u-boot
enok has quit [Read error: Connection reset by peer]
<LeSpocky> is there a limitation in call stack depth?
<LeSpocky> still investigating this 'data abort' issue I have and noticed in gdb the backtrace has 127 entries o.O
tec0 has joined #u-boot
tec has quit [Ping timeout: 240 seconds]
tec0 is now known as tec
<LeSpocky> down to arch/arm/lib/crt0.S:190
<LeSpocky> wait, actually 128 entries, counts from zero
Net147 has quit [Quit: Quit]
tec has quit [Client Quit]
Net147 has joined #u-boot
Net147 has quit [Changing host]
Net147 has joined #u-boot
goliath has joined #u-boot
tec has joined #u-boot
<LeSpocky> bbl
<Tartarus> That's handy, lets see if I can convince Azure to do similar
<Tartarus> And oh good, I got that one right on attempt #2
frieder has quit [Ping timeout: 246 seconds]
tec has quit [Quit: bye!]
tec has joined #u-boot
BobBeck3 has quit [Quit: The Lounge - https://thelounge.chat]
BobBeck3 has joined #u-boot
MWelchUK has joined #u-boot
peac has quit [Read error: Connection reset by peer]
peac has joined #u-boot
mmu_man has quit [Ping timeout: 255 seconds]
frieder has joined #u-boot
mmu_man has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dsimic has quit [Ping timeout: 252 seconds]
dsimic has joined #u-boot
mmu_man has quit [Ping timeout: 246 seconds]
mmu_man has joined #u-boot
Stat_headcrabed has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
ikarso has joined #u-boot
warpme has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
macromorgan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
stefanro has quit [Quit: Leaving.]
macromorgan has joined #u-boot
macromorgan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
macromorgan has joined #u-boot
macromorgan has quit [Client Quit]
macromorgan has joined #u-boot
Clamor has quit [Ping timeout: 268 seconds]
Clamor has joined #u-boot
qqq has joined #u-boot
naoki has joined #u-boot
naoki has quit [Client Quit]
tepperson has joined #u-boot
mmu_man has quit [Ping timeout: 264 seconds]
mmu_man has joined #u-boot
alpernebbi has quit []
alpernebbi has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
zear_ has joined #u-boot
vagrantc has joined #u-boot
zear has quit [Ping timeout: 268 seconds]
zear_ is now known as zear
eballetbo has quit [Ping timeout: 260 seconds]
mkorpershoek has quit [Ping timeout: 260 seconds]
eballetbo has joined #u-boot
mkorpershoek has joined #u-boot
Stat_headcrabed has joined #u-boot
Stat_headcrabed has quit [Client Quit]
Clamor has quit [Read error: Connection reset by peer]
Stat_headcrabed has joined #u-boot
tepperson has quit [Quit: Client closed]
mmu_man has quit [Ping timeout: 264 seconds]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
enok has joined #u-boot
mmu_man has joined #u-boot
gsz has quit [Ping timeout: 264 seconds]
prabhakalad has quit [Quit: Konversation terminated!]
enok has quit [Ping timeout: 264 seconds]
ikarso has quit [Quit: Connection closed for inactivity]
hanetzer has quit [Ping timeout: 264 seconds]
hanetzer has joined #u-boot
ikarso has joined #u-boot
mmu_man has quit [Ping timeout: 268 seconds]
persmule has quit [Ping timeout: 260 seconds]
persmule has joined #u-boot
mmu_man has joined #u-boot
m5zs7k has quit [Ping timeout: 268 seconds]
m5zs7k has joined #u-boot
MrCryo has quit [Ping timeout: 256 seconds]
persmule has quit [Remote host closed the connection]
persmule has joined #u-boot
umbramalison has quit [Remote host closed the connection]
umbramalison has joined #u-boot
umbramalison_alt has joined #u-boot
umbramalison has quit [Ping timeout: 264 seconds]
naoki has joined #u-boot
logicalerzor has joined #u-boot
<logicalerzor> alright thanks calebccff ill see what i can do here
urja has quit [Read error: Connection reset by peer]
<logicalerzor> the problem isnt with TEXT_BASE but SYS_INIT_SP_ADDR
urja has joined #u-boot
Guest5592 has quit [Ping timeout: 272 seconds]
ukky has quit [Ping timeout: 252 seconds]