Go to file
Matthew McClintock ff59ad9d4b sdcard_image-rpi.bbclass: deploy vfat partition
This is useful to update the bootloader/vfat partition from u-boot when
you don't want to update everything:

U-Boot> tftpboot 0x1000000 tmp/0VXje
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.26
Filename 'image.vfat'.
Load address: 0x1000000
Loading: ##################################################  40 MiB
	 2.1 MiB/s
done
Bytes transferred = 41943040 (2800000 hex)
U-Boot> mmc part

Partition Map for MMC device 0  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	8192      	81920     	a63a4fbc-01	0c Boot
  2	90112     	163840    	a63a4fbc-02	83
U-Boot> mmc erase 0x2000 0x14000

MMC erase: dev # 0, block # 8192, count 81920 ... 81920 blocks erased:
OK
U-Boot> mmc write 0x1000000 0x2000 0x14000

MMC write: dev # 0, block # 8192, count 81920 ... 81920 blocks written:
OK
U-Boot>

Signed-off-by: Matthew McClintock <msm-oss@mcclintock.net>
2017-07-04 16:49:14 +01:00
.github PULL_REQUEST_TEMPLATE.md: Add pull request template 2017-05-12 20:41:05 +01:00
classes sdcard_image-rpi.bbclass: deploy vfat partition 2017-07-04 16:49:14 +01:00
conf raspberrypi0.conf: make SERIAL_CONSOLE overridable from outside 2017-05-16 12:54:04 +02:00
docs docs: Format all links correctly 2017-05-26 12:16:52 +01:00
files/custom-licenses custom-licenses: Add directory to hold custom licenses 2013-03-13 19:42:27 +02:00
recipes-bsp pitft: Include a pitft35r MACHINE_FEATURE 2017-04-17 02:22:34 +01:00
recipes-connectivity/bluez5 bluez5: correctly append brcm43438 service 2016-10-14 11:27:34 +02:00
recipes-core udev: Create rules file to generate serial0/1 2017-04-19 17:47:39 +01:00
recipes-devtools pi-blaster: update to include proper rpi3 support 2017-07-04 16:49:14 +01:00
recipes-graphics userland: Update to latest 2017-05-24 16:20:58 +01:00
recipes-kernel linux-raspberrypi-dev: Skip if not preferred provider 2017-06-01 13:48:23 +01:00
recipes-multimedia x264: Fix build for armv6 RaspberryPi boards 2017-04-17 02:13:48 +01:00
wic wic: move sdimage-raspberrypi to toplevel wic location 2017-03-11 04:39:14 -08:00
.gitignore docs: Initial sphinx configuration 2017-05-26 12:16:52 +01:00
COPYING.MIT COPYING.MIT: Add license file for the metadata. 2012-04-03 20:44:03 +01:00
README.md docs: Format all links correctly 2017-05-26 12:16:52 +01:00

meta-raspberrypi

Yocto BSP layer for the Raspberry Pi boards - http://www.raspberrypi.org/.

Build Status Build Status Build Status Gitter chat

Description

This is the general hardware specific BSP overlay for the RaspberryPi device.

More information can be found at: http://www.raspberrypi.org/ (Official Site)

The core BSP part of meta-raspberrypi should work with different OpenEmbedded/Yocto distributions and layer stacks, such as:

  • Distro-less (only with OE-Core).
  • Angstrom.
  • Yocto/Poky (main focus of testing).

Dependencies

This layer depends on:

  • URI: git://git.yoctoproject.org/poky

    • branch: master
    • revision: HEAD
  • URI: git://git.openembedded.org/meta-openembedded

    • layers: meta-oe, meta-multimedia, meta-networking, meta-python
    • branch: master
    • revision: HEAD

Quick Start

  1. source poky/oe-init-build-env rpi-build
  2. Add this layer to bblayers.conf and the dependencies above
  3. Set MACHINE in local.conf to one of the supported boards
  4. bitbake rpi-hwup-image
  5. dd to a SD card the generated sdimg file (use xzcat if rpi-sdimg.xz is used)
  6. Boot your RPI.

Maintainers

  • Andrei Gherzan <andrei at gherzan.ro>