boot cycle after installing latest updates

Discussion about U-Boot and the kernel.

boot cycle after installing latest updates

Postby ilyxa » Sat Jun 29, 2019 2:02 pm

H/W: Pi 3 model B.Raspberry
ArchLinux: ArchLinuxARM-rpi-3-latest.tar.gz (aarch64).
Last changes: system was updated (pacman -Syyu).

As a result:
- green LED flashing (twice, one long, one very short, pause ~2 sec, in loop)
- system not boot up.

Diag:
- got serial connection, system is in boot cycle:
$this->bbcode_second_pass_code('', 'U-Boot 2018.07-1 (Jul 18 2018 - 23:27:57 +0000) Arch Linux ARM

DRAM: 948 MiB
RPI 3 Model B (0xa02082)
MMC: mmc@7e202000: 0, sdhci@7e300000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

Failed (-5)
mbox: Header response code invalid
bcm2835: Could not configure display
"Synchronous Abort" handler, esr 0x86000004
elr: 80000003c4d3b004 lr : 80000003c4d3b004 (reloc)
elr: 8000000400000004 lr : 8000000400000004
x0 : 000000003b000000 x1 : 000000003b000000
x2 : 0000000000000040 x3 : 000000000000003f
x4 : 0000000000000008 x5 : 0000000000000000
x6 : ffffffff80800000 x7 : 0000000000000002
x8 : 000000003ae00000 x9 : 0000000000000008
x10: 0000000000200000 x11: 0000000000000000
x12: 0000000000000002 x13: 000000003ae00000
x14: 0000000000000000 x15: 00000000ffffffff
x16: 0000000000004110 x17: 0000020000000000
x18: 000000003af40df0 x19: 0000000000000000
x20: 000000003b36afbc x21: 000000003af44ad8
x22: 0000000000000002 x23: 0004000800000000
x24: 8000000400000004 x25: 000000003af44ad0
x26: 000000003af44890 x27: 000000003af44ad8
x28: 0000000000000002 x29: 0004000800000000

Resetting CPU ...

resetting ...')

Recovery: Re-install the system (ArchLinuxARM-rpi-3-latest.tar.gz) = normal boot
Step to reproduce: pacman -Syyu then reboot/power off/on (does not matter).

Look like problem located somewhere in boot code.
ilyxa
 
Posts: 8
Joined: Sat Jun 29, 2019 1:51 pm

Re: boot cycle after installing latest updates

Postby ilyxa » Sat Jun 29, 2019 3:28 pm

Problem package: raspberrypi-bootloader-20190626-1
ilyxa
 
Posts: 8
Joined: Sat Jun 29, 2019 1:51 pm

Re: boot cycle after installing latest updates

Postby ufo6000 » Sat Jun 29, 2019 5:56 pm

No problem here with raspberrypi-bootloader 20190626-1

$this->bbcode_second_pass_code('', 'Loading Environment from FAT... *** Warning - bad CRC, using default environment
')
This sounds like a broken FAT filesystem on the boot partition. Have you tested with another sdcard ?
ufo6000
 
Posts: 117
Joined: Fri Jan 22, 2016 7:54 pm

Re: boot cycle after installing latest updates

Postby ilyxa » Sat Jun 29, 2019 8:00 pm

> Have you tested with another sdcard ?

Sure.
I see this part every time when system booting (normal):
$this->bbcode_second_pass_code('', 'Loading Environment from FAT... *** Warning - bad CRC, using default environment
')

So, this is not root cause.
ilyxa
 
Posts: 8
Joined: Sat Jun 29, 2019 1:51 pm

Re: boot cycle after installing latest updates

Postby ilyxa » Sat Jun 29, 2019 8:03 pm

Meantime, thank you for idea to check bugtracker on git ;)

https://github.com/raspberrypi/firmware/issues/1164 (very different, but also with new commit).

https://github.com/raspberrypi/firmware/issues/1157 <- this is mine.

https://github.com/raspberrypi/firmware ... fa5da51298 <- this works fine (as expected).
ilyxa
 
Posts: 8
Joined: Sat Jun 29, 2019 1:51 pm

Re: boot cycle after installing latest updates

Postby ufo6000 » Sun Jun 30, 2019 7:22 am

$this->bbcode_second_pass_quote('', 'N')o problem here with raspberrypi-bootloader 20190626-1


Sorry, ignore my post, I forgot I reverted from arm64 to armv7, because of network problems, viewtopic.php?t=13158

arm64 is not so common used so far as I know, no real benefit, but many new issues...
ufo6000
 
Posts: 117
Joined: Fri Jan 22, 2016 7:54 pm

Re: boot cycle after installing latest updates

Postby ilyxa » Sun Jun 30, 2019 12:23 pm

not a problem, I'll already got new ideas from your post, this is not Arch-specific problem.
ilyxa
 
Posts: 8
Joined: Sat Jun 29, 2019 1:51 pm

Re: boot cycle after installing latest updates

Postby ilyxa » Mon Jul 01, 2019 5:25 pm

ilyxa
 
Posts: 8
Joined: Sat Jun 29, 2019 1:51 pm

Re: boot cycle after installing latest updates

Postby GoofySpeed » Tue Jul 02, 2019 1:58 am

I'm having the same issue, but was able to bypass it by hooking a monitor to the HDMI port. This allowed my device to boot, and then I could remove the monitor once it reached the login screen. I was having a conversation about this with an individual on Reddit about this, https://www.reddit.com/r/archlinux/comments/c6pzv3/anyone_elses_raspberry_pi_dead/, but the monitor bypass didn't work for them, you might want to give it a try. It's an inconvenience to have to do, but until a permanent fix is figured out I'll put up with it.
GoofySpeed
 
Posts: 2
Joined: Tue Jul 02, 2019 1:46 am

Re: boot cycle after installing latest updates

Postby ilyxa » Tue Jul 02, 2019 10:34 am

> you might want to give it a try. It's an inconvenience to have to do, but until a permanent fix is figured out I'll put up with it.

Temporary workaround - pacman -Syyu --ignore raspberrypi-bootloader (it's enough in my case).
ilyxa
 
Posts: 8
Joined: Sat Jun 29, 2019 1:51 pm

Next

Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 1 guest