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


Groups > linux.debian.kernel > #53358

Bug#813881: linux-image-4.3.0-1-armmp install wrong dtb on Wandboard Quad Rev B1

From Heinrich Schuchardt <xypron.glpk@gmx.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#813881: linux-image-4.3.0-1-armmp install wrong dtb on Wandboard Quad Rev B1
Date 2016-03-28 01:50 +0200
Message-ID <rhsBs-79r-7@gated-at.bofh.it> (permalink)
References <qZ88a-5LC-1@gated-at.bofh.it> <qZL9v-7QE-1@gated-at.bofh.it> <rcwFH-1IW-11@gated-at.bofh.it> <rcEWD-73F-21@gated-at.bofh.it> <rdfCO-6Vb-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On 03/16/2016 10:00 AM, Ian Campbell wrote:
> On Mon, 2016-03-14 at 10:48 -0700, Vagrant Cascadian wrote:
>> On 2016-03-14, Ian Campbell wrote:
>>> On Sun, 2016-02-07 at 19:50 -0800, Vagrant Cascadian wrote:
>>>> On 2016-02-06, Heinrich Schuchardt wrote:
>>>>> Booting with u-boot-imx requires imx6q-wandboard-revb1.dtb.
>>>>> linux-image-4.3.0-1-armmp installs imx6q-wandboard.dtb
>>>>> leaving me with a system that will not boot.
>>>>>
>>>>> With imx6q-wandboard-revb1.dtb the system boots.
>> ...
>>>> When the revc was added, backwards compatibility was broken by renaming
>>>> the revb .dtb file instead of keeping it and introducing the revc in a
>>>> new .dtb... kind of hard to fix correctly now...
>>
>>>> Adding support for flash-kernel to copy multiple, or even optionally all
>>>> .dtb files could at least work around the issue.
>>
>>> flash-kernel's DTB entry can reference a script to run which prints the
>>> DTB filename to use, so if you can distinguish the variants by poking
>>> at /sys etc (e.g the current sole user is kirkwood-qnap which looks at
>>> properties of the PCI host bridge etc) then that might be an option?
>>
>> I still think it would be better to copy multiple .dtb files, to make
>> sure all variants are available. This also makes it possible to use the
>> same SD card image on multiple wandboards.
> 
> That would be fine too.
> 
>>> Were any of these boards supported in Jessie?
>>
>> In Jessie, they both work using the same .dtb provided by linux 3.16.x,
>> although installing 4.x from jessie-backports on a wandboard rev B might
>> cause issues.
> 
> OK, so we do need to worry about the upgrade path then.

Linus Torvalds pulled this patch into kernel 4.6-rc1:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d59561479e6f9cccc1d5905db37f668e1cbfdac2

Flash-kernel is already patched.

So no upgrade problems will occur for Debian Stretch or Jessie backports
with a kernel 4.6 or later on a Wandboard Dual or Quad rev B1.

Best regards

Heinrich Schuchardt

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


Thread

Bug#813881: linux-image-4.3.0-1-armmp install wrong dtb on Wandboard Quad Rev B1 Heinrich Schuchardt <xypron.glpk@gmx.de> - 2016-02-06 11:20 +0100
  Bug#813881: Acknowledgement (linux-image-4.3.0-1-armmp install wrong dtb on Wandboard Quad Rev B1) Heinrich Schuchardt <xypron.glpk@gmx.de> - 2016-02-06 13:10 +0100
  Bug#813881: linux-image-4.3.0-1-armmp install wrong dtb on Wandboard Quad Rev B1 Vagrant Cascadian <vagrant@debian.org> - 2016-02-08 05:00 +0100
    Bug#813881: linux-image-4.3.0-1-armmp install wrong dtb on Wandboard Quad Rev B1 Heinrich Schuchardt <xypron.glpk@gmx.de> - 2016-03-08 20:30 +0100
    Bug#813881: linux-image-4.3.0-1-armmp install wrong dtb on Wandboard Quad Rev B1 Ian Campbell <ijc@hellion.org.uk> - 2016-03-14 10:10 +0100
      Bug#813881: linux-image-4.3.0-1-armmp install wrong dtb on Wandboard Quad Rev B1 Vagrant Cascadian <vagrant@debian.org> - 2016-03-14 19:00 +0100
        Bug#813881: linux-image-4.3.0-1-armmp install wrong dtb on Wandboard Quad Rev B1 Ian Campbell <ijc@debian.org> - 2016-03-16 10:10 +0100
          Bug#813881: linux-image-4.3.0-1-armmp install wrong dtb on Wandboard Quad Rev B1 Heinrich Schuchardt <xypron.glpk@gmx.de> - 2016-03-28 01:50 +0200
  Processed: Re: Bug#813893: [PATCH 1/1 v3] ARM: dts:  imx6dlq-wandboard-revb1.dts: use unique model id owner@bugs.debian.org (Debian Bug Tracking System) - 2016-02-14 17:50 +0100
  Processed: Fwd: Bug#813881: [PATCH 1/1 v3] ARM: dts:  imx6dlq-wandboard-revb1.dts: use unique model id owner@bugs.debian.org (Debian Bug Tracking System) - 2016-02-24 00:40 +0100

csiph-web