Booting yocto system (and many other useful scripts)
This commit is contained in:
@@ -9,6 +9,7 @@ BBLAYERS ?= " \
|
||||
/workspace/yocto/poky/meta \
|
||||
/workspace/yocto/poky/meta-poky \
|
||||
/workspace/yocto/poky/meta-yocto-bsp \
|
||||
/workspace/yocto/meta-intel \
|
||||
/workspace/yocto/meta-openembedded/meta-oe \
|
||||
/workspace/yocto/meta-openembedded/meta-python \
|
||||
/workspace/yocto/meta-openembedded/meta-multimedia \
|
||||
|
||||
@@ -1,46 +1,13 @@
|
||||
MACHINE = "genericx86-64"
|
||||
#MACHINE = "genericx86-64"
|
||||
MACHINE = "intel-skylake-64"
|
||||
DISTRO = "poky"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
|
||||
IMAGE_INSTALL:append = " openssh ssh-keys"
|
||||
EXTRA_IMAGE_FEATURES += "ssh-server-openssh"
|
||||
|
||||
# Image formats for QEMU testing and deployment
|
||||
IMAGE_FSTYPES += "ext4 tar.bz2"
|
||||
|
||||
# Root access configuration
|
||||
EXTRA_IMAGE_FEATURES += "empty-root-password"
|
||||
EXTRA_IMAGE_FEATURES += "allow-empty-password"
|
||||
|
||||
# SSH configuration
|
||||
EXTRA_IMAGE_FEATURES += "ssh-server-openssh"
|
||||
|
||||
# Memory optimization settings
|
||||
# Limit resource usage for builds
|
||||
BB_NUMBER_THREADS = "2"
|
||||
PARALLEL_MAKE = "-j 2"
|
||||
|
||||
# Limit memory usage for builds
|
||||
BB_SCHEDULER = "completion"
|
||||
INHERIT += "rm_work"
|
||||
|
||||
# Rust support
|
||||
ENABLE_RUST = "1"
|
||||
|
||||
# GUI support
|
||||
DISTRO_FEATURES:append = " wayland systemd pam usrmerge"
|
||||
VIRTUAL-RUNTIME_init_manager = "systemd"
|
||||
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
|
||||
VIRTUAL-RUNTIME_initscripts = ""
|
||||
|
||||
# Add GUI packages to image
|
||||
CORE_IMAGE_EXTRA_INSTALL += "gui-app weston liberation-fonts"
|
||||
|
||||
# Needed to enable terminal on tty2
|
||||
EXTRA_IMAGE_FEATURES += "debug-tweaks"
|
||||
|
||||
# WiFi support - Intel Centrino Advanced-N 6235 specific
|
||||
DISTRO_FEATURES += "wifi opengl"
|
||||
IMAGE_INSTALL:append = " wpa-supplicant iw linux-firmware packagegroup-base-wifi pciutils usbutils"
|
||||
IMAGE_INSTALL:append = " linux-firmware-iwlwifi-6000g2b-6"
|
||||
|
||||
# Enable iwlwifi driver in kernel
|
||||
KERNEL_FEATURES:append = " features/iwlwifi/iwlwifi.scc"
|
||||
#VIRTUAL-RUNTIME_dev_manager = "busybox-mdev"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-intel-rt"
|
||||
IMAGE_FSTYPES += "wic.vdi"
|
||||
Reference in New Issue
Block a user