v2023.07-rc5 regression: Image overlaps SPL
Francesco Dolcini
francesco at dolcini.it
Mon Jul 3 21:57:54 CEST 2023
On Mon, Jul 03, 2023 at 09:54:40PM +0200, Francesco Dolcini wrote:
> On Mon, Jul 03, 2023 at 09:40:51PM +0200, Marek Vasut wrote:
> > On 7/3/23 18:49, Francesco Dolcini wrote:
> > > Short update on this regression.
> > >
> > > On Thu, Jun 29, 2023 at 04:19:22PM +0200, Francesco Dolcini wrote:
> > > > I also noticed something weird on a colibri imx7s, this is not using SPL,
> > > > likely something completly different, however given this is new also from rc5 I
> > > > thought it's valuable to report:
> > > >
> > > > ```
> > > > U-Boot 2023.07-rc5-0.0.0-devel+git.580eb31199be (Jun 27 2023 - 13:39:58 +0000)
> > > > CPU: Freescale i.MX7S rev1.2 800 MHz (running at 792 MHz)
> > > > CPU: Extended Commercial temperature grade (-20C to 105C) at 30C
> > > > Reset cause: POR
> > > > DRAM: initcall sequence 8786eafc failed at call 8781b351 (err=-3)
> >
> > If you have the u-boot (elf file, unstripped), then check which initcall it
> > is that failed . Just run arm-...-objdump -lSD on it and search for the
> > 8781b350: address ; remember to clear the LSbit of the address in case this
> > is thumb mode of the CPU.
>
>
> U-Boot 2023.07-rc6 (Jul 03 2023 - 21:50:58 +0200)
>
> CPU: Freescale i.MX7S rev1.2 800 MHz (running at 792 MHz)
> CPU: Extended Commercial temperature grade (-20C to 105C) at 35C
> Reset cause: POR
> DRAM: initcall sequence 8786fb00 failed at call 8781b715 (err=-3)
> ### ERROR ### Please RESET the board ###
>
>
> u-boot/common/board_f.c:523
> }
> 8781b710: 2000 movs r0, #0
> 8781b712: bd08 pop {r3, pc}
>
> 8781b714 <fix_fdt>:
> fix_fdt():
> u-boot/common/board_f.c:729
> return board_fix_fdt((void *)gd->fdt_blob);
> 8781b714: f8d9 0068 ldr.w r0, [r9, #104] ; 0x68
> 8781b718: f7ea bafe b.w 87805d18 <board_fix_fdt>
so, this seems to be the broken code:
/* i.MX 7Solo has only one single USB OTG1 but no USB host port */
if (is_cpu_type(MXC_CPU_MX7S)) {
int offset = fdt_path_offset(rw_fdt_blob, "/soc/bus at 30800000/usb at 30b20000");
return fdt_status_disabled(rw_fdt_blob, offset);
}
now I wonder how is this related to that other change ...
More information about the U-Boot
mailing list