brcm2708: Update brcm2708-gpu-fw package
Problem - rapsberry pi 3 b/b+ does not boot with bcm2710 images! How Raspberry Pi boots Actualy? When Raspberry is switched on GPU is activated. 1. GPU execute First stage bootloader from ROM. First stage bootloader mount the FAT boot partition on the SD card and execute second stage bootloader (bootcode.bin). 2. Second stage bootloader (bootcode.bin) activate SDRAM. Load the GPU firmware (start.elf). 3. GPU firmware (start.elf) a) display Rainbow splash. b) read firmware configuration file config.txt and split the RAM using fixup.dat. c) loads a cmdline.txt d) enables the CPU. e) loads the kernel image configurable via config.txt In your target/linux/brcm2708/image/config.txt 493 ## kernel (string) 494 ## Alternative name to use when loading kernel. 495 ## 496 #kernel="" it is not configured! But in your target/linux/brcm2708/image/Makefile 75 KERNEL_IMG := kernel8.img 76 DEVICE_TITLE := Raspberry Pi 3B/3B+ you have kernel8.img GPU Firmware search order by default for a PI 3 is: kernel8.img if found boot in 64 bit mode kernel8-32.img if found boot in 32 bit mode kernel7.img if found boot in 32 bit mode kernel.img if found boot in 32 bit mode But a PI 2 will start the search from kernel7.img and a PI 1 only looks for kernel.img. Оbviously the kernel has been found. But something goes wrong and the device is restarted. In your package/kernel/brcm2708-gpu-fw/Makefile 11 PKG_NAME:=brcm2708-gpu-fw 12 PKG_VERSION:=2017-08-08 13 PKG_RELEASE:=e7ba7ab135f5a68b2c00a919ea9ac8d5528a5d5b boot loader is 10 monts old. In conclusion, the best way to solve the problem is to update the boot loader! Fixup_cd.dat and start_cd.elf files are not necessary. These are used when GPU memory is set to 16 MB, which disables some GPU features. I did not remove them just in case! cheers Signed-off-by: Christo Nedev <christo.nedev@gmail.com>
This commit is contained in:
parent
8796680277
commit
c335649629
1 changed files with 7 additions and 7 deletions
|
@ -9,8 +9,8 @@ include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=brcm2708-gpu-fw
|
PKG_NAME:=brcm2708-gpu-fw
|
||||||
PKG_VERSION:=2017-08-08
|
PKG_VERSION:=2018-05-16
|
||||||
PKG_RELEASE:=e7ba7ab135f5a68b2c00a919ea9ac8d5528a5d5b
|
PKG_RELEASE:=0f5f899ccec1c2ef8bba02aa49700b4ec19b4199
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)/rpi-firmware-$(PKG_RELEASE)
|
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)/rpi-firmware-$(PKG_RELEASE)
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ define Download/bootcode_bin
|
||||||
FILE:=$(RPI_FIRMWARE_FILE)-bootcode.bin
|
FILE:=$(RPI_FIRMWARE_FILE)-bootcode.bin
|
||||||
URL:=$(RPI_FIRMWARE_URL)
|
URL:=$(RPI_FIRMWARE_URL)
|
||||||
URL_FILE:=bootcode.bin
|
URL_FILE:=bootcode.bin
|
||||||
HASH:=b5928ef5253774362014f9e7de856397a932514fe1bc5d7f7817a73c0e10e863
|
HASH:=c9eb5258766fabf7127e790b257f106e2717f0ccaaed37544b970b0d113956fc
|
||||||
endef
|
endef
|
||||||
$(eval $(call Download,bootcode_bin))
|
$(eval $(call Download,bootcode_bin))
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ define Download/fixup_dat
|
||||||
FILE:=$(RPI_FIRMWARE_FILE)-fixup.dat
|
FILE:=$(RPI_FIRMWARE_FILE)-fixup.dat
|
||||||
URL:=$(RPI_FIRMWARE_URL)
|
URL:=$(RPI_FIRMWARE_URL)
|
||||||
URL_FILE:=fixup.dat
|
URL_FILE:=fixup.dat
|
||||||
HASH:=d95fcac57de7ab71e863a115fd60444f6099cb2ea100f4a68b2c606f79e775ed
|
HASH:=8a6311e73d0f349be9b8424db0644fd8f48aaf721f3f2f487488c83d7316cbdf
|
||||||
endef
|
endef
|
||||||
$(eval $(call Download,fixup_dat))
|
$(eval $(call Download,fixup_dat))
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ define Download/fixup_cd_dat
|
||||||
FILE:=$(RPI_FIRMWARE_FILE)-fixup_cd.dat
|
FILE:=$(RPI_FIRMWARE_FILE)-fixup_cd.dat
|
||||||
URL:=$(RPI_FIRMWARE_URL)
|
URL:=$(RPI_FIRMWARE_URL)
|
||||||
URL_FILE:=fixup_cd.dat
|
URL_FILE:=fixup_cd.dat
|
||||||
HASH:=28f3ec8388df4e0c47489f8370a29ca81dbc536fe7db9978342865b5d093ec36
|
HASH:=973b008aae9711d57ddce4f058354fe5a0b4725dd825673f784a2e2754da1f28
|
||||||
endef
|
endef
|
||||||
$(eval $(call Download,fixup_cd_dat))
|
$(eval $(call Download,fixup_cd_dat))
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ define Download/start_elf
|
||||||
FILE:=$(RPI_FIRMWARE_FILE)-start.elf
|
FILE:=$(RPI_FIRMWARE_FILE)-start.elf
|
||||||
URL:=$(RPI_FIRMWARE_URL)
|
URL:=$(RPI_FIRMWARE_URL)
|
||||||
URL_FILE:=start.elf
|
URL_FILE:=start.elf
|
||||||
HASH:=8712fb4e241a22f7a33de0f1d420e0fdfff237952aa685c907b91e59c8d487fa
|
HASH:=8e77c4cce7e44ced609e5046dd55f19cb7656a8ce4694e733b7eb6ecab915fe1
|
||||||
endef
|
endef
|
||||||
$(eval $(call Download,start_elf))
|
$(eval $(call Download,start_elf))
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ define Download/start_cd_elf
|
||||||
FILE:=$(RPI_FIRMWARE_FILE)-start_cd.elf
|
FILE:=$(RPI_FIRMWARE_FILE)-start_cd.elf
|
||||||
URL:=$(RPI_FIRMWARE_URL)
|
URL:=$(RPI_FIRMWARE_URL)
|
||||||
URL_FILE:=start_cd.elf
|
URL_FILE:=start_cd.elf
|
||||||
HASH:=c600ab34bea389da10aac541bf2f9c62e5f774093b7e1f2f72c4637f9cf3a83c
|
HASH:=25223b479b7aca1d74c6f7a1829aba69fd14906ca5b25ae12571fe71ea2c5a4a
|
||||||
endef
|
endef
|
||||||
$(eval $(call Download,start_cd_elf))
|
$(eval $(call Download,start_cd_elf))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue