mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
alarm/uboot-odroid-c1 to 2011.03-16
This commit is contained in:
parent
4e1e69271c
commit
0e56d72a7c
2 changed files with 12 additions and 3 deletions
|
@ -5,7 +5,7 @@ buildarch=4
|
||||||
|
|
||||||
pkgname=uboot-odroid-c1
|
pkgname=uboot-odroid-c1
|
||||||
pkgver=2011.03
|
pkgver=2011.03
|
||||||
pkgrel=15
|
pkgrel=16
|
||||||
pkgdesc="U-Boot for ODROID-C1"
|
pkgdesc="U-Boot for ODROID-C1"
|
||||||
arch=('armv7h')
|
arch=('armv7h')
|
||||||
url="https://github.com/hardkernel/u-boot"
|
url="https://github.com/hardkernel/u-boot"
|
||||||
|
@ -28,7 +28,7 @@ source=("https://github.com/hardkernel/u-boot/archive/${_commit}.tar.gz"
|
||||||
'0010-common-main.c-make-show_boot_progress-__weak.patch'
|
'0010-common-main.c-make-show_boot_progress-__weak.patch'
|
||||||
'0011-wait_ms-fix.patch')
|
'0011-wait_ms-fix.patch')
|
||||||
md5sums=('7f964216ab4577e4272e4d3dff2529d2'
|
md5sums=('7f964216ab4577e4272e4d3dff2529d2'
|
||||||
'daa901adc105a386d6030a5c8428cd48'
|
'a3514e76d2310ed47e45e3c1a287846f'
|
||||||
'73747be79c5bb654ee58c6f380c57d8a'
|
'73747be79c5bb654ee58c6f380c57d8a'
|
||||||
'7601eb51e42e57b53b9d09dad2091f69'
|
'7601eb51e42e57b53b9d09dad2091f69'
|
||||||
'14fae8682ce2a257453f7c6ef4af6db3'
|
'14fae8682ce2a257453f7c6ef4af6db3'
|
||||||
|
|
|
@ -70,6 +70,14 @@ setenv vpu "1"
|
||||||
# 1 = enabled
|
# 1 = enabled
|
||||||
setenv hdmioutput "1"
|
setenv hdmioutput "1"
|
||||||
|
|
||||||
|
# Default Console Device Setting
|
||||||
|
# setenv condev "console=ttyS0,115200n8" # on serial port
|
||||||
|
# setenv condev "console=tty0" # on display (HDMI)
|
||||||
|
setenv condev "console=tty0 console=ttyS0,115200n8" # on both
|
||||||
|
|
||||||
|
# Enable/Disable ODROID-VU7 Touchscreen
|
||||||
|
setenv disable_vu7 "true" # false
|
||||||
|
|
||||||
# CPU Max Frequency
|
# CPU Max Frequency
|
||||||
# Possible Values: 96 192 312 408 504 600 720 816
|
# Possible Values: 96 192 312 408 504 600 720 816
|
||||||
# 1008 1200 1320 1488 1536 1632 1728 and 1824
|
# 1008 1200 1320 1488 1536 1632 1728 and 1824
|
||||||
|
@ -82,8 +90,9 @@ setenv max_freq "1536"
|
||||||
|
|
||||||
if test "${hpd}" = "0"; then setenv hdmi_hpd "disablehpd=true"; fi
|
if test "${hpd}" = "0"; then setenv hdmi_hpd "disablehpd=true"; fi
|
||||||
if test "${cec}" = "1"; then setenv hdmi_cec "hdmitx=cecf"; fi
|
if test "${cec}" = "1"; then setenv hdmi_cec "hdmitx=cecf"; fi
|
||||||
|
if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi
|
||||||
|
|
||||||
setenv bootargs "console=tty0 console=ttyS0,115200n8 root=/dev/mmcblk0p1 rootwait rw no_console_suspend vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs} ${hdmi_hpd} ${hdmi_cec} ${enabledac} monitor_onoff=${monitor_onoff} max_freq=${max_freq}"
|
setenv bootargs "root=/dev/mmcblk0p1 rootwait rw ${condev} no_console_suspend fsck.repair=yes vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs} ${hdmi_hpd} ${hdmi_cec} ${enabledac} monitor_onoff=${monitor_onoff} max_freq=${max_freq} ${hid_quirks}"
|
||||||
ext4load mmc 0:1 0x21000000 /boot/uImage
|
ext4load mmc 0:1 0x21000000 /boot/uImage
|
||||||
ext4load mmc 0:1 0x21800000 /boot/dtbs/meson8b_odroidc.dtb
|
ext4load mmc 0:1 0x21800000 /boot/dtbs/meson8b_odroidc.dtb
|
||||||
fdt addr 21800000
|
fdt addr 21800000
|
||||||
|
|
Loading…
Reference in a new issue