Skip to content

Commit

Permalink
bsp: lmp-machine-custom: rpi: enable uart by default
Browse files Browse the repository at this point in the history
Workaround required for
raspberrypi/firmware#1483, otherwise u-boot
fails to boot.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
  • Loading branch information
ricardosalveti committed Oct 19, 2020
1 parent c75bef1 commit fce4b57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meta-lmp-bsp/conf/machine/include/lmp-machine-custom.inc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ IMAGE_FSTYPES_remove_rpi = "ext3 rpi-sdimg"
IMAGE_BOOT_FILES_rpi = "${BOOTFILES_DIR_NAME}/* u-boot.bin;${SDIMG_KERNELIMAGE} ${@make_dtb_boot_files(d)} boot.scr uEnv.txt"
KERNEL_CLASSES_rpi = " kernel-lmp-fitimage "
KERNEL_IMAGETYPE_rpi = "fitImage"
## Workaround for https://github.com/raspberrypi/firmware/issues/1483
ENABLE_UART_rpi = "1"
## Mimic meta-raspberrypi behavior
KERNEL_SERIAL_rpi ?= "${@oe.utils.conditional("ENABLE_UART", "1", "console=ttyS0,115200", "", d)}"
KERNEL_SERIAL_raspberrypi-cm3 ?= "console=ttyAMA0,115200"
Expand Down

0 comments on commit fce4b57

Please sign in to comment.