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:
parent
9a7b58c834
commit
effb499486
47
am335x_evm-bootscr.patch
Normal file
47
am335x_evm-bootscr.patch
Normal 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; " \
|
@ -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
|
||||
|
||||
|
@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
|
||||
Patch6: origen-ext2.patch
|
||||
Patch7: arndale.patch
|
||||
Patch8: v2013.10-sunxi.patch
|
||||
Patch9: am335x_evm-bootscr.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
@ -78,6 +79,7 @@ rm -rf board/Marvell
|
||||
%patch6
|
||||
%patch7
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" am335x_evm_config
|
||||
|
@ -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
|
||||
|
||||
|
@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
|
||||
Patch6: origen-ext2.patch
|
||||
Patch7: arndale.patch
|
||||
Patch8: v2013.10-sunxi.patch
|
||||
Patch9: am335x_evm-bootscr.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
@ -78,6 +79,7 @@ rm -rf board/Marvell
|
||||
%patch6
|
||||
%patch7
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" arndale_config
|
||||
|
@ -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
|
||||
|
||||
|
@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
|
||||
Patch6: origen-ext2.patch
|
||||
Patch7: arndale.patch
|
||||
Patch8: v2013.10-sunxi.patch
|
||||
Patch9: am335x_evm-bootscr.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
@ -78,6 +79,7 @@ rm -rf board/Marvell
|
||||
%patch6
|
||||
%patch7
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" cubieboard_config
|
||||
|
@ -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
|
||||
|
||||
|
@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
|
||||
Patch6: origen-ext2.patch
|
||||
Patch7: arndale.patch
|
||||
Patch8: v2013.10-sunxi.patch
|
||||
Patch9: am335x_evm-bootscr.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
@ -78,6 +79,7 @@ rm -rf board/Marvell
|
||||
%patch6
|
||||
%patch7
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" highbank_config
|
||||
|
@ -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
|
||||
|
||||
|
@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
|
||||
Patch6: origen-ext2.patch
|
||||
Patch7: arndale.patch
|
||||
Patch8: v2013.10-sunxi.patch
|
||||
Patch9: am335x_evm-bootscr.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
@ -78,6 +79,7 @@ rm -rf board/Marvell
|
||||
%patch6
|
||||
%patch7
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" hyundai_a7hd_config
|
||||
|
@ -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
|
||||
|
||||
|
@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
|
||||
Patch6: origen-ext2.patch
|
||||
Patch7: arndale.patch
|
||||
Patch8: v2013.10-sunxi.patch
|
||||
Patch9: am335x_evm-bootscr.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
@ -78,6 +79,7 @@ rm -rf board/Marvell
|
||||
%patch6
|
||||
%patch7
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mele_a1000_config
|
||||
|
@ -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
|
||||
|
||||
|
@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
|
||||
Patch6: origen-ext2.patch
|
||||
Patch7: arndale.patch
|
||||
Patch8: v2013.10-sunxi.patch
|
||||
Patch9: am335x_evm-bootscr.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
@ -78,6 +79,7 @@ rm -rf board/Marvell
|
||||
%patch6
|
||||
%patch7
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx53loco_config
|
||||
|
@ -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
|
||||
|
||||
|
@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
|
||||
Patch6: origen-ext2.patch
|
||||
Patch7: arndale.patch
|
||||
Patch8: v2013.10-sunxi.patch
|
||||
Patch9: am335x_evm-bootscr.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
@ -78,6 +79,7 @@ rm -rf board/Marvell
|
||||
%patch6
|
||||
%patch7
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap3_beagle_config
|
||||
|
@ -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
|
||||
|
||||
|
@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
|
||||
Patch6: origen-ext2.patch
|
||||
Patch7: arndale.patch
|
||||
Patch8: v2013.10-sunxi.patch
|
||||
Patch9: am335x_evm-bootscr.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
@ -78,6 +79,7 @@ rm -rf board/Marvell
|
||||
%patch6
|
||||
%patch7
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap4_panda_config
|
||||
|
@ -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
|
||||
|
||||
|
@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
|
||||
Patch6: origen-ext2.patch
|
||||
Patch7: arndale.patch
|
||||
Patch8: v2013.10-sunxi.patch
|
||||
Patch9: am335x_evm-bootscr.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
@ -78,6 +79,7 @@ rm -rf board/Marvell
|
||||
%patch6
|
||||
%patch7
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" origen_config
|
||||
|
@ -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
|
||||
|
||||
|
@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
|
||||
Patch6: origen-ext2.patch
|
||||
Patch7: arndale.patch
|
||||
Patch8: v2013.10-sunxi.patch
|
||||
Patch9: am335x_evm-bootscr.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
@ -78,6 +79,7 @@ rm -rf board/Marvell
|
||||
%patch6
|
||||
%patch7
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" rpi_b_config
|
||||
|
@ -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
|
||||
|
||||
|
@ -42,6 +42,7 @@ Patch5: mx53loco-bootscr.patch
|
||||
Patch6: origen-ext2.patch
|
||||
Patch7: arndale.patch
|
||||
Patch8: v2013.10-sunxi.patch
|
||||
Patch9: am335x_evm-bootscr.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
@ -78,6 +79,7 @@ rm -rf board/Marvell
|
||||
%patch6
|
||||
%patch7
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" BOARDCONFIG
|
||||
|
Loading…
Reference in New Issue
Block a user