<darkxst>
seems to fail reading pmugrf, however this works the first time in TPL
<darkxst>
board is based on rv1126 and using a lightly patched copy of edgebable ai neu2
<darkxst>
2023.10 works good
stipa has quit [Ping timeout: 260 seconds]
stipa has joined #u-boot
mmu_man has quit [Ping timeout: 240 seconds]
mmu_man has joined #u-boot
apritzel_ has quit [Ping timeout: 246 seconds]
zibolo has quit [Ping timeout: 255 seconds]
zibolo has joined #u-boot
camus has quit [Ping timeout: 255 seconds]
camus has joined #u-boot
Leopold has quit []
Leopold has joined #u-boot
mmu_man has quit [Ping timeout: 260 seconds]
naoki has joined #u-boot
naoki has quit [Client Quit]
jclsn has quit [Ping timeout: 246 seconds]
jclsn has joined #u-boot
Clamor has joined #u-boot
<marex>
sjg1: heh
<marex>
darkxst: can you try git bisect ?
monstr has joined #u-boot
stefanro has joined #u-boot
Patater has quit [Quit: Explodes into a thousand pieces]
DrPatater has joined #u-boot
DrPatater has quit [Client Quit]
DrPatater has joined #u-boot
ezulian has joined #u-boot
<darkxst>
marex: sure, will start one now
apritzel_ has joined #u-boot
<marex>
thanks
apritzel_ has quit [Ping timeout: 255 seconds]
goliath has joined #u-boot
<darkxst>
git bisect came back with this as the bad commit
<darkxst>
2ce06f56 - buildman: Start the clock when the build starts
<darkxst>
maybe thats not right
mckoan_ is now known as mckoan
<marex>
nope
<marex>
git bisect start v2024.01-rc1 v2023.10
<marex>
and then build, test, git bisect good/bad
sszy has joined #u-boot
redbrain has quit [Ping timeout: 255 seconds]
redbrain has joined #u-boot
frieder has joined #u-boot
<darkxst>
I took a wrong turn right near the end. its actually this commit
<darkxst>
9e64428 dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation
<darkxst>
that was the command I used btw
<marex>
darkxst: and if you revert only that patch on top of u-boot/master, it all works again ?
<marex>
Kwiboo: ^
ldevulder has joined #u-boot
<darkxst>
let me try
<darkxst>
yes master with just that patch reverted boots fine
<marex>
darkxst: check your DT (likely the -u-boot.dtsi really), and see if there are any bootph-pre-sram or bootph-pre-ram , you might need to replace some of those with bootph-all or bootph-some-ram
goliath has quit [Remote host closed the connection]
goliath has joined #u-boot
goliath has quit [Remote host closed the connection]
goliath has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
redbrain has quit [Ping timeout: 264 seconds]
redbrain has joined #u-boot
<darkxst>
marex, most nodes in rv1126-u-boot.dtsi are marked bootph-pre-ram. Should I change all of them?
<marex>
darkxst: ideally as needed, but the heavy handed approach might be a good starting point
slobodan has joined #u-boot
FergusL has quit [Ping timeout: 258 seconds]
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
slobodan has quit [Read error: Connection reset by peer]
mmu_man has joined #u-boot
<Kwiboo>
darkxst: you probably need to use bootph-all on the pmu and grf related nodes
srk_ has joined #u-boot
srk has quit [Ping timeout: 255 seconds]
srk_ is now known as srk
<darkxst>
if bootph-pre-ram now means spl only they are probably all wrong
<apalos>
You have reviewed the rest, so will you send it to Tom, or shall I?
dsimic has quit [Ping timeout: 255 seconds]
dsimic has joined #u-boot
<xypron>
I am on a business trip. It is fine if you pick it up.
<xypron>
I will be back in two weeks.
frieder has quit [Ping timeout: 240 seconds]
prabhakarlad has joined #u-boot
srk_ has joined #u-boot
srk has quit [Ping timeout: 255 seconds]
srk_ is now known as srk
frieder has joined #u-boot
<Kwiboo>
darkxst: gpio nodes is needed in spl/bootph-pre-ram on some rockchip boards, they are probably not needed in u-boot proper pre-reloc/bootph-some-ram phase, typically only dmc/grf/pmu related nodes is needed during u-boot proper pre-reloc phase (they are usually needed in all phases)
<Kwiboo>
gpio nodes is needed in spl/bootph-pre-ram when board require use of gpio controlled regulator or card detect for functional mmc/spi in spl on rockchip platform
tnovotny has joined #u-boot
slobodan has joined #u-boot
<darkxst>
Kwiboo, ok thanks for the clarification. yeh both those are on gpios.
monstr has quit [Ping timeout: 255 seconds]
Clamor has quit [Ping timeout: 258 seconds]
Clamor has joined #u-boot
mmu_man has quit [Ping timeout: 258 seconds]
mmu_man has joined #u-boot
monstr has joined #u-boot
_sfo has joined #u-boot
_sfo has quit [Client Quit]
mripard has joined #u-boot
qqq has joined #u-boot
frieder has quit [Ping timeout: 272 seconds]
mripard has quit [Read error: Connection reset by peer]
mripard has joined #u-boot
mmu_man has quit [Ping timeout: 258 seconds]
frieder has joined #u-boot
mmu_man has joined #u-boot
<Clamor>
Tartarus: may you ping tagr if you haven't? Patches are getting outdated quicker than he does smth.
<Tartarus>
Clamor: I did email him late last week
<Clamor>
Thanks!
<Tartarus>
Clamor: please remind me again like Thurs/Friday
<Clamor>
Sure, will do.
tnovotny has quit [Quit: Leaving]
persmule has quit [Ping timeout: 256 seconds]
persmule has joined #u-boot
qqq has quit [Ping timeout: 245 seconds]
goliath has quit [Quit: SIGSEGV]
ezulian has quit [Quit: ezulian]
ikarso has quit [Quit: Connection closed for inactivity]
frieder has quit [Remote host closed the connection]
<hsv>
Hi, unsure if this really is a u-boot issue, but i'm stuck...
* hsv
screwed up and erased the spi flash via u-boot on a camera module (goke SoC running openipc), and now it just emits strings of 25 spaces and a newline char once per second from the uart.
<hsv>
Is that something that u-boot does?
<hsv>
Even after reprogramming the spi flash chip off-board with a full image, including u-boot, it has this same behaviour.
<hsv>
With the terminal in hex mode i see [20][20][20][20][20][20][20][20][20][20][20][20][20][20][20][20][20][20][20][20][20][20][20][20][20][0a] repeated every second.