Changeset 36669


Ignore:
Timestamp:
2013-05-20T14:14:30+02:00 (5 years ago)
Author:
jogo
Message:

AA: brcm2708: reduce dl size and make rev 2 raspis work

Backport of r36667, r36668.

Signed-off-by: Jonas Gorski <jogo@…>

Location:
branches/attitude_adjustment
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/attitude_adjustment/package/brcm2708-gpu-fw/Makefile

    r32825 r36669  
    99 
    1010PKG_NAME:=brcm2708-gpu-fw 
    11 PKG_REV:=29ce6bcf278e7e79cd8a2b84c6aa9db9864ca91d 
    12 PKG_VERSION:=20120529 
     11PKG_REV:=d5b05be2147bf5dc0137798837af24b0bbbe398d 
     12PKG_VERSION:=20130517 
    1313PKG_RELEASE:=1 
    1414 
    15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    16 PKG_SOURCE_URL:=git://github.com/raspberrypi/firmware.git 
    17 PKG_SOURCE_PROTO:=git 
    18 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 
    19 PKG_SOURCE_VERSION:=$(PKG_REV) 
     15PKG_SOURCE:=$(PKG_REV).tar.gz 
     16PKG_SOURCE_URL:=https://github.com/Hexxeh/rpi-firmware/archive/ 
     17PKG_MD5SUM:=9b0ce0a530e237f4c6fe43a36ccf57c3 
    2018 
    21 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
     19PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/rpi-firmware-$(PKG_REV) 
    2220 
    2321include $(INCLUDE_DIR)/package.mk 
     
    4038define Build/InstallDev 
    4139        $(INSTALL_DIR) $(BUILD_DIR)/brcm2708-gpu-fw-boot 
    42         $(CP) $(PKG_BUILD_DIR)/boot/* $(BUILD_DIR)/brcm2708-gpu-fw-boot 
     40        $(CP) $(PKG_BUILD_DIR)/* $(BUILD_DIR)/brcm2708-gpu-fw-boot 
    4341endef 
    4442 
  • branches/attitude_adjustment/target/linux/brcm2708/image/Makefile

    r32825 r36669  
    2121        mkdosfs $(KDIR)/boot.img -C $(FAT32_BLOCKS) 
    2222        # Raspberry Pi has no bootloader, instead the GPU loads and starts the kernel 
    23         mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/arm128_start.elf :: 
    24         mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/arm192_start.elf :: 
    25         mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/arm224_start.elf :: 
    2623        mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/bootcode.bin :: 
    2724        mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/COPYING.linux :: 
    2825        mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/LICENCE.broadcom :: 
    29         mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/loader.bin :: 
    30         mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/arm$(2)_start.elf ::start.elf  #Copy file for memory/gpu division 
     26        mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/start.elf :: 
     27        mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/start_cd.elf :: 
     28        mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/fixup.dat :: 
     29        mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/fixup_cd.dat :: 
    3130        mcopy -i $(KDIR)/boot.img cmdline.txt :: 
     31        mcopy -i $(KDIR)/boot.img config.txt :: 
    3232        mcopy -i $(KDIR)/boot.img $(KDIR)/Image ::kernel.img  # Copy OpenWrt built kernel 
    33         ./gen_rpi_sdcard_img.sh $(BIN_DIR)/$(IMG_PREFIX)-sdcard-vfat-$(1)_$(2).img $(KDIR)/boot.img $(KDIR)/root.$(1) \ 
     33        ./gen_rpi_sdcard_img.sh $(BIN_DIR)/$(IMG_PREFIX)-sdcard-vfat-$(1).img $(KDIR)/boot.img $(KDIR)/root.$(1) \ 
    3434                $(CONFIG_BRCM2708_SD_BOOT_PARTSIZE) $(CONFIG_TARGET_ROOTFS_PARTSIZE) 
    3535endef 
     
    3939        $(CP) $(KDIR)/Image $(BIN_DIR)/$(IMG_PREFIX)-Image 
    4040 
    41         $(call Image/Build/RaspberryPi,$(1),128) 
    42         $(call Image/Build/RaspberryPi,$(1),192) 
    43         $(call Image/Build/RaspberryPi,$(1),224) 
     41        $(call Image/Build/RaspberryPi,$(1)) 
    4442endef 
    4543 
Note: See TracChangeset for help on using the changeset viewer.