Re: [OpenWrt-Devel] [PATCH] brcm2708-gpu-fw: revert to github releases, adapt to bcm2708 target changes and add back InstallDev

2015-02-13 Thread Álvaro Fernández Rojas
I think they don't want to split the firmware:
https://github.com/raspberrypi/firmware/issues/362

So I forked the repo and removed the unneeded files from git history:
https://github.com/openwrt-es/raspberrypi-firmware

Now the downloaded files are ~4MB: 
https://github.com/openwrt-es/raspberrypi-firmware/archive/ec027b256e4df9436d5d480d2bc19a494a43c9ba.tar.gz

Maybe we could add a new repo on github.com/openwrt and update it with the 
latest firmware from time to time.

El 13/02/2015 a las 1:30, Felix Fietkau escribió:
 On 2015-02-13 11:21, Álvaro Fernández Rojas wrote:
 Yeah, it would be great, but the real upstream repo is this one: 
 https://github.com/raspberrypi/firmware
 As you can see it has even more crap (and we only use some files of the boot 
 folder)...
 I'll open up an issue there.
 
 - Felix
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] brcm2708-gpu-fw: revert to github releases, adapt to bcm2708 target changes and add back InstallDev

2015-02-13 Thread Álvaro Fernández Rojas
Here's another solution:
We tag releases on a forked repository and we upload tar files to Github with 
only the files we need:
https://github.com/openwrt-es/raspberrypi-firmware/releases/tag/20150213

This way the downloaded files are ~4MB:
https://github.com/openwrt-es/raspberrypi-firmware/releases/download/20150213/raspberrypi-firmware-47bd0f0f46bc053d8e21655e3a69c4a73ae19b41.tar.gz

Package diff:
http://pastebin.com/jSRuQWRU

What do you think?

El 13/02/2015 a las 13:48, Álvaro Fernández Rojas escribió:
 I think they don't want to split the firmware:
 https://github.com/raspberrypi/firmware/issues/362
 
 So I forked the repo and removed the unneeded files from git history:
 https://github.com/openwrt-es/raspberrypi-firmware
 
 Now the downloaded files are ~4MB: 
 https://github.com/openwrt-es/raspberrypi-firmware/archive/ec027b256e4df9436d5d480d2bc19a494a43c9ba.tar.gz
 
 Maybe we could add a new repo on github.com/openwrt and update it with the 
 latest firmware from time to time.
 
 El 13/02/2015 a las 1:30, Felix Fietkau escribió:
 On 2015-02-13 11:21, Álvaro Fernández Rojas wrote:
 Yeah, it would be great, but the real upstream repo is this one: 
 https://github.com/raspberrypi/firmware
 As you can see it has even more crap (and we only use some files of the 
 boot folder)...
 I'll open up an issue there.

 - Felix

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] brcm2708-gpu-fw: revert to github releases, adapt to bcm2708 target changes and add back InstallDev

2015-02-12 Thread Felix Fietkau
On 2015-02-13 11:21, Álvaro Fernández Rojas wrote:
 Yeah, it would be great, but the real upstream repo is this one: 
 https://github.com/raspberrypi/firmware
 As you can see it has even more crap (and we only use some files of the boot 
 folder)...
I'll open up an issue there.

- Felix
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] brcm2708-gpu-fw: revert to github releases, adapt to bcm2708 target changes and add back InstallDev

2015-02-11 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas nolt...@gmail.com
---
 package/kernel/brcm2708-gpu-fw/Makefile | 26 --
 1 file changed, 16 insertions(+), 10 deletions(-)

diff --git a/package/kernel/brcm2708-gpu-fw/Makefile 
b/package/kernel/brcm2708-gpu-fw/Makefile
index e202002..3fe2a7f 100644
--- a/package/kernel/brcm2708-gpu-fw/Makefile
+++ b/package/kernel/brcm2708-gpu-fw/Makefile
@@ -7,24 +7,25 @@
 include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
-PKG_NAME:=brcm2708-gpu-fw-boot
-PKG_VERSION:=2015-02-07
-PKG_RELEASE:=$(PKG_SOURCE_VERSION)
-PKG_MD5SUM:=f198d5466ec412424f3ca77703f29d15
+PKG_NAME:=brcm2708-gpu-fw
+PKG_REV:=38aa676b044f8de46aedb4bd972538a7ad6a3ce1
+PKG_VERSION:=20150210
+PKG_RELEASE:=1
 
-PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources/
-# PKG_SOURCE_SUBDIR:=$(PKG_NAME)
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
+PKG_SOURCE:=$(PKG_REV).tar.gz
+PKG_SOURCE_URL:=https://github.com/Hexxeh/rpi-firmware/archive/
+PKG_MD5SUM:=f5683c1dcb255714942f7c9fd61b3a0a
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/rpi-firmware-$(PKG_REV)
 
 include $(INCLUDE_DIR)/package.mk
 
 define Package/brcm2708-gpu-fw
   SECTION:=boot
   CATEGORY:=Boot Loaders
-  DEPENDS:=@TARGET_brcm2708
+  DEPENDS:=@(TARGET_brcm2708_bcm2708||TARGET_brcm2708_bcm2709)
   TITLE:=brcm2708-gpu-fw
-  DEFAULT:=y if (TARGET_brcm2708)
+  DEFAULT:=y if (TARGET_brcm2708_bcm2708||TARGET_brcm2708_bcm2709)
 endef
 
 define Package/brcm2708-gpu-fw/description
@@ -34,5 +35,10 @@ endef
 define Build/Compile
 endef
 
+define Build/InstallDev
+   $(INSTALL_DIR) $(BUILD_DIR)/brcm2708-gpu-fw-boot
+   $(CP) $(PKG_BUILD_DIR)/* $(BUILD_DIR)/brcm2708-gpu-fw-boot
+endef
+
 $(eval $(call BuildPackage,brcm2708-gpu-fw))
 
-- 
1.8.3.2
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel