SHA256
1
0
forked from pool/u-boot

Accepting request 229036 from Base:System

- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)

- add u-boot-snow (for Chromebook ARM)

- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)

- add u-boot-snow (for Chromebook ARM)

- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)

- add u-boot-snow (for Chromebook ARM)

- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)

- add u-boot-snow (for Chromebook ARM)

- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)

- add u-boot-snow (for Chromebook ARM)

- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)

- add u-boot-snow (for Chromebook ARM)

- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)

- add u-boot-snow (for Chromebook ARM)

- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)

OBS-URL: https://build.opensuse.org/request/show/229036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=24
This commit is contained in:
Stephan Kulow 2014-04-08 20:37:34 +00:00 committed by Git OBS Bridge
parent 78ade92333
commit 2bae78bb08
37 changed files with 1622 additions and 1 deletions

32
exynos5-dt.h.patch Normal file
View File

@ -0,0 +1,32 @@
--- include/configs/exynos5-dt.h.orig 2014-02-04 10:19:32.915229302 +0100
+++ include/configs/exynos5-dt.h 2014-02-05 16:15:04.818804877 +0100
@@ -83,12 +83,25 @@
#define CONFIG_CONSOLE_MUX
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
#define EXYNOS_DEVICE_SETTINGS \
- "stdin=serial,cros-ec-keyb\0" \
- "stdout=serial,lcd\0" \
- "stderr=serial,lcd\0"
+ "stdin=cros-ec-keyb\0" \
+ "stdout=lcd\0" \
+ "stderr=lcd\0"
#define CONFIG_EXTRA_ENV_SETTINGS \
- EXYNOS_DEVICE_SETTINGS
+ EXYNOS_DEVICE_SETTINGS \
+ "loadaddr=0x40007000\0" \
+ "rdaddr=0x4f000000\0" \
+ "kerneladdr=0x40007000\0" \
+ "ramdiskaddr=0x4f000000\0" \
+ "console=tty\0" \
+ "mmcdev=1:2\0" \
+ "bootenv=uEnv.txt\0" \
+ "loadbootenv=ext2load mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
+ "importbootenv=echo Importing environment from mmc ...; " \
+ "env import -t $loadaddr $filesize\0" \
+ "loadbootscript=ext2load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
+ "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
+ "source ${loadaddr}\0"
/* SD/MMC configuration */
#define CONFIG_GENERIC_MMC

View File

@ -0,0 +1,11 @@
--- include/configs/exynos5250-dt.h.orig 2014-02-04 10:11:19.387527096 +0100
+++ include/configs/exynos5250-dt.h 2014-02-04 10:11:38.979179142 +0100
@@ -14,7 +14,7 @@
#define CONFIG_EXYNOS5250
#define CONFIG_SYS_SDRAM_BASE 0x40000000
-#define CONFIG_SYS_TEXT_BASE 0x43E00000
+#define CONFIG_SYS_TEXT_BASE 0x47E00000
/* MACH_TYPE_SMDK5250 macro will be removed once added to mach-types */
#define MACH_TYPE_SMDK5250 3774

View File

@ -0,0 +1,43 @@
--- ./include/configs/nitrogen6x.h.orig 2014-03-31 23:17:24.341995637 +0200
+++ ./include/configs/nitrogen6x.h 2014-04-03 10:07:06.314594508 +0200
@@ -183,13 +183,12 @@
"fdt_addr=0x18000000\0" \
"boot_fdt=try\0" \
"ip_dyn=yes\0" \
- "mmcdev=0\0" \
+ "mmcdevs=0 1\0" \
"mmcpart=1\0" \
"mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
"mmcargs=setenv bootargs console=${console},${baudrate} " \
"root=${mmcroot}\0" \
- "loadbootscript=" \
- "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
+ "loadbootscript=load mmc ${mmcdev} ${loadaddr} ${script};\0" \
"bootscript=echo Running bootscript from mmc ...; " \
"source\0" \
"loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \
@@ -235,16 +234,14 @@
"fi;\0"
#define CONFIG_BOOTCOMMAND \
- "mmc dev ${mmcdev}; if mmc rescan; then " \
- "if run loadbootscript; then " \
- "run bootscript; " \
- "else " \
- "if run loaduimage; then " \
- "run mmcboot; " \
- "else run netboot; " \
- "fi; " \
- "fi; " \
- "else run netboot; fi"
+ "for mmcdev in ${mmcdevs}; do " \
+ "mmc dev ${mmcdev}; " \
+ "if mmc rescan; then " \
+ "if run loadbootscript; then " \
+ "run bootscript; " \
+ "fi; " \
+ "fi; " \
+ "done;"
#else
#define CONFIG_EXTRA_ENV_SETTINGS \
"console=ttymxc1\0" \

34
fix_snow_config.patch Normal file
View File

@ -0,0 +1,34 @@
--- include/configs/snow.h.orig 2014-02-04 10:21:12.328756964 +0100
+++ include/configs/snow.h 2014-02-05 16:15:08.265722911 +0100
@@ -14,4 +14,31 @@
#undef CONFIG_DEFAULT_DEVICE_TREE
#define CONFIG_DEFAULT_DEVICE_TREE exynos5250-snow
+#undef CONFIG_BOOTCOMMAND
+#define CONFIG_BOOTCOMMAND \
+ "if mmc rescan ${mmcdev}; 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 loadbootscript; then " \
+ "run bootscript; " \
+ "fi; " \
+ "fi;"
+
+#define CONFIG_PRE_CONSOLE_BUFFER
+#define CONFIG_PRE_CON_BUF_SZ 0x100000
+#define CONFIG_PRE_CON_BUF_ADDR 0x41f00000
+
+#define DEBUG
+#undef CONFIG_SPL
+#undef CONFIG_SYS_THUMB_BUILD
+#undef CONFIG_SYS_ARM_CACHE_WRITETHROUGH
+#undef CONFIG_SILENT_CONSOLE
+
#endif /* __CONFIG_SNOW_H */

View File

@ -4,7 +4,7 @@ BOARDNAME="$1"
BOARDCONFIG="$2"
if [ ! "$1" -o ! "$2" ]; then
for BOARDCONFIG in omap3_beagle omap4_panda am335x_evm arndale highbank mx53loco rpi_b cubieboard cubieboard2 hyundai_a7hd mele_a1000 colibri_t20_iris paz00; do
for BOARDCONFIG in omap3_beagle omap4_panda am335x_evm arndale highbank mx53loco mx6qsabrelite rpi_b cubieboard cubieboard2 hyundai_a7hd mele_a1000 colibri_t20_iris paz00 snow; do
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_')"
BOARDCONFIG=${BOARDCONFIG}_config
bash $0 $BOARDNAME $BOARDCONFIG
@ -28,6 +28,7 @@ mx*|efika*) BINEND=imx ;;
SUNXI_SPL=1 ;;
*hyundai_a7hd*) BINEND=bin
SUNXI_SPL=1 ;;
*snow*) BINEND=img ;;
*) BINEND=bin ;;
esac

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 27 14:22:23 UTC 2014 - guillaume@opensuse.org
- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
-------------------------------------------------------------------
Wed Feb 5 15:07:30 UTC 2014 - guillaume@opensuse.org
- add u-boot-snow (for Chromebook ARM)
-------------------------------------------------------------------
Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org

View File

@ -45,6 +45,10 @@ Patch9: am335x_evm-bootscr.patch
Patch10: rpi_b-bootscr.patch
Patch11: gnuhash.patch
Patch12: fix_spl_build_for_am335x.patch
Patch13: fix_sabrelite_boot.scr.patch
Patch20: fix_exynos5_text_base.patch
Patch21: fix_snow_config.patch
Patch22: exynos5-dt.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0
@ -84,12 +88,24 @@ rm -rf board/Marvell
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" am335x_evm_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%install
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 27 14:22:23 UTC 2014 - guillaume@opensuse.org
- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
-------------------------------------------------------------------
Wed Feb 5 15:07:30 UTC 2014 - guillaume@opensuse.org
- add u-boot-snow (for Chromebook ARM)
-------------------------------------------------------------------
Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org

View File

@ -45,6 +45,10 @@ Patch9: am335x_evm-bootscr.patch
Patch10: rpi_b-bootscr.patch
Patch11: gnuhash.patch
Patch12: fix_spl_build_for_am335x.patch
Patch13: fix_sabrelite_boot.scr.patch
Patch20: fix_exynos5_text_base.patch
Patch21: fix_snow_config.patch
Patch22: exynos5-dt.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0
@ -84,12 +88,24 @@ rm -rf board/Marvell
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" arndale_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%install
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 27 14:22:23 UTC 2014 - guillaume@opensuse.org
- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
-------------------------------------------------------------------
Wed Feb 5 15:07:30 UTC 2014 - guillaume@opensuse.org
- add u-boot-snow (for Chromebook ARM)
-------------------------------------------------------------------
Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org

View File

@ -45,6 +45,10 @@ Patch9: am335x_evm-bootscr.patch
Patch10: rpi_b-bootscr.patch
Patch11: gnuhash.patch
Patch12: fix_spl_build_for_am335x.patch
Patch13: fix_sabrelite_boot.scr.patch
Patch20: fix_exynos5_text_base.patch
Patch21: fix_snow_config.patch
Patch22: exynos5-dt.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0
@ -84,12 +88,24 @@ rm -rf board/Marvell
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" colibri_t20_iris_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%install
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 27 14:22:23 UTC 2014 - guillaume@opensuse.org
- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
-------------------------------------------------------------------
Wed Feb 5 15:07:30 UTC 2014 - guillaume@opensuse.org
- add u-boot-snow (for Chromebook ARM)
-------------------------------------------------------------------
Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org

View File

@ -45,6 +45,10 @@ Patch9: am335x_evm-bootscr.patch
Patch10: rpi_b-bootscr.patch
Patch11: gnuhash.patch
Patch12: fix_spl_build_for_am335x.patch
Patch13: fix_sabrelite_boot.scr.patch
Patch20: fix_exynos5_text_base.patch
Patch21: fix_snow_config.patch
Patch22: exynos5-dt.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0
@ -84,12 +88,24 @@ rm -rf board/Marvell
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" cubieboard_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%install
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 27 14:22:23 UTC 2014 - guillaume@opensuse.org
- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
-------------------------------------------------------------------
Wed Feb 5 15:07:30 UTC 2014 - guillaume@opensuse.org
- add u-boot-snow (for Chromebook ARM)
-------------------------------------------------------------------
Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org

View File

@ -45,6 +45,10 @@ Patch9: am335x_evm-bootscr.patch
Patch10: rpi_b-bootscr.patch
Patch11: gnuhash.patch
Patch12: fix_spl_build_for_am335x.patch
Patch13: fix_sabrelite_boot.scr.patch
Patch20: fix_exynos5_text_base.patch
Patch21: fix_snow_config.patch
Patch22: exynos5-dt.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0
@ -84,12 +88,24 @@ rm -rf board/Marvell
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" cubieboard2_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%install
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 27 14:22:23 UTC 2014 - guillaume@opensuse.org
- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
-------------------------------------------------------------------
Wed Feb 5 15:07:30 UTC 2014 - guillaume@opensuse.org
- add u-boot-snow (for Chromebook ARM)
-------------------------------------------------------------------
Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org

View File

@ -45,6 +45,10 @@ Patch9: am335x_evm-bootscr.patch
Patch10: rpi_b-bootscr.patch
Patch11: gnuhash.patch
Patch12: fix_spl_build_for_am335x.patch
Patch13: fix_sabrelite_boot.scr.patch
Patch20: fix_exynos5_text_base.patch
Patch21: fix_snow_config.patch
Patch22: exynos5-dt.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0
@ -84,12 +88,24 @@ rm -rf board/Marvell
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" highbank_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%install
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 27 14:22:23 UTC 2014 - guillaume@opensuse.org
- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
-------------------------------------------------------------------
Wed Feb 5 15:07:30 UTC 2014 - guillaume@opensuse.org
- add u-boot-snow (for Chromebook ARM)
-------------------------------------------------------------------
Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org

View File

@ -45,6 +45,10 @@ Patch9: am335x_evm-bootscr.patch
Patch10: rpi_b-bootscr.patch
Patch11: gnuhash.patch
Patch12: fix_spl_build_for_am335x.patch
Patch13: fix_sabrelite_boot.scr.patch
Patch20: fix_exynos5_text_base.patch
Patch21: fix_snow_config.patch
Patch22: exynos5-dt.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0
@ -84,12 +88,24 @@ rm -rf board/Marvell
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" hyundai_a7hd_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%install
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 27 14:22:23 UTC 2014 - guillaume@opensuse.org
- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
-------------------------------------------------------------------
Wed Feb 5 15:07:30 UTC 2014 - guillaume@opensuse.org
- add u-boot-snow (for Chromebook ARM)
-------------------------------------------------------------------
Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org

View File

@ -45,6 +45,10 @@ Patch9: am335x_evm-bootscr.patch
Patch10: rpi_b-bootscr.patch
Patch11: gnuhash.patch
Patch12: fix_spl_build_for_am335x.patch
Patch13: fix_sabrelite_boot.scr.patch
Patch20: fix_exynos5_text_base.patch
Patch21: fix_snow_config.patch
Patch22: exynos5-dt.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0
@ -84,12 +88,24 @@ rm -rf board/Marvell
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mele_a1000_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%install
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 27 14:22:23 UTC 2014 - guillaume@opensuse.org
- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
-------------------------------------------------------------------
Wed Feb 5 15:07:30 UTC 2014 - guillaume@opensuse.org
- add u-boot-snow (for Chromebook ARM)
-------------------------------------------------------------------
Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org

View File

@ -45,6 +45,10 @@ Patch9: am335x_evm-bootscr.patch
Patch10: rpi_b-bootscr.patch
Patch11: gnuhash.patch
Patch12: fix_spl_build_for_am335x.patch
Patch13: fix_sabrelite_boot.scr.patch
Patch20: fix_exynos5_text_base.patch
Patch21: fix_snow_config.patch
Patch22: exynos5-dt.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0
@ -84,12 +88,24 @@ rm -rf board/Marvell
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx53loco_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%install
install -D -m 0644 u-boot.imx %{buildroot}/boot/u-boot.imx

View File

@ -0,0 +1,415 @@
-------------------------------------------------------------------
Thu Mar 27 14:22:23 UTC 2014 - guillaume@opensuse.org
- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
-------------------------------------------------------------------
Wed Feb 5 15:07:30 UTC 2014 - guillaume@opensuse.org
- add u-boot-snow (for Chromebook ARM)
-------------------------------------------------------------------
Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org
- Fix boot.scr location for beagle and origen
-------------------------------------------------------------------
Thu Jan 30 14:28:34 UTC 2014 - dmueller@suse.com
- add u-boot-cubieboard2
-------------------------------------------------------------------
Thu Jan 30 06:46:45 UTC 2014 - afaerber@suse.de
- Drop 0006-ARMV7-hardfp-build-fix.patch:
v2014.01 checks if -msoft-float compiles okay, and
U-Boot is soft-float according to Tom Rini
-------------------------------------------------------------------
Tue Jan 28 15:29:14 UTC 2014 - guillaume@opensuse.org
- Disable CONFIG_SPL_OS_BOOT for ti armv7 configs with
fix_spl_build_for_am335x.patch to reduce size of am335x SPL
-------------------------------------------------------------------
Sat Jan 26 22:46:44 UTC 2014 - afaerber@suse.de
- Update to v2014.01
* Manually updated 0006-ARMV7-hardfp-build-fix.patch
* Dropped v2013.10-sunxi.patch and created
v2014.01-sunxi.patch by merging u-boot.git v2014.01 onto
u-boot-sunxi.git e4a0232e173577893604b94fc3af7c047570970b
* Added gnuhash.patch to fix .gnu.hash section handling in ldscripts
* Rebased mlo-ext2.patch:
omap4_common.h CONFIG_SUPPORT_RAW_INITRD hunk is now covered by
ti_common_initrd_support.patch.
am335xevm build is known breaking due to size constraints not
trivially solvable without dropping our patch.
-------------------------------------------------------------------
Sun Jan 26 12:14:10 UTC 2014 - afaerber@suse.de
- Fix regression in packaging u-boot-dtb-tegra.bin:
There is in fact a u-boot-spl.bin SPL being built,
but it is 0xff-padded as u-boot-spl-pad.bin and then
prepended to u-boot.bin and the .dtb.
u-boot-dtb.bin exists independently as just u-boot.bin and .dtb,
so give preference to u-boot-dtb-tegra.bin over u-boot-dtb.bin.
-------------------------------------------------------------------
Mon Jan 20 14:05:13 UTC 2014 - agraf@suse.com
- The "Tegra SPL" is not an SPL but a differently named u-boot.bin
file. Fix up the generation scripts.
-------------------------------------------------------------------
Sun Jan 19 00:09:41 UTC 2014 - afaerber@suse.de
- Include Tegra SPL for Colibri T20
-------------------------------------------------------------------
Wed Jan 8 17:26:10 UTC 2014 - agraf@suse.com
- switch raspberry to ext2
-------------------------------------------------------------------
Wed Jan 8 13:41:32 UTC 2014 - matwey.kornilov@gmail.com
- am335x_evm-bootscr.patch: Search for files in /boot, not in /boot/boot
-------------------------------------------------------------------
Wed Jan 8 02:07:44 UTC 2014 - afaerber@suse.de
- rpi_b-bootscr.patch: Change rpi_b to use boot.scr
-------------------------------------------------------------------
Tue Jan 7 16:01:13 UTC 2014 - dmueller@suse.com
- remove origin flavor
-------------------------------------------------------------------
Mon Jan 6 22:57:05 UTC 2014 - afaerber@suse.de
- Enable paz00 config (Toshiba AC100)
-------------------------------------------------------------------
Mon Jan 6 21:34:03 UTC 2014 - afaerber@suse.de
- Enable colibri_t20_iris config (Toradex Colibri-T20 on Iris)
- Update u-boot.spec.in copyright and fix typo in comment
-------------------------------------------------------------------
Sat Jan 4 01:47:50 UTC 2014 - agraf@suse.com
- prefer u-boot-dtb.bin over u-boot.bin
- simplify files section
-------------------------------------------------------------------
Fri Jan 3 16:54:30 UTC 2014 - dmueller@suse.com
- mlo-ext2.patch: Search for files in /boot, not in /boot/boot
-------------------------------------------------------------------
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
- Remove old unused patches:
* v2013.04-sunxi.patch
* loadaddr-defaults.patch
-------------------------------------------------------------------
Tue Dec 17 14:10:51 UTC 2013 - guillaume@opensuse.org
- Add ti_common_initrd_support.patch to enable initrd support for
AM335x boards
-------------------------------------------------------------------
Tue Dec 17 14:03:50 UTC 2013 - guillaume@opensuse.org
- Add am335x_evm support which includes: Beagle Bone,
Beagle Bone Black, TI AM335x EVM, TI AM335x EVM-SK
-------------------------------------------------------------------
Tue Nov 26 13:46:22 UTC 2013 - guillaume@opensuse.org
- Add Arndale support
-------------------------------------------------------------------
Tue Nov 26 13:05:10 UTC 2013 - guillaume@opensuse.org
- Update v2013.04-sunxi.patch to v2013.10-sunxi.patch
-------------------------------------------------------------------
Mon Nov 25 10:05:48 UTC 2013 - guillaume@opensuse.org
- Remove kerneladdr and ramdiskaddr definition in u-boot patches
(now done in JeOS image with u-boot hooks)
- Update patches to current version:
* 0006-ARMV7-hardfp-build-fix.patch
* beagle-bootscr.patch
* mx53loco-bootscr.patch
* mlo-ext2.patch
- Merge fix_omap4_ext2_boot.patch in mlo-ext2.patch
- Rename exynos-ext2.patch in origen-ext2.patch
-------------------------------------------------------------------
Mon Nov 25 09:57:12 UTC 2013 - guillaume@opensuse.org
- Update to 2013.10
-------------------------------------------------------------------
Fri Nov 22 16:25:36 UTC 2013 - guillaume@opensuse.org
- Fix OMAP4 pandaboard EXT2 boot
-------------------------------------------------------------------
Fri Sep 13 11:31:14 UTC 2013 - guillaume@opensuse.org
- Fix u-boot.bin and boot.scr place since they are now in boot/ folder.
-------------------------------------------------------------------
Wed May 1 20:48:30 UTC 2013 - dmueller@suse.com
- add support for cubieboard, hyundaia7hd, melea1000
-------------------------------------------------------------------
Wed May 1 08:18:26 UTC 2013 - dmueller@suse.com
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
-------------------------------------------------------------------
Thu Apr 11 17:05:58 UTC 2013 - guillaume.gardet@opensuse.org
- add omap3_beagle to targets
-------------------------------------------------------------------
Thu Apr 11 16:05:41 UTC 2013 - dmueller@suse.com
- remove u8500href subpackage, kernel got dropped
-------------------------------------------------------------------
Sun Apr 7 14:32:20 UTC 2013 - agraf@suse.com
- update to 2013.04rc2
- enable bootz support on all boards
-------------------------------------------------------------------
Wed Mar 20 07:21:06 UTC 2013 - agraf@suse.com
- fix mlo-ext2.patch to actually use the ext4 infrastructure
-------------------------------------------------------------------
Sat Jan 26 10:38:07 UTC 2013 - dmueller@suse.com
- update mlo-ext2.patch:
* use the ext4 driver now since ext2 got removed
-------------------------------------------------------------------
Wed Oct 24 22:33:13 UTC 2012 - agraf@suse.com
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
-------------------------------------------------------------------
Wed Oct 24 01:37:36 CEST 2012 - agraf@suse.de
- update to 2012.10:
- refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
loadaddr-defaults.patch, mx53loco-bootscr.patch
-------------------------------------------------------------------
Mon Oct 22 12:00:22 UTC 2012 - agraf@suse.com
- fix origen by putting the ramdisk higher
-------------------------------------------------------------------
Mon Aug 6 09:39:54 UTC 2012 - dmueller@suse.com
- remove Marvell sources as they are non-free licensed (bnc#773824)
-------------------------------------------------------------------
Thu Jul 26 18:21:44 UTC 2012 - agraf@suse.com
- fix ext2 support for origen
- add origen-spl.bin for origen
-------------------------------------------------------------------
Thu Jul 26 09:47:31 UTC 2012 - dmueller@suse.com
- merge u-boot-tools
-------------------------------------------------------------------
Wed Jul 25 21:05:08 UTC 2012 - agraf@suse.com
- add ext2 support by default in mx53loco
-------------------------------------------------------------------
Tue Jul 24 21:28:59 UTC 2012 - agraf@suse.com
- add support for mx53loco
-------------------------------------------------------------------
Tue Jul 24 11:25:42 UTC 2012 - dmueller@suse.com
- remove u-boot-omap3beagle
-------------------------------------------------------------------
Mon Jul 23 22:34:04 UTC 2012 - agraf@suse.com
- bump to 2012.04.01
- fixes bug in cmdline parsing
-------------------------------------------------------------------
Mon Jul 23 22:26:47 UTC 2012 - agraf@suse.com
- add calxeda highbank support
-------------------------------------------------------------------
Thu Jul 12 12:51:56 UTC 2012 - agraf@suse.com
- autoload boot.scr on beagle, so we can boot again
-------------------------------------------------------------------
Thu Jul 12 08:12:15 UTC 2012 - agraf@suse.com
- update to upstream u-boot 2012.04
-> gets rid of linaro fork, only mainline now
-> gets us omap3 MLO support, no more need for x-loader
-> potentially fixes voltage issues on omap4
-------------------------------------------------------------------
Thu Jun 14 09:04:53 UTC 2012 - adrian@suse.de
- add SUSE style conflicts to avoid installation of multiple
boot loaders
-------------------------------------------------------------------
Tue Apr 17 11:59:55 UTC 2012 - joop.boonen@opensuse.org
- Included u-boot.spec.in and gen_spec.sh in the spec file
-------------------------------------------------------------------
Mon Feb 6 13:25:09 UTC 2012 - agraf@suse.com
- use ext2 on panda
-------------------------------------------------------------------
Tue Dec 20 02:36:05 UTC 2011 - agraf@suse.com
- use ttyO2 as default console= on OMAP boards
-------------------------------------------------------------------
Mon Dec 19 20:21:21 UTC 2011 - agraf@suse.com
- add u8500_href and origen configs
-------------------------------------------------------------------
Fri Dec 16 16:03:01 UTC 2011 - agraf@suse.com
- fix lint failures
-------------------------------------------------------------------
Fri Dec 16 14:46:53 CET 2011 - agraf@suse.com
- don't install map
-------------------------------------------------------------------
Fri Dec 16 02:16:19 UTC 2011 - agraf@suse.com
- generalize spec file to be able to build for more boards
- add beagle board spec file
- remove boot.scr
-------------------------------------------------------------------
Fri Dec 16 01:15:47 UTC 2011 - agraf@suse.com
- rename to u-boot-omap4panda
-------------------------------------------------------------------
Tue Dec 13 17:24:45 UTC 2011 - dkukawka@suse.de
- new package based on u-boot-omap4panda but use linaro u-boot git
repo (http://git.linaro.org/git/boot/u-boot-linaro-stable.git)
instead of mainline u-boot. This package also contains the MLO
(this package obsoletes the x-loader package)
-------------------------------------------------------------------
Tue Nov 29 22:53:44 UTC 2011 - joop.boonen@opensuse.org
- COPYING CREDITS README are now in the standard package
-------------------------------------------------------------------
Thu Nov 24 21:08:58 UTC 2011 - joop.boonen@opensuse.org
- Corrected the links
-------------------------------------------------------------------
Tue Nov 22 17:47:17 UTC 2011 - joop.boonen@opensuse.org
- Build without u-boot tools as we have a u-boot-tools packages
-------------------------------------------------------------------
Sun Nov 20 17:00:43 UTC 2011 - joop.boonen@opensuse.org
- Cleaned the spec file up the spec file
- The name is the same as the package name
-------------------------------------------------------------------
Sun Nov 13 13:13:39 UTC 2011 - joop.boonen@opensuse.org
- Build u-boot according to http://elinux.org/Panda_How_to_MLO_&_u-boot
- Using .txt config file instead of .scr it's gerated via mkimage
-------------------------------------------------------------------
Wed Nov 09 22:55:09 UTC 2011 - joop.boonen@opensuse.org
- Used scr file based on http://elinux.org definition
- Build u-boot 20111109
- Used the Meego panda u-boot as a base
-------------------------------------------------------------------
Fri Feb 18 00:00:00 UTC 2011 - raghuveer.murthy@ti.com>
- 2010.09-MeeGo
- Fix for u-boot fails to compile on armv7hl, BMC#13140
-------------------------------------------------------------------
Thu Nov 18 00:00:00 UTC 2010 - peter.j.zhu@intel.com>
- 2010.09-MeeGo
- Don't build against i586, BMC#10159
-------------------------------------------------------------------
Tue Oct 10 00:00:00 UTC 2010 - nm@ti.com>
- 2010.09-MeeGo
- Add Das u-boot package - FEA#9723
-------------------------------------------------------------------
Tue Oct 10 00:00:00 UTC 2010 - nm@ti.com>
- 2010.09.rc1-MeeGo
- Added option to enable boot.scr generation and copy
-------------------------------------------------------------------
Mon Oct 04 00:00:00 UTC 2010 - nm@ti.com>
- 2010.09.rc1-MeeGo
- Update to 2010.09
-------------------------------------------------------------------
Wed Sep 14 00:00:00 UTC 2010 - nm@ti.com>
- 2010.09.rc1-MeeGo
- Update to 2010.09.rc1
- MeeGo customization
- Enabled PandaBoard, Beagleboard build
-------------------------------------------------------------------
Wed Mar 31 00:00:00 UTC 2010 - silvan.calarco@mambasoft.it>
- 2009.11.1-1mamba
- update to 2009.11.1
-------------------------------------------------------------------

153
u-boot-mx6qsabrelite.spec Normal file
View File

@ -0,0 +1,153 @@
#
# spec file for package u-boot-mx6qsabrelite
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
# Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define x_loader 0
%define origen_spl 0
%define sunxi_spl 0
%define arndale_spl 0
Name: u-boot-mx6qsabrelite
Version: 2014.01
Release: 0
Summary: The u-boot firmware for the mx6qsabrelite arm platform
License: GPL-2.0
Group: System/Boot
Url: http://www.denx.de/wiki/U-Boot
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
Source1: openSUSE_panda.txt
Source2: arndale-bl1.img
Source300: rpmlintrc
Patch2: mlo-ext2.patch
Patch3: ti_common_initrd_support.patch
Patch4: beagle-bootscr.patch
Patch5: mx53loco-bootscr.patch
Patch6: origen-ext2.patch
Patch7: arndale.patch
Patch8: v2014.01-sunxi.patch
Patch9: am335x_evm-bootscr.patch
Patch10: rpi_b-bootscr.patch
Patch11: gnuhash.patch
Patch12: fix_spl_build_for_am335x.patch
Patch13: fix_sabrelite_boot.scr.patch
Patch20: fix_exynos5_text_base.patch
Patch21: fix_snow_config.patch
Patch22: exynos5-dt.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0
Provides: u-boot-loader
Conflicts: otherproviders(u-boot-loader)
%if %x_loader == 1
Obsoletes: x-loader-mx6qsabrelite
Provides: x-loader-mx6qsabrelite
%endif
ExclusiveArch: %arm
%description
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
This package contains the firmware for the mx6qsabrelite arm platform.
%package doc
Summary: Documentation for the u-boot Firmware
Group: Documentation/Other
%description doc
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
This package contains documentation for u-boot firmware
%prep
%setup -q -n u-boot-%{version}
# is non-free licensed, and we don't need it (bnc#773824)
rm -rf board/Marvell
# Any custom patches to be applied on top of mainline u-boot
%patch2 -p1
%patch3
%patch4
%patch5
%patch6
%patch7
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx6qsabrelite_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%install
install -D -m 0644 u-boot.imx %{buildroot}/boot/u-boot.imx
# Some times u-boot needs a dtb to configure itself appended to the binary.
# In that case prefer the one with a working dtb already appended.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.imx %{buildroot}/boot/u-boot.imx
elif [ -f u-boot-dtb.imx ]; then
install -D -m 0644 u-boot-dtb.imx %{buildroot}/boot/u-boot.imx
else
install -D -m 0644 u-boot.imx %{buildroot}/boot/u-boot.imx
fi
%if %x_loader == 1
install -D -m 0755 MLO %{buildroot}/boot/MLO
%endif
%if %origen_spl == 1
install -D -m 0755 spl/origen-spl.bin %{buildroot}/boot/origen-spl.bin
%endif
%if %arndale_spl == 1
install -D -m 0755 spl/arndale-spl.bin %{buildroot}/boot/arndale-spl.bin
install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
%endif
%if %sunxi_spl == 1
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
%endif
%files
%defattr(-,root,root)
/boot/*
%doc Licenses/gpl-2.0.txt CREDITS README
%files doc
%defattr(-,root,root)
# Generic documents
%doc doc/README.JFFS2 doc/README.JFFS2_NAND doc/README.commands
%doc doc/README.autoboot doc/README.commands doc/README.console doc/README.dns
%doc doc/README.hwconfig doc/README.nand doc/README.NetConsole doc/README.serial_multi
%doc doc/README.SNTP doc/README.standalone doc/README.update doc/README.usb
%doc doc/README.video doc/README.VLAN doc/README.silent doc/README.POST doc/README.Modem
# Copy some useful kermit scripts as well
%doc tools/scripts/dot.kermrc tools/scripts/flash_param tools/scripts/send_cmd tools/scripts/send_image
# Now any h/w dependent Documentation
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
%changelog

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 27 14:22:23 UTC 2014 - guillaume@opensuse.org
- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
-------------------------------------------------------------------
Wed Feb 5 15:07:30 UTC 2014 - guillaume@opensuse.org
- add u-boot-snow (for Chromebook ARM)
-------------------------------------------------------------------
Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org

View File

@ -45,6 +45,10 @@ Patch9: am335x_evm-bootscr.patch
Patch10: rpi_b-bootscr.patch
Patch11: gnuhash.patch
Patch12: fix_spl_build_for_am335x.patch
Patch13: fix_sabrelite_boot.scr.patch
Patch20: fix_exynos5_text_base.patch
Patch21: fix_snow_config.patch
Patch22: exynos5-dt.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0
@ -84,12 +88,24 @@ rm -rf board/Marvell
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap3_beagle_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%install
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 27 14:22:23 UTC 2014 - guillaume@opensuse.org
- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
-------------------------------------------------------------------
Wed Feb 5 15:07:30 UTC 2014 - guillaume@opensuse.org
- add u-boot-snow (for Chromebook ARM)
-------------------------------------------------------------------
Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org

View File

@ -45,6 +45,10 @@ Patch9: am335x_evm-bootscr.patch
Patch10: rpi_b-bootscr.patch
Patch11: gnuhash.patch
Patch12: fix_spl_build_for_am335x.patch
Patch13: fix_sabrelite_boot.scr.patch
Patch20: fix_exynos5_text_base.patch
Patch21: fix_snow_config.patch
Patch22: exynos5-dt.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0
@ -84,12 +88,24 @@ rm -rf board/Marvell
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap4_panda_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%install
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 27 14:22:23 UTC 2014 - guillaume@opensuse.org
- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
-------------------------------------------------------------------
Wed Feb 5 15:07:30 UTC 2014 - guillaume@opensuse.org
- add u-boot-snow (for Chromebook ARM)
-------------------------------------------------------------------
Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org

View File

@ -45,6 +45,10 @@ Patch9: am335x_evm-bootscr.patch
Patch10: rpi_b-bootscr.patch
Patch11: gnuhash.patch
Patch12: fix_spl_build_for_am335x.patch
Patch13: fix_sabrelite_boot.scr.patch
Patch20: fix_exynos5_text_base.patch
Patch21: fix_snow_config.patch
Patch22: exynos5-dt.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0
@ -84,12 +88,24 @@ rm -rf board/Marvell
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" paz00_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%install
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 27 14:22:23 UTC 2014 - guillaume@opensuse.org
- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
-------------------------------------------------------------------
Wed Feb 5 15:07:30 UTC 2014 - guillaume@opensuse.org
- add u-boot-snow (for Chromebook ARM)
-------------------------------------------------------------------
Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org

View File

@ -45,6 +45,10 @@ Patch9: am335x_evm-bootscr.patch
Patch10: rpi_b-bootscr.patch
Patch11: gnuhash.patch
Patch12: fix_spl_build_for_am335x.patch
Patch13: fix_sabrelite_boot.scr.patch
Patch20: fix_exynos5_text_base.patch
Patch21: fix_snow_config.patch
Patch22: exynos5-dt.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0
@ -84,12 +88,24 @@ rm -rf board/Marvell
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" rpi_b_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%install
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin

415
u-boot-snow.changes Normal file
View File

@ -0,0 +1,415 @@
-------------------------------------------------------------------
Thu Mar 27 14:22:23 UTC 2014 - guillaume@opensuse.org
- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
-------------------------------------------------------------------
Wed Feb 5 15:07:30 UTC 2014 - guillaume@opensuse.org
- add u-boot-snow (for Chromebook ARM)
-------------------------------------------------------------------
Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org
- Fix boot.scr location for beagle and origen
-------------------------------------------------------------------
Thu Jan 30 14:28:34 UTC 2014 - dmueller@suse.com
- add u-boot-cubieboard2
-------------------------------------------------------------------
Thu Jan 30 06:46:45 UTC 2014 - afaerber@suse.de
- Drop 0006-ARMV7-hardfp-build-fix.patch:
v2014.01 checks if -msoft-float compiles okay, and
U-Boot is soft-float according to Tom Rini
-------------------------------------------------------------------
Tue Jan 28 15:29:14 UTC 2014 - guillaume@opensuse.org
- Disable CONFIG_SPL_OS_BOOT for ti armv7 configs with
fix_spl_build_for_am335x.patch to reduce size of am335x SPL
-------------------------------------------------------------------
Sat Jan 26 22:46:44 UTC 2014 - afaerber@suse.de
- Update to v2014.01
* Manually updated 0006-ARMV7-hardfp-build-fix.patch
* Dropped v2013.10-sunxi.patch and created
v2014.01-sunxi.patch by merging u-boot.git v2014.01 onto
u-boot-sunxi.git e4a0232e173577893604b94fc3af7c047570970b
* Added gnuhash.patch to fix .gnu.hash section handling in ldscripts
* Rebased mlo-ext2.patch:
omap4_common.h CONFIG_SUPPORT_RAW_INITRD hunk is now covered by
ti_common_initrd_support.patch.
am335xevm build is known breaking due to size constraints not
trivially solvable without dropping our patch.
-------------------------------------------------------------------
Sun Jan 26 12:14:10 UTC 2014 - afaerber@suse.de
- Fix regression in packaging u-boot-dtb-tegra.bin:
There is in fact a u-boot-spl.bin SPL being built,
but it is 0xff-padded as u-boot-spl-pad.bin and then
prepended to u-boot.bin and the .dtb.
u-boot-dtb.bin exists independently as just u-boot.bin and .dtb,
so give preference to u-boot-dtb-tegra.bin over u-boot-dtb.bin.
-------------------------------------------------------------------
Mon Jan 20 14:05:13 UTC 2014 - agraf@suse.com
- The "Tegra SPL" is not an SPL but a differently named u-boot.bin
file. Fix up the generation scripts.
-------------------------------------------------------------------
Sun Jan 19 00:09:41 UTC 2014 - afaerber@suse.de
- Include Tegra SPL for Colibri T20
-------------------------------------------------------------------
Wed Jan 8 17:26:10 UTC 2014 - agraf@suse.com
- switch raspberry to ext2
-------------------------------------------------------------------
Wed Jan 8 13:41:32 UTC 2014 - matwey.kornilov@gmail.com
- am335x_evm-bootscr.patch: Search for files in /boot, not in /boot/boot
-------------------------------------------------------------------
Wed Jan 8 02:07:44 UTC 2014 - afaerber@suse.de
- rpi_b-bootscr.patch: Change rpi_b to use boot.scr
-------------------------------------------------------------------
Tue Jan 7 16:01:13 UTC 2014 - dmueller@suse.com
- remove origin flavor
-------------------------------------------------------------------
Mon Jan 6 22:57:05 UTC 2014 - afaerber@suse.de
- Enable paz00 config (Toshiba AC100)
-------------------------------------------------------------------
Mon Jan 6 21:34:03 UTC 2014 - afaerber@suse.de
- Enable colibri_t20_iris config (Toradex Colibri-T20 on Iris)
- Update u-boot.spec.in copyright and fix typo in comment
-------------------------------------------------------------------
Sat Jan 4 01:47:50 UTC 2014 - agraf@suse.com
- prefer u-boot-dtb.bin over u-boot.bin
- simplify files section
-------------------------------------------------------------------
Fri Jan 3 16:54:30 UTC 2014 - dmueller@suse.com
- mlo-ext2.patch: Search for files in /boot, not in /boot/boot
-------------------------------------------------------------------
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
- Remove old unused patches:
* v2013.04-sunxi.patch
* loadaddr-defaults.patch
-------------------------------------------------------------------
Tue Dec 17 14:10:51 UTC 2013 - guillaume@opensuse.org
- Add ti_common_initrd_support.patch to enable initrd support for
AM335x boards
-------------------------------------------------------------------
Tue Dec 17 14:03:50 UTC 2013 - guillaume@opensuse.org
- Add am335x_evm support which includes: Beagle Bone,
Beagle Bone Black, TI AM335x EVM, TI AM335x EVM-SK
-------------------------------------------------------------------
Tue Nov 26 13:46:22 UTC 2013 - guillaume@opensuse.org
- Add Arndale support
-------------------------------------------------------------------
Tue Nov 26 13:05:10 UTC 2013 - guillaume@opensuse.org
- Update v2013.04-sunxi.patch to v2013.10-sunxi.patch
-------------------------------------------------------------------
Mon Nov 25 10:05:48 UTC 2013 - guillaume@opensuse.org
- Remove kerneladdr and ramdiskaddr definition in u-boot patches
(now done in JeOS image with u-boot hooks)
- Update patches to current version:
* 0006-ARMV7-hardfp-build-fix.patch
* beagle-bootscr.patch
* mx53loco-bootscr.patch
* mlo-ext2.patch
- Merge fix_omap4_ext2_boot.patch in mlo-ext2.patch
- Rename exynos-ext2.patch in origen-ext2.patch
-------------------------------------------------------------------
Mon Nov 25 09:57:12 UTC 2013 - guillaume@opensuse.org
- Update to 2013.10
-------------------------------------------------------------------
Fri Nov 22 16:25:36 UTC 2013 - guillaume@opensuse.org
- Fix OMAP4 pandaboard EXT2 boot
-------------------------------------------------------------------
Fri Sep 13 11:31:14 UTC 2013 - guillaume@opensuse.org
- Fix u-boot.bin and boot.scr place since they are now in boot/ folder.
-------------------------------------------------------------------
Wed May 1 20:48:30 UTC 2013 - dmueller@suse.com
- add support for cubieboard, hyundaia7hd, melea1000
-------------------------------------------------------------------
Wed May 1 08:18:26 UTC 2013 - dmueller@suse.com
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
-------------------------------------------------------------------
Thu Apr 11 17:05:58 UTC 2013 - guillaume.gardet@opensuse.org
- add omap3_beagle to targets
-------------------------------------------------------------------
Thu Apr 11 16:05:41 UTC 2013 - dmueller@suse.com
- remove u8500href subpackage, kernel got dropped
-------------------------------------------------------------------
Sun Apr 7 14:32:20 UTC 2013 - agraf@suse.com
- update to 2013.04rc2
- enable bootz support on all boards
-------------------------------------------------------------------
Wed Mar 20 07:21:06 UTC 2013 - agraf@suse.com
- fix mlo-ext2.patch to actually use the ext4 infrastructure
-------------------------------------------------------------------
Sat Jan 26 10:38:07 UTC 2013 - dmueller@suse.com
- update mlo-ext2.patch:
* use the ext4 driver now since ext2 got removed
-------------------------------------------------------------------
Wed Oct 24 22:33:13 UTC 2012 - agraf@suse.com
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
* backport upstream sdhc fixes
-------------------------------------------------------------------
Wed Oct 24 01:37:36 CEST 2012 - agraf@suse.de
- update to 2012.10:
- refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
loadaddr-defaults.patch, mx53loco-bootscr.patch
-------------------------------------------------------------------
Mon Oct 22 12:00:22 UTC 2012 - agraf@suse.com
- fix origen by putting the ramdisk higher
-------------------------------------------------------------------
Mon Aug 6 09:39:54 UTC 2012 - dmueller@suse.com
- remove Marvell sources as they are non-free licensed (bnc#773824)
-------------------------------------------------------------------
Thu Jul 26 18:21:44 UTC 2012 - agraf@suse.com
- fix ext2 support for origen
- add origen-spl.bin for origen
-------------------------------------------------------------------
Thu Jul 26 09:47:31 UTC 2012 - dmueller@suse.com
- merge u-boot-tools
-------------------------------------------------------------------
Wed Jul 25 21:05:08 UTC 2012 - agraf@suse.com
- add ext2 support by default in mx53loco
-------------------------------------------------------------------
Tue Jul 24 21:28:59 UTC 2012 - agraf@suse.com
- add support for mx53loco
-------------------------------------------------------------------
Tue Jul 24 11:25:42 UTC 2012 - dmueller@suse.com
- remove u-boot-omap3beagle
-------------------------------------------------------------------
Mon Jul 23 22:34:04 UTC 2012 - agraf@suse.com
- bump to 2012.04.01
- fixes bug in cmdline parsing
-------------------------------------------------------------------
Mon Jul 23 22:26:47 UTC 2012 - agraf@suse.com
- add calxeda highbank support
-------------------------------------------------------------------
Thu Jul 12 12:51:56 UTC 2012 - agraf@suse.com
- autoload boot.scr on beagle, so we can boot again
-------------------------------------------------------------------
Thu Jul 12 08:12:15 UTC 2012 - agraf@suse.com
- update to upstream u-boot 2012.04
-> gets rid of linaro fork, only mainline now
-> gets us omap3 MLO support, no more need for x-loader
-> potentially fixes voltage issues on omap4
-------------------------------------------------------------------
Thu Jun 14 09:04:53 UTC 2012 - adrian@suse.de
- add SUSE style conflicts to avoid installation of multiple
boot loaders
-------------------------------------------------------------------
Tue Apr 17 11:59:55 UTC 2012 - joop.boonen@opensuse.org
- Included u-boot.spec.in and gen_spec.sh in the spec file
-------------------------------------------------------------------
Mon Feb 6 13:25:09 UTC 2012 - agraf@suse.com
- use ext2 on panda
-------------------------------------------------------------------
Tue Dec 20 02:36:05 UTC 2011 - agraf@suse.com
- use ttyO2 as default console= on OMAP boards
-------------------------------------------------------------------
Mon Dec 19 20:21:21 UTC 2011 - agraf@suse.com
- add u8500_href and origen configs
-------------------------------------------------------------------
Fri Dec 16 16:03:01 UTC 2011 - agraf@suse.com
- fix lint failures
-------------------------------------------------------------------
Fri Dec 16 14:46:53 CET 2011 - agraf@suse.com
- don't install map
-------------------------------------------------------------------
Fri Dec 16 02:16:19 UTC 2011 - agraf@suse.com
- generalize spec file to be able to build for more boards
- add beagle board spec file
- remove boot.scr
-------------------------------------------------------------------
Fri Dec 16 01:15:47 UTC 2011 - agraf@suse.com
- rename to u-boot-omap4panda
-------------------------------------------------------------------
Tue Dec 13 17:24:45 UTC 2011 - dkukawka@suse.de
- new package based on u-boot-omap4panda but use linaro u-boot git
repo (http://git.linaro.org/git/boot/u-boot-linaro-stable.git)
instead of mainline u-boot. This package also contains the MLO
(this package obsoletes the x-loader package)
-------------------------------------------------------------------
Tue Nov 29 22:53:44 UTC 2011 - joop.boonen@opensuse.org
- COPYING CREDITS README are now in the standard package
-------------------------------------------------------------------
Thu Nov 24 21:08:58 UTC 2011 - joop.boonen@opensuse.org
- Corrected the links
-------------------------------------------------------------------
Tue Nov 22 17:47:17 UTC 2011 - joop.boonen@opensuse.org
- Build without u-boot tools as we have a u-boot-tools packages
-------------------------------------------------------------------
Sun Nov 20 17:00:43 UTC 2011 - joop.boonen@opensuse.org
- Cleaned the spec file up the spec file
- The name is the same as the package name
-------------------------------------------------------------------
Sun Nov 13 13:13:39 UTC 2011 - joop.boonen@opensuse.org
- Build u-boot according to http://elinux.org/Panda_How_to_MLO_&_u-boot
- Using .txt config file instead of .scr it's gerated via mkimage
-------------------------------------------------------------------
Wed Nov 09 22:55:09 UTC 2011 - joop.boonen@opensuse.org
- Used scr file based on http://elinux.org definition
- Build u-boot 20111109
- Used the Meego panda u-boot as a base
-------------------------------------------------------------------
Fri Feb 18 00:00:00 UTC 2011 - raghuveer.murthy@ti.com>
- 2010.09-MeeGo
- Fix for u-boot fails to compile on armv7hl, BMC#13140
-------------------------------------------------------------------
Thu Nov 18 00:00:00 UTC 2010 - peter.j.zhu@intel.com>
- 2010.09-MeeGo
- Don't build against i586, BMC#10159
-------------------------------------------------------------------
Tue Oct 10 00:00:00 UTC 2010 - nm@ti.com>
- 2010.09-MeeGo
- Add Das u-boot package - FEA#9723
-------------------------------------------------------------------
Tue Oct 10 00:00:00 UTC 2010 - nm@ti.com>
- 2010.09.rc1-MeeGo
- Added option to enable boot.scr generation and copy
-------------------------------------------------------------------
Mon Oct 04 00:00:00 UTC 2010 - nm@ti.com>
- 2010.09.rc1-MeeGo
- Update to 2010.09
-------------------------------------------------------------------
Wed Sep 14 00:00:00 UTC 2010 - nm@ti.com>
- 2010.09.rc1-MeeGo
- Update to 2010.09.rc1
- MeeGo customization
- Enabled PandaBoard, Beagleboard build
-------------------------------------------------------------------
Wed Mar 31 00:00:00 UTC 2010 - silvan.calarco@mambasoft.it>
- 2009.11.1-1mamba
- update to 2009.11.1
-------------------------------------------------------------------

153
u-boot-snow.spec Normal file
View File

@ -0,0 +1,153 @@
#
# spec file for package u-boot-snow
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
# Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define x_loader 0
%define origen_spl 0
%define sunxi_spl 0
%define arndale_spl 0
Name: u-boot-snow
Version: 2014.01
Release: 0
Summary: The u-boot firmware for the snow arm platform
License: GPL-2.0
Group: System/Boot
Url: http://www.denx.de/wiki/U-Boot
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
Source1: openSUSE_panda.txt
Source2: arndale-bl1.img
Source300: rpmlintrc
Patch2: mlo-ext2.patch
Patch3: ti_common_initrd_support.patch
Patch4: beagle-bootscr.patch
Patch5: mx53loco-bootscr.patch
Patch6: origen-ext2.patch
Patch7: arndale.patch
Patch8: v2014.01-sunxi.patch
Patch9: am335x_evm-bootscr.patch
Patch10: rpi_b-bootscr.patch
Patch11: gnuhash.patch
Patch12: fix_spl_build_for_am335x.patch
Patch13: fix_sabrelite_boot.scr.patch
Patch20: fix_exynos5_text_base.patch
Patch21: fix_snow_config.patch
Patch22: exynos5-dt.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0
Provides: u-boot-loader
Conflicts: otherproviders(u-boot-loader)
%if %x_loader == 1
Obsoletes: x-loader-snow
Provides: x-loader-snow
%endif
ExclusiveArch: %arm
%description
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
This package contains the firmware for the snow arm platform.
%package doc
Summary: Documentation for the u-boot Firmware
Group: Documentation/Other
%description doc
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
This package contains documentation for u-boot firmware
%prep
%setup -q -n u-boot-%{version}
# is non-free licensed, and we don't need it (bnc#773824)
rm -rf board/Marvell
# Any custom patches to be applied on top of mainline u-boot
%patch2 -p1
%patch3
%patch4
%patch5
%patch6
%patch7
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" snow_config
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%install
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
# Some times u-boot needs a dtb to configure itself appended to the binary.
# In that case prefer the one with a working dtb already appended.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
fi
%if %x_loader == 1
install -D -m 0755 MLO %{buildroot}/boot/MLO
%endif
%if %origen_spl == 1
install -D -m 0755 spl/origen-spl.bin %{buildroot}/boot/origen-spl.bin
%endif
%if %arndale_spl == 1
install -D -m 0755 spl/arndale-spl.bin %{buildroot}/boot/arndale-spl.bin
install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
%endif
%if %sunxi_spl == 1
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
%endif
%files
%defattr(-,root,root)
/boot/*
%doc Licenses/gpl-2.0.txt CREDITS README
%files doc
%defattr(-,root,root)
# Generic documents
%doc doc/README.JFFS2 doc/README.JFFS2_NAND doc/README.commands
%doc doc/README.autoboot doc/README.commands doc/README.console doc/README.dns
%doc doc/README.hwconfig doc/README.nand doc/README.NetConsole doc/README.serial_multi
%doc doc/README.SNTP doc/README.standalone doc/README.update doc/README.usb
%doc doc/README.video doc/README.VLAN doc/README.silent doc/README.POST doc/README.Modem
# Copy some useful kermit scripts as well
%doc tools/scripts/dot.kermrc tools/scripts/flash_param tools/scripts/send_cmd tools/scripts/send_image
# Now any h/w dependent Documentation
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
%changelog

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 27 14:22:23 UTC 2014 - guillaume@opensuse.org
- add u-boot-mx6qsabrelite (for iMX6 Sabre Lite board)
-------------------------------------------------------------------
Wed Feb 5 15:07:30 UTC 2014 - guillaume@opensuse.org
- add u-boot-snow (for Chromebook ARM)
-------------------------------------------------------------------
Wed Feb 5 14:59:29 UTC 2014 - guillaume@opensuse.org

View File

@ -45,6 +45,10 @@ Patch9: am335x_evm-bootscr.patch
Patch10: rpi_b-bootscr.patch
Patch11: gnuhash.patch
Patch12: fix_spl_build_for_am335x.patch
Patch13: fix_sabrelite_boot.scr.patch
Patch20: fix_exynos5_text_base.patch
Patch21: fix_snow_config.patch
Patch22: exynos5-dt.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: dtc >= 1.4.0
@ -84,12 +88,24 @@ rm -rf board/Marvell
%patch10 -p1
%patch11 -p1
%patch12
%patch13
%if "%{name}" == "u-boot-snow"
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
%patch20
%patch21
%patch22
%endif
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" BOARDCONFIG
# temporary disable of --build-id
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow"
# Chromebook ARM (snow) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%install
install -D -m 0644 u-boot.BINEND %{buildroot}/boot/u-boot.BINEND