From f49b5a3c239304aa8aa97c4dcc5789a284990d33 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 15 Sep 2019 00:55:04 +0000 Subject: [PATCH] alarm/uboot-odroid-n2 to 2015.01-9 --- alarm/uboot-odroid-n2/PKGBUILD | 8 ++++---- alarm/uboot-odroid-n2/boot.ini | 6 +++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/alarm/uboot-odroid-n2/PKGBUILD b/alarm/uboot-odroid-n2/PKGBUILD index e4591c166..bc3d5efe9 100644 --- a/alarm/uboot-odroid-n2/PKGBUILD +++ b/alarm/uboot-odroid-n2/PKGBUILD @@ -8,7 +8,7 @@ noautobuild=1 pkgname=uboot-odroid-n2 pkgver=2015.01 -pkgrel=8 +pkgrel=9 pkgdesc="U-Boot for ODROID-N2" arch=('aarch64') url="https://github.com/hardkernel/u-boot" @@ -17,14 +17,14 @@ install=$pkgname.install depends=('uboot-tools') makedepends=('git' 'bc') backup=('boot/boot.ini') -_commit=8409a3f566f540745c01b8f9403bcf6c2fa6cd58 +_commit=a374ff35130f09ba99717c5da3bd46fc3137518f source=("https://github.com/hardkernel/u-boot/archive/${_commit}.tar.gz" 'boot.ini' '0001-sd_fusing-tweaks.patch' '0002-arch-linux-arm-modifications.patch' '91-uboot-uimg.hook') -md5sums=('29f9c150b485ffc7043a613dc6a2e79d' - '547e983abeaa98d14f8d72bb5d29a277' +md5sums=('fef976cda0da5eb94d926047c23f15cc' + '33de84d1cc619dba9b14d87b510684ff' 'cc18cda0bc75936e602341efd5a2fe93' '4d14405ba98f09c002505cbe53e2f6cb' '1931c8dfde7088530f173ca59fdb8989') diff --git a/alarm/uboot-odroid-n2/boot.ini b/alarm/uboot-odroid-n2/boot.ini index 47f841414..d8c89b2c2 100644 --- a/alarm/uboot-odroid-n2/boot.ini +++ b/alarm/uboot-odroid-n2/boot.ini @@ -65,6 +65,9 @@ setenv voutmode "hdmi" # HPD enable/disable option setenv disablehpd "false" +# Enable/Disable CEC +setenv cec "true" + # Hardkernel ODROID-VU7 support # By default VU7 support is disabled setenv disable_vu7 "true" @@ -95,12 +98,13 @@ setenv maxcpus "6" ### Normal HDMI Monitors if test "${display_autodetect}" = "true"; then hdmitx edid; fi if test "${hdmimode}" = "custombuilt"; then setenv cmode "modeline=${modeline}"; fi +if test "${cec}" = "true"; then setenv cec_enable "hdmitx=cec3f"; fi # VU7 Settings if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi # Boot Args -setenv bootargs "root=/dev/mmcblk${devno}p2 rootwait rw ${condev} ${amlogic} no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=${hdmimode} cvbsmode=576cvbs max_freq_a53=${max_freq_a53} max_freq_a73=${max_freq_a73} maxcpus=${maxcpus} voutmode=${voutmode} ${cmode} disablehpd=${disablehpd} cvbscable=${cvbscable} overscan=${overscan} ${hid_quirks} monitor_onoff=${monitor_onoff} usb-xhci.tablesize=2 logo=osd0,loaded" +setenv bootargs "root=/dev/mmcblk${devno}p2 rootwait rw ${condev} ${amlogic} no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=${hdmimode} cvbsmode=576cvbs max_freq_a53=${max_freq_a53} max_freq_a73=${max_freq_a73} maxcpus=${maxcpus} voutmode=${voutmode} ${cmode} disablehpd=${disablehpd} cvbscable=${cvbscable} overscan=${overscan} ${hid_quirks} monitor_onoff=${monitor_onoff} logo=osd0,loaded ${cec_enable}" # Set load addresses setenv dtb_loadaddr "0x1000000"