mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
alarm/uboot-odroid-c2 to 2015.01-15
This commit is contained in:
parent
662178fed2
commit
e3f11cf0c4
2 changed files with 27 additions and 16 deletions
|
@ -8,7 +8,7 @@ noautobuild=1
|
||||||
|
|
||||||
pkgname=uboot-odroid-c2
|
pkgname=uboot-odroid-c2
|
||||||
pkgver=2015.01
|
pkgver=2015.01
|
||||||
pkgrel=14
|
pkgrel=15
|
||||||
pkgdesc="U-Boot for ODROID-C2"
|
pkgdesc="U-Boot for ODROID-C2"
|
||||||
arch=('aarch64')
|
arch=('aarch64')
|
||||||
url="https://github.com/hardkernel/u-boot"
|
url="https://github.com/hardkernel/u-boot"
|
||||||
|
@ -16,13 +16,13 @@ license=('GPL')
|
||||||
install=$pkgname.install
|
install=$pkgname.install
|
||||||
makedepends=('git' 'bc')
|
makedepends=('git' 'bc')
|
||||||
backup=('boot/boot.ini')
|
backup=('boot/boot.ini')
|
||||||
_commit=1471870b96fefee160eee1d911ae5dc42a5f83ef
|
_commit=3eb97d48991decdd5dea537c8c2325cbb0611089
|
||||||
source=("https://github.com/hardkernel/u-boot/archive/${_commit}.tar.gz"
|
source=("https://github.com/hardkernel/u-boot/archive/${_commit}.tar.gz"
|
||||||
'boot.ini'
|
'boot.ini'
|
||||||
'0001-sd_fusing-tweaks.patch'
|
'0001-sd_fusing-tweaks.patch'
|
||||||
'0002-arch-linux-arm-modifications.patch')
|
'0002-arch-linux-arm-modifications.patch')
|
||||||
md5sums=('6140385fe82767b44a095e2aa387dcb9'
|
md5sums=('448f16a7f15871a2c5686689c0be5ef0'
|
||||||
'8686e3160edcde2963e3f180cd3e4f2f'
|
'553712ba2547ddb8deab61ab075e048b'
|
||||||
'316b458415515edfc18abd54a52d43d4'
|
'316b458415515edfc18abd54a52d43d4'
|
||||||
'de51b9b3345954238c455214c5947ea3')
|
'de51b9b3345954238c455214c5947ea3')
|
||||||
|
|
||||||
|
|
|
@ -72,8 +72,8 @@ setenv m_bpp "32"
|
||||||
# setenv m_bpp "16"
|
# setenv m_bpp "16"
|
||||||
|
|
||||||
# HDMI DVI/VGA modes
|
# HDMI DVI/VGA modes
|
||||||
# Uncomment only a single Line! The line with setenv written.
|
# By default its set to HDMI, if needed change below.
|
||||||
# At least one mode must be selected.
|
# Uncomment only a single Line.
|
||||||
# setenv vout "dvi"
|
# setenv vout "dvi"
|
||||||
# setenv vout "vga"
|
# setenv vout "vga"
|
||||||
|
|
||||||
|
@ -84,8 +84,14 @@ setenv m_bpp "32"
|
||||||
setenv hpd "true"
|
setenv hpd "true"
|
||||||
# setenv hpd "false"
|
# setenv hpd "false"
|
||||||
|
|
||||||
# Default Console Device Setting
|
# Monitor output
|
||||||
setenv condev "console=ttyS0,115200n8 console=tty0" # on both
|
# Controls if HDMI PHY should output anything to the monitor
|
||||||
|
setenv monitor_onoff "false" # true or false
|
||||||
|
|
||||||
|
# Server Mode (aka. No Graphics)
|
||||||
|
# Setting nographics to 1 will disable all video subsystem
|
||||||
|
# This mode is ideal of server type usage. (Saves ~300Mb of RAM)
|
||||||
|
setenv nographics "0"
|
||||||
|
|
||||||
# Meson Timer
|
# Meson Timer
|
||||||
# 1 - Meson Timer
|
# 1 - Meson Timer
|
||||||
|
@ -94,14 +100,19 @@ setenv condev "console=ttyS0,115200n8 console=tty0" # on both
|
||||||
# Using arch timer allows KVM/Virtualization to work however you'll experience poor video
|
# Using arch timer allows KVM/Virtualization to work however you'll experience poor video
|
||||||
setenv mesontimer "1"
|
setenv mesontimer "1"
|
||||||
|
|
||||||
# Server Mode (aka. No Graphics)
|
# UHS (Ultra High Speed) MicroSD mode enable/disable
|
||||||
# Setting nographics to 1 will disable all video subsystem
|
setenv disableuhs "false"
|
||||||
# This mode is ideal of server type usage. (Saves ~300Mb of RAM)
|
|
||||||
setenv nographics "0"
|
|
||||||
|
|
||||||
# Monitor output
|
# MicroSD Card Detection enable/disable
|
||||||
# Controls if HDMI PHY should output anything to the monitor
|
# Force the MMC controlled to believe that a card is connected.
|
||||||
setenv monitor_onoff "false" # true or false
|
setenv mmc_removable "true"
|
||||||
|
|
||||||
|
# USB Multi WebCam tweak
|
||||||
|
# Only enable this if you use it.
|
||||||
|
setenv usbmulticam "false"
|
||||||
|
|
||||||
|
# Default Console Device Setting
|
||||||
|
setenv condev "console=ttyS0,115200n8 console=tty0" # on both
|
||||||
|
|
||||||
# CPU Frequency / Cores control
|
# CPU Frequency / Cores control
|
||||||
###########################################
|
###########################################
|
||||||
|
@ -133,7 +144,7 @@ setenv max_freq "1536" # 1.536GHz
|
||||||
# Boot Arguments
|
# Boot Arguments
|
||||||
if test "${m}" = "custombuilt"; then setenv cmode "modeline=${modeline}"; fi
|
if test "${m}" = "custombuilt"; then setenv cmode "modeline=${modeline}"; fi
|
||||||
|
|
||||||
setenv bootargs "root=/dev/mmcblk0p1 rootwait rw ${condev} no_console_suspend hdmimode=${m} ${cmode} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=${hpd} max_freq=${max_freq} maxcpus=${maxcpus} monitor_onoff=${monitor_onoff}"
|
setenv bootargs "root=/dev/mmcblk0p1 rootwait rw ${condev} no_console_suspend hdmimode=${m} ${cmode} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=${hpd} max_freq=${max_freq} maxcpus=${maxcpus} monitor_onoff=${monitor_onoff} disableuhs=${disableuhs} mmc_removable=${mmc_removable} usbmulticam=${usbmulticam}"
|
||||||
|
|
||||||
# Booting
|
# Booting
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue