From b92c7a97495d0b16c72022c8ce8d41cc180ad1c5 Mon Sep 17 00:00:00 2001 From: Gottox Date: Wed, 22 Jan 2014 00:52:08 +0100 Subject: [PATCH] [odroid-u2-ubootcfg] fixing garbage text in configs --- srcpkgs/odroid-u2-ubootcfg/files/boot-1024x768-noedid.txt | 1 - srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-edid.txt | 1 - srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-noedid.txt | 2 -- srcpkgs/odroid-u2-ubootcfg/files/boot-720p-edid.txt | 2 -- srcpkgs/odroid-u2-ubootcfg/files/boot-720p-noedid.txt | 1 - srcpkgs/odroid-u2-ubootcfg/files/boot-auto_edid.txt | 2 -- srcpkgs/odroid-u2-ubootcfg/template | 3 ++- 7 files changed, 2 insertions(+), 10 deletions(-) diff --git a/srcpkgs/odroid-u2-ubootcfg/files/boot-1024x768-noedid.txt b/srcpkgs/odroid-u2-ubootcfg/files/boot-1024x768-noedid.txt index b85c078519..8c1909aefc 100644 --- a/srcpkgs/odroid-u2-ubootcfg/files/boot-1024x768-noedid.txt +++ b/srcpkgs/odroid-u2-ubootcfg/files/boot-1024x768-noedid.txt @@ -1,4 +1,3 @@ -X-1024x768-edid 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" diff --git a/srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-edid.txt b/srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-edid.txt index 3dc78f3193..0b381679d8 100644 --- a/srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-edid.txt +++ b/srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-edid.txt @@ -1,4 +1,3 @@ -boot.scr 1080p setenv initrd_high "0xffffffff" setenv fdt_high "0xffffffff" setenv drm_video_mode "HDMI-A-1:1920x1080@60" diff --git a/srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-noedid.txt b/srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-noedid.txt index 873e77b368..48d3c45c72 100644 --- a/srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-noedid.txt +++ b/srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-noedid.txt @@ -1,5 +1,3 @@ -aPCR -X-1080p-noedid 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" diff --git a/srcpkgs/odroid-u2-ubootcfg/files/boot-720p-edid.txt b/srcpkgs/odroid-u2-ubootcfg/files/boot-720p-edid.txt index 6a728a66f0..7e798659f8 100644 --- a/srcpkgs/odroid-u2-ubootcfg/files/boot-720p-edid.txt +++ b/srcpkgs/odroid-u2-ubootcfg/files/boot-720p-edid.txt @@ -1,5 +1,3 @@ -R}-o -boot.scr for X with HDMI auto-pr setenv initrd_high "0xffffffff" setenv fdt_high "0xffffffff" setenv drm_video_mode "HDMI-A-1:1280x720M@60" diff --git a/srcpkgs/odroid-u2-ubootcfg/files/boot-720p-noedid.txt b/srcpkgs/odroid-u2-ubootcfg/files/boot-720p-noedid.txt index c69caaf4ba..3e5db2abe7 100644 --- a/srcpkgs/odroid-u2-ubootcfg/files/boot-720p-noedid.txt +++ b/srcpkgs/odroid-u2-ubootcfg/files/boot-720p-noedid.txt @@ -1,4 +1,3 @@ -X-720p-noedid 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" diff --git a/srcpkgs/odroid-u2-ubootcfg/files/boot-auto_edid.txt b/srcpkgs/odroid-u2-ubootcfg/files/boot-auto_edid.txt index 91ac930741..ea48cc74e9 100644 --- a/srcpkgs/odroid-u2-ubootcfg/files/boot-auto_edid.txt +++ b/srcpkgs/odroid-u2-ubootcfg/files/boot-auto_edid.txt @@ -1,5 +1,3 @@ -7R}-> -boot.scr for X with HDMI auto-pr 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" diff --git a/srcpkgs/odroid-u2-ubootcfg/template b/srcpkgs/odroid-u2-ubootcfg/template index c235b56d49..d75577811a 100644 --- a/srcpkgs/odroid-u2-ubootcfg/template +++ b/srcpkgs/odroid-u2-ubootcfg/template @@ -12,7 +12,8 @@ _default_scr="boot-auto_edid.scr" do_build() { for source in ${FILESDIR}/*.txt; do - mkimage -A arm -T script -C none -d $source $(basename ${source/.txt/.scr}) + name=$(basename ${source%.txt}) + mkimage -A arm -T script -C none -n "${name}" -d $source ${name}.scr done cp ${_default_scr} boot.scr }