From 850daa0cc105412a5c26e22a1228c0453d4a39c6 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Fri, 14 Aug 2020 16:24:24 +0900 Subject: [PATCH] rpi4: boot: config: disable eeprom i2c hat auto detect From raspberry pi gpio pins, ID_SC and ID_SD are reserved by firmware to detect HAT with i2c, but in Tizen, auto-detection and dynamical setting dt with overlay is not supported. To use the pins for uart2, explictly disable eeprom i2c hat auto detect. Ref: https://www.raspberrypi.org/documentation/configuration/config-txt/boot.md Change-Id: Id5cf016b09e7661317529e1174842915165955bc Signed-off-by: Seung-Woo Kim --- rpi4/boot/config.txt | 4 ++++ rpi4/boot/config_64bit.txt | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/rpi4/boot/config.txt b/rpi4/boot/config.txt index da8a863..af7c8de 100644 --- a/rpi4/boot/config.txt +++ b/rpi4/boot/config.txt @@ -59,6 +59,10 @@ dtparam=audio=on # Enable DRM VC4 V3D driver on top of the dispmanx display stack dtoverlay=vc4-fkms-v3d max_framebuffers=2 + +# Disable ID_SC and ID_SD pins to use UART2 +force_eeprom_read=0 + kernel=u-boot.bin [all] diff --git a/rpi4/boot/config_64bit.txt b/rpi4/boot/config_64bit.txt index ee241b1..d071525 100644 --- a/rpi4/boot/config_64bit.txt +++ b/rpi4/boot/config_64bit.txt @@ -59,6 +59,10 @@ dtparam=audio=on # Enable DRM VC4 V3D driver on top of the dispmanx display stack dtoverlay=vc4-fkms-v3d max_framebuffers=2 + +# Disable ID_SC and ID_SD pins to use UART2 +force_eeprom_read=0 + kernel=u-boot.bin [all] -- 2.7.4