[Bug 1636838] Re: Failed to boot

Paolo Pisati 1636838 at bugs.launchpad.net
Fri Dec 16 10:35:57 UTC 2016


And here is the same for Yakkety:

ubuntu at ubuntu:~$ dpkg -l | grep -e uboot -e flash-kernel -e firmware -e linux-raspi2 -e u-boot
ii  flash-kernel                               3.0~rc.4ubuntu64                        armhf        utility to make certain embedded devices bootable

ii  linux-firmware-raspi2
1.20151118+b70b451-0ubuntu1             armhf        RaspberryPi2 GPU
firmware and bootloaders

ii  linux-raspi2                               4.8.0.1013.16
armhf        Complete Linux kernel for the BCM2709 architecture.

ii  u-boot-rpi:armhf                           2016.03+dfsg1-6ubuntu1                  armhf        A boot loader for Raspberry PI systems
ii  u-boot-tools                               2016.03+dfsg1-6ubuntu1                  armhf        companion tools for Das U-Boot bootloader

after a dist-upgrade:

ubuntu at ubuntu:~$ dpkg -l | grep -e uboot -e flash-kernel -e firmware -e linux-raspi2 -e u-boot
ii  flash-kernel                               3.0~rc.4ubuntu64.1.1                    armhf        utility to make certain embedded devices bootable

ii  linux-firmware-raspi2                      1.20161020-0ubuntu1~1.1
armhf        RaspberryPi2 GPU firmware and bootloaders

ii  linux-raspi2                               4.8.0.1021.24
armhf        Complete Linux kernel for the BCM2709 architecture.

ii  u-boot-rpi:armhf                           2016.03+dfsg1-6ubuntu2~1.1              armhf        A boot loader for Raspberry PI systems
ii  u-boot-tools                               2016.03+dfsg1-6ubuntu2~1.1              armhf        companion tools for Das U-Boot bootloader

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
https://bugs.launchpad.net/bugs/1636838

Title:
  Failed to boot

Status in flash-kernel package in Ubuntu:
  Fix Released
Status in linux-firmware-raspi2 package in Ubuntu:
  Fix Released
Status in linux-raspi2 package in Ubuntu:
  Confirmed
Status in u-boot package in Ubuntu:
  Fix Released
Status in flash-kernel source package in Xenial:
  Fix Committed
Status in linux-firmware-raspi2 source package in Xenial:
  Fix Committed
Status in linux-raspi2 source package in Xenial:
  New
Status in u-boot source package in Xenial:
  Fix Committed
Status in flash-kernel source package in Yakkety:
  Fix Committed
Status in linux-firmware-raspi2 source package in Yakkety:
  Fix Committed
Status in u-boot source package in Yakkety:
  Fix Committed

Bug description:
  [Impact]

   * Unable to boot into system after upgrade to 4.4.0-1030.37

  [Test Case]

   * fresh install ubuntu-16.04.1-preinstalled-server-
  armhf+raspi2.img.xz

   * enable -proposed and 'apt full-upgrade'

  [Regression Potential]

   * red led still on, but few green led blinks then stay at the black
  screen(hdmi on)

  [Other Info]

   * restore the working boot partition backup image could recover the
  situation

  [Solution]

  * The latest X/raspi2 kernel in -proposed blows the space the
  bootloader reserves for the DTB, making the board unbootable (it only
  happens with classic rpi2 images created by the Foundation, Snappy is
  fine)

  * Ppa:p-pisati/misc has these 3 new packages that fix it:

   - linux-firmware-raspi2 - contains the latest Broadom fw release, and
     upon installation checks that /boot/firmware/config.txt contains the
     new DTB memory location, and if not, it does the necessary
     modification on behalf of the user
   
   - flash-kernel - modifies uboot.env to find the DTB in the new memory location
   
   - uboot -  update uboot to work with the new boot firmware (aka skip
     serial initialization if already done by the fw), contains the
     mkknlimg required when installing a new u-boot binary and correctly
     installs the uboot binary in the vfat partition

  [How to test it]

  * Install a fresh foundation image, add my misc ppa and the xenial
  -proposed repository, apt-get update && dist-upgrade, once the board
  completes the upgrade reboot it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1636838/+subscriptions



More information about the foundations-bugs mailing list