Skip to content

Commit

Permalink
Try to fix graphics, wifi, bt etc
Browse files Browse the repository at this point in the history
  • Loading branch information
Herrie82 authored and shr-project committed Feb 22, 2024
1 parent 06458bf commit c586142
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 9 deletions.
3 changes: 2 additions & 1 deletion conf/machine/include/webos-rpi.inc
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,13 @@ DISABLE_OVERSCAN = "1"
# Configure all Bluetooth service classes we want to support
WEBOS_BLUETOOTH_ENABLED_SERVICE_CLASSES = "SPP GATT FTP OPP A2DP"

# We don't want LG's partition layout etc for now, since it doesn't boot yet. Let's do defaults instead
# Use ext4 as a uSD rootfs type and don't build ext3
SDIMG_ROOTFS_TYPE = "ext4"
IMAGE_FSTYPES:remove = "ext3"

# fixed size boot image
# WKS_FILE = "sdimage-raspberrypi-webos.wks"
WKS_FILE = "sdimage-raspberrypi-webos.wks"

# Use Fake KMS until surface-manager is fixed to support Full KMS, see WRP-5
VC4DTBO = "vc4-fkms-v3d"
3 changes: 1 addition & 2 deletions conf/machine/raspberrypi3-64.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,4 @@ SERIAL_CONSOLES ?= "115200;ttyS0"
VC4DTBO ?= "vc4-fkms-v3d"
ARMSTUB ?= "armstub8.bin"

# We don't want LG's partition layout etc for now, since it doesn't boot yet. Let's do a simple image instead.
#require conf/machine/include/webos-rpi.inc
require conf/machine/include/webos-rpi.inc
3 changes: 1 addition & 2 deletions conf/machine/raspberrypi3.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ SERIAL_CONSOLES ?= "115200;ttyS0"
VC4DTBO ?= "vc4-fkms-v3d"
ARMSTUB ?= "armstub7.bin"

# We don't want LG's partition layout etc for now, since it doesn't boot yet. Let's do a simple image instead.
#require conf/machine/include/webos-rpi.inc
require conf/machine/include/webos-rpi.inc
3 changes: 1 addition & 2 deletions conf/machine/raspberrypi4-64.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,4 @@ KERNEL_BOOTCMD ?= "booti"

ARMSTUB ?= "armstub8-gic.bin"

# We don't want LG's partition layout etc for now, since it doesn't boot yet. Let's do a simple image instead.
#require conf/machine/include/webos-rpi.inc
require conf/machine/include/webos-rpi.inc
3 changes: 1 addition & 2 deletions conf/machine/raspberrypi4.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ SERIAL_CONSOLES ?= "115200;ttyS0"
VC4DTBO ?= "vc4-kms-v3d"
ARMSTUB ?= "armstub7.bin"

# We don't want LG's partition layout etc for now, since it doesn't boot yet. Let's do a simple image instead.
#require conf/machine/include/webos-rpi.inc
require conf/machine/include/webos-rpi.inc
1 change: 1 addition & 0 deletions recipes-qt/qt6/qtbase_git.bbappend
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PACKAGECONFIG_GRAPHICS:append:rpi = " kms gbm"
6 changes: 6 additions & 0 deletions wic/sdimage-raspberrypi-webos.wks
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# short-description: Create Raspberry Pi SD card image
# long-description: Creates a partitioned SD card image for use with
# Raspberry Pi. Boot files are located in the first vfat partition.

part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4096 --fixed-size 80M
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4096

0 comments on commit c586142

Please sign in to comment.