alarm/uboot-odroid-n2 to 2015.01-9

This commit is contained in:
Kevin Mihelich 2019-09-15 00:55:04 +00:00
parent 5ccd45f165
commit f49b5a3c23
2 changed files with 9 additions and 5 deletions

View file

@ -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')

View file

@ -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"