Prechádzať zdrojové kódy

add firmware for bcm2835

Waldemar Brodkorb 11 rokov pred
rodič
commit
7cabb5806f

+ 26 - 0
package/bcm2835-firmware/Makefile

@@ -0,0 +1,26 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:=		bcm2835-firmware
+PKG_VERSION:=		0.2
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		fecab45f97a44babaf618523852bbb9b
+PKG_DESCR:=		firmware for raspberry pi (bcm2835)
+PKG_SECTION:=		base
+PKG_SITES:=		http://openadk.org/distfiles/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,BCM2835_FIRMWARE,bcm2835-firmware,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:=          manual
+BUILD_STYLE:=           manual
+INSTALL_STYLE:=         manual
+
+do-install:
+	${INSTALL_DIR} ${IDIR_BCM2835_FIRMWARE}/boot
+	${CP} ${WRKBUILD}/boot/* ${IDIR_BCM2835_FIRMWARE}/boot/
+
+include ${TOPDIR}/mk/pkg-bottom.mk

+ 1 - 0
target/arm/sys-available/raspberry-pi

@@ -8,6 +8,7 @@ config ADK_TARGET_SYSTEM_RASPBERRY_PI
 	select ADK_EABIHF
 	select ADK_TARGET_WITH_MMC
 	select ADK_CPU_RASPBERRY_PI
+	select ADK_PACKAGE_BCM2835_FIRMWARE
 	help
 	  Raspberry PI
 

+ 1 - 0
target/config/Config.in.runtime

@@ -36,6 +36,7 @@ config ADK_RUNTIME_TIMEZONE
 choice
 prompt "Console output on embedded system"
 default ADK_RUNTIME_CONSOLE_BOTH if ADK_TARGET_WITH_VGA
+default ADK_RUNTIME_CONSOLE_VGA if ADK_TARGET_SYSTEM_RASPBERRY_PI
 default ADK_RUNTIME_CONSOLE_SERIAL
 
 config ADK_RUNTIME_CONSOLE_VGA