goliath has quit [Quit: SIGSEGV]
swalker has joined #openwrt-devel
<russell--> KanjiMonster: i'm about to send a bug report to lkml and the other cc's on the breaking commit, do you want to be cc'd too?
<Mangix> alright
<Mangix> ChatGPT is useless at figuring out dts
<russell--> SHOCKING
<owrt-images-builds> Build [#37](https://buildbot.openwrt.org/images/#/builders/145/builds/37) of `openwrt-24.10_ipq40xx/mikrotik` failed: failed Images built and installed (failure) (timed out)
Daanct12 has joined #openwrt-devel
minimal has quit [Quit: Leaving]
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #openwrt-devel
<rotanid> nbd: would be great if you could have a look: https://github.com/openwrt/openwrt/issues/15826
danitool has quit [Remote host closed the connection]
rua has quit [Quit: Leaving.]
<owrt-images-builds> Build [#36](https://buildbot.openwrt.org/images/#/builders/242/builds/36) of `openwrt-24.10_malta/le64` failed: failed Git remote refs fetched (failure)
swalker has quit [Remote host closed the connection]
rua has joined #openwrt-devel
rua has quit [Quit: Leaving.]
Daanct12 has quit [Quit: WeeChat 4.4.4]
Daanct12 has joined #openwrt-devel
valku has quit [Quit: valku]
vincejv has joined #openwrt-devel
rua has joined #openwrt-devel
<owrt-images-builds> Build [#38](https://buildbot.openwrt.org/images/#/builders/90/builds/38) of `openwrt-24.10_mvebu/cortexa72` completed successfully.
<owrt-images-builds> Build [#36](https://buildbot.openwrt.org/images/#/builders/139/builds/36) of `openwrt-24.10_bcm27xx/bcm2709` completed successfully.
<owrt-images-builds> Build [#36](https://buildbot.openwrt.org/images/#/builders/151/builds/36) of `openwrt-24.10_ipq40xx/chromium` completed successfully.
<KanjiMonster> russell--: do you have the output for that both with and without the patch reverted? diff'ing it should give a hint what goes wrong
robimarko has joined #openwrt-devel
<russell--> KanjiMonster: i do, not sure how understandable it is, i'll post them ...
<KanjiMonster> russell--: so it looks like the commit comment is correct, and the old macros cause a 0x22 -> 0x22 -> 0x23 -> 0x23. So I wonder if the fix made something work to be effective which isn't actually supported, and now is causing the hang on warm boot
<KanjiMonster> russell--: my next step would be to do printk debugging and add a pr_info("foo\n"); before any changed lines by the commit, which should tell you (hopefully) which lines it doesn't like
<KanjiMonster> assuming these are only called on boot, and not during regular runtime ...
<KanjiMonster> alternative would be to revert them one by one to the _old again; a re-build should be quick then
<KanjiMonster> you can just edit the file in build_dir/target-*/linux-*/linux-*, a make target/linux/install should then pick up the changes and build a new image
<KanjiMonster> russell--: so the three suspect places are the one for /* Enable cxMMX extensions (GX1 Datasheet 54) */, and the two changes in geode_configure()
<owrt-images-builds> Build [#35](https://buildbot.openwrt.org/images/#/builders/206/builds/35) of `openwrt-24.10_mvebu/cortexa9` completed successfully.
<KanjiMonster> russell--: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f25f64ed5bd3c2932493681bdfdb483ea707da0a has some info in the commit message, I wonder if this is related
<KanjiMonster> russell--: so maybe try to comment out the suspend on halt thing and see if this fixes it
<russell--> KanjiMonster: i'm hunting around for any chip documentation that talks about what the registers (CCR0, et al) are and not finding anything
<russell--> thank you! i'm doing a build with the suspect on halt commented out
Acinonyx has quit [Ping timeout: 480 seconds]
<russell--> /* Suspend on halt power saving and enable #SUSP pin */
<russell--> // setCx86(CX86_CCR2, getCx86(CX86_CCR2) | 0x88);
<russell--> in geode_configure() "fixes" it, doesn't hang anymore
<KanjiMonster> now you could try to use 0x80 instead of 0x88 to just enable the #SUSP pin
<russell--> trying ...
<russell--> hung on the second warm boot
<KanjiMonster> interesting. So next test would be 0x08, just the suspend on halt feature
guidosarducci has joined #openwrt-devel
guidosarducci_ has quit [Remote host closed the connection]
<russell--> survived the first warm boot (the reboot after flashing), warm booting again and it seemed to survive that as well, one more for good measure ...
<russell--> and it survived that as well with:
<russell--> /* Suspend on halt power saving and enable #SUSP pin */
<russell--> setCx86(CX86_CCR2, getCx86(CX86_CCR2) | 0x08);
Acinonyx has joined #openwrt-devel
<KanjiMonster> so the issue is the #SUSP pin, not the suspend on halt
<russell--> so it would seem
<KanjiMonster> So I guess send that as a follow up email, and maybe someone else has a good idea why that happens
<russell--> will do
dermoth_ has joined #openwrt-devel
dermoth has quit [Remote host closed the connection]
dermoth_ is now known as dermoth
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openwrt-devel
<owrt-images-builds> Build [#37](https://buildbot.openwrt.org/images/#/builders/242/builds/37) of `openwrt-24.10_malta/le64` completed successfully.
<owrt-images-builds> Build [#38](https://buildbot.openwrt.org/images/#/builders/145/builds/38) of `openwrt-24.10_ipq40xx/mikrotik` completed successfully.
<owrt-images-builds> Build [#7](https://buildbot.openwrt.org/images/#/builders/212/builds/7) of `openwrt-23.05_ipq40xx/chromium` completed successfully.
valku has joined #openwrt-devel
<russell--> i wonder if the old set method just wasn't working at all and thus not setting the problematic bit
n3ph has joined #openwrt-devel
soxrok2212 has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Quit: WeeChat 4.4.4]
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
aiyion has joined #openwrt-devel
aiyion_ has quit [Ping timeout: 480 seconds]
soxrok2212 has joined #openwrt-devel
soxrok2212 has quit []
soxrok2212 has joined #openwrt-devel
xbr1 has joined #openwrt-devel
xbr has quit [Ping timeout: 480 seconds]
GNUmoon has quit [Ping timeout: 480 seconds]
xbr1 is now known as xbr
GNUmoon has joined #openwrt-devel
<owrt-images-builds> Build [#8](https://buildbot.openwrt.org/images/#/builders/124/builds/8) of `openwrt-23.05_armsr/armv7` completed successfully.
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
minimal has joined #openwrt-devel
Acinonyx_ has joined #openwrt-devel
Acinonyx has quit [Ping timeout: 480 seconds]
Acinonyx has joined #openwrt-devel
Acinonyx_ has quit [Ping timeout: 480 seconds]
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
Sawzallz has quit [Read error: Connection reset by peer]
Sawzall has joined #openwrt-devel
Sawzallz has joined #openwrt-devel
Sawzallz has quit [Read error: Connection reset by peer]
Sawzallz has joined #openwrt-devel
<owrt-images-builds> Build [#7](https://buildbot.openwrt.org/images/#/builders/233/builds/7) of `openwrt-23.05_layerscape/armv8_64b` completed successfully.
Sawzall has quit [Ping timeout: 480 seconds]
n3ph has quit [Read error: No route to host]
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #openwrt-devel
noltari_ has joined #openwrt-devel
noltari has quit [Ping timeout: 480 seconds]
mrnuke has quit [Ping timeout: 480 seconds]
<Habbie> can i tell .config "i just want to build for arm926ej-s, don't care about the target"?
<schmars[m]> i dont think so - i think i've done that in the past and the defconfig call afterwards just wiped it, if i hadn't selected target+subtarget+profile
<schmars[m]> (selected, as in echo'd into .config)
<Habbie> yeah, i remember failing at that too
<Habbie> i found the right target/subtarget combo now, but it's a bit of a puzzle sometimes
<schmars[m]> in my tooling i save the output of 'scripts/dump-target-info.pl architectures' and make use of it a lot
<schmars[m]> if you're just saying that translating architecture -> target+subtarget is a bit of a hassle every time
<Habbie> oh yes, i was going to try to remember the tool
<Habbie> let me see
<Habbie> arm_arm926ej-s at91/sam9x mxs/generic
<Habbie> right
<Habbie> same result as my poor git grep
<Habbie> but great if i ever need to do this automatically
<Habbie> yes, that's perfect
<Habbie> pity that in 'make menuconfig' it doesn't say "mxs" anywhere
<schmars[m]> yeeeah :-)
<Habbie> it's "Freescale i.MX23/i.MX28"
<Habbie> and given that https://downloads.openwrt.org/releases/24.10.0-rc4/packages/arm_arm926ej-s/ does not have further specific subdirs
<Habbie> i can assume that "Target Profile" doesn't matter
<schmars[m]> yeah i was also told that either target's sdk tarball is correct for a given architecture
<Habbie> CONFIG_TARGET_ARCH_PACKAGES="arm_arm926ej-s"
<Habbie> CONFIG_CPU_TYPE="arm926ej-s"
<schmars[m]> (for e.g. building my own feed)
<Habbie> schmars[m], right!
<Habbie> i'm doing something worse, i want to (ab)use openwrt's build system to build binaries (not packages) for a system to which openwrt hasn't even been ported
mrnuke has joined #openwrt-devel
minimal has quit [Quit: Leaving]
lmore377 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
lmore377 has joined #openwrt-devel
mko has quit [Ping timeout: 480 seconds]
romany has quit [Remote host closed the connection]
romany has joined #openwrt-devel
mko_ has joined #openwrt-devel
<owrt-images-builds> Build [#8](https://buildbot.openwrt.org/images/#/builders/101/builds/8) of `openwrt-23.05_apm821xx/sata` completed successfully.
swalker has joined #openwrt-devel
mrnuke has quit [Ping timeout: 480 seconds]
mrnuke has joined #openwrt-devel
<Habbie> is mbed still the default tls lib? (for curl, in this case)
<slh> yes
<Habbie> ta
totkeks has joined #openwrt-devel
totkeks has quit [Ping timeout: 480 seconds]
robimarko has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]