From d76a277a0e0a0f9703f0e0c2b0e313db9a834d7d Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Tue, 22 Nov 2022 07:43:24 +0100 Subject: [PATCH] configs/ls1028ardb: add video with Cadence DP firmware Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- board/freescale/ls1028ardb/readme.txt | 9 +++++++++ .../rootfs_overlay/boot/extlinux/extlinux.conf | 2 +- configs/ls1028ardb_defconfig | 3 +++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/board/freescale/ls1028ardb/readme.txt b/board/freescale/ls1028ardb/readme.txt index 93396a4199..2dd2e2d84b 100644 --- a/board/freescale/ls1028ardb/readme.txt +++ b/board/freescale/ls1028ardb/readme.txt @@ -58,3 +58,12 @@ To boot your newly created system: - put a DB9F cable into the UART1 Port and connect using a terminal emulator at 115200 bps, 8n1; - power on the board. + +The Cadence DP (Display Port) firmware must loaded from uboot with the following commands: + + => ext2load mmc 0 0x80000000 /boot/ls1028a-dp-fw.bin + 102464 bytes read in 24 ms (4.1 MiB/s) + => hdp load 0x80000000 0x2000 + Loading hdp firmware from 0x0000000080000000 offset 0x0000000000002000 + Loading hdp firmware Complete + => boot diff --git a/board/freescale/ls1028ardb/rootfs_overlay/boot/extlinux/extlinux.conf b/board/freescale/ls1028ardb/rootfs_overlay/boot/extlinux/extlinux.conf index c08ddde10d..bd6c7c95c3 100644 --- a/board/freescale/ls1028ardb/rootfs_overlay/boot/extlinux/extlinux.conf +++ b/board/freescale/ls1028ardb/rootfs_overlay/boot/extlinux/extlinux.conf @@ -1,4 +1,4 @@ label ls1028ardb-buildroot kernel /boot/Image devicetree /boot/fsl-ls1028a-rdb.dtb - append root=/dev/mmcblk0p1 rootwait + append root=/dev/mmcblk0p1 rootwait video=1920x1080-32@60 cma=256M diff --git a/configs/ls1028ardb_defconfig b/configs/ls1028ardb_defconfig index 22b9eb426a..1bc84f7b80 100644 --- a/configs/ls1028ardb_defconfig +++ b/configs/ls1028ardb_defconfig @@ -26,6 +26,9 @@ BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-ls1028a-rdb" BR2_LINUX_KERNEL_INSTALL_TARGET=y +# Target package +BR2_PACKAGE_QORIQ_CADENCE_DP_FIRMWARE=y + # Filesystem BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y