finalize
This commit is contained in:
parent
5fc57a6c60
commit
16d0b96fc1
19
Makefile
19
Makefile
@ -11,35 +11,26 @@ populate:
|
|||||||
./run_crops.sh bitbake core-image-base -c populate_sdk
|
./run_crops.sh bitbake core-image-base -c populate_sdk
|
||||||
|
|
||||||
flash:
|
flash:
|
||||||
sudo dd if=./build/tmp/deploy/images/raspberrypi4-64/core-image-minimal-raspberrypi4-64.rpi-sdimg of=/dev/sda
|
sudo dd if=/home/fabian/Desktop/yocto/yocto-build/build/tmp/deploy/images/raspberrypi4-64/core-image-minimal-raspberrypi4-64.rpi-sdimg of=/dev/sda
|
||||||
|
|
||||||
flash-core:
|
flash-core:
|
||||||
sudo dd if=./build/tmp/deploy/images/raspberrypi4-64/core-image-base-raspberrypi4-64.rpi-sdimg of=/dev/sda
|
sudo dd if=/home/fabian/Desktop/yocto/yocto-build/build/tmp/deploy/images/raspberrypi4-64/core-image-base-raspberrypi4-64.rpi-sdimg of=/dev/sda
|
||||||
|
|
||||||
flash-full:
|
flash-full:
|
||||||
sudo dd if=./build/tmp/deploy/images/raspberrypi4-64/core-image-full-cmdline-raspberrypi4-64.rpi-sdimg of=/dev/sda
|
sudo dd if=/home/fabian/Desktop/yocto/yocto-build/build/tmp/deploy/images/raspberrypi4-64/core-image-full-cmdline-raspberrypi4-64.rpi-sdimg of=/dev/sda
|
||||||
|
|
||||||
flash-full-zero:
|
flash-full-zero:
|
||||||
sudo dd if=./build/tmp/deploy/images/raspberrypi0-2w-64/core-image-full-cmdline-raspberrypi0-2w-64.rpi-sdimg of=/dev/sda
|
sudo dd if=/home/fabian/Desktop/yocto/yocto-build/build/tmp/deploy/images/raspberrypi0-2w-64/core-image-full-cmdline-raspberrypi0-2w-64.rpi-sdimg of=/dev/sda
|
||||||
|
|
||||||
clean-all:
|
clean-all:
|
||||||
./run_crops.sh bitbake -c cleanall core-image-full-cmdline
|
./run_crops.sh bitbake -c cleanall core-image-full-cmdline
|
||||||
|
|
||||||
clean-flutter-elinux:
|
clean-flutter-elinux:
|
||||||
./run_crops.sh bitbake -c clean flutter-elinux
|
./run_crops.sh bitbake -c clean flutter-elinux
|
||||||
|
|
||||||
clean-flutter-pi-service:
|
|
||||||
./run_crops.sh bitbake -c clean flutter-pi-service
|
|
||||||
|
|
||||||
clean-flutter-auto-service:
|
|
||||||
./run_crops.sh bitbake -c clean flutter-auto-service
|
|
||||||
|
|
||||||
clean-flutter-pi:
|
clean-flutter-pi:
|
||||||
./run_crops.sh bitbake -c clean flutter-pi
|
./run_crops.sh bitbake -c clean flutter-pi
|
||||||
|
|
||||||
clean-flutter-user:
|
|
||||||
./run_crops.sh bitbake -c clean flutter-user
|
|
||||||
|
|
||||||
clean-flutter-sdk:
|
clean-flutter-sdk:
|
||||||
./run_crops.sh bitbake flutter-sdk-native -cdo_cleanall
|
./run_crops.sh bitbake flutter-sdk-native -cdo_cleanall
|
||||||
|
|
||||||
|
@ -12,29 +12,48 @@
|
|||||||
# the option is a question of removing the # character and making any change to the
|
# the option is a question of removing the # character and making any change to the
|
||||||
# variable as required.
|
# variable as required.
|
||||||
|
|
||||||
# manually set how many cores should be used to build
|
# Manually set how many cores should be used to build
|
||||||
# by default bitbake will use as many threads as available on the system
|
# by default bitbake will use as many threads as available on the system
|
||||||
#BB_NUMBER_THREADS = "16"
|
#BB_NUMBER_THREADS = "16"
|
||||||
#PARALLEL_MAKE = "-j 16"
|
#PARALLEL_MAKE = "-j 16"
|
||||||
|
|
||||||
# Machine Selection
|
# ***** MACHINE SELECTION *****
|
||||||
|
# The build was fully tested for a Raspberry Pi 4 and Pi 0 2W.
|
||||||
|
# Select one of these two or add a custom one.
|
||||||
|
# -> there are also meta-raspberry specific configurations further below
|
||||||
|
# -> there are 2 IMAGE_INSTALL examples for the Pi 4 and Pi 0 2W,
|
||||||
|
# use the IMAGE_INSTALL that fits to the selected MACHINE.
|
||||||
MACHINE ??= "raspberrypi4-64"
|
MACHINE ??= "raspberrypi4-64"
|
||||||
#MACHINE ??= "raspberrypi0-2w-64"
|
#MACHINE ??= "raspberrypi0-2w-64"
|
||||||
|
|
||||||
##!! use flutter-pi-service or flutter-auto-service
|
## ***** IMPORTANT *****
|
||||||
|
## Use flutter-pi-service or flutter-auto-service
|
||||||
|
# to either autolaunch the flutter-elinux demo app
|
||||||
|
# with flutter-pi or flutter-auto
|
||||||
|
# ONLY USE ONE OF THE TWO SERVICES or none
|
||||||
|
# to not launch it automatically for debug purposes
|
||||||
|
|
||||||
|
# In the following example flutter-auto-service is used,
|
||||||
|
# it can be replaced with flutter-pi-service to autolaunch
|
||||||
|
# flutter-pi. The demo IMAGE_INSTALL also contains all
|
||||||
|
# necessary dependencies for both flutter-pi and flutter-auto.
|
||||||
|
# Only flutter-auto needs: flutter-auto-launch
|
||||||
|
# and in CORE_IMAGE_EXTRA: wayland, cage
|
||||||
|
# and in DISTRO_FEATURES: wayland
|
||||||
|
# If you only want to use flutter-pi
|
||||||
|
# these dependencies can all be removed.
|
||||||
|
|
||||||
# pi4:
|
# pi4:
|
||||||
IMAGE_INSTALL:append = " flutter-auto flutter-auto-launch flutter-pi flutter-elinux flutter-auto-service my-rules flutter-libraries sudo linux-firmware-rpidistro-bcm43430 linux-firmware-bcm43455 kernel-image kernel-devicetree liberation-fonts networkmanager dhcpcd iptables iw linux-firmware ca-certificates gstreamer1.0-rtsp-server gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav libinput libxkbcommon tzdata alsa-utils alsa-lib bcm2835-dev flutter-user"
|
IMAGE_INSTALL:append = " flutter-auto-service flutter-auto flutter-auto-launch flutter-pi flutter-elinux flutter-elinux-rules flutter-libraries sudo linux-firmware-rpidistro-bcm43430 linux-firmware-bcm43455 kernel-image kernel-devicetree liberation-fonts networkmanager dhcpcd iptables iw linux-firmware ca-certificates gstreamer1.0-rtsp-server gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav libinput libxkbcommon tzdata alsa-utils alsa-lib bcm2835-dev flutter-user"
|
||||||
|
|
||||||
|
|
||||||
# pi 0 w2:
|
# pi 0 w2:
|
||||||
#IMAGE_INSTALL:append = " flutter-auto flutter-auto-launch flutter-pi flutter-elinux flutter-auto-service flutter-libraries sudo linux-firmware-rpidistro-bcm43436s linux-firmware-bcm43455 kernel-image kernel-devicetree liberation-fonts networkmanager dhcpcd iptables iw linux-firmware ca-certificates gstreamer1.0-rtsp-server gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav libinput libxkbcommon tzdata alsa-utils alsa-lib bcm2835-dev"
|
#IMAGE_INSTALL:append = " flutter-auto-service flutter-auto flutter-auto-launch flutter-pi flutter-elinux flutter-libraries sudo linux-firmware-rpidistro-bcm43436s linux-firmware-bcm43455 kernel-image kernel-devicetree liberation-fonts networkmanager dhcpcd iptables iw linux-firmware ca-certificates gstreamer1.0-rtsp-server gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav libinput libxkbcommon tzdata alsa-utils alsa-lib bcm2835-dev"
|
||||||
|
|
||||||
|
|
||||||
# needed only for flutter-auto:
|
# needed only for flutter-auto:
|
||||||
CORE_IMAGE_EXTRA_INSTALL += "wayland cage"
|
CORE_IMAGE_EXTRA_INSTALL += "wayland cage"
|
||||||
|
|
||||||
|
|
||||||
# needed for gstreamer-plugins-ugly
|
# needed for gstreamer-plugins-ugly
|
||||||
LICENSE_FLAGS_ACCEPTED = "commercial"
|
LICENSE_FLAGS_ACCEPTED = "commercial"
|
||||||
|
|
||||||
@ -300,4 +319,4 @@ CONF_VERSION = "2"
|
|||||||
|
|
||||||
# set output file format
|
# set output file format
|
||||||
IMAGE_FSTYPES = "ext4 rpi-sdimg"
|
IMAGE_FSTYPES = "ext4 rpi-sdimg"
|
||||||
SDIMG_ROOTFS_TYPE = "ext4"
|
SDIMG_ROOTFS_TYPE = "ext4"
|
Loading…
x
Reference in New Issue
Block a user