mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
alarm/uboot-odroid-n2 to 2015.01-6
This commit is contained in:
parent
6066e6574b
commit
5973d0e113
2 changed files with 14 additions and 5 deletions
|
@ -8,7 +8,7 @@ noautobuild=1
|
|||
|
||||
pkgname=uboot-odroid-n2
|
||||
pkgver=2015.01
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
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=3d9641f2acf212180d11fdc5040b741c8d3af1e3
|
||||
_commit=e6e4cc897d0a53ec122478b541982c3b44b827b9
|
||||
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=('b2b1059afa1fe96f2af444adaa8bc487'
|
||||
'8e6c650d29974f5a2d19eb672d0dfdbd'
|
||||
md5sums=('c7abef2ced808f2b19116fb47dff6571'
|
||||
'9690940386e53f41be86adcda5d47625'
|
||||
'cc18cda0bc75936e602341efd5a2fe93'
|
||||
'4d14405ba98f09c002505cbe53e2f6cb'
|
||||
'1931c8dfde7088530f173ca59fdb8989')
|
||||
|
|
|
@ -10,6 +10,7 @@ setenv display_autodetect "true"
|
|||
# Resolution Configuration
|
||||
# Symbol | Resolution
|
||||
# ----------------------+-------------
|
||||
# "480x272p60hz" | 480x272 Progressive 60Hz
|
||||
# "480x320p60hz" | 480x320 Progressive 60Hz
|
||||
# "480p60hz" | 720x480 Progressive 60Hz
|
||||
# "576p50hz" | 720x576 Progressive 50Hz
|
||||
|
@ -60,6 +61,11 @@ setenv voutmode "hdmi"
|
|||
# HPD enable/disable option
|
||||
setenv disablehpd "false"
|
||||
|
||||
# Hardkernel ODROID-VU7 support
|
||||
# By default VU7 support is disabled
|
||||
setenv disable_vu7 "true"
|
||||
# setenv disable_vu7 "false"
|
||||
|
||||
# max cpu frequency for big core, A73 in MHz unit
|
||||
# setenv max_freq_a73 "2004" # 2.004 GHz
|
||||
# setenv max_freq_a73 "1992" # 1.992 GHz
|
||||
|
@ -86,8 +92,11 @@ setenv maxcpus "6"
|
|||
if test "${display_autodetect}" = "true"; then hdmitx edid; fi
|
||||
if test "${hdmimode}" = "custombuilt"; then setenv cmode "modeline=${modeline}"; 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}"
|
||||
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}"
|
||||
|
||||
# Set load addresses
|
||||
setenv dtb_loadaddr "0x1000000"
|
||||
|
|
Loading…
Reference in a new issue