2022-07-26 21:30
lanefu changed the topic of #armbian-rockchip to: Armbian - Linux for ARM development boards | Rockchip SoC |
www.armbian.com | This channel is relayed to the equivalent Discord channel | this channel is logged
13:16
<
DC-IRC >
<Robin> Is there some sort of Uboot splash in the rockchip version that isn't something that we can override? Seems like the boot always gives armbian logo with loader, even tho I replaced the plymouth files
14:42
<
DC-IRC >
<rpardini> did you regen initrd?
14:45
<
DC-IRC >
<gambl0r> I'm using uboot 2023.01 mainline and I can't get hdmi output with it at all, rk3399 (opi4-lts) anyone know what could resolve it? kernel hdmi output works fine
14:56
<
DC-IRC >
<gambl0r> wouldn't initrd only apply for kernel splash and not uboot?
15:01
<
DC-IRC >
<c0rnelius> I would play with the u-boot defconfig and see if the following is there and if not, see if adding it helps. ```
15:01
<
DC-IRC >
<c0rnelius> CONFIG_DM_RESET=y
15:01
<
DC-IRC >
<c0rnelius> CONFIG_VIDEO=y
15:01
<
DC-IRC >
<c0rnelius> CONFIG_DISPLAY=y
15:01
<
DC-IRC >
<c0rnelius> CONFIG_VIDEO_ROCKCHIP=y
15:01
<
DC-IRC >
<c0rnelius> CONFIG_DISPLAY_ROCKCHIP_HDMI=y
15:01
<
DC-IRC >
<c0rnelius> ```
15:28
<
DC-IRC >
<Robin> Yeah, I do this;
15:28
<
DC-IRC >
<Robin> ```
15:28
<
DC-IRC >
<Robin> # Change boot logo to ours
15:28
<
DC-IRC >
<Robin> cp -f "/tmp/overlay/armbian.plymouth" "${SDCARD}/usr/share/plymouth/themes/armbian/armbian.plymouth"
15:28
<
DC-IRC >
<Robin> cp -f "/tmp/overlay/logo.png" "${SDCARD}/usr/share/plymouth/themes/armbian/logo.png"
15:28
<
DC-IRC >
<Robin> cp -f "/tmp/overlay/logo.png" "${SDCARD}/usr/share/plymouth/themes/armbian/watermark.png"
15:28
<
DC-IRC >
<Robin> cp -f "/tmp/overlay/logo.png" "${SDCARD}/usr/share/plymouth/themes/armbian/bgrt-fallback.png"
15:28
<
DC-IRC >
<Robin> sed -i 's/verbosity=1/verbosity=0/' "${SDCARD}/boot/armbianEnv.txt"
15:28
<
DC-IRC >
<Robin> echo "console=serial" >> "${SDCARD}/boot/armbianEnv.txt"
15:28
<
DC-IRC >
<Robin> [[ -f "${SDCARD}"/boot/armbianEnv.txt ]] && grep -q '^bootlogo' "${SDCARD}"/boot/armbianEnv.txt &&
15:28
<
DC-IRC >
<Robin> sed -i 's/^bootlogo.*/bootlogo=true/' "${SDCARD}"/boot/armbianEnv.txt || echo 'bootlogo=true' >> "${SDCARD}"/boot/armbianEnv.txt
15:28
<
DC-IRC >
<Robin> [[ -f "${SDCARD}"/boot/boot.ini ]] && sed -i 's/^setenv bootlogo.*/setenv bootlogo "true"/' "${SDCARD}"/boot/boot.ini
15:28
<
DC-IRC >
<Robin> update-initramfs -u
15:28
<
DC-IRC >
<Robin> mkimage -C none -A arm -T script -d "${SDCARD}"/boot/boot.cmd "${SDCARD}"/boot/boot.scr
15:28
<
DC-IRC >
<Robin> ```
15:28
<
DC-IRC >
<Robin> Yeah, I do this;
15:28
<
DC-IRC >
<Robin> ```bash
15:28
<
DC-IRC >
<Robin> # Change boot logo to ours
15:28
<
DC-IRC >
<Robin> cp -f "/tmp/overlay/armbian.plymouth" "${SDCARD}/usr/share/plymouth/themes/armbian/armbian.plymouth"
15:28
<
DC-IRC >
<Robin> cp -f "/tmp/overlay/logo.png" "${SDCARD}/usr/share/plymouth/themes/armbian/logo.png"
15:28
<
DC-IRC >
<Robin> cp -f "/tmp/overlay/logo.png" "${SDCARD}/usr/share/plymouth/themes/armbian/watermark.png"
15:28
<
DC-IRC >
<Robin> cp -f "/tmp/overlay/logo.png" "${SDCARD}/usr/share/plymouth/themes/armbian/bgrt-fallback.png"
15:28
<
DC-IRC >
<Robin> sed -i 's/verbosity=1/verbosity=0/' "${SDCARD}/boot/armbianEnv.txt"
15:28
<
DC-IRC >
<Robin> echo "console=serial" >> "${SDCARD}/boot/armbianEnv.txt"
15:28
<
DC-IRC >
<Robin> [[ -f "${SDCARD}"/boot/armbianEnv.txt ]] && grep -q '^bootlogo' "${SDCARD}"/boot/armbianEnv.txt &&
15:28
<
DC-IRC >
<Robin> sed -i 's/^bootlogo.*/bootlogo=true/' "${SDCARD}"/boot/armbianEnv.txt || echo 'bootlogo=true' >> "${SDCARD}"/boot/armbianEnv.txt
15:28
<
DC-IRC >
<Robin> [[ -f "${SDCARD}"/boot/boot.ini ]] && sed -i 's/^setenv bootlogo.*/setenv bootlogo "true"/' "${SDCARD}"/boot/boot.ini
15:28
<
DC-IRC >
<Robin> update-initramfs -u
15:28
<
DC-IRC >
<Robin> mkimage -C none -A arm -T script -d "${SDCARD}"/boot/boot.cmd "${SDCARD}"/boot/boot.scr
15:28
<
DC-IRC >
<Robin> ```
15:48
<
DC-IRC >
<gambl0r> thanks @c0rnelius
15:49
<
DC-IRC >
<gambl0r> I've got the following, I'll add `CONFIG_DM_RESET=Y`
15:49
<
DC-IRC >
<gambl0r> `CONFIG_DM_VIDEO=y
15:49
<
DC-IRC >
<gambl0r> CONFIG_CFB_CONSOLE=y
15:49
<
DC-IRC >
<gambl0r> CONFIG_VIDEO_LOGO
15:49
<
DC-IRC >
<gambl0r> CONFIG_DISPLAY=y
15:49
<
DC-IRC >
<gambl0r> CONFIG_VIDEO_ROCKCHIP=y
15:49
<
DC-IRC >
<gambl0r> CONFIG_DISPLAY_ROCKCHIP_HDMI=y`
16:00
<
DC-IRC >
<gambl0r> 2am, testing tomorrow 🙂
23:15
yang2 has quit [Ping timeout: 250 seconds]
23:16
yang2 has joined #armbian-rockchip
23:23
Ark74 has joined #armbian-rockchip