]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/rpi-firmware
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x
[people/pmueller/ipfire-2.x.git] / lfs / rpi-firmware
index 49b3f1a9b975c50308a1bda8e89e850cd45b2f71..b4a9bdef7e3ef64be8ec51df9b8facb9b65b8b0e 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2012  IPFire Team  <info@ipfire.org>                          #
+# Copyright (C) 2007-2021  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
 
 include Config
 
-VER        = d4f5315
+VER        = 20210606
 THISAPP    = rpi-firmware-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
 DL_FROM    = $(URL_IPFIRE)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
-SUP_ARCH   = armv5tel
+SUP_ARCH   = armv6l aarch64
 
 ###############################################################################
 # Top-level Rules
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 65c0a859ab96cb563a80e3529c78f555
+$(DL_FILE)_MD5 = 5e9cccb9df460ea870134578e6caab26
 
 install : $(TARGET)
 
@@ -71,4 +71,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @cd / && tar axf $(DIR_DL)/$(DL_FILE)
        cp -f $(DIR_SRC)/config/rpi-firmware/config.txt /boot
+ifeq "${BUILD_ARCH}" "armv6l"
+       echo arm_64bit=0 >> /boot/config.txt
+else
+       echo arm_64bit=1 >> /boot/config.txt
+endif
        @$(POSTBUILD)