mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
![]() * 5.10 kernel got a bit bigger especially for aarch64: 5.10: 22M deploy/images/raspberrypi4-64/Image-raspberrypi4-64.bin 5.10: 7.0M deploy/images/raspberrypi4/uImage-raspberrypi4.bin 5.4: 16M deploy/images/raspberrypi4-64/Image-raspberrypi4-64.bin 5.4: 6.2M deploy/images/raspberrypi4/uImage-raspberrypi4.bin * and the space in fat boot partition was already tight: Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p1 40M 38M 1.7M 96% / * increase the size to compensate for it, otherwise do_image_rpi_sdimg now fails with: Creating filesystem with Boot partition 40960 KiB and RootFS 1822720 KiB 0+0 records in 0+0 records out 0 bytes copied, 0.000100992 s, 0.0 kB/s Model: (file) Disk foo.rootfs.rpi-sdimg: 1913MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 4194kB 46.1MB 41.9MB primary boot, lba 2 46.1MB 1913MB 1866MB primary mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows mkfs.fat 4.1 (2017-01-24) Copying bootcode.bin Copying cmdline.txt Copying config.txt Copying fixup.dat Copying fixup4.dat Copying fixup4cd.dat Copying fixup4db.dat Copying fixup4x.dat Copying fixup_cd.dat Copying fixup_db.dat Copying fixup_x.dat Copying rpi-bootfiles-20210205.stamp Copying start.elf Copying start4.elf Copying start4cd.elf Copying start4db.elf Copying start4x.elf Copying start_cd.elf Copying start_db.elf Copying start_x.elf Copying bcm2711-rpi-4-b.dtb Copying at86rf233.dtbo Copying disable-bt.dtbo Copying dwc2.dtbo Copying gpio-ir.dtbo Copying gpio-ir-tx.dtbo Copying gpio-key.dtbo Copying hifiberry-amp.dtbo Copying hifiberry-dac.dtbo Copying hifiberry-dacplus.dtbo Copying hifiberry-digi.dtbo Copying justboom-both.dtbo Copying justboom-dac.dtbo Copying justboom-digi.dtbo Copying i2c-rtc.dtbo Copying imx219.dtbo Copying iqaudio-dac.dtbo Copying iqaudio-dacplus.dtbo Copying mcp2515-can0.dtbo Copying mcp2515-can1.dtbo Copying miniuart-bt.dtbo Copying pitft22.dtbo Copying pitft28-capacitive.dtbo Copying pitft28-resistive.dtbo Copying pitft35-resistive.dtbo Copying pps-gpio.dtbo Copying rpi-ft5406.dtbo Copying rpi-poe.dtbo Copying vc4-fkms-v3d.dtbo Copying vc4-kms-v3d.dtbo Copying w1-gpio.dtbo Copying w1-gpio-pullup.dtbo Copying kernel8.img Copying boot.scr Copying Image Disk full ERROR: mcopy cannot copy /OE/build/luneos-hardknott/webos-ports/tmp-glibc/deploy/images/raspberrypi4-64/Image into boot.img WARNING: exit code 1 from a shell command. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
||
---|---|---|
.github | ||
classes | ||
conf | ||
docs | ||
dynamic-layers | ||
files/custom-licenses | ||
img | ||
lib/oeqa/runtime/cases | ||
recipes-bsp | ||
recipes-connectivity | ||
recipes-core | ||
recipes-devtools | ||
recipes-graphics | ||
recipes-kernel | ||
recipes-multimedia | ||
wic | ||
.gitignore | ||
COPYING.MIT | ||
kas-poky-rpi.yml | ||
README.md |
meta-raspberrypi
Yocto BSP layer for the Raspberry Pi boards - http://www.raspberrypi.org/.
Build server sponsored by | ![]() |
Quick links
- Git repository web frontend: https://github.com/agherzan/meta-raspberrypi
- Mailing list (yocto mailing list): yocto@yoctoproject.org
- Issues management (Github Issues): https://github.com/agherzan/meta-raspberrypi/issues
- Documentation: http://meta-raspberrypi.readthedocs.io/en/latest/
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).
- Yoe Disto (Video and Camera Products).
- 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
- source poky/oe-init-build-env rpi-build
- Add this layer to bblayers.conf and the dependencies above
- Set MACHINE in local.conf to one of the supported boards
- bitbake core-image-base
- Use bmaptool to copy the generated .wic.bz2 file to the SD card
- Boot your RPI
Quick Start with kas
- Install kas build tool from PyPi (sudo pip3 install kas)
- kas build meta-raspberrypi/kas-poky-rpi.yml
- Use bmaptool to copy the generated .wic.bz2 file to the SD card
- Boot your RPI
To adjust the build configuration with specific options (I2C, SPI, ...), simply add a section as follows:
local_conf_header:
rpi-specific: |
ENABLE_I2C = "1"
RPI_EXTRA_CONFIG = "dtoverlay=pi3-disable-bt"
To configure the machine, you have to update the machine
variable.
And the same for the distro
.
For further information, you can read more at https://kas.readthedocs.io/en/1.0/index.html
Maintainers
- Andrei Gherzan
<andrei at gherzan.ro>