[Bug 1806813] Re: Add Pi Compute Module 3 Support

DavidT 1806813 at bugs.launchpad.net
Fri Dec 7 17:25:14 UTC 2018


Aha, I was unaware of the need to have ethernet connected on first
boot...I did not have it connected.  I only had the Computer Module
sitting in the I/O board, and UART serial connected, since I was not
even sure if it was going to boot.

Also, the image located in the repository I am using
(http://cdimage.ubuntu.com/releases/18.04/beta/) was updated last night.
I am downloading it now, will use the same instructions you have
previously provided me to make it bootable, and will connect ethernet
this time.

Currently downloading the new image now, so I will report back with the
results.

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

Title:
  Add Pi Compute Module 3 Support

Status in flash-kernel package in Ubuntu:
  Confirmed
Status in livecd-rootfs package in Ubuntu:
  Confirmed
Status in u-boot package in Ubuntu:
  Confirmed

Bug description:
  Hi all,

  Apologies if this is not the proper location for reporting this bug /
  feature request.  If there is a more applicable place for it, please
  just let me know.

  I have been doing some testing on the newly released Raspberry Pi 3
  64-bit ARM preinstalled server image located here:
  http://cdimage.ubuntu.com/releases/18.04/beta/

  I am particularly interested in running this image on the Raspberry Pi
  Compute Module 3 (the model that has 4gb of eMMC onboard, located
  here:  https://www.raspberrypi.org/products/compute-module-3).
  However, after flashing this Ubuntu Server image to the Compute Module
  3, U-boot is unable to locate a device tree and proceed with booting.

  The serial console output is:

  
  U-Boot 2018.03+dfsg1-2ubuntu1.1~18.04.1~test1 (Nov 20 2018 - 11:50:30 +0000)

  DRAM:  948 MiB
  RPI: Board rev 0xa unknown
  RPI Unknown model (0xa020a0)
  MMC:   mmc at 7e202000: 0, sdhci at 7e300000: 1
  Loading Environment from FAT... WARNING at /build/u-boot-B3y2jo/u-boot-2018.03+dfsg1/drivers/mmc/bcm2835_sdhost.c:437/bcm2835_send_command()!
  WARNING at /build/u-boot-B3y2jo/u-boot-2018.03+dfsg1/drivers/mmc/bcm2835_sdhost.c:437/bcm2835_send_command()!
  OK
  In:    serial
  Out:   serial
  Err:   serial
  Net:   No ethernet found.
  Hit any key to stop autoboot:  0
  libfdt fdt_check_header(): FDT_ERR_BADMAGIC
  No FDT memory address configured. Please configure
  the FDT address via "fdt addr <address>" command.
  Aborting!
  23914504 bytes read in 817 ms (27.9 MiB/s)
  18931168 bytes read in 648 ms (27.9 MiB/s)
  ERROR: Did not find a cmdline Flattened Device Tree
  Could not find a valid device tree
  U-Boot>

  
  I can flash and boot a default Raspbian image fine on this Compute Module 3, so, the hardware is functional.  I made a few attempts at configuring an FDT address as the error indicates, but was unsuccessful.  I also copied over a Compute Module 3 .dtb from Raspbian and placed it the boot partition of this Ubuntu image, but that was also a failure.  As you can tell, U-boot is not my area of expertise.

  It would be great if the CM3 was able to be supported out of the box,
  with no additional input or configuration needed by the user (such as
  is currently the case in Raspbian).

  Thanks in advance for any efforts.

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



More information about the foundations-bugs mailing list