linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL 1/3] bcm2835-dt-next-2019-10-15
@ 2019-10-15 17:15 Stefan Wahren
  2019-10-15 17:15 ` [GIT PULL 2/3] bcm2835-soc-next-2019-10-15 Stefan Wahren
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Stefan Wahren @ 2019-10-15 17:15 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: Stefan Wahren, Eric Anholt, linux-kernel,
	bcm-kernel-feedback-list, linux-rpi-kernel, linux-arm-kernel

Hi Florian,

The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:

  Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)

are available in the git repository at:

  git://github.com/anholt/linux tags/bcm2835-dt-next-2019-10-15

for you to fetch changes up to 46fdee06aeefedfc62a4c33b2c4a7a74682ac755:

  arm64: dts: broadcom: Add reference to RPi 4 B (2019-10-10 19:14:28 +0200)

----------------------------------------------------------------
This pull request introduce initial Raspberry Pi 4 support. But all the fancy
stuff like GENET, PCIe, xHCI, 40 bit DMA and V3D is missing.

----------------------------------------------------------------
Stefan Wahren (7):
      ARM: dts: bcm283x: Remove simple-bus from fixed clocks
      ARM: dts: bcm283x: Remove brcm,bcm2835-pl011 compatible
      ARM: dts: bcm283x: Move BCM2835/6/7 specific to bcm2835-common.dtsi
      dt-bindings: arm: Convert BCM2835 board/soc bindings to json-schema
      dt-bindings: arm: bcm2835: Add Raspberry Pi 4 to DT schema
      ARM: dts: Add minimal Raspberry Pi 4 support
      arm64: dts: broadcom: Add reference to RPi 4 B

 .../devicetree/bindings/arm/bcm/bcm2835.yaml       |  54 ++
 .../devicetree/bindings/arm/bcm/brcm,bcm2835.txt   |  67 --
 arch/arm/boot/dts/Makefile                         |   1 +
 arch/arm/boot/dts/bcm2711-rpi-4-b.dts              | 123 +++
 arch/arm/boot/dts/bcm2711.dtsi                     | 844 +++++++++++++++++++++
 arch/arm/boot/dts/bcm2835-common.dtsi              | 194 +++++
 arch/arm/boot/dts/bcm2835-rpi.dtsi                 |   4 -
 arch/arm/boot/dts/bcm2835.dtsi                     |   1 +
 arch/arm/boot/dts/bcm2836.dtsi                     |   1 +
 arch/arm/boot/dts/bcm2837.dtsi                     |   1 +
 arch/arm/boot/dts/bcm283x-rpi-usb-peripheral.dtsi  |   7 +
 arch/arm/boot/dts/bcm283x.dtsi                     | 190 +----
 arch/arm64/boot/dts/broadcom/Makefile              |   3 +-
 arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts   |   2 +
 14 files changed, 1236 insertions(+), 256 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml
 delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt
 create mode 100644 arch/arm/boot/dts/bcm2711-rpi-4-b.dts
 create mode 100644 arch/arm/boot/dts/bcm2711.dtsi
 create mode 100644 arch/arm/boot/dts/bcm2835-common.dtsi
 create mode 100644 arch/arm/boot/dts/bcm283x-rpi-usb-peripheral.dtsi
 create mode 100644 arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [GIT PULL 2/3] bcm2835-soc-next-2019-10-15
  2019-10-15 17:15 [GIT PULL 1/3] bcm2835-dt-next-2019-10-15 Stefan Wahren
@ 2019-10-15 17:15 ` Stefan Wahren
  2019-10-18 17:22   ` Florian Fainelli
       [not found]   ` <12244E4E-A1A0-4EE9-ACD3-EA165D9A2C79@goldelico.com>
  2019-10-15 17:15 ` [GIT PULL 3/3] bcm2835-maintainers-next-2019-10-15 Stefan Wahren
  2019-10-18 17:20 ` [GIT PULL 1/3] bcm2835-dt-next-2019-10-15 Florian Fainelli
  2 siblings, 2 replies; 10+ messages in thread
From: Stefan Wahren @ 2019-10-15 17:15 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: Stefan Wahren, Eric Anholt, linux-kernel,
	bcm-kernel-feedback-list, linux-rpi-kernel, linux-arm-kernel

Hi Florian,

The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:

  Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)

are available in the git repository at:

  git://github.com/anholt/linux tags/bcm2835-soc-next-2019-10-15

for you to fetch changes up to 781fa0a954240c8487683ddf837fb2c4ede8e7ca:

  ARM: bcm: Add support for BCM2711 SoC (2019-10-10 19:21:03 +0200)

----------------------------------------------------------------
This pull request introduces the machine board code for the BCM2711,
which is placed on the Raspberry Pi 4.

----------------------------------------------------------------
Stefan Wahren (1):
      ARM: bcm: Add support for BCM2711 SoC

 arch/arm/mach-bcm/Kconfig    |  4 +++-
 arch/arm/mach-bcm/Makefile   |  3 ++-
 arch/arm/mach-bcm/bcm2711.c  | 24 ++++++++++++++++++++++++
 arch/arm64/Kconfig.platforms |  5 +++--
 4 files changed, 32 insertions(+), 4 deletions(-)
 create mode 100644 arch/arm/mach-bcm/bcm2711.c

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [GIT PULL 3/3] bcm2835-maintainers-next-2019-10-15
  2019-10-15 17:15 [GIT PULL 1/3] bcm2835-dt-next-2019-10-15 Stefan Wahren
  2019-10-15 17:15 ` [GIT PULL 2/3] bcm2835-soc-next-2019-10-15 Stefan Wahren
@ 2019-10-15 17:15 ` Stefan Wahren
  2019-10-18 17:21   ` Florian Fainelli
  2019-10-18 17:20 ` [GIT PULL 1/3] bcm2835-dt-next-2019-10-15 Florian Fainelli
  2 siblings, 1 reply; 10+ messages in thread
From: Stefan Wahren @ 2019-10-15 17:15 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: Stefan Wahren, Eric Anholt, linux-kernel,
	bcm-kernel-feedback-list, linux-rpi-kernel, linux-arm-kernel

Hi Florian,

The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:

  Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)

are available in the git repository at:

  git://github.com/anholt/linux tags/bcm2835-maintainers-next-2019-10-15

for you to fetch changes up to a91f757bda1a48317f692487addf832ebf8e93aa:

  mailmap: Add Simon Arlott (replacement for expired email address) (2019-10-12 12:48:25 +0200)

----------------------------------------------------------------
This pull request clarifies maintainership of the BCM2711 and adds a replacement
mail address for a former contributor.

----------------------------------------------------------------
Simon Arlott (1):
      mailmap: Add Simon Arlott (replacement for expired email address)

Stefan Wahren (1):
      MAINTAINERS: Add BCM2711 to BCM2835 ARCH

 .mailmap    | 1 +
 MAINTAINERS | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [GIT PULL 1/3] bcm2835-dt-next-2019-10-15
  2019-10-15 17:15 [GIT PULL 1/3] bcm2835-dt-next-2019-10-15 Stefan Wahren
  2019-10-15 17:15 ` [GIT PULL 2/3] bcm2835-soc-next-2019-10-15 Stefan Wahren
  2019-10-15 17:15 ` [GIT PULL 3/3] bcm2835-maintainers-next-2019-10-15 Stefan Wahren
@ 2019-10-18 17:20 ` Florian Fainelli
  2 siblings, 0 replies; 10+ messages in thread
From: Florian Fainelli @ 2019-10-18 17:20 UTC (permalink / raw)
  To: Stefan Wahren, Florian Fainelli
  Cc: Eric Anholt, linux-kernel, bcm-kernel-feedback-list,
	linux-rpi-kernel, linux-arm-kernel

On 10/15/19 10:15 AM, Stefan Wahren wrote:
> Hi Florian,
> 
> The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:
> 
>   Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)
> 
> are available in the git repository at:
> 
>   git://github.com/anholt/linux tags/bcm2835-dt-next-2019-10-15
> 
> for you to fetch changes up to 46fdee06aeefedfc62a4c33b2c4a7a74682ac755:
> 
>   arm64: dts: broadcom: Add reference to RPi 4 B (2019-10-10 19:14:28 +0200)
> 
> ----------------------------------------------------------------
> This pull request introduce initial Raspberry Pi 4 support. But all the fancy
> stuff like GENET, PCIe, xHCI, 40 bit DMA and V3D is missing.
> 
> ----------------------------------------------------------------
> Stefan Wahren (7):
>       ARM: dts: bcm283x: Remove simple-bus from fixed clocks
>       ARM: dts: bcm283x: Remove brcm,bcm2835-pl011 compatible
>       ARM: dts: bcm283x: Move BCM2835/6/7 specific to bcm2835-common.dtsi
>       dt-bindings: arm: Convert BCM2835 board/soc bindings to json-schema
>       dt-bindings: arm: bcm2835: Add Raspberry Pi 4 to DT schema
>       ARM: dts: Add minimal Raspberry Pi 4 support
>       arm64: dts: broadcom: Add reference to RPi 4 B

Merged into devicetree/next, thanks Stefan.
-- 
Florian

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [GIT PULL 3/3] bcm2835-maintainers-next-2019-10-15
  2019-10-15 17:15 ` [GIT PULL 3/3] bcm2835-maintainers-next-2019-10-15 Stefan Wahren
@ 2019-10-18 17:21   ` Florian Fainelli
  0 siblings, 0 replies; 10+ messages in thread
From: Florian Fainelli @ 2019-10-18 17:21 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Eric Anholt, linux-kernel, bcm-kernel-feedback-list,
	linux-rpi-kernel, linux-arm-kernel

On 10/15/19 10:15 AM, Stefan Wahren wrote:
> Hi Florian,
> 
> The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:
> 
>   Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)
> 
> are available in the git repository at:
> 
>   git://github.com/anholt/linux tags/bcm2835-maintainers-next-2019-10-15
> 
> for you to fetch changes up to a91f757bda1a48317f692487addf832ebf8e93aa:
> 
>   mailmap: Add Simon Arlott (replacement for expired email address) (2019-10-12 12:48:25 +0200)
> 
> ----------------------------------------------------------------
> This pull request clarifies maintainership of the BCM2711 and adds a replacement
> mail address for a former contributor.
> 
> ----------------------------------------------------------------

Merged into maintainers/next, thanks Stefan!
-- 
Florian

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [GIT PULL 2/3] bcm2835-soc-next-2019-10-15
  2019-10-15 17:15 ` [GIT PULL 2/3] bcm2835-soc-next-2019-10-15 Stefan Wahren
@ 2019-10-18 17:22   ` Florian Fainelli
       [not found]   ` <12244E4E-A1A0-4EE9-ACD3-EA165D9A2C79@goldelico.com>
  1 sibling, 0 replies; 10+ messages in thread
From: Florian Fainelli @ 2019-10-18 17:22 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Eric Anholt, linux-kernel, bcm-kernel-feedback-list,
	linux-rpi-kernel, linux-arm-kernel

On 10/15/19 10:15 AM, Stefan Wahren wrote:
> Hi Florian,
> 
> The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:
> 
>   Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)
> 
> are available in the git repository at:
> 
>   git://github.com/anholt/linux tags/bcm2835-soc-next-2019-10-15
> 
> for you to fetch changes up to 781fa0a954240c8487683ddf837fb2c4ede8e7ca:
> 
>   ARM: bcm: Add support for BCM2711 SoC (2019-10-10 19:21:03 +0200)
> 
> ----------------------------------------------------------------
> This pull request introduces the machine board code for the BCM2711,
> which is placed on the Raspberry Pi 4.

Merged into soc/next, thanks Stefan!
-- 
Florian

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: BUG - was: [GIT PULL 2/3] bcm2835-soc-next-2019-10-15
       [not found]   ` <12244E4E-A1A0-4EE9-ACD3-EA165D9A2C79@goldelico.com>
@ 2019-12-14 12:59     ` Russell King - ARM Linux admin
  2019-12-14 15:54       ` [Letux-kernel] " Andreas Kemnade
  2019-12-14 16:54     ` Stefan Wahren
  1 sibling, 1 reply; 10+ messages in thread
From: Russell King - ARM Linux admin @ 2019-12-14 12:59 UTC (permalink / raw)
  To: H. Nikolaus Schaller
  Cc: Stefan Wahren, Florian Fainelli, Tony Lindgren,
	Linux Kernel Mailing List, bcm-kernel-feedback-list,
	linux-rpi-kernel, Discussions about the Letux Kernel, Linux-OMAP,
	arm-soc

On Sat, Dec 14, 2019 at 11:54:19AM +0100, H. Nikolaus Schaller wrote:
> Hi Stefan,
> 
> > Am 15.10.2019 um 19:15 schrieb Stefan Wahren <wahrenst@gmx.net>:
> > 
> > Hi Florian,
> > 
> > The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:
> > 
> >  Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)
> > 
> > are available in the git repository at:
> > 
> >  git://github.com/anholt/linux tags/bcm2835-soc-next-2019-10-15
> > 
> > for you to fetch changes up to 781fa0a954240c8487683ddf837fb2c4ede8e7ca:
> > 
> >  ARM: bcm: Add support for BCM2711 SoC (2019-10-10 19:21:03 +0200)
> 
> this patch has finally arrived in v5.5-rc1 but it seems to break
> multiplatform build.
> 
> We run a distribution kernel that supports OMAP3/4/5, i.MX6 and RasPi 3B+
> but since rebasing to v5.5-rc1 the kernel hangs after "Starting Kernel ...".
> On all ARM devices (incl. RasPi 3B+).
> 
> Playing with our defconfig did show that deconfiguring CONFIG_ARCH_BCM2835
> makes the kernel work again.
> 
> After further analysis it turns out that reverting this patch also
> makes the boards work again.
> 
> I am not exactly sure what the reason is, but it may have something to
> do with the new auto-selection of CONFIG_ZONE_DMA which is not automatically
> selected by OMAP and i.MX6.
> 
> To reproduce on some OMAP device (i.MX6 should be similar)
> 
> 1st test:
> 
> git checkout v5.5-rc1
> make omap2plus_defconfig
> 
> => boots OMAP device
> 
> 2nd test:
> 
> ( echo CONFIG_ARCH_BCM2835=y; echo CONFIG_ARCH_BCM=y ) >>arch/arm/configs/omap2plus_defconfig
> make omap2plus_defconfig
> 
> => fails to boot OMAP device
> 
> 3rd test:
> 
> git revert 781fa0a954240c8487683ddf837fb2c4ede8e7ca
> make omap2plus_defconfig
> 
> => boots OMAP device
> 
> BTW: the RasPi 3B+ runs equally well without this patch. So what is it
> good for?
> 
> So please check and fix this patch.

Enabling ZONE_DMA shouldn't cause this problem - but as it does, please
enable memblock debugging and early console, and please send any boot
messages you can get from the system when it fails to boot.  Also
having a successful boot log may be useful.

Thanks.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Letux-kernel] BUG - was: [GIT PULL 2/3] bcm2835-soc-next-2019-10-15
  2019-12-14 12:59     ` BUG - was: " Russell King - ARM Linux admin
@ 2019-12-14 15:54       ` Andreas Kemnade
  0 siblings, 0 replies; 10+ messages in thread
From: Andreas Kemnade @ 2019-12-14 15:54 UTC (permalink / raw)
  To: Russell King - ARM Linux admin
  Cc: Discussions about the Letux Kernel, H. Nikolaus Schaller,
	Florian Fainelli, Tony Lindgren, Linux Kernel Mailing List,
	Linux-OMAP, bcm-kernel-feedback-list, linux-rpi-kernel, arm-soc,
	Stefan Wahren

On Sat, 14 Dec 2019 12:59:47 +0000
Russell King - ARM Linux admin <linux@armlinux.org.uk> wrote:

> On Sat, Dec 14, 2019 at 11:54:19AM +0100, H. Nikolaus Schaller wrote:
> > Hi Stefan,
> >   
> > > Am 15.10.2019 um 19:15 schrieb Stefan Wahren <wahrenst@gmx.net>:
> > > 
> > > Hi Florian,
> > > 
> > > The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:
> > > 
> > >  Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)
> > > 
> > > are available in the git repository at:
> > > 
> > >  git://github.com/anholt/linux tags/bcm2835-soc-next-2019-10-15
> > > 
> > > for you to fetch changes up to 781fa0a954240c8487683ddf837fb2c4ede8e7ca:
> > > 
> > >  ARM: bcm: Add support for BCM2711 SoC (2019-10-10 19:21:03 +0200)  
> > 
> > this patch has finally arrived in v5.5-rc1 but it seems to break
> > multiplatform build.
> > 
> > We run a distribution kernel that supports OMAP3/4/5, i.MX6 and RasPi 3B+
> > but since rebasing to v5.5-rc1 the kernel hangs after "Starting Kernel ...".
> > On all ARM devices (incl. RasPi 3B+).
> > 
> > Playing with our defconfig did show that deconfiguring CONFIG_ARCH_BCM2835
> > makes the kernel work again.
> > 
> > After further analysis it turns out that reverting this patch also
> > makes the boards work again.
> > 
> > I am not exactly sure what the reason is, but it may have something to
> > do with the new auto-selection of CONFIG_ZONE_DMA which is not automatically
> > selected by OMAP and i.MX6.
> > 
> > To reproduce on some OMAP device (i.MX6 should be similar)
> > 
> > 1st test:
> > 
> > git checkout v5.5-rc1
> > make omap2plus_defconfig
> >   
> > => boots OMAP device  
> > 
> > 2nd test:
> > 
> > ( echo CONFIG_ARCH_BCM2835=y; echo CONFIG_ARCH_BCM=y ) >>arch/arm/configs/omap2plus_defconfig
> > make omap2plus_defconfig
> >   
> > => fails to boot OMAP device  
> > 
here it does not give any output at all if earlycon is appended to
kernel parameters.

> > 3rd test:
> > 
> > git revert 781fa0a954240c8487683ddf837fb2c4ede8e7ca
> > make omap2plus_defconfig
> >   
> > => boots OMAP device  
> > 
> > BTW: the RasPi 3B+ runs equally well without this patch. So what is it
> > good for?
> > 
> > So please check and fix this patch.  
> 
> Enabling ZONE_DMA shouldn't cause this problem - but as it does, please
> enable memblock debugging and early console, and please send any boot
> messages you can get from the system when it fails to boot.  Also
> having a successful boot log may be useful.
> 
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index ad08d470a2ca..b46cf3d5e389 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -17,6 +17,7 @@ config ARCH_OMAP3
        select OMAP_INTERCONNECT
        select PM_OPP if PM
        select PM if CPU_IDLE
+       select ZONE_DMA
        select SOC_HAS_OMAP2_SDRC
        select ARM_ERRATA_430973

seems not to cause problems with make omap2plus_defconfig
here.

Regards,
Andreas

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: BUG - was: [GIT PULL 2/3] bcm2835-soc-next-2019-10-15
       [not found]   ` <12244E4E-A1A0-4EE9-ACD3-EA165D9A2C79@goldelico.com>
  2019-12-14 12:59     ` BUG - was: " Russell King - ARM Linux admin
@ 2019-12-14 16:54     ` Stefan Wahren
  2019-12-14 20:02       ` H. Nikolaus Schaller
  1 sibling, 1 reply; 10+ messages in thread
From: Stefan Wahren @ 2019-12-14 16:54 UTC (permalink / raw)
  To: H. Nikolaus Schaller
  Cc: Florian Fainelli, Linux Kernel Mailing List,
	bcm-kernel-feedback-list, linux-rpi-kernel, arm-soc, Linux-OMAP,
	Discussions about the Letux Kernel, Tony Lindgren,
	Nicolas Saenz Julienne

Hi Nikolaus,

[add Nicolas as the new BCM2835 maintainer]

Am 14.12.19 um 11:54 schrieb H. Nikolaus Schaller:
> Hi Stefan,
>
>> Am 15.10.2019 um 19:15 schrieb Stefan Wahren <wahrenst@gmx.net>:
>>
>> Hi Florian,
>>
>> The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:
>>
>>  Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)
>>
>> are available in the git repository at:
>>
>>  git://github.com/anholt/linux tags/bcm2835-soc-next-2019-10-15
>>
>> for you to fetch changes up to 781fa0a954240c8487683ddf837fb2c4ede8e7ca:
>>
>>  ARM: bcm: Add support for BCM2711 SoC (2019-10-10 19:21:03 +0200)
> this patch has finally arrived in v5.5-rc1 but it seems to break
> multiplatform build.
>
> We run a distribution kernel that supports OMAP3/4/5, i.MX6 and RasPi 3B+
> but since rebasing to v5.5-rc1 the kernel hangs after "Starting Kernel ...".
> On all ARM devices (incl. RasPi 3B+).

i wasn't able to reproduce this issue with the RPi 3B+ so far and i
don't have any OMAP hardware:

Linux 5.3 (bcm2835_defconfig) + FW 2019-02-12 => okay
Linux 5.3 (bcm2835_defconfig + ZONE_DMA) + FW 2019-02-12 => okay
Linux 5.5-rc1 (bcm2835_defconfig) + FW 2019-02-12 => okay
Linux 5.5-rc1 (multi_v7_defconfig) + FW 2019-02-12 => okay

So please provide more information about your RPi 3B+ setup:

- VC firmware version
- additional bootloader (U-Boot)
- boot source (SD card, USB, network)
- kernel config

Did you tested the mainline kernel or the letux kernel?

Best regards
Stefan

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: BUG - was: [GIT PULL 2/3] bcm2835-soc-next-2019-10-15
  2019-12-14 16:54     ` Stefan Wahren
@ 2019-12-14 20:02       ` H. Nikolaus Schaller
  0 siblings, 0 replies; 10+ messages in thread
From: H. Nikolaus Schaller @ 2019-12-14 20:02 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Florian Fainelli, Linux Kernel Mailing List,
	bcm-kernel-feedback-list, linux-rpi-kernel, arm-soc, Linux-OMAP,
	Discussions about the Letux Kernel, Tony Lindgren,
	Nicolas Saenz Julienne, Russell King

Hi all,
I think I have found the issue, it is not ZONE_DMA, see below.

> Am 14.12.2019 um 17:54 schrieb Stefan Wahren <wahrenst@gmx.net>:
> 
> Hi Nikolaus,
> 
> [add Nicolas as the new BCM2835 maintainer]
> 
> Am 14.12.19 um 11:54 schrieb H. Nikolaus Schaller:
>> Hi Stefan,
>> 
>>> Am 15.10.2019 um 19:15 schrieb Stefan Wahren <wahrenst@gmx.net>:
>>> 
>>> Hi Florian,
>>> 
>>> The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:
>>> 
>>> Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)
>>> 
>>> are available in the git repository at:
>>> 
>>> git://github.com/anholt/linux tags/bcm2835-soc-next-2019-10-15
>>> 
>>> for you to fetch changes up to 781fa0a954240c8487683ddf837fb2c4ede8e7ca:
>>> 
>>> ARM: bcm: Add support for BCM2711 SoC (2019-10-10 19:21:03 +0200)
>> this patch has finally arrived in v5.5-rc1 but it seems to break
>> multiplatform build.
>> 
>> We run a distribution kernel that supports OMAP3/4/5, i.MX6 and RasPi 3B+
>> but since rebasing to v5.5-rc1 the kernel hangs after "Starting Kernel ...".
>> On all ARM devices (incl. RasPi 3B+).
> 
> i wasn't able to reproduce this issue with the RPi 3B+ so far and i
> don't have any OMAP hardware:
> 
> Linux 5.3 (bcm2835_defconfig) + FW 2019-02-12 => okay
> Linux 5.3 (bcm2835_defconfig + ZONE_DMA) + FW 2019-02-12 => okay
> Linux 5.5-rc1 (bcm2835_defconfig) + FW 2019-02-12 => okay
> Linux 5.5-rc1 (multi_v7_defconfig) + FW 2019-02-12 => okay
> 
> So please provide more information about your RPi 3B+ setup:
> 
> - VC firmware version
> - additional bootloader (U-Boot)
> - boot source (SD card, USB, network)
> - kernel config
> 
> Did you tested the mainline kernel or the letux kernel?

On the OMAP I did test the mainline kernel with omap2plus_defconfig.
RasPi 3B+ experiment was with Letux kernel and config.


But I was lucky to find the issue by code inspection:

bcm2711_compat[] is missing a NULL sentinel.

Therefore, enabling CONFIG_ARCH_BCM2835 is sufficient to trigger the
problem unless you may have been lucky getting something starting with
a NULL packed after it on your bcm2835_defconfig or multi_v7_defconfig
build.

Patch submitted.

BR,
Nikolaus


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-12-14 20:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-15 17:15 [GIT PULL 1/3] bcm2835-dt-next-2019-10-15 Stefan Wahren
2019-10-15 17:15 ` [GIT PULL 2/3] bcm2835-soc-next-2019-10-15 Stefan Wahren
2019-10-18 17:22   ` Florian Fainelli
     [not found]   ` <12244E4E-A1A0-4EE9-ACD3-EA165D9A2C79@goldelico.com>
2019-12-14 12:59     ` BUG - was: " Russell King - ARM Linux admin
2019-12-14 15:54       ` [Letux-kernel] " Andreas Kemnade
2019-12-14 16:54     ` Stefan Wahren
2019-12-14 20:02       ` H. Nikolaus Schaller
2019-10-15 17:15 ` [GIT PULL 3/3] bcm2835-maintainers-next-2019-10-15 Stefan Wahren
2019-10-18 17:21   ` Florian Fainelli
2019-10-18 17:20 ` [GIT PULL 1/3] bcm2835-dt-next-2019-10-15 Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).