Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2021.07 is OUT / Merge Window is OPEN until 26 July 2021 / Release v2021.10 is scheduled for 04 October 2021 / http://www.denx.de/wiki/U-Boot / Channel archives at https://libera.irclog.whitequark.org/u-boot
qschulz has quit [Remote host closed the connection]
qschulz has joined #u-boot
<m4t> hrm i'm trying to do some brief verification of a new u-boot for my pogoplug e02 (kirkwood). currently it's running 'U-Boot 2014.04 (May 31 2014 - 19:16:34)'
<m4t> i'm trying tftpboot + go but it freezes right at the NAND probe consistently. tried playing with loaddr and text base
<m4t> is there anything more i can do, besides pray and jtag otherwise?
<m4t> kwboot apparently does not work for this (i've been trying for a bit, but just read it's unsupported)
<m4t> last time i flashed this 'saveenv' bricked it because the default location overlapped with u-boot on flash :P that was fun...
<m4t> (that was several yrs ago)
<Forty-Bot> > is there anything more i can do, besides pray and jtag otherwise?
<Forty-Bot> update?
<sjg1> milkylainen: I bisected it to a commit e7bae8283fe (HEAD, refs/bisect/bad) x86: Allow installing an e820 when booting from coreboot
<sjg1> milkylainen: Have not looked at why yet
mmu_man has quit [Ping timeout: 246 seconds]
vagrantc has quit [Quit: leaving]
<m4t> Forty-Bot: i want to confirm that it won't brick my board before flashing it...
<Forty-Bot> do you have a filesystem around? you could use ENV_IS_IN_FAT
<m4t> i can't boot into the new u-boot without flashing it to nand at 0x0
<m4t> in the past i've had success just chainloading to test before flashing, but not in this case
<Forty-Bot> well, if you're that concerned then get jtag working
<m4t> ...
* m4t checks doozan to see if anyone is talking about recent u-boot on e02 there
<m4t> so i can chainload into the openwrt second stage image (u-boot-pogo_e02_second_stage)
* m4t diffs the .config
<m4t> +# CONFIG_SECOND_STAGE is not set
<m4t> duh..
LeSpocky has joined #u-boot
<m4t> it's the environment load from nand that the openwrt second stage "hack" bypasses (it sets CONFIG_ENV_IS_NOWHERE), and i'm seeing boot hang at the nand probe... so i will try that
LeSpocky_ has quit [Ping timeout: 252 seconds]
<m4t> there's something different with 2021.07 vs openwrt's prebuilt 2020.04 variants: https://paste.ee/p/N3OzD#59aTseDJzPAw15yvrSmAE4WipZ9KIBZr
<m4t> the non-second stage openwrt image aborts at the nand environment load, but gets past the nand probe itself. the second stage one also gets past the nand probe and lands at a prompt.
<m4t> however, 2021.07 was hanging at the nand probe completely, and 2021.07 with environment disabled gives a data abort
<sjg1> milkylainen: I sent a patch for the 2021.07 problem. For me the kernel boots, so I might need to get a copy of your kernel
<sjg1> milkylainen: I am using qemu BTW
niska has quit [*.net *.split]
BobBeck has quit [*.net *.split]
m4t has quit [*.net *.split]
sauce has quit [*.net *.split]
sauce has joined #u-boot
BobBeck has joined #u-boot
niska has joined #u-boot
m4t has joined #u-boot
birkoff has quit [Ping timeout: 246 seconds]
<milkylainen_> sjg1: Nice! I'll try "x86: Ensure the e820 map is installed in all cases" and let you know.
birkoff has joined #u-boot
birkoff is now known as Guest5520
<milkylainen_> sjg1: Kernel boots with 2021.07 :)
<milkylainen_> One issue down.
mmu_man has joined #u-boot
jordemort has quit [Quit: Bridge terminating on SIGTERM]
samueldr has quit [Quit: Bridge terminating on SIGTERM]
mvaittin has quit [Quit: Bridge terminating on SIGTERM]
cpackham[m] has quit [Quit: Bridge terminating on SIGTERM]
cpackham[m] has joined #u-boot
mvaittin has joined #u-boot
samueldr has joined #u-boot
jordemort has joined #u-boot
mmu_man has quit [Ping timeout: 246 seconds]
pi___ is now known as Daulity
redbrain has joined #u-boot
jwillikers has joined #u-boot
<sjg1> milkylainen_: For the other issue I'm not sure what to do, as I don't have the hardware. Probably needs more debugging. I do see [Firmware Bug] in my boot. I added info about that at the bottom
<milkylainen_> sjg1: Mm. I think I'll do some more digging there. My initial guess is either some old x86 legacy io-poll (keyboard serial or smth) or something regarding mmc init. That's the only two things I can think of right now.
<milkylainen_> sjg1: But I'm very much grateful for your help with 2021.04+. :)
<sjg1> milkylainen_: Yes could be...you should be able to debug it since it is still in U-Boot, as I understand it
jwillikers has quit [Remote host closed the connection]
Guest5520 has quit [Quit: ZNC 1.8.2 - https://znc.in]
<milkylainen_> sjg1: Regarding the firmware bug errors with QEMU, I see no such messages with the EDKII based one in Virtualbox.
birkoff has joined #u-boot
birkoff has quit [Changing host]
birkoff has joined #u-boot
<sjg1> milkylainen_: Well perhaps there is something wrong with the EFI I am using
mmu_man has joined #u-boot
redbrain has quit [Ping timeout: 252 seconds]
redbrain has joined #u-boot
redbrain has quit [Ping timeout: 265 seconds]
floatcomplex has left #u-boot [#u-boot]
redbrain has joined #u-boot
vagrantc has joined #u-boot
redbrain has quit [Ping timeout: 258 seconds]
akaWolf has quit [Ping timeout: 272 seconds]
akaWolf has joined #u-boot
<m4t> chainloading is working fine on 2021.07 with the defconfig, btw. i think the version that was hanging may have been too big
<m4t> enabling LTO causes an immediate reset though....
<m4t> actually, i take that back. v2021.07 hangs at NAND, tip of master does not... eek
Zapy has quit [Read error: Connection reset by peer]
<m4t> this is what fixes it: "bootstage: Eliminate when not enabled"
<m4t> if i revert that on the tip of master, it hangs at the NAND probe. very reproducible.
<m4t> will try applying that to v2021.07 just to be certain.
<m4t> weird, v2021.07 with cb80ff20 applied doesn't see nand at all: NAND: 0 MiB
<m4t> this might just be chainloading side effects...
<m4t> e.g. NAND: BUG at drivers/mtd/nand/raw/nand_base.c:5062/nand_scan_tail()!
Zapy has joined #u-boot