alarm/uboot-odroid-c2 to 2015.01-15

This commit is contained in:
Kevin Mihelich 2017-02-26 01:06:59 +00:00
parent 662178fed2
commit e3f11cf0c4
2 changed files with 27 additions and 16 deletions

View file

@ -8,7 +8,7 @@ noautobuild=1
pkgname=uboot-odroid-c2
pkgver=2015.01
pkgrel=14
pkgrel=15
pkgdesc="U-Boot for ODROID-C2"
arch=('aarch64')
url="https://github.com/hardkernel/u-boot"
@ -16,13 +16,13 @@ license=('GPL')
install=$pkgname.install
makedepends=('git' 'bc')
backup=('boot/boot.ini')
_commit=1471870b96fefee160eee1d911ae5dc42a5f83ef
_commit=3eb97d48991decdd5dea537c8c2325cbb0611089
source=("https://github.com/hardkernel/u-boot/archive/${_commit}.tar.gz"
'boot.ini'
'0001-sd_fusing-tweaks.patch'
'0002-arch-linux-arm-modifications.patch')
md5sums=('6140385fe82767b44a095e2aa387dcb9'
'8686e3160edcde2963e3f180cd3e4f2f'
md5sums=('448f16a7f15871a2c5686689c0be5ef0'
'553712ba2547ddb8deab61ab075e048b'
'316b458415515edfc18abd54a52d43d4'
'de51b9b3345954238c455214c5947ea3')

View file

@ -72,8 +72,8 @@ setenv m_bpp "32"
# setenv m_bpp "16"
# HDMI DVI/VGA modes
# Uncomment only a single Line! The line with setenv written.
# At least one mode must be selected.
# By default its set to HDMI, if needed change below.
# Uncomment only a single Line.
# setenv vout "dvi"
# setenv vout "vga"
@ -84,8 +84,14 @@ setenv m_bpp "32"
setenv hpd "true"
# setenv hpd "false"
# Default Console Device Setting
setenv condev "console=ttyS0,115200n8 console=tty0" # on both
# Monitor output
# 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
# 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
setenv mesontimer "1"
# 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"
# UHS (Ultra High Speed) MicroSD mode enable/disable
setenv disableuhs "false"
# Monitor output
# Controls if HDMI PHY should output anything to the monitor
setenv monitor_onoff "false" # true or false
# MicroSD Card Detection enable/disable
# Force the MMC controlled to believe that a card is connected.
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
###########################################
@ -133,7 +144,7 @@ setenv max_freq "1536" # 1.536GHz
# Boot Arguments
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