From fcc9d0456f7198add881b76a76e6f70276767e9a4e3bf260cc027eda33df40d2 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 1 Aug 2015 09:35:33 +0000 Subject: [PATCH] Accepting request 318393 from Base:System 1 OBS-URL: https://build.opensuse.org/request/show/318393 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=51 --- jetson-tk1-gpu-1.patch | 185 +++++++ jetson-tk1-gpu-2.patch | 146 ++++++ pre_checkin.sh | 2 +- u-boot-a10-olinuxino-lime.changes | 11 + u-boot-a10-olinuxino-lime.spec | 11 + u-boot-a13-olinuxino.changes | 11 + u-boot-a13-olinuxino.spec | 11 + u-boot-a13-olinuxinom.changes | 11 + u-boot-a13-olinuxinom.spec | 11 + u-boot-a20-olinuxino-lime.changes | 11 + u-boot-a20-olinuxino-lime.spec | 11 + u-boot-a20-olinuxino-lime2.changes | 11 + u-boot-a20-olinuxino-lime2.spec | 11 + u-boot-a20-olinuxinomicro.changes | 11 + u-boot-a20-olinuxinomicro.spec | 11 + u-boot-am335xevm.changes | 11 + u-boot-am335xevm.spec | 11 + u-boot-arndale.changes | 11 + u-boot-arndale.spec | 11 + u-boot-bananapi.changes | 11 + u-boot-bananapi.spec | 11 + u-boot-colibrit20.changes | 11 + u-boot-colibrit20.spec | 11 + u-boot-cubieboard.changes | 11 + u-boot-cubieboard.spec | 11 + u-boot-cubieboard2.changes | 11 + u-boot-cubieboard2.spec | 11 + u-boot-cubietruck.changes | 11 + u-boot-cubietruck.spec | 11 + u-boot-highbank.changes | 11 + u-boot-highbank.spec | 11 + u-boot-jetson-tk1.changes | 785 +++++++++++++++++++++++++++++ u-boot-jetson-tk1.spec | 138 +++++ u-boot-melea1000.changes | 11 + u-boot-melea1000.spec | 11 + u-boot-merriia80optimus.changes | 11 + u-boot-merriia80optimus.spec | 11 + u-boot-mx53loco.changes | 11 + u-boot-mx53loco.spec | 11 + u-boot-mx6qsabrelite.changes | 11 + u-boot-mx6qsabrelite.spec | 11 + u-boot-omap3beagle.changes | 11 + u-boot-omap3beagle.spec | 11 + u-boot-omap4panda.changes | 11 + u-boot-omap4panda.spec | 11 + u-boot-paz00.changes | 11 + u-boot-paz00.spec | 11 + u-boot-pcm051rev3.changes | 11 + u-boot-pcm051rev3.spec | 11 + u-boot-rpi.changes | 11 + u-boot-rpi.spec | 11 + u-boot-rpi2.changes | 11 + u-boot-rpi2.spec | 11 + u-boot-snow.changes | 11 + u-boot-snow.spec | 11 + u-boot.changes | 11 + u-boot.spec.in | 11 + 57 files changed, 1827 insertions(+), 1 deletion(-) create mode 100644 jetson-tk1-gpu-1.patch create mode 100644 jetson-tk1-gpu-2.patch create mode 100644 u-boot-jetson-tk1.changes create mode 100644 u-boot-jetson-tk1.spec diff --git a/jetson-tk1-gpu-1.patch b/jetson-tk1-gpu-1.patch new file mode 100644 index 0000000..1e64e8e --- /dev/null +++ b/jetson-tk1-gpu-1.patch @@ -0,0 +1,185 @@ +From 725f074af5cf1eb5ec3e6fae8bf4fb12474b5c15 Mon Sep 17 00:00:00 2001 +From: Alexandre Courbot +Date: Thu, 9 Jul 2015 16:33:00 +0900 +Subject: [PATCH 1/2] ARM: tegra: move VPR configuration to a later stage + +U-boot is responsible for enabling the GPU DT node after all necessary +configuration (VPR setup for T124) is performed. In order to be able to +check whether this configuration has been performed right before booting +the kernel, make it happen during board_init(). + +Also move VPR configuration into the more generic gpu.c file, which will +also host other GPU-related functions, and let boards specify +individually whether they need VPR setup or not. + +Signed-off-by: Alexandre Courbot +Cc: Stephen Warren +Cc: Tom Warren +--- + arch/arm/include/asm/arch-tegra/ap.h | 9 --------- + arch/arm/include/asm/arch-tegra/gpu.h | 27 +++++++++++++++++++++++++++ + arch/arm/mach-tegra/Makefile | 2 +- + arch/arm/mach-tegra/ap.c | 3 --- + arch/arm/mach-tegra/board2.c | 3 +++ + arch/arm/mach-tegra/{vpr.c => gpu.c} | 18 +++++++++++++++--- + include/configs/tegra124-common.h | 3 +++ + 7 files changed, 49 insertions(+), 16 deletions(-) + create mode 100644 arch/arm/include/asm/arch-tegra/gpu.h + rename arch/arm/mach-tegra/{vpr.c => gpu.c} (80%) + +diff --git a/arch/arm/include/asm/arch-tegra/ap.h b/arch/arm/include/asm/arch-tegra/ap.h +index ca40e4e..2d58271 100644 +--- a/arch/arm/include/asm/arch-tegra/ap.h ++++ b/arch/arm/include/asm/arch-tegra/ap.h +@@ -66,15 +66,6 @@ int tegra_get_sku_info(void); + /* Do any chip-specific cache config */ + void config_cache(void); + +-#if defined(CONFIG_TEGRA124) +-/* Do chip-specific vpr config */ +-void config_vpr(void); +-#else +-static inline void config_vpr(void) +-{ +-} +-#endif +- + #if defined(CONFIG_TEGRA_SUPPORT_NON_SECURE) + bool tegra_cpu_is_non_secure(void); + #endif +diff --git a/arch/arm/include/asm/arch-tegra/gpu.h b/arch/arm/include/asm/arch-tegra/gpu.h +new file mode 100644 +index 0000000..b347a21 +--- /dev/null ++++ b/arch/arm/include/asm/arch-tegra/gpu.h +@@ -0,0 +1,27 @@ ++/* ++ * (C) Copyright 2015 ++ * NVIDIA Corporation ++ * ++ * SPDX-License-Identifier: GPL-2.0+ ++ */ ++ ++#ifndef __ASM_ARCH_TEGRA_GPU_H ++#define __ASM_ARCH_TEGRA_GPU_H ++ ++#if defined(CONFIG_TEGRA_GPU) ++ ++void config_gpu(void); ++bool gpu_configured(void); ++ ++#else /* CONFIG_TEGRA_GPU */ ++ ++static inline void config_gpu(void) ++{ ++} ++ ++static inline bool gpu_configured(void) ++{ ++ return false; ++} ++ ++#endif /* CONFIG_TEGRA_GPU */ +diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile +index fefc180..f6f5583 100644 +--- a/arch/arm/mach-tegra/Makefile ++++ b/arch/arm/mach-tegra/Makefile +@@ -24,7 +24,7 @@ obj-y += pinmux-common.o + obj-y += powergate.o + obj-y += xusb-padctl.o + obj-$(CONFIG_DISPLAY_CPUINFO) += sys_info.o +-obj-$(CONFIG_TEGRA124) += vpr.o ++obj-$(CONFIG_TEGRA_GPU) += gpu.o + obj-$(CONFIG_TEGRA_CLOCK_SCALING) += emc.o + + ifndef CONFIG_SPL_BUILD +diff --git a/arch/arm/mach-tegra/ap.c b/arch/arm/mach-tegra/ap.c +index 0b94e8a..70613f9 100644 +--- a/arch/arm/mach-tegra/ap.c ++++ b/arch/arm/mach-tegra/ap.c +@@ -218,7 +218,4 @@ void s_init(void) + + /* enable SMMU */ + smmu_enable(); +- +- /* init vpr */ +- config_vpr(); + } +diff --git a/arch/arm/mach-tegra/board2.c b/arch/arm/mach-tegra/board2.c +index ce9b695..1d7c5ef 100644 +--- a/arch/arm/mach-tegra/board2.c ++++ b/arch/arm/mach-tegra/board2.c +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + #ifdef CONFIG_TEGRA_CLOCK_SCALING + #include + #endif +@@ -125,6 +126,8 @@ int board_init(void) + clock_init(); + clock_verify(); + ++ config_gpu(); ++ + #ifdef CONFIG_TEGRA_SPI + pin_mux_spi(); + #endif +diff --git a/arch/arm/mach-tegra/vpr.c b/arch/arm/mach-tegra/gpu.c +similarity index 80% +rename from arch/arm/mach-tegra/vpr.c +rename to arch/arm/mach-tegra/gpu.c +index f695811..b2fa50b 100644 +--- a/arch/arm/mach-tegra/vpr.c ++++ b/arch/arm/mach-tegra/gpu.c +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. ++ * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, +@@ -21,8 +21,11 @@ + #include + #include + +-/* Configures VPR. Right now, all we do is turn it off. */ +-void config_vpr(void) ++#include ++ ++static bool _configured; ++ ++void config_gpu(void) + { + struct mc_ctlr *mc = (struct mc_ctlr *)NV_PA_MC_BASE; + +@@ -32,4 +35,13 @@ void config_vpr(void) + &mc->mc_video_protect_reg_ctrl); + /* read back to ensure the write went through */ + readl(&mc->mc_video_protect_reg_ctrl); ++ ++ debug("configured VPR\n"); ++ ++ _configured = true; ++} ++ ++bool vpr_configured(void) ++{ ++ return _configured; + } +diff --git a/include/configs/tegra124-common.h b/include/configs/tegra124-common.h +index 1aee5c8..a05d2b5 100644 +--- a/include/configs/tegra124-common.h ++++ b/include/configs/tegra124-common.h +@@ -70,4 +70,7 @@ + #define CONFIG_USB_EHCI_TXFIFO_THRESH 0x10 + #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 1 + ++/* GPU needs setup */ ++#define CONFIG_TEGRA_GPU ++ + #endif /* _TEGRA124_COMMON_H_ */ +-- +2.1.4 + diff --git a/jetson-tk1-gpu-2.patch b/jetson-tk1-gpu-2.patch new file mode 100644 index 0000000..a542895 --- /dev/null +++ b/jetson-tk1-gpu-2.patch @@ -0,0 +1,146 @@ +From ccd0031954e959dc6bd1062ab1b7919c51ba4847 Mon Sep 17 00:00:00 2001 +From: Alexandre Courbot +Date: Thu, 9 Jul 2015 16:33:01 +0900 +Subject: [PATCH 2/2] ARM: tegra: enable GPU DT node when appropriate + +T124 requires some specific configuration (VPR setup) to be performed by +the bootloader before the GPU can be used. For this reason, the GPU node +in the device tree is disabled by default. This patch enables the node +if U-boot has performed VPR configuration. + +Boards enabled by this patch are T124's Jetson TK1 and Venice 2. + +Signed-off-by: Alexandre Courbot +Cc: Stephen Warren +Cc: Tom Warren +--- + arch/arm/include/asm/arch-tegra/gpu.h | 16 ++++++++++++++++ + arch/arm/mach-tegra/gpu.c | 19 +++++++++++++++++++ + board/nvidia/jetson-tk1/jetson-tk1.c | 8 ++++++++ + board/nvidia/venice2/venice2.c | 8 ++++++++ + include/configs/jetson-tk1.h | 2 ++ + include/configs/venice2.h | 2 ++ + 6 files changed, 55 insertions(+) + +diff --git a/arch/arm/include/asm/arch-tegra/gpu.h b/arch/arm/include/asm/arch-tegra/gpu.h +index b347a21..eac73ed 100644 +--- a/arch/arm/include/asm/arch-tegra/gpu.h ++++ b/arch/arm/include/asm/arch-tegra/gpu.h +@@ -25,3 +25,19 @@ static inline bool gpu_configured(void) + } + + #endif /* CONFIG_TEGRA_GPU */ ++ ++ ++#if defined(CONFIG_OF_LIBFDT) ++ ++int gpu_enable_node(void *blob, const char *gpupath); ++ ++#else /* CONFIG_OF_LIBFDT */ ++ ++static inline int gpu_enable_node(void *blob, const char *gpupath) ++{ ++ return 0; ++} ++ ++#endif /* CONFIG_OF_LIBFDT */ ++ ++#endif +diff --git a/arch/arm/mach-tegra/gpu.c b/arch/arm/mach-tegra/gpu.c +index b2fa50b..4ea046d 100644 +--- a/arch/arm/mach-tegra/gpu.c ++++ b/arch/arm/mach-tegra/gpu.c +@@ -45,3 +45,22 @@ bool vpr_configured(void) + { + return _configured; + } ++ ++#if defined(CONFIG_OF_LIBFDT) ++ ++int gpu_enable_node(void *blob, const char *gpupath) ++{ ++ int offset; ++ ++ if (vpr_configured()) { ++ offset = fdt_path_offset(blob, gpupath); ++ if (offset > 0) { ++ fdt_status_okay(blob, offset); ++ debug("enabled GPU node %s\n", gpupath); ++ } ++ } ++ ++ return 0; ++} ++ ++#endif +diff --git a/board/nvidia/jetson-tk1/jetson-tk1.c b/board/nvidia/jetson-tk1/jetson-tk1.c +index 52425a8..3c21767 100644 +--- a/board/nvidia/jetson-tk1/jetson-tk1.c ++++ b/board/nvidia/jetson-tk1/jetson-tk1.c +@@ -11,6 +11,7 @@ + + #include + #include ++#include + + #include "pinmux-config-jetson-tk1.h" + +@@ -79,3 +80,10 @@ int board_eth_init(bd_t *bis) + return pci_eth_init(bis); + } + #endif /* PCI */ ++ ++int ft_board_setup(void *blob, bd_t *bd) ++{ ++ gpu_enable_node(blob, "/gpu@0,57000000"); ++ ++ return 0; ++} +diff --git a/board/nvidia/venice2/venice2.c b/board/nvidia/venice2/venice2.c +index c56ef12..3e2b9a7 100644 +--- a/board/nvidia/venice2/venice2.c ++++ b/board/nvidia/venice2/venice2.c +@@ -8,6 +8,7 @@ + #include + #include + #include ++#include + #include "pinmux-config-venice2.h" + + /* +@@ -27,3 +28,10 @@ void pinmux_init(void) + pinmux_config_drvgrp_table(venice2_drvgrps, + ARRAY_SIZE(venice2_drvgrps)); + } ++ ++int ft_board_setup(void *blob, bd_t *bd) ++{ ++ gpu_enable_node(blob, "/gpu@0,57000000"); ++ ++ return 0; ++} +diff --git a/include/configs/jetson-tk1.h b/include/configs/jetson-tk1.h +index 3bbff28..b3e6496 100644 +--- a/include/configs/jetson-tk1.h ++++ b/include/configs/jetson-tk1.h +@@ -82,4 +82,6 @@ + #define CONFIG_ARMV7_SECURE_BASE 0xfff00000 + #define CONFIG_ARMV7_SECURE_RESERVE_SIZE 0x00100000 + ++#define CONFIG_OF_BOARD_SETUP ++ + #endif /* __CONFIG_H */ +diff --git a/include/configs/venice2.h b/include/configs/venice2.h +index 1d9d053..bc5080a 100644 +--- a/include/configs/venice2.h ++++ b/include/configs/venice2.h +@@ -64,4 +64,6 @@ + #include "tegra-common-usb-gadget.h" + #include "tegra-common-post.h" + ++#define CONFIG_OF_BOARD_SETUP ++ + #endif /* __CONFIG_H */ +-- +2.1.4 + diff --git a/pre_checkin.sh b/pre_checkin.sh index 9adaa64..ffb26c4 100644 --- a/pre_checkin.sh +++ b/pre_checkin.sh @@ -5,7 +5,7 @@ BOARDCONFIG="$2" ARCH_RESTRICTIONS="$3 $4" armv6_boards="rpi" -armv7_boards="omap3_beagle omap4_panda am335x_evm arndale highbank mx53loco mx6qsabrelite Bananapi Cubieboard Cubieboard2 Cubietruck Mele_A1000 colibri_t20 paz00 snow A10-OLinuXino-Lime A20-OLinuXino-Lime2 pcm051_rev3 rpi_2 A20-OLinuXino-Lime A13-OLinuXinoM A13-OLinuXino A20-OLinuXino_MICRO Merrii_A80_Optimus" +armv7_boards="omap3_beagle omap4_panda am335x_evm arndale highbank mx53loco mx6qsabrelite Bananapi Cubieboard Cubieboard2 Cubietruck Mele_A1000 colibri_t20 paz00 snow A10-OLinuXino-Lime A20-OLinuXino-Lime2 pcm051_rev3 rpi_2 A20-OLinuXino-Lime A13-OLinuXinoM A13-OLinuXino A20-OLinuXino_MICRO Merrii_A80_Optimus jetson-tk1" aarch64_boards="" if [ ! "$1" -o ! "$2" -o ! "$3" ]; then diff --git a/u-boot-a10-olinuxino-lime.changes b/u-boot-a10-olinuxino-lime.changes index 22eb2ab..d877acb 100644 --- a/u-boot-a10-olinuxino-lime.changes +++ b/u-boot-a10-olinuxino-lime.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-a10-olinuxino-lime.spec b/u-boot-a10-olinuxino-lime.spec index 976fc29..d05d568 100644 --- a/u-boot-a10-olinuxino-lime.spec +++ b/u-boot-a10-olinuxino-lime.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.img ]; then else install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-a13-olinuxino.changes b/u-boot-a13-olinuxino.changes index 22eb2ab..d877acb 100644 --- a/u-boot-a13-olinuxino.changes +++ b/u-boot-a13-olinuxino.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-a13-olinuxino.spec b/u-boot-a13-olinuxino.spec index a17d3e8..a842c01 100644 --- a/u-boot-a13-olinuxino.spec +++ b/u-boot-a13-olinuxino.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.img ]; then else install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-a13-olinuxinom.changes b/u-boot-a13-olinuxinom.changes index 22eb2ab..d877acb 100644 --- a/u-boot-a13-olinuxinom.changes +++ b/u-boot-a13-olinuxinom.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-a13-olinuxinom.spec b/u-boot-a13-olinuxinom.spec index 890e94e..71771d3 100644 --- a/u-boot-a13-olinuxinom.spec +++ b/u-boot-a13-olinuxinom.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.img ]; then else install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-a20-olinuxino-lime.changes b/u-boot-a20-olinuxino-lime.changes index 22eb2ab..d877acb 100644 --- a/u-boot-a20-olinuxino-lime.changes +++ b/u-boot-a20-olinuxino-lime.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-a20-olinuxino-lime.spec b/u-boot-a20-olinuxino-lime.spec index 57774f0..58a1d94 100644 --- a/u-boot-a20-olinuxino-lime.spec +++ b/u-boot-a20-olinuxino-lime.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.img ]; then else install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-a20-olinuxino-lime2.changes b/u-boot-a20-olinuxino-lime2.changes index 22eb2ab..d877acb 100644 --- a/u-boot-a20-olinuxino-lime2.changes +++ b/u-boot-a20-olinuxino-lime2.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-a20-olinuxino-lime2.spec b/u-boot-a20-olinuxino-lime2.spec index ca842dd..5443cb2 100644 --- a/u-boot-a20-olinuxino-lime2.spec +++ b/u-boot-a20-olinuxino-lime2.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.img ]; then else install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-a20-olinuxinomicro.changes b/u-boot-a20-olinuxinomicro.changes index 22eb2ab..d877acb 100644 --- a/u-boot-a20-olinuxinomicro.changes +++ b/u-boot-a20-olinuxinomicro.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-a20-olinuxinomicro.spec b/u-boot-a20-olinuxinomicro.spec index 48f8fc7..8fa39be 100644 --- a/u-boot-a20-olinuxinomicro.spec +++ b/u-boot-a20-olinuxinomicro.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.img ]; then else install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-am335xevm.changes b/u-boot-am335xevm.changes index 22eb2ab..d877acb 100644 --- a/u-boot-am335xevm.changes +++ b/u-boot-am335xevm.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-am335xevm.spec b/u-boot-am335xevm.spec index c49f5d3..34a64cb 100644 --- a/u-boot-am335xevm.spec +++ b/u-boot-am335xevm.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.img ]; then else install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-arndale.changes b/u-boot-arndale.changes index 22eb2ab..d877acb 100644 --- a/u-boot-arndale.changes +++ b/u-boot-arndale.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-arndale.spec b/u-boot-arndale.spec index b4e6a10..5d5e6cc 100644 --- a/u-boot-arndale.spec +++ b/u-boot-arndale.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.bin ]; then else install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-bananapi.changes b/u-boot-bananapi.changes index 22eb2ab..d877acb 100644 --- a/u-boot-bananapi.changes +++ b/u-boot-bananapi.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-bananapi.spec b/u-boot-bananapi.spec index 8282b05..7317cdb 100644 --- a/u-boot-bananapi.spec +++ b/u-boot-bananapi.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.img ]; then else install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-colibrit20.changes b/u-boot-colibrit20.changes index 22eb2ab..d877acb 100644 --- a/u-boot-colibrit20.changes +++ b/u-boot-colibrit20.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-colibrit20.spec b/u-boot-colibrit20.spec index 8ff8d42..1dce6c9 100644 --- a/u-boot-colibrit20.spec +++ b/u-boot-colibrit20.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.bin ]; then else install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-cubieboard.changes b/u-boot-cubieboard.changes index 22eb2ab..d877acb 100644 --- a/u-boot-cubieboard.changes +++ b/u-boot-cubieboard.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-cubieboard.spec b/u-boot-cubieboard.spec index 706afac..5c92b11 100644 --- a/u-boot-cubieboard.spec +++ b/u-boot-cubieboard.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.img ]; then else install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-cubieboard2.changes b/u-boot-cubieboard2.changes index 22eb2ab..d877acb 100644 --- a/u-boot-cubieboard2.changes +++ b/u-boot-cubieboard2.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-cubieboard2.spec b/u-boot-cubieboard2.spec index 21180b7..c9d86d8 100644 --- a/u-boot-cubieboard2.spec +++ b/u-boot-cubieboard2.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.img ]; then else install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-cubietruck.changes b/u-boot-cubietruck.changes index 22eb2ab..d877acb 100644 --- a/u-boot-cubietruck.changes +++ b/u-boot-cubietruck.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-cubietruck.spec b/u-boot-cubietruck.spec index 1c59606..a087105 100644 --- a/u-boot-cubietruck.spec +++ b/u-boot-cubietruck.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.img ]; then else install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-highbank.changes b/u-boot-highbank.changes index 22eb2ab..d877acb 100644 --- a/u-boot-highbank.changes +++ b/u-boot-highbank.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-highbank.spec b/u-boot-highbank.spec index 0821fb2..9872200 100644 --- a/u-boot-highbank.spec +++ b/u-boot-highbank.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.bin ]; then else install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-jetson-tk1.changes b/u-boot-jetson-tk1.changes new file mode 100644 index 0000000..d877acb --- /dev/null +++ b/u-boot-jetson-tk1.changes @@ -0,0 +1,785 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + +------------------------------------------------------------------- +Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de + +- Add u-boot-merriia80optimus + +------------------------------------------------------------------- +Wed Jul 15 13:05:24 UTC 2015 - guillaume@opensuse.org + +- Update to 2015.07 + +------------------------------------------------------------------- +Tue Jun 30 07:34:49 UTC 2015 - guillaume@opensuse.org + +- Update to 2015.07-rc3 +- Remove upstreamed patches: + * enable_spl_ext_support_for_ti_armv7.patch + * fix_slow_mmc_on_rpi.patch + +------------------------------------------------------------------- +Thu Jun 18 12:07:10 UTC 2015 - guillaume@opensuse.org + +- Add fix_slow_mmc_on_rpi.patch to speed up MMC load on RPi +- Rework patches (to be upstreamable): + * enable_spl_ext_support_for_ti_armv7.patch + * mx53loco-bootscr.patch +- Remove fix_beagle_spl_build.patch + +------------------------------------------------------------------- +Wed Jun 10 10:07:23 UTC 2015 - guillaume@opensuse.org + +- Update to 2015.07-rc2 +- Update drop-marvell.patch + +------------------------------------------------------------------- +Wed May 27 10:07:49 UTC 2015 - guillaume@opensuse.org + +- Update to 2015.07-rc1: +- Update drop-marvell.patch +- Remove no more needed add_snow_usb_boot.patch + +------------------------------------------------------------------- +Wed Apr 29 07:51:25 UTC 2015 - dmueller@suse.com + +- adjust copyright headers + +------------------------------------------------------------------- +Thu Apr 16 08:34:11 UTC 2015 - guillaume@opensuse.org + +- update to 2015.04 +- Remove upstreamed patch: + 0001-Exynos-Clock-Fix-exynos5_get_periph_rate-for-I2C.patch +- Follow upstream board rename colibri_t20_iris => colibri_t20 + +------------------------------------------------------------------- +Sun Apr 12 19:49:41 UTC 2015 - xxxxxmichl@googlemail.com + +- Added support for A13-OLinuXino, A13-OLinuXino-MICRO, + A20-OLinuXino-MICRO and A20-OLinuXino-LIME from + www.olimex.com + +------------------------------------------------------------------- +Thu Apr 9 07:56:40 UTC 2015 - guillaume@opensuse.org + +- Remove u-boot-vexpressaemv8a (dropped upstream and we now use EFI) + +------------------------------------------------------------------- +Thu Apr 2 09:13:49 UTC 2015 - guillaume@opensuse.org + +- update to 2015.04-rc5 + +------------------------------------------------------------------- +Mon Mar 23 08:39:40 UTC 2015 - guillaume@opensuse.org + +- update to 2015.04-rc4 + +------------------------------------------------------------------- +Wed Mar 4 15:51:55 UTC 2015 - guillaume@opensuse.org + +- Add 0001-Exynos-Clock-Fix-exynos5_get_periph_rate-for-I2C.patch + to fix keyboard on Chromebook + +------------------------------------------------------------------- +Wed Mar 4 15:46:52 UTC 2015 - guillaume@opensuse.org + +- update to 2015.04-rc3 +- update patch: drop-marvell.patch + +------------------------------------------------------------------- +Thu Feb 26 16:48:35 UTC 2015 - guillaume@opensuse.org + +- Update add_snow_usb_boot.patch to boot on USB2 instead of USB3 + +------------------------------------------------------------------- +Wed Feb 25 15:47:07 UTC 2015 - guillaume@opensuse.org + +- Remove unneeded fix_snow_config.patch + +------------------------------------------------------------------- +Tue Feb 24 09:48:50 UTC 2015 - guillaume@opensuse.org + +- Add rpi2 armv7 board + +------------------------------------------------------------------- +Fri Feb 20 12:31:38 UTC 2015 - guillaume@opensuse.org + +- Update to 2015.04-rc2 + +------------------------------------------------------------------- +Fri Feb 20 10:04:14 UTC 2015 - guillaume@opensuse.org + +- Update to 2015.04-rc1 + * Remove upstreamed patch pcm051-bootscr.patch + * Remove no more used patch fix_bootpart_snow_only.patch (now u-boot + scan all known partitions, so no need to set a different boot partition) + +------------------------------------------------------------------- +Sun Jan 25 20:20:46 UTC 2015 - matwey.kornilov@gmail.com + +- Enable pcm051rev3 for Phytec Wega board + * Add pcm051-bootscr.patch: add bootscript support (upstreamed in 2015.04-rc1) + +------------------------------------------------------------------- +Tue Jan 13 14:32:17 UTC 2015 - guillaume@opensuse.org + +- Update to 2015.01: + * Drop upstreamed patches: + - 0001-spl-mmc-Fix-raw-boot-mode-related-to-commit.patch + - fix_sata.patch + * Update partially upstreamed mx53loco-bootscr.patch + +------------------------------------------------------------------- +Tue Dec 16 11:10:23 UTC 2014 - guillaume@opensuse.org + +- Backport SPL MMC raw boot mode fix: + * 0001-spl-mmc-Fix-raw-boot-mode-related-to-commit.patch + +------------------------------------------------------------------- +Sat Dec 13 12:12:41 UTC 2014 - xxxxxmichl@googlemail.com + +- Added support for A20-OLinuXIno-LIME2 and A10-OLinuXino-LIME from + www.olimex.com + +------------------------------------------------------------------- +Tue Dec 9 11:23:41 UTC 2014 - guillaume@opensuse.org + +- Rename XLOADER to OMAP_SPL in pre_checkin.sh and u-boot.spec.in + +------------------------------------------------------------------- +Tue Dec 9 09:15:27 UTC 2014 - guillaume@opensuse.org + +- Update to 2015.01-rc3 + * Drop upstreamed/unneeded patches: + - 0001-exynos-Enable-config_distro_defaults.h.patch + - 0002-exynos5-Use-config_distro_bootcmd.h.patch + - boot_mode_fallback.patch + - fix_snow_usb_support + - fix_spl_ext.patch + - fix_arm_hf_toolchain.patch + - origen-ext2.patch + * Update patch: + - fix_snow_config.patch + * Follow upstream: rpi_b config renamed to rpi + +------------------------------------------------------------------- +Tue Dec 2 12:41:55 UTC 2014 - guillaume@opensuse.org + +- Update snow (chromebook) + * Update patch: + - fix_snow_config.patch patch + * Add patches: + - add_snow_usb_boot.patch to be able to boot from USB0 + - fix_bootpart_snow_only.patch to boot on partition #2 (snow only!) + * Backport patches: + - fix_snow_usb_support.patch to fix USB on snow + - 0001-exynos-Enable-config_distro_defaults.h.patch + - 0002-exynos5-Use-config_distro_bootcmd.h.patch + * Drop unneeded/obsolete patches: + - fix_exynos5_text_base.patch + - fix_snow_extra_env_settings.patch + +------------------------------------------------------------------- +Sun Nov 30 13:17:33 UTC 2014 - guillaume@opensuse.org + +- Add Bananapi initial support + +------------------------------------------------------------------- +Tue Nov 25 08:29:14 UTC 2014 - guillaume@opensuse.org + +- Update to 2015.01-rc2 +- Update patch fix_omap_boot_mode.patch to be upstreamable and +rename it to boot_mode_fallback.patch +- Drop obsolete patch: arndale.patch +- Add patches: + * fix_arm_hf_toolchain.patch: fix build with hard float toolchain + * fix_spl_ext.patch: fix SPL EXT error checks + * fix_sata.patch: fix sata support and fix also mx53loco build + +------------------------------------------------------------------- +Wed Nov 19 21:44:17 CET 2014 - guillaume.gardet@opensuse.org + +- Fix mx53loco-bootscr.patch + +------------------------------------------------------------------- +Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net + +- Add u-boot-with-sunxi-spl.bin for sunxi boards + +------------------------------------------------------------------- +Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org + +- Make use of RPM_OPT_FLAGS during make + +------------------------------------------------------------------- +Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org + +- Fix sunxi boards (use u-boot.img instead of u-boot.bin) +- Remove duplicated default install line + +------------------------------------------------------------------- +Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org + +- Update to 2015.01-rc1 +- Drop upstreamed patches: + * add_spl_extfs_support.patch + * ti_common_initrd_support.patch +- Refresh patch: + * drop-marvell.patch +- Drop CREDITS file from DOC (dropped upstream) + +------------------------------------------------------------------- +Mon Nov 3 10:19:42 UTC 2014 - guillaume@opensuse.org + +- Apply fix_omap_boot_mode.patch only for omap3/omap4 boards + +------------------------------------------------------------------- +Tue Oct 14 13:22:44 UTC 2014 - guillaume@opensuse.org + +- Update to version 2014.10 +- Drop upstreamed patch: + * fix_sabrelite_boot.scr.patch +- Refresh patches: + * arndale.patch + * fix_snow_config.patch + * fix_exynos5_text_base.patch + * exynos5-dt.h.patch (renamed fix_snow_extra_env_settings.patch) + +------------------------------------------------------------------- +Wed Oct 8 07:52:48 UTC 2014 - guillaume@opensuse.org + +- Update to version 2014.10-rc3 +- Drop upstreamed patches: + * beagle-bootscr.patch + * panda-bootscr.patch + * am335x_evm-bootscr.patch +- Refresh patches: + * fix_sabrelite_boot.scr.patch + * drop-marvell.patch + * add_spl_extfs_support.patch +- Add a new patch to fix omap3beagle spl build: + * fix_beagle_spl_build.patch + +------------------------------------------------------------------- +Mon Sep 8 13:06:52 UTC 2014 - guillaume@opensuse.org + +- Drop Hyundai_a7hd and cubox-i boards (now handle in Contrib repos +since it is not upstreamed), so drop related patches: + * v2014.04-sunxi.patch + * cubox-i-v2014.04-port.patch + * cubox-i-enable_raw_rd.patch + +------------------------------------------------------------------- +Wed Sep 3 12:02:22 UTC 2014 - guillaume@opensuse.org + +- Update to version 2014.10-rc2 +- drop upstreamed patch rpi_b-bootscr.patch +- drop fix_spl_build_for_am335x.patch (does build without it) +- Refresh patches: + * drop-marvell.patch + * fix_snow_config.patch + +------------------------------------------------------------------- +Thu Aug 21 08:50:10 UTC 2014 - guillaume@opensuse.org + +- Update SPL EXT fs support: + * For omap boards (beagle and panda), SPL now looks for u-boot.img + as upstream instead of u-boot.bin + * Remove mlo-ext2.patch to make proper patches in +order to ease upstreaming our EXT fs SPL functions + * Add panda-bootscr.patch to fix panda boot (was included in + mlo-ext2.patch) + * Add fix_omap_boot_mode.patch to fix beagle and panda boot mode + (was included in mlo-ext2.patch) + * Add add_spl_extfs_support.patch to get proper SPL EXT fs functions + * Add enable_spl_ext_support_for_ti_armv7.patch to enable SPL EXT fs + support for TI ARMv7 boards + + +------------------------------------------------------------------- +Tue Aug 19 17:35:22 UTC 2014 - matwey.kornilov@gmail.com + +- Update to version 2014.10-rc1 and update patches + +------------------------------------------------------------------- +Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org + +- Rename rpmlintrc to %{name}-rpmlintrc. + Follow the packaging guidelines. + +------------------------------------------------------------------- +Sat Jun 14 11:58:43 UTC 2014 - afaerber@suse.de + +- add u-boot-cubietruck for Cubietruck (Cubieboard 3) + +------------------------------------------------------------------- +Thu Jun 12 18:52:26 UTC 2014 - josua.m@t-online.de + +- add u-boot-mx6cubox-i for Cubox-i and Hummingboard + * currently conflicts with mlo-ext2 patch for omap4 + so only for cubox-i target mlo-ext2.patch is skipped + and cubox-i patches are applied + * patch source: https://github.com/vorlonofportland/u-boot/ + cubox-i-v2014.04-port.patch + cubox-i-enable_raw_rd.patch + +------------------------------------------------------------------- +Tue Apr 29 13:41:18 UTC 2014 - guillaume@opensuse.org + +- Enhance pre_checkin.sh script to handle arch restrictions + +------------------------------------------------------------------- +Tue Apr 29 13:18:48 UTC 2014 - guillaume@opensuse.org + +- Fix builds : + * 'tools' target is now 'tools-only' + * kermit scripts moved from 'tools/scripts' to 'tools/kermit/' + * Enhanced pre_checkin.sh script to handle uppercases in config name + * Renamed config from cubieboard to Cubieboard + * Renamed config from cubieboard2 to Cubieboard2 + * Renamed config from hyundai_a7hd to Hyundai_A7HD + * Renamed config from mele_a1000 to Mele_A1000 + +------------------------------------------------------------------- +Tue Apr 29 13:06:57 UTC 2014 - guillaume@opensuse.org + +- Add vexpress_aemv8a board + +------------------------------------------------------------------- +Tue Apr 29 08:33:48 UTC 2014 - guillaume@opensuse.org + +- Update to v2014.04 + * Update mlo-ext2.patch + * Update mx53loco-bootscr.patch + * Update origen-ext2.patch + * Dropped v2014.01-sunxi.patch and created + v2014.04-sunxi.patch by diffing u-boot-2014.04 with + u-boot-sunxi.git d9fe0a1e061e2bde6c24a0f7cef4f5023f3bd579 + * Update rpi_b-bootscr.patch + * Drop gnuhash.patch (upstreamed) + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- diff --git a/u-boot-jetson-tk1.spec b/u-boot-jetson-tk1.spec new file mode 100644 index 0000000..271b266 --- /dev/null +++ b/u-boot-jetson-tk1.spec @@ -0,0 +1,138 @@ +# +# spec file for package u-boot-jetson-tk1 +# +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon +# Copyright (c) 2007-2010 by Silvan Calarco +# +# 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 +%define cuboxi_spl 0 + +Name: u-boot-jetson-tk1 +Version: 2015.07 +Release: 0 +Summary: The u-boot firmware for the jetson-tk1 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 +Source2: arndale-bl1.img +Source300: u-boot-rpmlintrc +Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch +# Marvell boards support is non-free licensed, and we don't need it (bnc#773824) +Patch99: drop-marvell.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +# Arndale board need DTC >= 1.4 +BuildRequires: bc +BuildRequires: dtc >= 1.4.0 +Provides: u-boot-loader +Conflicts: otherproviders(u-boot-loader) +%if %x_loader == 1 +Obsoletes: x-loader-jetson-tk1 +Provides: x-loader-jetson-tk1 +%endif +ExclusiveArch: armv7l armv7hl + +%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 jetson-tk1 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 +%patch1 -p1 +%patch51 -p1 +%patch52 -p1 +%patch99 -p1 + +%build +make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" jetson-tk1_defconfig +make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" 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 +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else +# 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.bin %{buildroot}/boot/u-boot.bin +elif [ -f u-boot-dtb.bin ]; then + install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin +else + install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin +fi +%endif +%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 +install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin +%endif +%if %cuboxi_spl == 1 +install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin +%endif + +%files +%defattr(-,root,root) +/boot/* +%doc Licenses/gpl-2.0.txt 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/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image +# Now any h/w dependent Documentation +%doc doc/README.ARM-memory-map + +%changelog diff --git a/u-boot-melea1000.changes b/u-boot-melea1000.changes index 22eb2ab..d877acb 100644 --- a/u-boot-melea1000.changes +++ b/u-boot-melea1000.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-melea1000.spec b/u-boot-melea1000.spec index e71c26f..113a2e6 100644 --- a/u-boot-melea1000.spec +++ b/u-boot-melea1000.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.img ]; then else install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-merriia80optimus.changes b/u-boot-merriia80optimus.changes index 22eb2ab..d877acb 100644 --- a/u-boot-merriia80optimus.changes +++ b/u-boot-merriia80optimus.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-merriia80optimus.spec b/u-boot-merriia80optimus.spec index 031ddef..1505f60 100644 --- a/u-boot-merriia80optimus.spec +++ b/u-boot-merriia80optimus.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.bin ]; then else install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-mx53loco.changes b/u-boot-mx53loco.changes index 22eb2ab..d877acb 100644 --- a/u-boot-mx53loco.changes +++ b/u-boot-mx53loco.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-mx53loco.spec b/u-boot-mx53loco.spec index b0c25ea..2c7a9b0 100644 --- a/u-boot-mx53loco.spec +++ b/u-boot-mx53loco.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.imx ]; then else install -D -m 0644 u-boot.imx %{buildroot}/boot/u-boot.imx fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-mx6qsabrelite.changes b/u-boot-mx6qsabrelite.changes index 22eb2ab..d877acb 100644 --- a/u-boot-mx6qsabrelite.changes +++ b/u-boot-mx6qsabrelite.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-mx6qsabrelite.spec b/u-boot-mx6qsabrelite.spec index db19395..2078e42 100644 --- a/u-boot-mx6qsabrelite.spec +++ b/u-boot-mx6qsabrelite.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.imx ]; then else install -D -m 0644 u-boot.imx %{buildroot}/boot/u-boot.imx fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-omap3beagle.changes b/u-boot-omap3beagle.changes index 22eb2ab..d877acb 100644 --- a/u-boot-omap3beagle.changes +++ b/u-boot-omap3beagle.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-omap3beagle.spec b/u-boot-omap3beagle.spec index b1b9546..34e0e60 100644 --- a/u-boot-omap3beagle.spec +++ b/u-boot-omap3beagle.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.img ]; then else install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-omap4panda.changes b/u-boot-omap4panda.changes index 22eb2ab..d877acb 100644 --- a/u-boot-omap4panda.changes +++ b/u-boot-omap4panda.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-omap4panda.spec b/u-boot-omap4panda.spec index 358bec7..9f35e67 100644 --- a/u-boot-omap4panda.spec +++ b/u-boot-omap4panda.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.img ]; then else install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-paz00.changes b/u-boot-paz00.changes index 22eb2ab..d877acb 100644 --- a/u-boot-paz00.changes +++ b/u-boot-paz00.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-paz00.spec b/u-boot-paz00.spec index aed55e9..047d8b1 100644 --- a/u-boot-paz00.spec +++ b/u-boot-paz00.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.bin ]; then else install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-pcm051rev3.changes b/u-boot-pcm051rev3.changes index 22eb2ab..d877acb 100644 --- a/u-boot-pcm051rev3.changes +++ b/u-boot-pcm051rev3.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-pcm051rev3.spec b/u-boot-pcm051rev3.spec index 191ee23..a31a5fc 100644 --- a/u-boot-pcm051rev3.spec +++ b/u-boot-pcm051rev3.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.img ]; then else install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-rpi.changes b/u-boot-rpi.changes index 22eb2ab..d877acb 100644 --- a/u-boot-rpi.changes +++ b/u-boot-rpi.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-rpi.spec b/u-boot-rpi.spec index db28296..766335f 100644 --- a/u-boot-rpi.spec +++ b/u-boot-rpi.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.bin ]; then else install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-rpi2.changes b/u-boot-rpi2.changes index 22eb2ab..d877acb 100644 --- a/u-boot-rpi2.changes +++ b/u-boot-rpi2.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-rpi2.spec b/u-boot-rpi2.spec index d7d54c6..1cb3791 100644 --- a/u-boot-rpi2.spec +++ b/u-boot-rpi2.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.bin ]; then else install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot-snow.changes b/u-boot-snow.changes index 22eb2ab..d877acb 100644 --- a/u-boot-snow.changes +++ b/u-boot-snow.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot-snow.spec b/u-boot-snow.spec index a4c9c60..1f40d5e 100644 --- a/u-boot-snow.spec +++ b/u-boot-snow.spec @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.img ]; then else install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif diff --git a/u-boot.changes b/u-boot.changes index 22eb2ab..d877acb 100644 --- a/u-boot.changes +++ b/u-boot.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jul 22 22:38:23 UTC 2015 - afaerber@suse.de + +- jetson-tk1-gpu-1.patch, + jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node + +------------------------------------------------------------------- +Mon Jul 20 10:45:39 UTC 2015 - afaerber@suse.de + +- Add u-boot-jetson-tk1 + ------------------------------------------------------------------- Fri Jul 17 06:42:37 UTC 2015 - afaerber@suse.de diff --git a/u-boot.spec.in b/u-boot.spec.in index a6f6030..57a5051 100644 --- a/u-boot.spec.in +++ b/u-boot.spec.in @@ -35,6 +35,8 @@ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source2: arndale-bl1.img Source300: u-boot-rpmlintrc Patch1: mx53loco-bootscr.patch +Patch51: jetson-tk1-gpu-1.patch +Patch52: jetson-tk1-gpu-2.patch # Marvell boards support is non-free licensed, and we don't need it (bnc#773824) Patch99: drop-marvell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,6 +69,8 @@ This package contains documentation for u-boot firmware rm -rf board/Marvell # Any custom patches to be applied on top of mainline u-boot %patch1 -p1 +%patch51 -p1 +%patch52 -p1 %patch99 -p1 %build @@ -79,6 +83,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map) %endif %install +%if "%{name}" == "u-boot-jetson-tk1" +# tegra-uboot-flasher needs several intermediate files, under their original name. +for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do + install -D -m 0644 $f %{buildroot}/boot/$f +done +%else # 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 @@ -88,6 +98,7 @@ elif [ -f u-boot-dtb.BINEND ]; then else install -D -m 0644 u-boot.BINEND %{buildroot}/boot/u-boot.BINEND fi +%endif %if %x_loader == 1 install -D -m 0755 MLO %{buildroot}/boot/MLO %endif