add wandboard quad support and image
This commit is contained in:
parent
1669bbd6e5
commit
6e69f2fe61
@ -37,6 +37,8 @@ Patch21: 0012-Fix-for-screen-rolling-when-video-played-back-in-bro.patch
|
||||
Patch22: 0013-beaglebone-enable-CONFIG_SUPPORT_RAW_INITRD-option.patch
|
||||
Patch23: 0014-mmc-Add-RSTN-enable-for-emmc.patch
|
||||
|
||||
Patch30: uboot-wandboard-quad.patch
|
||||
|
||||
Requires: dtc
|
||||
|
||||
# build the tool for manipulation with environment only on arm
|
||||
@ -106,6 +108,13 @@ Requires: uboot-tools
|
||||
%description -n uboot-wandboard_dl
|
||||
u-boot bootloader binaries for Wandboard i.MX6 Dual Lite
|
||||
|
||||
%package -n uboot-wandboard_quad
|
||||
Summary: u-boot bootloader binaries for Wandboard i.MX6 Quad
|
||||
Requires: uboot-tools
|
||||
|
||||
%description -n uboot-wandboard_quad
|
||||
u-boot bootloader binaries for Wandboard i.MX6 Quad
|
||||
|
||||
%package -n uboot-wandboard_solo
|
||||
Summary: u-boot bootloader binaries for Wandboard i.MX6 Solo
|
||||
Requires: uboot-tools
|
||||
@ -145,6 +154,8 @@ u-boot bootloader binaries for vexpress
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
|
||||
%patch30 -p1
|
||||
|
||||
mkdir builds
|
||||
|
||||
%build
|
||||
@ -197,6 +208,11 @@ make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE=""
|
||||
cp -p u-boot.imx builds/u-boot.imx.dl
|
||||
make distclean
|
||||
|
||||
make CROSS_COMPILE="" wandboard_quad_config
|
||||
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE=""
|
||||
cp -p u-boot.imx builds/u-boot.imx.quad
|
||||
make distclean
|
||||
|
||||
make CROSS_COMPILE="" wandboard_solo_config
|
||||
make HOSTCC="gcc $RPM_OPT_FLAGS" CROSS_COMPILE=""
|
||||
cp -p u-boot.imx builds/u-boot.imx.solo
|
||||
@ -232,6 +248,7 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot-highbank/
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot-origen/
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot-smdkv310/
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot-imx6dl/
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot-imx6quad/
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot-imx6solo/
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot-uevm/
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot-vexpress/
|
||||
@ -252,6 +269,7 @@ install -p -m 0644 builds/smdkv310-spl.bin.smdkv310 $RPM_BUILD_ROOT%{_datadir}/u
|
||||
install -p -m 0644 builds/u-boot.bin.smdkv310 $RPM_BUILD_ROOT%{_datadir}/uboot-smdkv310/u-boot.bin
|
||||
|
||||
install -p -m 0644 builds/u-boot.imx.dl $RPM_BUILD_ROOT%{_datadir}/uboot-imx6dl/u-boot.bin
|
||||
install -p -m 0644 builds/u-boot.imx.quad $RPM_BUILD_ROOT%{_datadir}/uboot-imx6quad/u-boot.bin
|
||||
install -p -m 0644 builds/u-boot.imx.solo $RPM_BUILD_ROOT%{_datadir}/uboot-imx6solo/u-boot.bin
|
||||
|
||||
install -p -m 0644 builds/u-boot.bin.vexpress $RPM_BUILD_ROOT%{_datadir}/uboot-vexpress/u-boot.bin
|
||||
@ -318,6 +336,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/uboot-imx6dl/
|
||||
|
||||
%files -n uboot-wandboard_quad
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/uboot-imx6quad/
|
||||
|
||||
%files -n uboot-wandboard_solo
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/uboot-imx6solo/
|
||||
|
38
uboot-wandboard-quad.patch
Normal file
38
uboot-wandboard-quad.patch
Normal file
@ -0,0 +1,38 @@
|
||||
diff -ur u-boot-2013.04.orig/board/wandboard/README u-boot-2013.04/board/wandboard/README
|
||||
--- u-boot-2013.04.orig/board/wandboard/README 2013-04-19 09:25:43.000000000 -0500
|
||||
+++ u-boot-2013.04/board/wandboard/README 2013-06-14 09:01:59.935818158 -0500
|
||||
@@ -17,6 +17,11 @@
|
||||
$ make wanboard_dl_config
|
||||
$ make
|
||||
|
||||
+To build U-Boot for the Wandboard Quad version:
|
||||
+
|
||||
+$ make wandboard_quad_config
|
||||
+$ make
|
||||
+
|
||||
To build U-Boot for the Wandboard Solo version:
|
||||
|
||||
$ make wanboard_solo_config
|
||||
diff -ur u-boot-2013.04.orig/boards.cfg u-boot-2013.04/boards.cfg
|
||||
--- u-boot-2013.04.orig/boards.cfg 2013-04-19 09:25:43.000000000 -0500
|
||||
+++ u-boot-2013.04/boards.cfg 2013-06-14 09:04:30.281695305 -0500
|
||||
@@ -267,6 +267,7 @@
|
||||
nitrogen6s arm armv7 nitrogen6x boundary mx6 nitrogen6x:IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6s.cfg,MX6S,DDR_MB=512
|
||||
nitrogen6s1g arm armv7 nitrogen6x boundary mx6 nitrogen6x:IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6s1g.cfg,MX6S,DDR_MB=1024
|
||||
wandboard_dl arm armv7 wandboard - mx6 wandboard:IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6dl.cfg,MX6DL,DDR_MB=1024
|
||||
+wandboard_quad arm armv7 wandboard - mx6 wandboard:IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6q2g.cfg,MX6Q,DDR_MB=2048
|
||||
wandboard_solo arm armv7 wandboard - mx6 wandboard:IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6s.cfg,MX6S,DDR_MB=512
|
||||
cm_t35 arm armv7 cm_t35 - omap3
|
||||
omap3_overo arm armv7 overo - omap3
|
||||
diff -ur u-boot-2013.04.orig/include/configs/wandboard.h u-boot-2013.04/include/configs/wandboard.h
|
||||
--- u-boot-2013.04.orig/include/configs/wandboard.h 2013-04-19 09:25:43.000000000 -0500
|
||||
+++ u-boot-2013.04/include/configs/wandboard.h 2013-06-14 09:05:38.164639557 -0500
|
||||
@@ -83,6 +83,8 @@
|
||||
|
||||
#if defined(CONFIG_MX6DL)
|
||||
#define CONFIG_DEFAULT_FDT_FILE "imx6dl-wandboard.dtb"
|
||||
+#elif defined(CONFIG_MX6Q)
|
||||
+#define CONFIG_DEFAULT_FDT_FILE "imx6q-wandboard.dtb"
|
||||
#elif defined(CONFIG_MX6S)
|
||||
#define CONFIG_DEFAULT_FDT_FILE "imx6s-wandboard.dtb"
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user