These commits add a directory for the Raspberry Pi Compute Module 3 Lite and create README and setup.sh files for the CM3. The setup script is mostly identical to the RPi3 setup script except that a different device tree is fetched and the sysutils/rpi-firmware port is used for firmware instead of sysutils/u-boot-rpi3. The u-boot-rpi3 firmware does not seem to select the correct device tree during boot whereas rpi-firmware does.
EDIT: The image that this generates also works on the Raspberry Pi Compute Module 3 (with eMMC), with two caveats:
Size: the image size must be kept <4GB since the Compute Module 3 only has 4GB of embedded flash.
Difficult to flash eMMC: The official method for flashing the CM3 only officially works on Debian-based distros (or Cygwin). This means that the CM3 can be reliably flashed from an RPi running Raspbian. However rpiboot is not reliable on FreeBSD. I've gotten it to work on one FreeBSD computer, but not others for unclear reasons. Presumably due to differing versions of libusb...
With the above in mind board/RaspberryPiCM3 could be added as a link to board/RaspberryPiCM3L
These commits add a directory for the Raspberry Pi Compute Module 3 Lite and create README and setup.sh files for the CM3. The setup script is mostly identical to the RPi3 setup script except that a different device tree is fetched and the
sysutils/rpi-firmware
port is used for firmware instead ofsysutils/u-boot-rpi3
. Theu-boot-rpi3
firmware does not seem to select the correct device tree during boot whereasrpi-firmware
does.EDIT: The image that this generates also works on the Raspberry Pi Compute Module 3 (with eMMC), with two caveats:
Size: the image size must be kept <4GB since the Compute Module 3 only has 4GB of embedded flash.
Difficult to flash eMMC: The official method for flashing the CM3 only officially works on Debian-based distros (or Cygwin). This means that the CM3 can be reliably flashed from an RPi running Raspbian. However
rpiboot
is not reliable on FreeBSD. I've gotten it to work on one FreeBSD computer, but not others for unclear reasons. Presumably due to differing versions oflibusb
...With the above in mind
board/RaspberryPiCM3
could be added as a link toboard/RaspberryPiCM3L