Gitlab runner timeout on evb-ast2600 ?
Joel Stanley
joel at jms.id.au
Fri Apr 11 09:56:49 CEST 2025
On Fri, 11 Apr 2025 at 16:54, Cédric Le Goater <clg at kaod.org> wrote:
>
> Hi,
>
> On 4/11/25 01:14, Tom Rini wrote:
> > On Fri, Apr 11, 2025 at 08:07:15AM +0930, Joel Stanley wrote:
> >> On Mon, 7 Apr 2025 at 23:25, Eugen Hristev <eugen.hristev at linaro.org> wrote:
> >>>
> >>> Hi everyone,
> >>>
> >>> I keep getting an error on running the CI loop on -next on my tree :
> >>>
> >>> https://source.denx.de/u-boot/custodians/u-boot-at91/-/jobs/1090517
> >>
> >> Thanks for the report.
> >>
> >>>
> >>> ! _pytest.outcomes.Exit: Lab timeout: Marking connection bad - no other
> >>> tests will run !
> >>>
> >>> Any clue ? It's been like this for few days. It doesn't look like a
> >>> faulty patch.
> >>
> >> I can't see that link you sent me, it 403s.
> >>
> >> Do you have any other traces or information to share?
> >
> > It's been intermittent recently. I was able to put qemu + gdb together
> > and see it's one of the early initcalls that fails and hang()s but
> > didn't see why. You should be able to use commit 1f0281294d8b ("Merge
> > patch series "Annotate switch/case fallthrough cases"") as a starting
> > point of failure.
> >
>
> Do you have logs ?
>
> Things look ok from the QEMU side (latest 10.0.0-rc and 9.1) :
I brefily tried to run the steps from CI locally, but couldn't work
out how to get the flash image built. Instead I used the instructions
from 154cffa16a7b6647e180ed6cef55342b39580aff.
Testing master with Debian's qemu 9.2.2:
makearm evb-ast2600_defconfig
make u-boot-with-spl.bin
truncate -s 64M u-boot-with-spl.bin
qemu-system-arm -nographic -M ast2600-evb \
-drive file=u-boot-with-spl.bin,if=mtd,format=raw
U-Boot SPL 2025.04-00921-gcb7555e93075 (Apr 11 2025 - 17:05:20 +0930)
Trying to boot from RAM
## Checking hash(es) for config conf-1 ... OK
## Checking hash(es) for Image firmware-1 ... crc32+ OK
## Checking hash(es) for Image fdt-1 ... crc32+ OK
U-Boot 2025.04-00921-gcb7555e93075 (Apr 11 2025 - 17:05:20 +0930)
Model: Aspeed BMC
DRAM: already initialized, 1008 MiB (capacity:1024 MiB, VGA:64 MiB), ECC off
Core: 266 devices, 24 uclasses, devicetree: separate
WDT: Started watchdog at 1e785000 with servicing every 1000ms (60s timeout)
MMC: sdhci at 1e750100: 0
Loading Environment from SPIFlash... SF: Detected mx25u51245g with
page size 256 Bytes, erase size 64 KiB, total 64 MiB
*** Warning - bad CRC, using default environment
In: serial at 1e784000
Out: serial at 1e784000
Err: serial at 1e784000
Net: eth0: ftgmac at 1e660000, eth1: ftgmac at 1e680000, eth2:
ftgmac at 1e670000, eth3: ftgmac at 1e690000
Hit any key to stop autoboot: 0
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Error loading kernel FIT image
=>
I tried to run qemu using the recipie from CI but I couldn't see where
the step to create the flash image happens.
>
> uboot_build=/path/to/u-boot/
> flashsize=65536
> flash=./flash-ast2600-evb-uboot
> dd of=$flash bs=1K if=/dev/zero count=$flashsize
> dd of=$flash conv=notrunc bs=1K if=$uboot_build/spl/u-boot-spl.bin
> dd of=$flash conv=notrunc bs=1K if=$uboot_build/u-boot.img seek=64
>
> $ qemu-system-arm -M ast2600-evb -net nic,netdev=net0 -netdev user,id=net0 -nographic -snapshot -serial mon:stdio -drive file=flash-ast2600-evb-uboot,format=raw,if=mtd
> qemu-system-arm: warning: nic ftgmac100.1 has no peer
> qemu-system-arm: warning: nic ftgmac100.2 has no peer
> qemu-system-arm: warning: nic ftgmac100.3 has no peer
>
> U-Boot SPL 2025.04-00921-gcb7555e93075 (Apr 11 2025 - 09:08:40 +0200)
> Trying to boot from RAM
> ## Checking hash(es) for config conf-1 ... OK
> ## Checking hash(es) for Image firmware-1 ... crc32+ OK
> ## Checking hash(es) for Image fdt-1 ... crc32+ OK
>
>
> U-Boot 2025.04-00921-gcb7555e93075 (Apr 11 2025 - 09:08:40 +0200)
>
> Model: Aspeed BMC
> DRAM: already initialized, 1008 MiB (capacity:1024 MiB, VGA:64 MiB), ECC off
> Core: 266 devices, 24 uclasses, devicetree: separate
> WDT: Started watchdog at 1e785000 with servicing every 1000ms (60s timeout)
> MMC: sdhci at 1e750100: 0
> Loading Environment from SPIFlash... SF: Detected mx25u51245g with page size 256 Bytes, erase size 64 KiB, total 64 MiB
> *** Warning - bad CRC, using default environment
>
> In: serial at 1e784000
> Out: serial at 1e784000
> Err: serial at 1e784000
> Net: eth0: ftgmac at 1e660000, eth1: ftgmac at 1e680000, eth2: ftgmac at 1e670000, eth3: ftgmac at 1e690000
> Hit any key to stop autoboot: 0
> libfdt fdt_check_header(): FDT_ERR_BADMAGIC
> Error loading kernel FIT image
> =>
>
>
> Thanks,
>
> C.
>
>
More information about the U-Boot
mailing list