Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #75186

Bug#1010365: linux: failure to boot on Raspberry Pi Compute Module 4 (black screen)

From Cyril Brulebois <cyril@debamax.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1010365: linux: failure to boot on Raspberry Pi Compute Module 4 (black screen)
Date 2022-04-30 22:00 +0200
Message-ID <Ei1q1-chtw-3@gated-at.bofh.it> (permalink)
References (2 earlier) <EhBvz-c24H-1@gated-at.bofh.it> <EhRK1-cbUr-3@gated-at.bofh.it> <EhRK1-cbUr-1@gated-at.bofh.it> <EhBvz-c24H-1@gated-at.bofh.it> <EhRK1-cbUr-1@gated-at.bofh.it>
Organization DEBAMAX

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Control: tag -1 upstream
Control: forwarded -1 https://bugzilla.kernel.org/show_bug.cgi?id=215925

Hi Bjørn,

Bjørn Mork <bjorn@mork.no> (2022-04-30):
> But that's a merge commit. Not likely the real cuplrit, unless there's
> a merge bug.
> 
> I looked briefly at what was merged there, and I believe this commit
> stands out as suspicious:
> 
> bjorn@miraculix:/usr/local/src/git/linux$ git show f59f6aaead97
> commit f59f6aaead975f0ec4d8ff2d59c4ffb8cf0127b2
> Author: Arnd Bergmann <arnd@arndb.de>
> Date:   Mon Nov 22 23:21:56 2021 +0100
> 
>     mmc: bcm2835: stop setting chan_config->slave_id

Yeah, I skipped a bunch of details in my last mail since I've tried
various things (including reverting that one I spotted, plus the few
commits around it since it was part of removing that field altogether)
but didn't get any consistent results.

My methodology was probably fragile since I worked incrementally, and I
suppose I got some wires crossed at some point. Sorry for the confusion.


I've redone this entirely, and here are better (and reproducible, this
time) findings:

 - 830aa6f29f07a4e2f1a947dfa72b3ccddb46dd21 breaks the boot, leading to
   a kernel panic very early in the boot process; I'm seeing the trace
   on the screen, not on the serial console. It involves the modified
   brcm_pcie_driver_init() function, so that's quite consistent.

 - 87c71931633bd15e9cfd51d4a4d9cd685e8cdb55 is the last commit
   exhibiting the kernel panic (further in that branch, before it gets
   merged into mainline).

 - 88db8458086b1dcf20b56682504bdb34d2bca0e2 is the last commit that lets
   the CM4 boots properly.

 - d0a231f01e5b25bacd23e6edc7c979a18a517b2b, which is the merge of the
   last two aforementioned commits, is the first one that results in
   a completely black screen (no kernel panic displayed), and still
   nothing on the serial console. It seems to me that the kernel panic
   escalates into a more serious issue after this merge. I note there
   are conflict resolutions about drivers/pci/controller/pcie-brcmstb.c
   in that commit.


No luck with latest master. I've filed this upstream (see link above).


Cheers,
-- 
Cyril Brulebois -- Debian Consultant @ DEBAMAX -- https://debamax.com/

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1010365: linux: failure to boot on Raspberry Pi Compute Module 4 (black screen) Cyril Brulebois <cyril@debamax.com> - 2022-04-29 18:20 +0200
  Processed: Re: Bug#1010365: linux: failure to boot on Raspberry  Pi Compute Module 4 (black screen) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-04-29 19:40 +0200
  Bug#1010365: linux: failure to boot on Raspberry Pi Compute Module 4 (black screen) Cyril Brulebois <cyril@debamax.com> - 2022-04-29 19:40 +0200
    Bug#1010365: linux: failure to boot on Raspberry Pi Compute Module 4 (black screen) Cyril Brulebois <cyril@debamax.com> - 2022-04-30 07:20 +0200
  Bug#1010365: linux: failure to boot on Raspberry Pi Compute Module 4 (black screen) Bjørn Mork <bjorn@mork.no> - 2022-04-30 11:40 +0200
    Bug#1010365: linux: failure to boot on Raspberry Pi Compute Module 4 (black screen) Cyril Brulebois <cyril@debamax.com> - 2022-04-30 22:00 +0200
  Processed: Re: Bug#1010365: linux: failure to boot on Raspberry  Pi Compute Module 4 (black screen) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-04-30 22:00 +0200
  Bug#1010365: probably related - seeed studio dual gigabit CM4 does not reboot + does not boot once upgraded. Eugen Stan <eugen.stan@netdava.com> - 2022-05-15 12:50 +0200

csiph-web