forked from pool/u-boot
Accepting request 248054 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/248054 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=29
This commit is contained in:
parent
416672c850
commit
e6bf81de08
194
add_spl_extfs_support.patch
Normal file
194
add_spl_extfs_support.patch
Normal file
@ -0,0 +1,194 @@
|
|||||||
|
--- ./include/spl.h.orig 2014-08-21 09:49:13.104157699 +0200
|
||||||
|
+++ ./include/spl.h 2014-08-21 09:49:55.343156204 +0200
|
||||||
|
@@ -72,6 +72,10 @@ void spl_sata_load_image(void);
|
||||||
|
int spl_load_image_fat(block_dev_desc_t *block_dev, int partition, const char *filename);
|
||||||
|
int spl_load_image_fat_os(block_dev_desc_t *block_dev, int partition);
|
||||||
|
|
||||||
|
+/* SPL EXT image functions */
|
||||||
|
+int spl_load_image_ext(block_dev_desc_t *block_dev, int partition, const char *filename);
|
||||||
|
+int spl_load_image_ext_os(block_dev_desc_t *block_dev, int partition);
|
||||||
|
+
|
||||||
|
#ifdef CONFIG_SPL_BOARD_INIT
|
||||||
|
void spl_board_init(void);
|
||||||
|
#endif
|
||||||
|
--- ./common/spl/Makefile.orig 2014-08-21 09:55:50.011143645 +0200
|
||||||
|
+++ ./common/spl/Makefile 2014-08-21 09:56:05.061143112 +0200
|
||||||
|
@@ -18,5 +18,6 @@ obj-$(CONFIG_SPL_NET_SUPPORT) += spl_net
|
||||||
|
obj-$(CONFIG_SPL_MMC_SUPPORT) += spl_mmc.o
|
||||||
|
obj-$(CONFIG_SPL_USB_SUPPORT) += spl_usb.o
|
||||||
|
obj-$(CONFIG_SPL_FAT_SUPPORT) += spl_fat.o
|
||||||
|
+obj-$(CONFIG_SPL_EXT_SUPPORT) += spl_ext.o
|
||||||
|
obj-$(CONFIG_SPL_SATA_SUPPORT) += spl_sata.o
|
||||||
|
endif
|
||||||
|
--- ./fs/Makefile.orig 2014-08-21 09:58:00.612139021 +0200
|
||||||
|
+++ ./fs/Makefile 2014-08-21 09:58:15.603138490 +0200
|
||||||
|
@@ -8,6 +8,7 @@
|
||||||
|
|
||||||
|
ifdef CONFIG_SPL_BUILD
|
||||||
|
obj-$(CONFIG_SPL_FAT_SUPPORT) += fat/
|
||||||
|
+obj-$(CONFIG_SPL_EXT_SUPPORT) += ext4/
|
||||||
|
else
|
||||||
|
obj-y += fs.o
|
||||||
|
|
||||||
|
--- /dev/null 2014-08-21 08:33:45.854318006 +0200
|
||||||
|
+++ common/spl/spl_ext.c 2014-08-21 10:26:03.376079435 +0200
|
||||||
|
@@ -0,0 +1,139 @@
|
||||||
|
+/*
|
||||||
|
+ * SPDX-License-Identifier: GPL-2.0+
|
||||||
|
+ */
|
||||||
|
+
|
||||||
|
+#include <common.h>
|
||||||
|
+#include <spl.h>
|
||||||
|
+#include <asm/u-boot.h>
|
||||||
|
+#include <ext4fs.h>
|
||||||
|
+#include <image.h>
|
||||||
|
+
|
||||||
|
+#ifdef CONFIG_SPL_EXT_SUPPORT
|
||||||
|
+int spl_load_image_ext(block_dev_desc_t *block_dev,
|
||||||
|
+ int partition,
|
||||||
|
+ const char *filename)
|
||||||
|
+{
|
||||||
|
+ s32 err;
|
||||||
|
+ struct image_header *header;
|
||||||
|
+ int filelen;
|
||||||
|
+ disk_partition_t part_info = {};
|
||||||
|
+
|
||||||
|
+ header = (struct image_header *)(CONFIG_SYS_TEXT_BASE -
|
||||||
|
+ sizeof(struct image_header));
|
||||||
|
+
|
||||||
|
+ if (get_partition_info(block_dev,
|
||||||
|
+ partition, &part_info)) {
|
||||||
|
+ printf("spl: no partition table found\n");
|
||||||
|
+ goto end;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ ext4fs_set_blk_dev(block_dev, &part_info);
|
||||||
|
+
|
||||||
|
+ err = ext4fs_mount(0);
|
||||||
|
+ if (!err) {
|
||||||
|
+#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||||
|
+ printf("%s: ext4fs mount err - %d\n", __func__, err);
|
||||||
|
+#endif
|
||||||
|
+ goto end;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ filelen = err = ext4fs_open(filename);
|
||||||
|
+ if (err < 0) {
|
||||||
|
+ puts("spl: ext4fs_open failed\n");
|
||||||
|
+ goto end;
|
||||||
|
+ }
|
||||||
|
+ err = ext4fs_read((u8 *)header, sizeof(struct image_header));
|
||||||
|
+ if (err <= 0) {
|
||||||
|
+ puts("spl: ext4fs_read failed\n");
|
||||||
|
+ goto end;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ spl_parse_image_header(header);
|
||||||
|
+
|
||||||
|
+ err = ext4fs_read((u8 *)spl_image.load_addr, filelen);
|
||||||
|
+
|
||||||
|
+end:
|
||||||
|
+#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||||
|
+ if (err <= 0)
|
||||||
|
+ printf("%s: error reading image %s, err - %d\n",
|
||||||
|
+ __func__, filename, err);
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+ return (err <= 0);
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+#ifdef CONFIG_SPL_OS_BOOT
|
||||||
|
+int spl_load_image_ext_os(block_dev_desc_t *block_dev, int partition)
|
||||||
|
+{
|
||||||
|
+ int err;
|
||||||
|
+ int filelen;
|
||||||
|
+ disk_partition_t part_info = {};
|
||||||
|
+ __maybe_unused char *file;
|
||||||
|
+
|
||||||
|
+ if (get_partition_info(block_dev,
|
||||||
|
+ partition, &part_info)) {
|
||||||
|
+ printf("spl: no partition table found\n");
|
||||||
|
+ return -1;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ ext4fs_set_blk_dev(block_dev, &part_info);
|
||||||
|
+
|
||||||
|
+ err = ext4fs_mount(0);
|
||||||
|
+ if (!err) {
|
||||||
|
+#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||||
|
+ printf("%s: ext4fs mount err - %d\n", __func__, err);
|
||||||
|
+#endif
|
||||||
|
+ return -1;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+#if defined(CONFIG_SPL_ENV_SUPPORT) && defined(CONFIG_SPL_OS_BOOT)
|
||||||
|
+ file = getenv("falcon_args_file");
|
||||||
|
+ if (file) {
|
||||||
|
+ filelen = err = ext4fs_open(file);
|
||||||
|
+ if (err < 0) {
|
||||||
|
+ puts("spl: ext4fs_open failed\n");
|
||||||
|
+ goto defaults;
|
||||||
|
+ }
|
||||||
|
+ err = ext4fs_read( (void *)CONFIG_SYS_SPL_ARGS_ADDR, filelen);
|
||||||
|
+ if (err <= 0) {
|
||||||
|
+ printf("spl: error reading image %s, err - %d, falling back to default\n",
|
||||||
|
+ file, err);
|
||||||
|
+ goto defaults;
|
||||||
|
+ }
|
||||||
|
+ file = getenv("falcon_image_file");
|
||||||
|
+ if (file) {
|
||||||
|
+ err = spl_load_image_ext(block_dev, partition, file);
|
||||||
|
+ if (err != 0) {
|
||||||
|
+ puts("spl: falling back to default\n");
|
||||||
|
+ goto defaults;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ return 0;
|
||||||
|
+ } else
|
||||||
|
+ puts("spl: falcon_image_file not set in environment, falling back to default\n");
|
||||||
|
+ } else
|
||||||
|
+ puts("spl: falcon_args_file not set in environment, falling back to default\n");
|
||||||
|
+
|
||||||
|
+defaults:
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+ filelen = err = ext4fs_open(CONFIG_SPL_FAT_LOAD_ARGS_NAME);
|
||||||
|
+ if (err < 0) {
|
||||||
|
+ puts("spl: ext4fs_open failed\n");
|
||||||
|
+ //goto defaults;
|
||||||
|
+ }
|
||||||
|
+ err = ext4fs_read( (void *)CONFIG_SYS_SPL_ARGS_ADDR, filelen);
|
||||||
|
+ if (err <= 0) {
|
||||||
|
+#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||||
|
+ printf("%s: error reading image %s, err - %d\n",
|
||||||
|
+ __func__, CONFIG_SPL_FAT_LOAD_ARGS_NAME, err);
|
||||||
|
+#endif
|
||||||
|
+ return -1;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ return spl_load_image_ext(block_dev, partition,
|
||||||
|
+ CONFIG_SPL_FAT_LOAD_KERNEL_NAME);
|
||||||
|
+}
|
||||||
|
+#endif
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
--- common/spl/spl_mmc.c.orig 2014-08-06 15:12:58.000000000 +0200
|
||||||
|
+++ common/spl/spl_mmc.c 2014-08-21 10:38:25.144053170 +0200
|
||||||
|
@@ -100,6 +102,17 @@ void spl_mmc_load_image(void)
|
||||||
|
#endif
|
||||||
|
err = mmc_load_image_raw(mmc,
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR);
|
||||||
|
+#ifdef CONFIG_SPL_EXT_SUPPORT
|
||||||
|
+ } else if (boot_mode == MMCSD_MODE_FAT) {
|
||||||
|
+ debug("boot mode - EXT\n");
|
||||||
|
+#ifdef CONFIG_SPL_OS_BOOT
|
||||||
|
+ if (spl_start_uboot() || spl_load_image_ext_os(&mmc->block_dev,
|
||||||
|
+ CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION))
|
||||||
|
+#endif
|
||||||
|
+ err = spl_load_image_ext(&mmc->block_dev,
|
||||||
|
+ CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION,
|
||||||
|
+ CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME);
|
||||||
|
+#endif
|
||||||
|
#ifdef CONFIG_SPL_FAT_SUPPORT
|
||||||
|
} else if (boot_mode == MMCSD_MODE_FAT) {
|
||||||
|
debug("boot mode - FAT\n");
|
@ -1,8 +1,8 @@
|
|||||||
Index: u-boot-2013.10/include/configs/am335x_evm.h
|
Index: u-boot-2014.10-rc1/include/configs/am335x_evm.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- u-boot-2013.10.orig/include/configs/am335x_evm.h
|
--- u-boot-2014.10-rc1.orig/include/configs/am335x_evm.h
|
||||||
+++ u-boot-2013.10/include/configs/am335x_evm.h
|
+++ u-boot-2014.10-rc1/include/configs/am335x_evm.h
|
||||||
@@ -97,6 +97,9 @@
|
@@ -115,6 +115,9 @@
|
||||||
"nfsroot=${serverip}:${rootpath},${nfsopts} rw " \
|
"nfsroot=${serverip}:${rootpath},${nfsopts} rw " \
|
||||||
"ip=dhcp\0" \
|
"ip=dhcp\0" \
|
||||||
"bootenv=uEnv.txt\0" \
|
"bootenv=uEnv.txt\0" \
|
||||||
@ -11,8 +11,8 @@ Index: u-boot-2013.10/include/configs/am335x_evm.h
|
|||||||
+ "source ${loadaddr}\0" \
|
+ "source ${loadaddr}\0" \
|
||||||
"loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
|
"loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
|
||||||
"importbootenv=echo Importing environment from mmc ...; " \
|
"importbootenv=echo Importing environment from mmc ...; " \
|
||||||
"env import -t $loadaddr $filesize\0" \
|
"env import -t -r $loadaddr $filesize\0" \
|
||||||
@@ -125,17 +128,21 @@
|
@@ -142,17 +145,21 @@
|
||||||
"mmcboot=mmc dev ${mmcdev}; " \
|
"mmcboot=mmc dev ${mmcdev}; " \
|
||||||
"if mmc rescan; then " \
|
"if mmc rescan; then " \
|
||||||
"echo SD/MMC found on device ${mmcdev};" \
|
"echo SD/MMC found on device ${mmcdev};" \
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
--- ./include/configs/arndale.h.orig 2013-11-26 14:20:52.645451329 +0100
|
Index: include/configs/arndale.h
|
||||||
+++ ./include/configs/arndale.h 2013-11-26 15:05:07.495703179 +0100
|
===================================================================
|
||||||
@@ -74,9 +74,6 @@
|
--- include/configs/arndale.h.orig
|
||||||
|
+++ include/configs/arndale.h
|
||||||
|
@@ -72,9 +72,6 @@
|
||||||
"stdout=serial\0" \
|
"stdout=serial\0" \
|
||||||
"stderr=serial\0"
|
"stderr=serial\0"
|
||||||
|
|
||||||
@ -10,7 +12,7 @@
|
|||||||
/* SD/MMC configuration */
|
/* SD/MMC configuration */
|
||||||
#define CONFIG_GENERIC_MMC
|
#define CONFIG_GENERIC_MMC
|
||||||
#define CONFIG_MMC
|
#define CONFIG_MMC
|
||||||
@@ -106,6 +103,8 @@
|
@@ -105,6 +102,8 @@
|
||||||
#define CONFIG_CMD_FAT
|
#define CONFIG_CMD_FAT
|
||||||
#define CONFIG_CMD_NET
|
#define CONFIG_CMD_NET
|
||||||
#define CONFIG_CMD_HASH
|
#define CONFIG_CMD_HASH
|
||||||
@ -19,7 +21,7 @@
|
|||||||
|
|
||||||
#define CONFIG_BOOTDELAY 3
|
#define CONFIG_BOOTDELAY 3
|
||||||
#define CONFIG_ZERO_BOOTDELAY_CHECK
|
#define CONFIG_ZERO_BOOTDELAY_CHECK
|
||||||
@@ -127,7 +126,23 @@
|
@@ -130,7 +129,23 @@
|
||||||
#define CONFIG_SPL_TEXT_BASE 0x02023400
|
#define CONFIG_SPL_TEXT_BASE 0x02023400
|
||||||
#define CONFIG_SPL_MAX_FOOTPRINT (14 * 1024)
|
#define CONFIG_SPL_MAX_FOOTPRINT (14 * 1024)
|
||||||
|
|
||||||
|
@ -1,16 +1,27 @@
|
|||||||
--- include/configs/omap3_beagle.h.orig 2013-11-21 15:44:37.041667288 +0100
|
Index: include/configs/omap3_beagle.h
|
||||||
+++ include/configs/omap3_beagle.h 2013-11-21 15:47:25.589580653 +0100
|
===================================================================
|
||||||
@@ -264,6 +264,9 @@
|
--- include/configs/omap3_beagle.h.orig
|
||||||
|
+++ include/configs/omap3_beagle.h
|
||||||
|
@@ -193,7 +193,7 @@
|
||||||
|
"fi; " \
|
||||||
|
"fi; \0" \
|
||||||
|
"bootenv=uEnv.txt\0" \
|
||||||
|
- "loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
|
||||||
|
+ "loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
|
||||||
|
"importbootenv=echo Importing environment from mmc ...; " \
|
||||||
|
"env import -t -r $loadaddr $filesize\0" \
|
||||||
|
"ramargs=setenv bootargs console=${console} " \
|
||||||
|
@@ -207,6 +207,9 @@
|
||||||
"rootfstype=${ramrootfstype}\0" \
|
"rootfstype=${ramrootfstype}\0" \
|
||||||
"loadramdisk=load mmc ${bootpart} ${rdaddr} ${bootdir}/${ramdisk}\0" \
|
"loadramdisk=load mmc ${bootpart} ${rdaddr} ${bootdir}/${ramdisk}\0" \
|
||||||
"loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
|
"loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
|
||||||
+ "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
|
+ "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
|
||||||
+ "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
|
+ "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
|
||||||
+ "source ${loadaddr}\0" \
|
+ "source ${loadaddr}\0" \
|
||||||
"loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \
|
"loadfdt=run validatefdt; load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \
|
||||||
"mmcboot=echo Booting from mmc ...; " \
|
"mmcboot=echo Booting from mmc ...; " \
|
||||||
"run mmcargs; " \
|
"run mmcargs; " \
|
||||||
@@ -300,9 +303,13 @@
|
@@ -243,9 +246,13 @@
|
||||||
"echo Running uenvcmd ...;" \
|
"echo Running uenvcmd ...;" \
|
||||||
"run uenvcmd;" \
|
"run uenvcmd;" \
|
||||||
"fi;" \
|
"fi;" \
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
diff --git a/include/configs/mx6_cubox-i.h b/include/configs/mx6_cubox-i.h
|
|
||||||
index 49b029f..dfd2e46 100644
|
|
||||||
--- a/include/configs/mx6_cubox-i.h
|
|
||||||
+++ b/include/configs/mx6_cubox-i.h
|
|
||||||
@@ -355,6 +355,8 @@ extern char *config_sys_prompt;
|
|
||||||
|
|
||||||
#ifndef CONFIG_SYS_DCACHE_OFF
|
|
||||||
#define CONFIG_CMD_CACHE
|
|
||||||
+
|
|
||||||
+#define CONFIG_SUPPORT_RAW_INITRD
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __CONFIG_H * */
|
|
File diff suppressed because it is too large
Load Diff
44
drop-marvell.patch
Normal file
44
drop-marvell.patch
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
Index: u-boot-2014.10-rc1/arch/arm/Kconfig
|
||||||
|
===================================================================
|
||||||
|
--- u-boot-2014.10-rc1.orig/arch/arm/Kconfig
|
||||||
|
+++ u-boot-2014.10-rc1/arch/arm/Kconfig
|
||||||
|
@@ -545,9 +545,6 @@ source "board/BuR/tseries/Kconfig"
|
||||||
|
source "board/BuS/eb_cpux9k2/Kconfig"
|
||||||
|
source "board/BuS/vl_ma2sc/Kconfig"
|
||||||
|
source "board/CarMediaLab/flea3/Kconfig"
|
||||||
|
-source "board/Marvell/aspenite/Kconfig"
|
||||||
|
-source "board/Marvell/dkb/Kconfig"
|
||||||
|
-source "board/Marvell/gplugd/Kconfig"
|
||||||
|
source "board/afeb9260/Kconfig"
|
||||||
|
source "board/altera/socfpga/Kconfig"
|
||||||
|
source "board/armadeus/apf27/Kconfig"
|
||||||
|
Index: u-boot-2014.10-rc1/arch/arm/cpu/arm926ejs/kirkwood/Kconfig
|
||||||
|
===================================================================
|
||||||
|
--- u-boot-2014.10-rc1.orig/arch/arm/cpu/arm926ejs/kirkwood/Kconfig
|
||||||
|
+++ u-boot-2014.10-rc1/arch/arm/cpu/arm926ejs/kirkwood/Kconfig
|
||||||
|
@@ -67,12 +67,6 @@ config SYS_SOC
|
||||||
|
string
|
||||||
|
default "kirkwood"
|
||||||
|
|
||||||
|
-source "board/Marvell/openrd/Kconfig"
|
||||||
|
-source "board/Marvell/mv88f6281gtw_ge/Kconfig"
|
||||||
|
-source "board/Marvell/rd6281a/Kconfig"
|
||||||
|
-source "board/Marvell/dreamplug/Kconfig"
|
||||||
|
-source "board/Marvell/guruplug/Kconfig"
|
||||||
|
-source "board/Marvell/sheevaplug/Kconfig"
|
||||||
|
source "board/buffalo/lsxl/Kconfig"
|
||||||
|
source "board/cloudengines/pogo_e02/Kconfig"
|
||||||
|
source "board/d-link/dns325/Kconfig"
|
||||||
|
Index: u-boot-2014.10-rc1/arch/powerpc/cpu/74xx_7xx/Kconfig
|
||||||
|
===================================================================
|
||||||
|
--- u-boot-2014.10-rc1.orig/arch/powerpc/cpu/74xx_7xx/Kconfig
|
||||||
|
+++ u-boot-2014.10-rc1/arch/powerpc/cpu/74xx_7xx/Kconfig
|
||||||
|
@@ -37,8 +37,6 @@ config TARGET_P3MX
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
-source "board/Marvell/db64360/Kconfig"
|
||||||
|
-source "board/Marvell/db64460/Kconfig"
|
||||||
|
source "board/eltec/elppc/Kconfig"
|
||||||
|
source "board/esd/cpci750/Kconfig"
|
||||||
|
source "board/evb64260/Kconfig"
|
10
enable_spl_ext_support_for_ti_armv7.patch
Normal file
10
enable_spl_ext_support_for_ti_armv7.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- include/configs/ti_armv7_common.h.orig 2014-08-21 10:41:47.979045987 +0200
|
||||||
|
+++ include/configs/ti_armv7_common.h 2014-08-21 10:42:12.325045125 +0200
|
||||||
|
@@ -250,6 +250,7 @@
|
||||||
|
#define CONFIG_SPL_LIBDISK_SUPPORT
|
||||||
|
#define CONFIG_SPL_MMC_SUPPORT
|
||||||
|
#define CONFIG_SPL_FAT_SUPPORT
|
||||||
|
+#define CONFIG_SPL_EXT_SUPPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* General parts of the framework, required. */
|
@ -1,5 +1,7 @@
|
|||||||
--- include/configs/exynos5-dt.h.orig 2014-02-04 10:19:32.915229302 +0100
|
Index: include/configs/exynos5-dt.h
|
||||||
+++ include/configs/exynos5-dt.h 2014-02-05 16:15:04.818804877 +0100
|
===================================================================
|
||||||
|
--- include/configs/exynos5-dt.h.orig
|
||||||
|
+++ include/configs/exynos5-dt.h
|
||||||
@@ -83,12 +83,25 @@
|
@@ -83,12 +83,25 @@
|
||||||
#define CONFIG_CONSOLE_MUX
|
#define CONFIG_CONSOLE_MUX
|
||||||
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
|
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
|
||||||
|
29
fix_omap_boot_mode.patch
Normal file
29
fix_omap_boot_mode.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
Index: arch/arm/cpu/armv7/omap3/board.c
|
||||||
|
===================================================================
|
||||||
|
--- arch/arm/cpu/armv7/omap3/board.c.orig
|
||||||
|
+++ arch/arm/cpu/armv7/omap3/board.c
|
||||||
|
@@ -61,6 +61,8 @@ u32 omap3_boot_device = BOOT_DEVICE_NAND
|
||||||
|
/* auto boot mode detection is not possible for OMAP3 - hard code */
|
||||||
|
u32 spl_boot_mode(void)
|
||||||
|
{
|
||||||
|
+ return MMCSD_MODE_FAT;
|
||||||
|
+
|
||||||
|
switch (spl_boot_device()) {
|
||||||
|
case BOOT_DEVICE_MMC2:
|
||||||
|
return MMCSD_MODE_RAW;
|
||||||
|
|
||||||
|
Index: common/spl/spl_mmc.c.orig
|
||||||
|
===================================================================
|
||||||
|
--- common/spl/spl_mmc.c.orig 2014-08-06 15:12:58.000000000 +0200
|
||||||
|
+++ common/spl/spl_mmc.c 2014-08-21 10:38:25.144053170 +0200
|
||||||
|
@@ -92,7 +92,9 @@ void spl_mmc_load_image(void)
|
||||||
|
hang();
|
||||||
|
}
|
||||||
|
|
||||||
|
- boot_mode = spl_boot_mode();
|
||||||
|
+// boot_mode = spl_boot_mode();
|
||||||
|
+ boot_mode = MMCSD_MODE_FAT; /* Fix OMAP4 boot */
|
||||||
|
+
|
||||||
|
if (boot_mode == MMCSD_MODE_RAW) {
|
||||||
|
debug("boot mode - RAW\n");
|
||||||
|
#ifdef CONFIG_SPL_OS_BOOT
|
@ -1,6 +1,8 @@
|
|||||||
--- ./include/configs/nitrogen6x.h.orig 2014-03-31 23:17:24.341995637 +0200
|
Index: include/configs/nitrogen6x.h
|
||||||
+++ ./include/configs/nitrogen6x.h 2014-04-03 10:07:06.314594508 +0200
|
===================================================================
|
||||||
@@ -183,13 +183,12 @@
|
--- include/configs/nitrogen6x.h.orig
|
||||||
|
+++ include/configs/nitrogen6x.h
|
||||||
|
@@ -186,13 +186,12 @@
|
||||||
"fdt_addr=0x18000000\0" \
|
"fdt_addr=0x18000000\0" \
|
||||||
"boot_fdt=try\0" \
|
"boot_fdt=try\0" \
|
||||||
"ip_dyn=yes\0" \
|
"ip_dyn=yes\0" \
|
||||||
@ -16,7 +18,7 @@
|
|||||||
"bootscript=echo Running bootscript from mmc ...; " \
|
"bootscript=echo Running bootscript from mmc ...; " \
|
||||||
"source\0" \
|
"source\0" \
|
||||||
"loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \
|
"loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \
|
||||||
@@ -235,16 +234,14 @@
|
@@ -238,16 +237,14 @@
|
||||||
"fi;\0"
|
"fi;\0"
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND \
|
#define CONFIG_BOOTCOMMAND \
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
--- include/configs/snow.h.orig 2014-02-04 10:21:12.328756964 +0100
|
Index: include/configs/snow.h
|
||||||
+++ include/configs/snow.h 2014-02-05 16:15:08.265722911 +0100
|
===================================================================
|
||||||
@@ -14,4 +14,31 @@
|
--- include/configs/snow.h.orig
|
||||||
#undef CONFIG_DEFAULT_DEVICE_TREE
|
+++ include/configs/snow.h
|
||||||
#define CONFIG_DEFAULT_DEVICE_TREE exynos5250-snow
|
@@ -18,4 +18,31 @@
|
||||||
|
#define CONFIG_FIT
|
||||||
|
#define CONFIG_FIT_BEST_MATCH
|
||||||
|
|
||||||
+#undef CONFIG_BOOTCOMMAND
|
+#undef CONFIG_BOOTCOMMAND
|
||||||
+#define CONFIG_BOOTCOMMAND \
|
+#define CONFIG_BOOTCOMMAND \
|
||||||
@ -25,7 +27,7 @@
|
|||||||
+#define CONFIG_PRE_CON_BUF_SZ 0x100000
|
+#define CONFIG_PRE_CON_BUF_SZ 0x100000
|
||||||
+#define CONFIG_PRE_CON_BUF_ADDR 0x41f00000
|
+#define CONFIG_PRE_CON_BUF_ADDR 0x41f00000
|
||||||
+
|
+
|
||||||
+#define DEBUG
|
+/*#define DEBUG*/
|
||||||
+#undef CONFIG_SPL
|
+#undef CONFIG_SPL
|
||||||
+#undef CONFIG_SYS_THUMB_BUILD
|
+#undef CONFIG_SYS_THUMB_BUILD
|
||||||
+#undef CONFIG_SYS_ARM_CACHE_WRITETHROUGH
|
+#undef CONFIG_SYS_ARM_CACHE_WRITETHROUGH
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
--- ./include/configs/ti_armv7_common.h.orig 2014-01-28 15:27:45.324738440 +0100
|
|
||||||
+++ ./include/configs/ti_armv7_common.h 2014-01-28 15:36:34.847432559 +0100
|
|
||||||
@@ -172,7 +172,7 @@
|
|
||||||
#ifndef CONFIG_NOR_BOOT
|
|
||||||
#define CONFIG_SPL
|
|
||||||
#define CONFIG_SPL_FRAMEWORK
|
|
||||||
-#define CONFIG_SPL_OS_BOOT
|
|
||||||
+/* #define CONFIG_SPL_OS_BOOT */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Place the image at the start of the ROM defined image space.
|
|
173
mlo-ext2.patch
173
mlo-ext2.patch
@ -1,173 +0,0 @@
|
|||||||
diff --git arch/arm/cpu/armv7/omap3/board.c.orig arch/arm/cpu/armv7/omap3/board.c
|
|
||||||
index 2922816..39a94ad 100644
|
|
||||||
--- arch/arm/cpu/armv7/omap3/board.c.orig
|
|
||||||
+++ arch/arm/cpu/armv7/omap3/board.c
|
|
||||||
@@ -61,6 +61,8 @@ u32 omap3_boot_device = BOOT_DEVICE_NAND;
|
|
||||||
/* auto boot mode detection is not possible for OMAP3 - hard code */
|
|
||||||
u32 spl_boot_mode(void)
|
|
||||||
{
|
|
||||||
+ return MMCSD_MODE_FAT;
|
|
||||||
+
|
|
||||||
switch (spl_boot_device()) {
|
|
||||||
case BOOT_DEVICE_MMC2:
|
|
||||||
return MMCSD_MODE_RAW;
|
|
||||||
--- ./common/spl/spl_mmc.c.orig 2014-04-14 21:19:24.000000000 +0200
|
|
||||||
+++ ./common/spl/spl_mmc.c 2014-04-29 10:54:20.844025492 +0200
|
|
||||||
@@ -92,7 +92,9 @@ void spl_mmc_load_image(void)
|
|
||||||
hang();
|
|
||||||
}
|
|
||||||
|
|
||||||
- boot_mode = spl_boot_mode();
|
|
||||||
+// boot_mode = spl_boot_mode();
|
|
||||||
+ boot_mode = MMCSD_MODE_FAT; /* Fix OMAP4 boot */
|
|
||||||
+
|
|
||||||
if (boot_mode == MMCSD_MODE_RAW) {
|
|
||||||
debug("boot mode - RAW\n");
|
|
||||||
#ifdef CONFIG_SPL_OS_BOOT
|
|
||||||
@@ -107,9 +109,12 @@ void spl_mmc_load_image(void)
|
|
||||||
if (spl_start_uboot() || spl_load_image_fat_os(&mmc->block_dev,
|
|
||||||
CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION))
|
|
||||||
#endif
|
|
||||||
- err = spl_load_image_fat(&mmc->block_dev,
|
|
||||||
+// err = spl_load_image_fat(&mmc->block_dev,
|
|
||||||
+// CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION,
|
|
||||||
+// CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME);
|
|
||||||
+ err = spl_load_image_ext2(&mmc->block_dev,
|
|
||||||
CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION,
|
|
||||||
- CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME);
|
|
||||||
+ "u-boot.bin"/*CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME*/); /* We use u-boot.bin file on first partition */
|
|
||||||
#endif
|
|
||||||
#ifdef CONFIG_SUPPORT_EMMC_BOOT
|
|
||||||
} else if (boot_mode == MMCSD_MODE_EMMCBOOT) {
|
|
||||||
--- ./common/spl/spl_fat.c.orig 2014-04-29 10:45:48.565021128 +0200
|
|
||||||
+++ ./common/spl/spl_fat.c 2014-04-29 10:54:18.660076999 +0200
|
|
||||||
@@ -13,6 +13,7 @@
|
|
||||||
#include <spl.h>
|
|
||||||
#include <asm/u-boot.h>
|
|
||||||
#include <fat.h>
|
|
||||||
+#include <ext4fs.h>
|
|
||||||
#include <image.h>
|
|
||||||
|
|
||||||
static int fat_registered;
|
|
||||||
@@ -38,6 +39,61 @@ static int spl_register_fat_device(block
|
|
||||||
return err;
|
|
||||||
}
|
|
||||||
|
|
||||||
+int spl_load_image_ext2(block_dev_desc_t *block_dev,
|
|
||||||
+ int partition,
|
|
||||||
+ const char *filename)
|
|
||||||
+{
|
|
||||||
+ s32 err;
|
|
||||||
+ struct image_header *header;
|
|
||||||
+ int filelen;
|
|
||||||
+ disk_partition_t part_info = {};
|
|
||||||
+
|
|
||||||
+ header = (struct image_header *)(CONFIG_SYS_TEXT_BASE -
|
|
||||||
+ sizeof(struct image_header));
|
|
||||||
+
|
|
||||||
+ if (get_partition_info(block_dev,
|
|
||||||
+ partition, &part_info)) {
|
|
||||||
+ printf("spl: no partition table found\n");
|
|
||||||
+ goto end;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ ext4fs_set_blk_dev(block_dev, &part_info);
|
|
||||||
+// err = ext4fs_set_blk_dev(&mmc->block_dev, &part_info);
|
|
||||||
+// if (!err) {
|
|
||||||
+// printf("spl: ext4fs register err - %d\n", err);
|
|
||||||
+// goto end;
|
|
||||||
+// }
|
|
||||||
+
|
|
||||||
+ err = ext4fs_mount(0);
|
|
||||||
+ if (!err) {
|
|
||||||
+ printf("spl: ext4fs mount err - %d\n", err);
|
|
||||||
+ goto end;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ filelen = err = ext4fs_open(filename);
|
|
||||||
+ if (err < 0) {
|
|
||||||
+ puts("spl: ext4fs_open failed\n");
|
|
||||||
+ goto end;
|
|
||||||
+ }
|
|
||||||
+ err = ext4fs_read((u8 *)header, sizeof(struct image_header));
|
|
||||||
+ if (err <= 0) {
|
|
||||||
+ puts("spl: ext4fs_read failed\n");
|
|
||||||
+ goto end;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ spl_parse_image_header(header);
|
|
||||||
+
|
|
||||||
+ err = ext4fs_read((u8 *)spl_image.load_addr, filelen);
|
|
||||||
+
|
|
||||||
+end:
|
|
||||||
+ if (err <= 0) {
|
|
||||||
+ printf("spl: error reading image %s, err - %d\n",
|
|
||||||
+ filename, err);
|
|
||||||
+ }
|
|
||||||
+ return (err <= 0);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+
|
|
||||||
int spl_load_image_fat(block_dev_desc_t *block_dev,
|
|
||||||
int partition,
|
|
||||||
const char *filename)
|
|
||||||
--- include/spl.h.orig 2014-04-29 10:56:22.351156694 +0200
|
|
||||||
+++ include/spl.h 2014-04-29 10:56:54.996384973 +0200
|
|
||||||
@@ -69,6 +69,7 @@ void spl_usb_load_image(void);
|
|
||||||
void spl_sata_load_image(void);
|
|
||||||
|
|
||||||
/* SPL FAT image functions */
|
|
||||||
+int spl_load_image_ext2(block_dev_desc_t *block_dev, int partition, const char *filename);
|
|
||||||
int spl_load_image_fat(block_dev_desc_t *block_dev, int partition, const char *filename);
|
|
||||||
int spl_load_image_fat_os(block_dev_desc_t *block_dev, int partition);
|
|
||||||
|
|
||||||
diff --git fs/Makefile.orig fs/Makefile
|
|
||||||
index 34dc035..a09ada5 100644
|
|
||||||
--- fs/Makefile.orig
|
|
||||||
+++ fs/Makefile
|
|
||||||
@@ -8,6 +8,7 @@
|
|
||||||
|
|
||||||
ifdef CONFIG_SPL_BUILD
|
|
||||||
obj-$(CONFIG_SPL_FAT_SUPPORT) += fat/
|
|
||||||
+obj-$(CONFIG_SPL_FAT_SUPPORT) += ext4/
|
|
||||||
else
|
|
||||||
obj-y += fs.o
|
|
||||||
|
|
||||||
diff --git include/configs/omap3_beagle.h.orig include/configs/omap3_beagle.h
|
|
||||||
index c58bc91..7ecae0c 100644
|
|
||||||
--- include/configs/omap3_beagle.h.orig
|
|
||||||
+++ include/configs/omap3_beagle.h
|
|
||||||
@@ -40,6 +40,7 @@
|
|
||||||
|
|
||||||
#define CONFIG_OF_LIBFDT
|
|
||||||
#define CONFIG_CMD_BOOTZ
|
|
||||||
+#define CONFIG_SUPPORT_RAW_INITRD /* bootz raw initrd support */
|
|
||||||
|
|
||||||
#define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */
|
|
||||||
#define CONFIG_SETUP_MEMORY_TAGS 1
|
|
||||||
@@ -250,7 +251,7 @@
|
|
||||||
"if test $fdtfile = undefined; then " \
|
|
||||||
"echo WARNING: Could not determine device tree to use; fi; \0" \
|
|
||||||
"bootenv=uEnv.txt\0" \
|
|
||||||
- "loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
|
|
||||||
+ "loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
|
|
||||||
"importbootenv=echo Importing environment from mmc ...; " \
|
|
||||||
"env import -t $loadaddr $filesize\0" \
|
|
||||||
"ramargs=setenv bootargs console=${console} " \
|
|
||||||
diff --git include/configs/ti_omap4_common.h.orig include/configs/ti_omap4_common.h
|
|
||||||
index d099bfd..24b2ceb 100644
|
|
||||||
--- include/configs/ti_omap4_common.h.orig
|
|
||||||
+++ include/configs/ti_omap4_common.h
|
|
||||||
@@ -104,10 +104,10 @@
|
|
||||||
"vram=${vram} " \
|
|
||||||
"root=${mmcroot} " \
|
|
||||||
"rootfstype=${mmcrootfstype}\0" \
|
|
||||||
- "loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
|
|
||||||
+ "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
|
|
||||||
"bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
|
|
||||||
"source ${loadaddr}\0" \
|
|
||||||
- "loadbootenv=fatload mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
|
|
||||||
+ "loadbootenv=load mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
|
|
||||||
"importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
|
|
||||||
"env import -t ${loadaddr} ${filesize}\0" \
|
|
||||||
"loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
|
|
@ -1,6 +1,8 @@
|
|||||||
--- include/configs/mx53loco.h.orig 2014-04-14 21:19:24.000000000 +0200
|
Index: include/configs/mx53loco.h
|
||||||
+++ include/configs/mx53loco.h 2014-04-29 11:53:24.669579194 +0200
|
===================================================================
|
||||||
@@ -92,6 +92,7 @@
|
--- include/configs/mx53loco.h.orig
|
||||||
|
+++ include/configs/mx53loco.h
|
||||||
|
@@ -94,6 +94,7 @@
|
||||||
/* Command definition */
|
/* Command definition */
|
||||||
#include <config_cmd_default.h>
|
#include <config_cmd_default.h>
|
||||||
#define CONFIG_CMD_BOOTZ
|
#define CONFIG_CMD_BOOTZ
|
||||||
@ -8,7 +10,7 @@
|
|||||||
|
|
||||||
#undef CONFIG_CMD_IMLS
|
#undef CONFIG_CMD_IMLS
|
||||||
|
|
||||||
@@ -114,11 +115,11 @@
|
@@ -116,11 +117,11 @@
|
||||||
"mmcroot=/dev/mmcblk0p2 rw rootwait\0" \
|
"mmcroot=/dev/mmcblk0p2 rw rootwait\0" \
|
||||||
"mmcargs=setenv bootargs console=ttymxc0,${baudrate} root=${mmcroot}\0" \
|
"mmcargs=setenv bootargs console=ttymxc0,${baudrate} root=${mmcroot}\0" \
|
||||||
"loadbootscript=" \
|
"loadbootscript=" \
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
setenv bootargs 'root=/dev/mmcblk0p2 rw rootwait rootfstype=ext3 console=ttyO2,115200n8 vram=16M'
|
|
||||||
fatload mmc 0 82000000 uImage
|
|
||||||
bootm 82000000
|
|
@ -1,5 +1,7 @@
|
|||||||
--- include/configs/origen.h.orig 2014-04-29 14:10:29.864588285 +0200
|
Index: include/configs/origen.h
|
||||||
+++ include/configs/origen.h 2014-04-29 14:15:44.511098108 +0200
|
===================================================================
|
||||||
|
--- include/configs/origen.h.orig
|
||||||
|
+++ include/configs/origen.h
|
||||||
@@ -61,6 +61,9 @@
|
@@ -61,6 +61,9 @@
|
||||||
#undef CONFIG_CMD_PING
|
#undef CONFIG_CMD_PING
|
||||||
#define CONFIG_CMD_ELF
|
#define CONFIG_CMD_ELF
|
||||||
@ -10,7 +12,7 @@
|
|||||||
#undef CONFIG_CMD_NET
|
#undef CONFIG_CMD_NET
|
||||||
#undef CONFIG_CMD_NFS
|
#undef CONFIG_CMD_NFS
|
||||||
|
|
||||||
@@ -69,7 +72,35 @@
|
@@ -68,7 +71,35 @@
|
||||||
#define COPY_BL2_FNPTR_ADDR 0x02020030
|
#define COPY_BL2_FNPTR_ADDR 0x02020030
|
||||||
#define CONFIG_SPL_TEXT_BASE 0x02021410
|
#define CONFIG_SPL_TEXT_BASE 0x02021410
|
||||||
|
|
||||||
|
17
panda-bootscr.patch
Normal file
17
panda-bootscr.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
Index: include/configs/ti_omap4_common.h
|
||||||
|
===================================================================
|
||||||
|
--- include/configs/ti_omap4_common.h.orig
|
||||||
|
+++ include/configs/ti_omap4_common.h
|
||||||
|
@@ -102,10 +102,10 @@
|
||||||
|
"vram=${vram} " \
|
||||||
|
"root=${mmcroot} " \
|
||||||
|
"rootfstype=${mmcrootfstype}\0" \
|
||||||
|
- "loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
|
||||||
|
+ "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
|
||||||
|
"bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
|
||||||
|
"source ${loadaddr}\0" \
|
||||||
|
- "loadbootenv=fatload mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
|
||||||
|
+ "loadbootenv=load mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
|
||||||
|
"importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
|
||||||
|
"env import -t ${loadaddr} ${filesize}\0" \
|
||||||
|
"loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
|
@ -5,28 +5,28 @@ BOARDCONFIG="$2"
|
|||||||
ARCH_RESTRICTIONS="$3 $4"
|
ARCH_RESTRICTIONS="$3 $4"
|
||||||
|
|
||||||
armv6_boards="rpi_b"
|
armv6_boards="rpi_b"
|
||||||
armv7_boards="omap3_beagle omap4_panda am335x_evm arndale highbank mx53loco mx6qsabrelite Cubieboard Cubieboard2 Cubietruck Hyundai_A7HD Mele_A1000 colibri_t20_iris paz00 snow mx6_cubox-i"
|
armv7_boards="omap3_beagle omap4_panda am335x_evm arndale highbank mx53loco mx6qsabrelite Cubieboard Cubieboard2 Cubietruck Mele_A1000 colibri_t20_iris paz00 snow"
|
||||||
aarch64_boards="vexpress_aemv8a"
|
aarch64_boards="vexpress_aemv8a"
|
||||||
|
|
||||||
if [ ! "$1" -o ! "$2" -o ! "$3" ]; then
|
if [ ! "$1" -o ! "$2" -o ! "$3" ]; then
|
||||||
# armv6 boards
|
# armv6 boards
|
||||||
for BOARDCONFIG in $armv6_boards; do
|
for BOARDCONFIG in $armv6_boards; do
|
||||||
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' '[:lower:]')"
|
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' '[:lower:]')"
|
||||||
BOARDCONFIG=${BOARDCONFIG}_config
|
BOARDCONFIG=${BOARDCONFIG}_defconfig
|
||||||
ARCH_RESTRICTIONS="armv6l armv6hl"
|
ARCH_RESTRICTIONS="armv6l armv6hl"
|
||||||
bash $0 $BOARDNAME $BOARDCONFIG $ARCH_RESTRICTIONS
|
bash $0 $BOARDNAME $BOARDCONFIG $ARCH_RESTRICTIONS
|
||||||
done
|
done
|
||||||
# armv7 boards
|
# armv7 boards
|
||||||
for BOARDCONFIG in $armv7_boards; do
|
for BOARDCONFIG in $armv7_boards; do
|
||||||
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' '[:lower:]')"
|
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' '[:lower:]')"
|
||||||
BOARDCONFIG=${BOARDCONFIG}_config
|
BOARDCONFIG=${BOARDCONFIG}_defconfig
|
||||||
ARCH_RESTRICTIONS="armv7l armv7hl"
|
ARCH_RESTRICTIONS="armv7l armv7hl"
|
||||||
bash $0 $BOARDNAME $BOARDCONFIG $ARCH_RESTRICTIONS
|
bash $0 $BOARDNAME $BOARDCONFIG $ARCH_RESTRICTIONS
|
||||||
done
|
done
|
||||||
# aarch64 boards
|
# aarch64 boards
|
||||||
for BOARDCONFIG in $aarch64_boards; do
|
for BOARDCONFIG in $aarch64_boards; do
|
||||||
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' '[:lower:]')"
|
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' '[:lower:]')"
|
||||||
BOARDCONFIG=${BOARDCONFIG}_config
|
BOARDCONFIG=${BOARDCONFIG}_defconfig
|
||||||
ARCH_RESTRICTIONS="aarch64"
|
ARCH_RESTRICTIONS="aarch64"
|
||||||
bash $0 $BOARDNAME $BOARDCONFIG $ARCH_RESTRICTIONS
|
bash $0 $BOARDNAME $BOARDCONFIG $ARCH_RESTRICTIONS
|
||||||
done
|
done
|
||||||
@ -40,7 +40,7 @@ ARNDALE_SPL=0
|
|||||||
CUBOXI_SPL=0
|
CUBOXI_SPL=0
|
||||||
case "$BOARDCONFIG" in
|
case "$BOARDCONFIG" in
|
||||||
mx53loco*|mx6qsabrelite*|efika*) BINEND=imx ;;
|
mx53loco*|mx6qsabrelite*|efika*) BINEND=imx ;;
|
||||||
*omap*|*am335x*) BINEND=bin
|
*omap*|*am335x*) BINEND=img
|
||||||
XLOADER=1 ;;
|
XLOADER=1 ;;
|
||||||
*arndale*) BINEND=bin
|
*arndale*) BINEND=bin
|
||||||
ARNDALE_SPL=1 ;;
|
ARNDALE_SPL=1 ;;
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
--- include/configs/rpi_b.h.orig 2014-04-29 14:35:55.019326981 +0200
|
|
||||||
+++ include/configs/rpi_b.h 2014-04-29 14:40:56.671158881 +0200
|
|
||||||
@@ -147,7 +147,7 @@
|
|
||||||
#define BOOT_TARGETS_MMC "mmc0"
|
|
||||||
|
|
||||||
#define BOOTCMDS_COMMON \
|
|
||||||
- "rootpart=1\0" \
|
|
||||||
+ "rootpart=2\0" \
|
|
||||||
\
|
|
||||||
"do_script_boot=" \
|
|
||||||
"load ${devtype} ${devnum}:${rootpart} " \
|
|
||||||
@@ -189,7 +189,7 @@
|
|
||||||
\
|
|
||||||
"boot_prefixes=/\0" \
|
|
||||||
\
|
|
||||||
- "boot_scripts=boot.scr.uimg\0" \
|
|
||||||
+ "boot_scripts=boot.scr boot.scr.uimg\0" \
|
|
||||||
\
|
|
||||||
BOOTCMDS_MMC
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
|||||||
--- ./include/configs/ti_armv7_common.h.orig 2013-12-17 15:08:07.380596872 +0100
|
Index: include/configs/ti_armv7_common.h
|
||||||
+++ ./include/configs/ti_armv7_common.h 2013-12-17 15:08:30.370055488 +0100
|
===================================================================
|
||||||
@@ -149,6 +149,7 @@
|
--- include/configs/ti_armv7_common.h.orig
|
||||||
|
+++ include/configs/ti_armv7_common.h
|
||||||
|
@@ -174,6 +174,7 @@
|
||||||
#define CONFIG_CMD_ASKENV
|
#define CONFIG_CMD_ASKENV
|
||||||
#define CONFIG_CMD_ECHO
|
#define CONFIG_CMD_ECHO
|
||||||
#define CONFIG_CMD_BOOTZ
|
#define CONFIG_CMD_BOOTZ
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7b6444bd23eb61068c43bd1d44ec7e7bfdbce5cadeca20c833eee186b4d3fd31
|
|
||||||
size 9873025
|
|
3
u-boot-2014.10-rc2.tar.bz2
Normal file
3
u-boot-2014.10-rc2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:82402ee1308c8c6bc141ec2f05d4bdce0a50451cbab9a7ef553594ded52b0539
|
||||||
|
size 10133718
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl 0
|
%define cuboxi_spl 0
|
||||||
|
|
||||||
Name: u-boot-am335xevm
|
Name: u-boot-am335xevm
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the am335xevm arm platform
|
Summary: The u-boot firmware for the am335xevm arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,38 +76,32 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" am335x_evm_config
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" am335x_evm_defconfig
|
||||||
# temporary disable of --build-id
|
# temporary disable of --build-id
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
||||||
@ -117,15 +112,15 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# 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.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
install -D -m 0644 u-boot-dtb-tegra.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
elif [ -f u-boot-dtb.img ]; then
|
||||||
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
|
||||||
else
|
else
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
|
||||||
fi
|
fi
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl 0
|
%define cuboxi_spl 0
|
||||||
|
|
||||||
Name: u-boot-arndale
|
Name: u-boot-arndale
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the arndale arm platform
|
Summary: The u-boot firmware for the arndale arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,38 +76,32 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" arndale_config
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" arndale_defconfig
|
||||||
# temporary disable of --build-id
|
# temporary disable of --build-id
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl 0
|
%define cuboxi_spl 0
|
||||||
|
|
||||||
Name: u-boot-colibrit20iris
|
Name: u-boot-colibrit20iris
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the colibrit20iris arm platform
|
Summary: The u-boot firmware for the colibrit20iris arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,38 +76,32 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" colibri_t20_iris_config
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" colibri_t20_iris_defconfig
|
||||||
# temporary disable of --build-id
|
# temporary disable of --build-id
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl 0
|
%define cuboxi_spl 0
|
||||||
|
|
||||||
Name: u-boot-cubieboard
|
Name: u-boot-cubieboard
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the cubieboard arm platform
|
Summary: The u-boot firmware for the cubieboard arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,38 +76,32 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Cubieboard_config
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Cubieboard_defconfig
|
||||||
# temporary disable of --build-id
|
# temporary disable of --build-id
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl 0
|
%define cuboxi_spl 0
|
||||||
|
|
||||||
Name: u-boot-cubieboard2
|
Name: u-boot-cubieboard2
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the cubieboard2 arm platform
|
Summary: The u-boot firmware for the cubieboard2 arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,38 +76,32 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Cubieboard2_config
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Cubieboard2_defconfig
|
||||||
# temporary disable of --build-id
|
# temporary disable of --build-id
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl 0
|
%define cuboxi_spl 0
|
||||||
|
|
||||||
Name: u-boot-cubietruck
|
Name: u-boot-cubietruck
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the cubietruck arm platform
|
Summary: The u-boot firmware for the cubietruck arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,38 +76,32 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Cubietruck_config
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Cubietruck_defconfig
|
||||||
# temporary disable of --build-id
|
# temporary disable of --build-id
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl 0
|
%define cuboxi_spl 0
|
||||||
|
|
||||||
Name: u-boot-highbank
|
Name: u-boot-highbank
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the highbank arm platform
|
Summary: The u-boot firmware for the highbank arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,38 +76,32 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" highbank_config
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" highbank_defconfig
|
||||||
# temporary disable of --build-id
|
# temporary disable of --build-id
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,472 +0,0 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
@ -1,165 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package u-boot-hyundaia7hd
|
|
||||||
#
|
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
||||||
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
|
|
||||||
# Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
||||||
#
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
|
||||||
# upon. The license for this file, and modifications and additions to the
|
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
|
||||||
# license for the pristine package is not an Open Source License, in which
|
|
||||||
# case the license is the MIT License). An "Open Source License" is a
|
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
|
||||||
# published by the Open Source Initiative.
|
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
%define x_loader 0
|
|
||||||
%define origen_spl 0
|
|
||||||
%define sunxi_spl 1
|
|
||||||
%define arndale_spl 0
|
|
||||||
%define cuboxi_spl 0
|
|
||||||
|
|
||||||
Name: u-boot-hyundaia7hd
|
|
||||||
Version: 2014.04
|
|
||||||
Release: 0
|
|
||||||
Summary: The u-boot firmware for the hyundaia7hd arm platform
|
|
||||||
License: GPL-2.0
|
|
||||||
Group: System/Boot
|
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
|
||||||
Source1: openSUSE_panda.txt
|
|
||||||
Source2: arndale-bl1.img
|
|
||||||
Source300: u-boot-rpmlintrc
|
|
||||||
Patch2: mlo-ext2.patch
|
|
||||||
Patch3: ti_common_initrd_support.patch
|
|
||||||
Patch4: beagle-bootscr.patch
|
|
||||||
Patch5: mx53loco-bootscr.patch
|
|
||||||
Patch6: origen-ext2.patch
|
|
||||||
Patch7: arndale.patch
|
|
||||||
Patch8: v2014.04-sunxi.patch
|
|
||||||
Patch9: am335x_evm-bootscr.patch
|
|
||||||
Patch10: rpi_b-bootscr.patch
|
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
|
||||||
Patch21: fix_snow_config.patch
|
|
||||||
Patch22: exynos5-dt.h.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
# Arndale board need DTC >= 1.4
|
|
||||||
BuildRequires: dtc >= 1.4.0
|
|
||||||
Provides: u-boot-loader
|
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
|
||||||
%if %x_loader == 1
|
|
||||||
Obsoletes: x-loader-hyundaia7hd
|
|
||||||
Provides: x-loader-hyundaia7hd
|
|
||||||
%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 hyundaia7hd 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
|
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
|
||||||
%patch2
|
|
||||||
%endif
|
|
||||||
%patch3
|
|
||||||
%patch4
|
|
||||||
%patch5
|
|
||||||
%patch6
|
|
||||||
%patch7
|
|
||||||
%patch8 -p1
|
|
||||||
%patch9 -p1
|
|
||||||
%patch10
|
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
|
||||||
%patch20
|
|
||||||
%patch21
|
|
||||||
%patch22
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Hyundai_A7HD_config
|
|
||||||
# temporary disable of --build-id
|
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
|
||||||
# Chromebook ARM (snow) need a uImage format
|
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|
||||||
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
|
||||||
# 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
|
|
||||||
%if %x_loader == 1
|
|
||||||
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
|
||||||
%endif
|
|
||||||
%if %origen_spl == 1
|
|
||||||
install -D -m 0755 spl/origen-spl.bin %{buildroot}/boot/origen-spl.bin
|
|
||||||
%endif
|
|
||||||
%if %arndale_spl == 1
|
|
||||||
install -D -m 0755 spl/arndale-spl.bin %{buildroot}/boot/arndale-spl.bin
|
|
||||||
install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|
||||||
%endif
|
|
||||||
%if %sunxi_spl == 1
|
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
|
||||||
%endif
|
|
||||||
%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 CREDITS README
|
|
||||||
|
|
||||||
%files doc
|
|
||||||
%defattr(-,root,root)
|
|
||||||
# Generic documents
|
|
||||||
%doc doc/README.JFFS2 doc/README.JFFS2_NAND doc/README.commands
|
|
||||||
%doc doc/README.autoboot doc/README.commands doc/README.console doc/README.dns
|
|
||||||
%doc doc/README.hwconfig doc/README.nand doc/README.NetConsole doc/README.serial_multi
|
|
||||||
%doc doc/README.SNTP doc/README.standalone doc/README.update doc/README.usb
|
|
||||||
%doc doc/README.video doc/README.VLAN doc/README.silent doc/README.POST doc/README.Modem
|
|
||||||
# Copy some useful kermit scripts as well
|
|
||||||
%doc tools/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-SoC doc/README.ARM-memory-map
|
|
||||||
|
|
||||||
%changelog
|
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl 0
|
%define cuboxi_spl 0
|
||||||
|
|
||||||
Name: u-boot-melea1000
|
Name: u-boot-melea1000
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the melea1000 arm platform
|
Summary: The u-boot firmware for the melea1000 arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,38 +76,32 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Mele_A1000_config
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Mele_A1000_defconfig
|
||||||
# temporary disable of --build-id
|
# temporary disable of --build-id
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl 0
|
%define cuboxi_spl 0
|
||||||
|
|
||||||
Name: u-boot-mx53loco
|
Name: u-boot-mx53loco
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the mx53loco arm platform
|
Summary: The u-boot firmware for the mx53loco arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,38 +76,32 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx53loco_config
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx53loco_defconfig
|
||||||
# temporary disable of --build-id
|
# temporary disable of --build-id
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,472 +0,0 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
@ -1,165 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package u-boot-mx6cubox-i
|
|
||||||
#
|
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
||||||
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
|
|
||||||
# Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
||||||
#
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
|
||||||
# upon. The license for this file, and modifications and additions to the
|
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
|
||||||
# license for the pristine package is not an Open Source License, in which
|
|
||||||
# case the license is the MIT License). An "Open Source License" is a
|
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
|
||||||
# published by the Open Source Initiative.
|
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
%define x_loader 0
|
|
||||||
%define origen_spl 0
|
|
||||||
%define sunxi_spl 0
|
|
||||||
%define arndale_spl 0
|
|
||||||
%define cuboxi_spl 1
|
|
||||||
|
|
||||||
Name: u-boot-mx6cubox-i
|
|
||||||
Version: 2014.04
|
|
||||||
Release: 0
|
|
||||||
Summary: The u-boot firmware for the mx6cubox-i arm platform
|
|
||||||
License: GPL-2.0
|
|
||||||
Group: System/Boot
|
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
|
||||||
Source1: openSUSE_panda.txt
|
|
||||||
Source2: arndale-bl1.img
|
|
||||||
Source300: u-boot-rpmlintrc
|
|
||||||
Patch2: mlo-ext2.patch
|
|
||||||
Patch3: ti_common_initrd_support.patch
|
|
||||||
Patch4: beagle-bootscr.patch
|
|
||||||
Patch5: mx53loco-bootscr.patch
|
|
||||||
Patch6: origen-ext2.patch
|
|
||||||
Patch7: arndale.patch
|
|
||||||
Patch8: v2014.04-sunxi.patch
|
|
||||||
Patch9: am335x_evm-bootscr.patch
|
|
||||||
Patch10: rpi_b-bootscr.patch
|
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
|
||||||
Patch21: fix_snow_config.patch
|
|
||||||
Patch22: exynos5-dt.h.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
# Arndale board need DTC >= 1.4
|
|
||||||
BuildRequires: dtc >= 1.4.0
|
|
||||||
Provides: u-boot-loader
|
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
|
||||||
%if %x_loader == 1
|
|
||||||
Obsoletes: x-loader-mx6cubox-i
|
|
||||||
Provides: x-loader-mx6cubox-i
|
|
||||||
%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 mx6cubox-i 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
|
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
|
||||||
%patch2
|
|
||||||
%endif
|
|
||||||
%patch3
|
|
||||||
%patch4
|
|
||||||
%patch5
|
|
||||||
%patch6
|
|
||||||
%patch7
|
|
||||||
%patch8 -p1
|
|
||||||
%patch9 -p1
|
|
||||||
%patch10
|
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
|
||||||
%patch20
|
|
||||||
%patch21
|
|
||||||
%patch22
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx6_cubox-i_config
|
|
||||||
# temporary disable of --build-id
|
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
|
||||||
# Chromebook ARM (snow) need a uImage format
|
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|
||||||
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
|
||||||
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
|
||||||
# In that case prefer the one with a working dtb already appended.
|
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
|
||||||
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
|
|
||||||
elif [ -f u-boot-dtb.img ]; then
|
|
||||||
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
|
|
||||||
else
|
|
||||||
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
|
|
||||||
fi
|
|
||||||
%if %x_loader == 1
|
|
||||||
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
|
||||||
%endif
|
|
||||||
%if %origen_spl == 1
|
|
||||||
install -D -m 0755 spl/origen-spl.bin %{buildroot}/boot/origen-spl.bin
|
|
||||||
%endif
|
|
||||||
%if %arndale_spl == 1
|
|
||||||
install -D -m 0755 spl/arndale-spl.bin %{buildroot}/boot/arndale-spl.bin
|
|
||||||
install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|
||||||
%endif
|
|
||||||
%if %sunxi_spl == 1
|
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
|
||||||
%endif
|
|
||||||
%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 CREDITS README
|
|
||||||
|
|
||||||
%files doc
|
|
||||||
%defattr(-,root,root)
|
|
||||||
# Generic documents
|
|
||||||
%doc doc/README.JFFS2 doc/README.JFFS2_NAND doc/README.commands
|
|
||||||
%doc doc/README.autoboot doc/README.commands doc/README.console doc/README.dns
|
|
||||||
%doc doc/README.hwconfig doc/README.nand doc/README.NetConsole doc/README.serial_multi
|
|
||||||
%doc doc/README.SNTP doc/README.standalone doc/README.update doc/README.usb
|
|
||||||
%doc doc/README.video doc/README.VLAN doc/README.silent doc/README.POST doc/README.Modem
|
|
||||||
# Copy some useful kermit scripts as well
|
|
||||||
%doc tools/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-SoC doc/README.ARM-memory-map
|
|
||||||
|
|
||||||
%changelog
|
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl 0
|
%define cuboxi_spl 0
|
||||||
|
|
||||||
Name: u-boot-mx6qsabrelite
|
Name: u-boot-mx6qsabrelite
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the mx6qsabrelite arm platform
|
Summary: The u-boot firmware for the mx6qsabrelite arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,38 +76,32 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx6qsabrelite_config
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx6qsabrelite_defconfig
|
||||||
# temporary disable of --build-id
|
# temporary disable of --build-id
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl 0
|
%define cuboxi_spl 0
|
||||||
|
|
||||||
Name: u-boot-omap3beagle
|
Name: u-boot-omap3beagle
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the omap3beagle arm platform
|
Summary: The u-boot firmware for the omap3beagle arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,38 +76,32 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap3_beagle_config
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap3_beagle_defconfig
|
||||||
# temporary disable of --build-id
|
# temporary disable of --build-id
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
||||||
@ -117,15 +112,15 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# 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.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
install -D -m 0644 u-boot-dtb-tegra.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
elif [ -f u-boot-dtb.img ]; then
|
||||||
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
|
||||||
else
|
else
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
|
||||||
fi
|
fi
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl 0
|
%define cuboxi_spl 0
|
||||||
|
|
||||||
Name: u-boot-omap4panda
|
Name: u-boot-omap4panda
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the omap4panda arm platform
|
Summary: The u-boot firmware for the omap4panda arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,38 +76,32 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap4_panda_config
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap4_panda_defconfig
|
||||||
# temporary disable of --build-id
|
# temporary disable of --build-id
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
||||||
@ -117,15 +112,15 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# 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.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
install -D -m 0644 u-boot-dtb-tegra.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
elif [ -f u-boot-dtb.img ]; then
|
||||||
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
|
||||||
else
|
else
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
|
||||||
fi
|
fi
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl 0
|
%define cuboxi_spl 0
|
||||||
|
|
||||||
Name: u-boot-paz00
|
Name: u-boot-paz00
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the paz00 arm platform
|
Summary: The u-boot firmware for the paz00 arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,38 +76,32 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" paz00_config
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" paz00_defconfig
|
||||||
# temporary disable of --build-id
|
# temporary disable of --build-id
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl 0
|
%define cuboxi_spl 0
|
||||||
|
|
||||||
Name: u-boot-rpib
|
Name: u-boot-rpib
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the rpib arm platform
|
Summary: The u-boot firmware for the rpib arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,38 +76,32 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" rpi_b_config
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" rpi_b_defconfig
|
||||||
# temporary disable of --build-id
|
# temporary disable of --build-id
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl 0
|
%define cuboxi_spl 0
|
||||||
|
|
||||||
Name: u-boot-snow
|
Name: u-boot-snow
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the snow arm platform
|
Summary: The u-boot firmware for the snow arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,38 +76,32 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" snow_config
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" snow_defconfig
|
||||||
# temporary disable of --build-id
|
# temporary disable of --build-id
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl 0
|
%define cuboxi_spl 0
|
||||||
|
|
||||||
Name: u-boot-vexpressaemv8a
|
Name: u-boot-vexpressaemv8a
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the vexpressaemv8a arm platform
|
Summary: The u-boot firmware for the vexpressaemv8a arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,38 +76,32 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" vexpress_aemv8a_config
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" vexpress_aemv8a_defconfig
|
||||||
# temporary disable of --build-id
|
# temporary disable of --build-id
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 31 13:59:00 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
13
u-boot.spec
13
u-boot.spec
@ -19,13 +19,16 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: u-boot
|
Name: u-boot
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Tools for the u-boot Firmware
|
Summary: Tools for the u-boot Firmware
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: u-boot-%{version}.tar.bz2
|
#Source: u-boot-%{version}.tar.bz2
|
||||||
|
Source: u-boot-2014.10-rc2.tar.bz2
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
|
BuildRequires: python
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -44,9 +47,13 @@ This package contains:
|
|||||||
mkimage- a tool that creates kernel bootable images for u-boot.
|
mkimage- a tool that creates kernel bootable images for u-boot.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# needed for include/config/auto.conf
|
||||||
|
make defconfig
|
||||||
|
make silentoldconfig
|
||||||
make USE_PRIVATE_LIBGG=yes tools-only
|
make USE_PRIVATE_LIBGG=yes tools-only
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
@ -25,34 +25,35 @@
|
|||||||
%define cuboxi_spl CUBOXI_SPL
|
%define cuboxi_spl CUBOXI_SPL
|
||||||
|
|
||||||
Name: u-boot-BOARDNAME
|
Name: u-boot-BOARDNAME
|
||||||
Version: 2014.04
|
Version: 2014.10~rc2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The u-boot firmware for the BOARDNAME arm platform
|
Summary: The u-boot firmware for the BOARDNAME arm platform
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Url: http://www.denx.de/wiki/U-Boot
|
Url: http://www.denx.de/wiki/U-Boot
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
#Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
Source1: openSUSE_panda.txt
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-2014.10-rc2.tar.bz2
|
||||||
Source2: arndale-bl1.img
|
Source2: arndale-bl1.img
|
||||||
Source300: u-boot-rpmlintrc
|
Source300: u-boot-rpmlintrc
|
||||||
Patch2: mlo-ext2.patch
|
Patch0: enable_spl_ext_support_for_ti_armv7.patch
|
||||||
|
Patch1: add_spl_extfs_support.patch
|
||||||
|
Patch2: fix_omap_boot_mode.patch
|
||||||
Patch3: ti_common_initrd_support.patch
|
Patch3: ti_common_initrd_support.patch
|
||||||
Patch4: beagle-bootscr.patch
|
Patch4: beagle-bootscr.patch
|
||||||
Patch5: mx53loco-bootscr.patch
|
Patch5: panda-bootscr.patch
|
||||||
Patch6: origen-ext2.patch
|
Patch6: mx53loco-bootscr.patch
|
||||||
Patch7: arndale.patch
|
Patch7: origen-ext2.patch
|
||||||
Patch8: v2014.04-sunxi.patch
|
Patch8: arndale.patch
|
||||||
Patch9: am335x_evm-bootscr.patch
|
Patch9: am335x_evm-bootscr.patch
|
||||||
Patch10: rpi_b-bootscr.patch
|
Patch10: fix_sabrelite_boot.scr.patch
|
||||||
Patch12: fix_spl_build_for_am335x.patch
|
|
||||||
Patch13: fix_sabrelite_boot.scr.patch
|
|
||||||
Patch14: cubox-i-v2014.04-port.patch
|
|
||||||
Patch15: cubox-i-enable_raw_rd.patch
|
|
||||||
Patch20: fix_exynos5_text_base.patch
|
Patch20: fix_exynos5_text_base.patch
|
||||||
Patch21: fix_snow_config.patch
|
Patch21: fix_snow_config.patch
|
||||||
Patch22: exynos5-dt.h.patch
|
Patch22: exynos5-dt.h.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Arndale board need DTC >= 1.4
|
# Arndale board need DTC >= 1.4
|
||||||
|
BuildRequires: bc
|
||||||
BuildRequires: dtc >= 1.4.0
|
BuildRequires: dtc >= 1.4.0
|
||||||
Provides: u-boot-loader
|
Provides: u-boot-loader
|
||||||
Conflicts: otherproviders(u-boot-loader)
|
Conflicts: otherproviders(u-boot-loader)
|
||||||
@ -75,35 +76,29 @@ Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded Pow
|
|||||||
This package contains documentation for u-boot firmware
|
This package contains documentation for u-boot firmware
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n u-boot-%{version}
|
#%setup -q -n u-boot-%{version}
|
||||||
|
%setup -q -n u-boot-2014.10-rc2
|
||||||
# is non-free licensed, and we don't need it (bnc#773824)
|
# is non-free licensed, and we don't need it (bnc#773824)
|
||||||
rm -rf board/Marvell
|
rm -rf board/Marvell
|
||||||
# Any custom patches to be applied on top of mainline u-boot
|
# Any custom patches to be applied on top of mainline u-boot
|
||||||
%if "%{name}" != "u-boot-mx6cubox-i"
|
%patch0
|
||||||
# conflicts with cubox-i-v2014.04-port.patch, skip it when building for cubox-i
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%endif
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10
|
%patch10
|
||||||
%patch12
|
|
||||||
%patch13
|
|
||||||
%if "%{name}" == "u-boot-mx6cubox-i"
|
|
||||||
# Conflicts with mlo-ext2.patch, so apply only for cubox-i now
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
# Still WIP, so only apply Chromebook ARM (snow) patches for u-boot-snow to avoid to break other boards (Arndale board)
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
%patch22
|
%patch22
|
||||||
%endif
|
%endif
|
||||||
|
%patch99 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" BOARDCONFIG
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" BOARDCONFIG
|
||||||
@ -160,6 +155,6 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
|||||||
# Copy some useful kermit scripts as well
|
# Copy some useful kermit scripts as well
|
||||||
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd tools/kermit/send_image
|
||||||
# Now any h/w dependent Documentation
|
# Now any h/w dependent Documentation
|
||||||
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
|
%doc doc/README.ARM-memory-map
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
9557
v2014.04-sunxi.patch
9557
v2014.04-sunxi.patch
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user