2017-05-17 10:15:45 |
Paolo Pisati |
description |
To properly support the Compute Module 3 we need an dtb update, and while here i imported all the fixes that were sitting in the raspberry-4.4 upstream tree: there are 35 patches in total, roughly splitted like this:
~20 patches are code fixes: 5 for clocks, 5 for drm/vc4, 1 usb, 1 for vpf (does not apply to us), 1 for gpio, 4 for snd, 1 rng driver and 1 for the lirc driver
~10 dts patches:
-1 new dts to support the new raspberry zero w board
-and a bunch of fixes for various dtb overlays (pi sound, disable-wifi, mcp adc,
-the remaning patches are config changes for their bcm defconfig
The resulting kernel was tested on rpi2/rpi3 with ubuntu classic and ubuntu core, and on the compute module 3.
1: https://www.raspberrypi.org/blog/compute-module-3-launch/ |
[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.
[Fix]
Apply the above patchset to the linux-raspi2 branch.
[Testcase]
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.
------------------------------------
1: https://www.raspberrypi.org/blog/compute-module-3-launch/ |
|
2017-05-17 10:17:59 |
Paolo Pisati |
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.
[Fix]
Apply the above patchset to the linux-raspi2 branch.
[Testcase]
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.
------------------------------------
1: https://www.raspberrypi.org/blog/compute-module-3-launch/ |
[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.
[Fix]
Apply the above patchset to the linux-raspi2 branch.
[Testcase]
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.
1: https://www.raspberrypi.org/blog/compute-module-3-launch/
------------------------------------ |
|