Skip to content

Odroid XU4 ignore HDMI CEC

OyyoDams edited this page Jan 30, 2018 · 1 revision

By default, HDMI CEC is enabled on Odroid XU4. That means the board can be turned off automatically when you switch off your TV change your HDMI source. This is not recommended for Recalbox as it may corrupt the system.

Here is a workaround to disable this feature and ignore HDMI CEC commands.

  1. Connect to your XU4 with SSH
  2. Type:
export TERM=xterm
mount -o remount,rw /boot/
cd /boot/
nano boot.ini
  1. Add this just after setenv fdtbin exynos5422-odroidxu3.dtb:
# --- HDMI CEC Configuration ---
# ------------------------------------------
setenv cecenable "false" # false or true
# set to true to enable HDMI CE
  1. Add this just after fatload mmc 0:1 ${fdtbin_addr_r} ${fdtbin}:
fdt addr 0x44000000
if test "${cecenable}" = "false"; then fdt rm /cec@101B0000; fi
  1. Your boot.ini file should be like this:
ODROIDXU-UBOOT-CONFIG

# U-Boot Parameters (DO NOT MODIFY)
setenv version 3.10
setenv zimage zImage
setenv fdtbin exynos5422-odroidxu3.dtb

# --- HDMI CEC Configuration ---
# ------------------------------------------
setenv cecenable "false" # false or true
# set to true to enable HDMI CEC

setenv zimage_addr_r 0x40008000
setenv fdtbin_addr_r 0x44000000

setenv fdt_high "0xffffffff"

# Default boot argument
setenv bootrootfs "root=/dev/mmcblk0p2 rootwait ro"
setenv console "console=ttySAC2,115200n8 consoleblank=0 vt.global_cursor_default=0"

setenv bootargs "${bootrootfs} ${console}"

# boot commands
fatload mmc 0:1 ${zimage_addr_r} ${zimage}
fatload mmc 0:1 ${fdtbin_addr_r} ${fdtbin}

fdt addr 0x44000000
if test "${cecenable}" = "false"; then fdt rm /cec@101B0000; fi

bootz ${zimage_addr_r} - ${fdtbin_addr_r}"
  1. Save and exit

  2. Reboot

English

Basic

Advanced


Français

Basique

Avancée


Deutsch

Basic

Fortgeschritten


Español

Basic

Avanzado


Português

Básico

Avançado


Italiano

Di base

Avanzate

Clone this wiki locally
You can’t perform that action at this time.