ipq40xx: chromium: Enable kmod-ramoops by default

Chromium devices (like Google WiFi) have ramoops memory reserved by the
bootloader. Let's enable the ramoops kernel module by default, so we get
better crash logging.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
Brian Norris 2023-02-04 16:35:35 -08:00 committed by Hauke Mehrtens
parent a79abd813d
commit 46ea81ba99
1 changed files with 5 additions and 1 deletions

View File

@ -30,7 +30,11 @@ define Device/google_wifi
KERNEL_NAME := zImage
IMAGES += factory.bin
IMAGE/factory.bin := cros-gpt | append-kernel-part | append-rootfs
# Note: Chromium/Depthcharge-based bootloaders insert a reserved-memory
# ramoops node into the Device Tree automatically, so we can use
# kmod-ramoops.
DEVICE_PACKAGES := partx-utils mkf2fs e2fsprogs \
kmod-fs-ext4 kmod-fs-f2fs kmod-google-firmware
kmod-fs-ext4 kmod-fs-f2fs kmod-google-firmware \
kmod-ramoops
endef
TARGET_DEVICES += google_wifi