CM3 support (and various fixes)

Bug #1691407 reported by Paolo Pisati
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-raspi2 (Ubuntu)
Fix Released
Nominated for Xenial by Paolo Pisati

Bug Description

[SRU Justification][Xenial]

The Compute Module 3[1] is the more mature and more developer-friendly version of the RaspberryPI 3 board: the CM3 is split in two pieces, a daughterboard built around the SODIMM form-factor that plugs into a motherboard. The daughterboard contains the memory chip and the SOC, while the motherboard contains the I/O ports (usb, hdmi, gpio, camera and video interface, etc) plus the optional mmc flash (but you loose the eth port present in the rpi3 board).

To properly support the CM3 board, our linux-raspi2 package requires a little dtb update and while doing it, i decided to pull all the fixes that were sitting in the upstream raspberry-4.4 stable branch.


Apply the above patchset to the linux-raspi2 branch.


To test the newly supported hardware, first you need access to it, then: generate an ubuntu core / classic image for the rpi3 the usual way, dd the image into an sd card, copy the cm3 dtb to the vfat partition, put the sd card in the sd slot and apply power.

[Regression potential]

The above pull doesn't modify the dtb used on the rpi2 or rpi3 boards, so there's no regression risk there. With regards to the code changes, every one of them addresses a single isolated bug, every bug as a buglink to the upstream bug report, and the code changes have been sitting for several weeks in the upstream repo, so they went through months of user testing.

On our end, i tested the resulting kernel on the rpi2/rpi3 boards running ubuntu classic and ubuntu core, and i've asked ondra to test it on his CM3 board.



Paolo Pisati (p-pisati)
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (21.4 KiB)

This bug was fixed in the package linux-raspi2 - 4.4.0-1061.69

linux-raspi2 (4.4.0-1061.69) xenial; urgency=low

  * linux-raspi2: 4.4.0-1061.69 -proposed tracker (LP: #1700544)

  [ Ubuntu: 4.4.0-83.106 ]

  * linux: 4.4.0-83.106 -proposed tracker (LP: #1700541)
  * CVE-2017-1000364
    - Revert "UBUNTU: SAUCE: mm: Only expand stack if guard area is hit"
    - Revert "mm: do not collapse stack gap into THP"
    - Revert "mm: enlarge stack guard gap"
    - mm: vma_adjust: remove superfluous confusing update in remove_next == 1 case
    - mm: larger stack guard gap, between vmas
    - mm: fix new crash in unmapped_area_topdown()
    - Allow stack to grow up to address space limit

linux-raspi2 (4.4.0-1060.68) xenial; urgency=low

  * linux-raspi2: 4.4.0-1060.68 -proposed tracker (LP: #1699067)

  * raspi2 config diverges from master/generic armhf (LP: #1693250)
    - [Config] Config sync wrt master
    - [Config] Factor out as many components as =m as possible
    - [Config] annotations: remove GPIO_TWL4030 and REGULATOR_TWL4030 since they
      are boot essential only for omap3/4 (and thus master/generic)

  * CM3 support (and various fixes) (LP: #1691407)
    - BCM270X_DT: Add overlay for enc28j60 on SPI2
    - lirc_rpi: Delete vestigial gpio_in_pull parameter
    - BCM270X_DT: Add i2c-sensor overlay
    - BCM270X_DT: overlays/*-overlay.dtb -> overlays/*.dtbo (#1752)
    - Revert "HID: dragonrise: fix HID Descriptor for 0x0006 PID"
    - bcm2835-rng: Avoid initialising if already enabled
    - Pisound dynamic overlay (#1760)
    - Add support for Silicon Labs Si7013/20/21 humidity/temperature sensor.
    - pisound improvements: (#1778)
    - Add driver_name properties to JustBoom drivers (#1787)
    - bcm2835-i2s: Changes for allowing asymmetric sample formats. (#1783)
    - BCM270X_DT: Add pi3-disable-wifi overlay
    - configfs: Remove ppos increment in configfs_write_bin_file
    - config: Add CONFIG_DM_CACHE
    - BCM270X_DT: Add spi0-cs overlay
    - Revert "bcm2835-i2s: Changes for allowing asymmetric sample formats.
    - BCM270X_DT: Enable UART0 on CM3
    - config: Add CONFIG_MD_M25P80 and CONFIG_MD_SPI_NOR
    - config: More USB config options for bcm2709_defconfig (#1805)
    - BCM270X_DT: Add reference to audio_pins to CM dtb
    - Add overlay for mcp3008 adc (#1818)
    - config: add slcan kernel module
    - drm/vc4: Fix sending of page flip completion events in FKMS mode.
    - clk: bcm2835: Fix ->fixed_divider of pllh_aux
    - clk: bcm: Support rate change propagation on bcm2835 clocks
    - clk: bcm: Allow rate change propagation to PLLH_AUX on VEC clock
    - clk: bcm: Fix 'maybe-uninitialized' warning in
    - clk: bcm2835: Don't rate change PLLs on behalf of DSI PLL dividers (v2).
    - gpio_mem: Remove unnecessary dev_info output (#1830)
    - drm/vc4: Fulfill user BO creation requests from the kernel BO cache.
    - drm/vc4: Fix OOPSes from trying to cache a partially constructed BO.
    - drm/vc4: Verify at boot that CMA doesn't cross a 256MB boundary.
    - Update vfpmodule.c
    - dwc_otg: fix summarize urb->actual_length for i...

Changed in linux-raspi2 (Ubuntu):
status: New → Fix Released
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers