SHA256
1
0
forked from pool/u-boot

Accepting request 212485 from Base:System

(forwarded request 212475 from matwey)

OBS-URL: https://build.opensuse.org/request/show/212485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=17
This commit is contained in:
Stephan Kulow 2014-01-03 18:52:00 +00:00 committed by Git OBS Bridge
parent 9a7b58c834
commit effb499486
25 changed files with 143 additions and 0 deletions

47
am335x_evm-bootscr.patch Normal file
View File

@ -0,0 +1,47 @@
Index: u-boot-2013.10/include/configs/am335x_evm.h
===================================================================
--- u-boot-2013.10.orig/include/configs/am335x_evm.h
+++ u-boot-2013.10/include/configs/am335x_evm.h
@@ -97,6 +97,9 @@
"nfsroot=${serverip}:${rootpath},${nfsopts} rw " \
"ip=dhcp\0" \
"bootenv=uEnv.txt\0" \
+ "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot/boot.scr\0" \
+ "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
+ "source ${loadaddr}\0" \
"loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
"importbootenv=echo Importing environment from mmc ...; " \
"env import -t $loadaddr $filesize\0" \
@@ -125,17 +128,21 @@
"mmcboot=mmc dev ${mmcdev}; " \
"if mmc rescan; then " \
"echo SD/MMC found on device ${mmcdev};" \
- "if run loadbootenv; then " \
- "echo Loaded environment from ${bootenv};" \
- "run importbootenv;" \
- "fi;" \
- "if test -n $uenvcmd; then " \
- "echo Running uenvcmd ...;" \
- "run uenvcmd;" \
- "fi;" \
- "if run loadimage; then " \
- "run mmcloados;" \
- "fi;" \
+ "if run loadbootscript; then " \
+ "run bootscript;" \
+ "else " \
+ "if run loadbootenv; then " \
+ "echo Loaded environment from ${bootenv};" \
+ "run importbootenv;" \
+ "fi;" \
+ "if test -n $uenvcmd; then " \
+ "echo Running uenvcmd ...;" \
+ "run uenvcmd;" \
+ "fi;" \
+ "if run loadimage; then " \
+ "run mmcloados;" \
+ "fi;" \
+ "fi ;" \
"fi;\0" \
"spiboot=echo Booting from spi ...; " \
"run spiargs; " \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 30 18:37:50 UTC 2013 - matwey.kornilov@gmail.com
- Add am335x_evm-bootscr.patch: Add bootscr to AM335x
platform based devices
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org

View File

@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
Patch6: origen-ext2.patch Patch6: origen-ext2.patch
Patch7: arndale.patch Patch7: arndale.patch
Patch8: v2013.10-sunxi.patch Patch8: v2013.10-sunxi.patch
Patch9: am335x_evm-bootscr.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4 # Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0 BuildRequires: dtc >= 1.4.0
@ -78,6 +79,7 @@ rm -rf board/Marvell
%patch6 %patch6
%patch7 %patch7
%patch8 -p1 %patch8 -p1
%patch9 -p1
%build %build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" am335x_evm_config make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" am335x_evm_config

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 30 18:37:50 UTC 2013 - matwey.kornilov@gmail.com
- Add am335x_evm-bootscr.patch: Add bootscr to AM335x
platform based devices
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org

View File

@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
Patch6: origen-ext2.patch Patch6: origen-ext2.patch
Patch7: arndale.patch Patch7: arndale.patch
Patch8: v2013.10-sunxi.patch Patch8: v2013.10-sunxi.patch
Patch9: am335x_evm-bootscr.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4 # Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0 BuildRequires: dtc >= 1.4.0
@ -78,6 +79,7 @@ rm -rf board/Marvell
%patch6 %patch6
%patch7 %patch7
%patch8 -p1 %patch8 -p1
%patch9 -p1
%build %build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" arndale_config make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" arndale_config

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 30 18:37:50 UTC 2013 - matwey.kornilov@gmail.com
- Add am335x_evm-bootscr.patch: Add bootscr to AM335x
platform based devices
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org

View File

@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
Patch6: origen-ext2.patch Patch6: origen-ext2.patch
Patch7: arndale.patch Patch7: arndale.patch
Patch8: v2013.10-sunxi.patch Patch8: v2013.10-sunxi.patch
Patch9: am335x_evm-bootscr.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4 # Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0 BuildRequires: dtc >= 1.4.0
@ -78,6 +79,7 @@ rm -rf board/Marvell
%patch6 %patch6
%patch7 %patch7
%patch8 -p1 %patch8 -p1
%patch9 -p1
%build %build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" cubieboard_config make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" cubieboard_config

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 30 18:37:50 UTC 2013 - matwey.kornilov@gmail.com
- Add am335x_evm-bootscr.patch: Add bootscr to AM335x
platform based devices
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org

View File

@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
Patch6: origen-ext2.patch Patch6: origen-ext2.patch
Patch7: arndale.patch Patch7: arndale.patch
Patch8: v2013.10-sunxi.patch Patch8: v2013.10-sunxi.patch
Patch9: am335x_evm-bootscr.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4 # Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0 BuildRequires: dtc >= 1.4.0
@ -78,6 +79,7 @@ rm -rf board/Marvell
%patch6 %patch6
%patch7 %patch7
%patch8 -p1 %patch8 -p1
%patch9 -p1
%build %build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" highbank_config make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" highbank_config

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 30 18:37:50 UTC 2013 - matwey.kornilov@gmail.com
- Add am335x_evm-bootscr.patch: Add bootscr to AM335x
platform based devices
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org

View File

@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
Patch6: origen-ext2.patch Patch6: origen-ext2.patch
Patch7: arndale.patch Patch7: arndale.patch
Patch8: v2013.10-sunxi.patch Patch8: v2013.10-sunxi.patch
Patch9: am335x_evm-bootscr.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4 # Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0 BuildRequires: dtc >= 1.4.0
@ -78,6 +79,7 @@ rm -rf board/Marvell
%patch6 %patch6
%patch7 %patch7
%patch8 -p1 %patch8 -p1
%patch9 -p1
%build %build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" hyundai_a7hd_config make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" hyundai_a7hd_config

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 30 18:37:50 UTC 2013 - matwey.kornilov@gmail.com
- Add am335x_evm-bootscr.patch: Add bootscr to AM335x
platform based devices
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org

View File

@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
Patch6: origen-ext2.patch Patch6: origen-ext2.patch
Patch7: arndale.patch Patch7: arndale.patch
Patch8: v2013.10-sunxi.patch Patch8: v2013.10-sunxi.patch
Patch9: am335x_evm-bootscr.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4 # Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0 BuildRequires: dtc >= 1.4.0
@ -78,6 +79,7 @@ rm -rf board/Marvell
%patch6 %patch6
%patch7 %patch7
%patch8 -p1 %patch8 -p1
%patch9 -p1
%build %build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mele_a1000_config make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mele_a1000_config

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 30 18:37:50 UTC 2013 - matwey.kornilov@gmail.com
- Add am335x_evm-bootscr.patch: Add bootscr to AM335x
platform based devices
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org

View File

@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
Patch6: origen-ext2.patch Patch6: origen-ext2.patch
Patch7: arndale.patch Patch7: arndale.patch
Patch8: v2013.10-sunxi.patch Patch8: v2013.10-sunxi.patch
Patch9: am335x_evm-bootscr.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4 # Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0 BuildRequires: dtc >= 1.4.0
@ -78,6 +79,7 @@ rm -rf board/Marvell
%patch6 %patch6
%patch7 %patch7
%patch8 -p1 %patch8 -p1
%patch9 -p1
%build %build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx53loco_config make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx53loco_config

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 30 18:37:50 UTC 2013 - matwey.kornilov@gmail.com
- Add am335x_evm-bootscr.patch: Add bootscr to AM335x
platform based devices
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org

View File

@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
Patch6: origen-ext2.patch Patch6: origen-ext2.patch
Patch7: arndale.patch Patch7: arndale.patch
Patch8: v2013.10-sunxi.patch Patch8: v2013.10-sunxi.patch
Patch9: am335x_evm-bootscr.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4 # Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0 BuildRequires: dtc >= 1.4.0
@ -78,6 +79,7 @@ rm -rf board/Marvell
%patch6 %patch6
%patch7 %patch7
%patch8 -p1 %patch8 -p1
%patch9 -p1
%build %build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap3_beagle_config make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap3_beagle_config

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 30 18:37:50 UTC 2013 - matwey.kornilov@gmail.com
- Add am335x_evm-bootscr.patch: Add bootscr to AM335x
platform based devices
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org

View File

@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
Patch6: origen-ext2.patch Patch6: origen-ext2.patch
Patch7: arndale.patch Patch7: arndale.patch
Patch8: v2013.10-sunxi.patch Patch8: v2013.10-sunxi.patch
Patch9: am335x_evm-bootscr.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4 # Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0 BuildRequires: dtc >= 1.4.0
@ -78,6 +79,7 @@ rm -rf board/Marvell
%patch6 %patch6
%patch7 %patch7
%patch8 -p1 %patch8 -p1
%patch9 -p1
%build %build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap4_panda_config make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap4_panda_config

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 30 18:37:50 UTC 2013 - matwey.kornilov@gmail.com
- Add am335x_evm-bootscr.patch: Add bootscr to AM335x
platform based devices
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org

View File

@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
Patch6: origen-ext2.patch Patch6: origen-ext2.patch
Patch7: arndale.patch Patch7: arndale.patch
Patch8: v2013.10-sunxi.patch Patch8: v2013.10-sunxi.patch
Patch9: am335x_evm-bootscr.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4 # Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0 BuildRequires: dtc >= 1.4.0
@ -78,6 +79,7 @@ rm -rf board/Marvell
%patch6 %patch6
%patch7 %patch7
%patch8 -p1 %patch8 -p1
%patch9 -p1
%build %build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" origen_config make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" origen_config

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 30 18:37:50 UTC 2013 - matwey.kornilov@gmail.com
- Add am335x_evm-bootscr.patch: Add bootscr to AM335x
platform based devices
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org

View File

@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
Patch6: origen-ext2.patch Patch6: origen-ext2.patch
Patch7: arndale.patch Patch7: arndale.patch
Patch8: v2013.10-sunxi.patch Patch8: v2013.10-sunxi.patch
Patch9: am335x_evm-bootscr.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4 # Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0 BuildRequires: dtc >= 1.4.0
@ -78,6 +79,7 @@ rm -rf board/Marvell
%patch6 %patch6
%patch7 %patch7
%patch8 -p1 %patch8 -p1
%patch9 -p1
%build %build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" rpi_b_config make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" rpi_b_config

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 30 18:37:50 UTC 2013 - matwey.kornilov@gmail.com
- Add am335x_evm-bootscr.patch: Add bootscr to AM335x
platform based devices
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org Tue Dec 17 14:33:52 UTC 2013 - guillaume@opensuse.org

View File

@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
Patch6: origen-ext2.patch Patch6: origen-ext2.patch
Patch7: arndale.patch Patch7: arndale.patch
Patch8: v2013.10-sunxi.patch Patch8: v2013.10-sunxi.patch
Patch9: am335x_evm-bootscr.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4 # Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0 BuildRequires: dtc >= 1.4.0
@ -78,6 +79,7 @@ rm -rf board/Marvell
%patch6 %patch6
%patch7 %patch7
%patch8 -p1 %patch8 -p1
%patch9 -p1
%build %build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" BOARDCONFIG make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" BOARDCONFIG