Message ID | 44389066ddc2fe43ac45b67bb76f825e0bda816b.1515453490.git.sandeepsheriker.mallikarjun@microchip.com |
---|---|
State | Changes Requested |
Delegated to: | John Crispin |
Headers | show |
Series | Add AT91 SAMA5D27 SOM1 EK board | expand |
On 01/09/2018 12:23 AM, Sandeep Sheriker Mallikarjun wrote: > Add support for SAMA5D27 SOM1 EK board. > > Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com> > --- > package/boot/uboot-at91/Makefile | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > > diff --git a/package/boot/uboot-at91/Makefile b/package/boot/uboot-at91/Makefile > index ae2e888..c1d5cac 100644 > --- a/package/boot/uboot-at91/Makefile > +++ b/package/boot/uboot-at91/Makefile > @@ -7,10 +7,10 @@ > > include $(TOPDIR)/rules.mk > > -PKG_VERSION:=2016.05 > +PKG_VERSION:=2017.11 > PKG_RELEASE:=1 > > -PKG_HASH:=87d02275615aaf0cd007b54cbe9fbadceef2bee7c79e6c323ea1ae8956dcb171 > +PKG_HASH:=6a018fd3caf58f3dcfa23ee989a82bd35df03af71872b9dca8c6d758a0d26c05 U-Boot does not compile for me after this upgrade: make[4]: Entering directory '/home/hauke/openwrt/lede/build_dir/target-arm_cortex-a5+neon-vfpv4_musl_eabi/u-boot-sama5d27_som1_ek_mmc/u-boot-2017.11' *** Your GCC is older than 6.0 and will not be supported starting in v2018.01. CHK include/config/uboot.release CHK include/generated/version_autogenerated.h CHK include/generated/timestamp_autogenerated.h CHK include/generated/generic-asm-offsets.h CHK include/generated/asm-offsets.h CC cmd/version.o cmd/version.c: In function 'do_version': cmd/version.c:22:2: error: format not a string literal and no format arguments [-Werror=format-security] printf(display_options_get_banner(false, buf, sizeof(buf))); ^ cc1: some warnings being treated as errors scripts/Makefile.build:280: recipe for target 'cmd/version.o' failed make[5]: *** [cmd/version.o] Error 1 > > include $(INCLUDE_DIR)/u-boot.mk > include $(INCLUDE_DIR)/package.mk > @@ -74,6 +74,12 @@ define U-Boot/sama5d4_xplained_nandflash > BUILD_DEVICES:=at91-sama5d4_xplained > endef > > +define U-Boot/sama5d27_som1_ek_mmc > + NAME:=SAMA5D27 SOM1 EK (SDcard) > + BUILD_SUBTARGET:=sama5 > + BUILD_DEVICES:=at91-sama5d27_som1_ek > +endef > + > UBOOT_TARGETS := \ > at91sam9m10g45ek_nandflash \ > at91sam9x5ek_nandflash \ > @@ -83,7 +89,8 @@ UBOOT_TARGETS := \ > sama5d2_xplained_spiflash \ > sama5d4_xplained_mmc \ > sama5d4_xplained_spiflash \ > - sama5d4_xplained_nandflash > + sama5d4_xplained_nandflash \ > + sama5d27_som1_ek_mmc > > UBOOT_MAKE_FLAGS:= > >
diff --git a/package/boot/uboot-at91/Makefile b/package/boot/uboot-at91/Makefile index ae2e888..c1d5cac 100644 --- a/package/boot/uboot-at91/Makefile +++ b/package/boot/uboot-at91/Makefile @@ -7,10 +7,10 @@ include $(TOPDIR)/rules.mk -PKG_VERSION:=2016.05 +PKG_VERSION:=2017.11 PKG_RELEASE:=1 -PKG_HASH:=87d02275615aaf0cd007b54cbe9fbadceef2bee7c79e6c323ea1ae8956dcb171 +PKG_HASH:=6a018fd3caf58f3dcfa23ee989a82bd35df03af71872b9dca8c6d758a0d26c05 include $(INCLUDE_DIR)/u-boot.mk include $(INCLUDE_DIR)/package.mk @@ -74,6 +74,12 @@ define U-Boot/sama5d4_xplained_nandflash BUILD_DEVICES:=at91-sama5d4_xplained endef +define U-Boot/sama5d27_som1_ek_mmc + NAME:=SAMA5D27 SOM1 EK (SDcard) + BUILD_SUBTARGET:=sama5 + BUILD_DEVICES:=at91-sama5d27_som1_ek +endef + UBOOT_TARGETS := \ at91sam9m10g45ek_nandflash \ at91sam9x5ek_nandflash \ @@ -83,7 +89,8 @@ UBOOT_TARGETS := \ sama5d2_xplained_spiflash \ sama5d4_xplained_mmc \ sama5d4_xplained_spiflash \ - sama5d4_xplained_nandflash + sama5d4_xplained_nandflash \ + sama5d27_som1_ek_mmc UBOOT_MAKE_FLAGS:=
Add support for SAMA5D27 SOM1 EK board. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com> --- package/boot/uboot-at91/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-)