commit
ca3333c7af
7 changed files with 61 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
|||
setenv initrd_high "0xffffffff"
|
||||
setenv fdt_high "0xffffffff"
|
||||
setenv bootcmd "fatload mmc 0:1 0x40008000 zImage; fatload mmc 0:1 0x42000000 uInitrd; bootm 0x40008000 0x42000000"
|
||||
setenv edid_load "drm_kms_helper.edid_firmware=edid/1024x768.bin"
|
||||
setenv bootargs "console=tty1 console=ttySAC1,115200n8 ${edid_load} root=/dev/mmcblk0p2 rootwait ro mem=2047M"
|
||||
boot
|
6
srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-edid.txt
Normal file
6
srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-edid.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
setenv initrd_high "0xffffffff"
|
||||
setenv fdt_high "0xffffffff"
|
||||
setenv drm_video_mode "HDMI-A-1:1920x1080@60"
|
||||
setenv bootcmd "fatload mmc 0:1 0x40008000 zImage; fatload mmc 0:1 0x42000000 uInitrd; bootm 0x40008000 0x42000000"
|
||||
setenv bootargs "console=tty1 console=ttySAC1,115200n8 video=${drm_video_mode} root=/dev/mmcblk0p2 rootwait ro mem=2047M"
|
||||
boot
|
6
srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-noedid.txt
Normal file
6
srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-noedid.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
setenv initrd_high "0xffffffff"
|
||||
setenv fdt_high "0xffffffff"
|
||||
setenv bootcmd "fatload mmc 0:1 0x40008000 zImage; fatload mmc 0:1 0x42000000 uInitrd; bootm 0x40008000 0x42000000"
|
||||
setenv edid_load "drm_kms_helper.edid_firmware=edid/1920x1080.bin"
|
||||
setenv bootargs "console=tty1 console=ttySAC1,115200n8 ${edid_load} root=/dev/mmcblk0p2 rootwait ro mem=2047M"
|
||||
boot
|
6
srcpkgs/odroid-u2-ubootcfg/files/boot-720p-edid.txt
Normal file
6
srcpkgs/odroid-u2-ubootcfg/files/boot-720p-edid.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
setenv initrd_high "0xffffffff"
|
||||
setenv fdt_high "0xffffffff"
|
||||
setenv drm_video_mode "HDMI-A-1:1280x720M@60"
|
||||
setenv bootcmd "fatload mmc 0:1 0x40008000 zImage; fatload mmc 0:1 0x42000000 uInitrd; bootm 0x40008000 0x42000000"
|
||||
setenv bootargs "console=tty1 console=ttySAC1,115200n8 video=${drm_video_mode} root=/dev/mmcblk0p2 rootwait ro mem=2047M"
|
||||
boot
|
6
srcpkgs/odroid-u2-ubootcfg/files/boot-720p-noedid.txt
Normal file
6
srcpkgs/odroid-u2-ubootcfg/files/boot-720p-noedid.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
setenv initrd_high "0xffffffff"
|
||||
setenv fdt_high "0xffffffff"
|
||||
setenv bootcmd "fatload mmc 0:1 0x40008000 zImage; fatload mmc 0:1 0x42000000 uInitrd; bootm 0x40008000 0x42000000"
|
||||
setenv edid_load "drm_kms_helper.edid_firmware=edid/1280x720.bin"
|
||||
setenv bootargs "console=tty1 console=ttySAC1,115200n8 ${edid_load} root=/dev/mmcblk0p2 rootwait ro mem=2047M"
|
||||
boot
|
5
srcpkgs/odroid-u2-ubootcfg/files/boot-auto_edid.txt
Normal file
5
srcpkgs/odroid-u2-ubootcfg/files/boot-auto_edid.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
setenv initrd_high "0xffffffff"
|
||||
setenv fdt_high "0xffffffff"
|
||||
setenv bootcmd "fatload mmc 0:1 0x40008000 zImage; fatload mmc 0:1 0x42000000 uInitrd; bootm 0x40008000 0x42000000"
|
||||
setenv bootargs "console=tty1 console=ttySAC1,115200n8 root=/dev/mmcblk0p2 rootwait ro mem=2047M"
|
||||
boot
|
26
srcpkgs/odroid-u2-ubootcfg/template
Normal file
26
srcpkgs/odroid-u2-ubootcfg/template
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Template file for 'odroid-u2-bootcfg'
|
||||
pkgname=odroid-u2-ubootcfg
|
||||
version=1.0
|
||||
revision=1
|
||||
homepage="http://hardkernel.com"
|
||||
hostmakedepends="uboot-mkimage"
|
||||
short_desc="odroid u2/u3 boot configuration"
|
||||
maintainer="Enno Boland <eb@s01.de>"
|
||||
license="GPL-2.0"
|
||||
|
||||
_default_scr="boot-auto_edid.scr"
|
||||
|
||||
do_build() {
|
||||
for source in ${FILESDIR}/*.txt; do
|
||||
name=$(basename ${source%.txt})
|
||||
mkimage -A arm -T script -C none -n "${name}" -d $source ${name}.scr
|
||||
done
|
||||
cp ${_default_scr} boot.scr
|
||||
}
|
||||
|
||||
do_install() {
|
||||
for scr in *.scr; do
|
||||
echo $scr
|
||||
vinstall $scr 600 boot
|
||||
done
|
||||
}
|
Loading…
Reference in a new issue