summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/bcm2835-firmware/Makefile26
-rw-r--r--target/arm/sys-available/raspberry-pi1
-rw-r--r--target/config/Config.in.runtime1
3 files changed, 28 insertions, 0 deletions
diff --git a/package/bcm2835-firmware/Makefile b/package/bcm2835-firmware/Makefile
new file mode 100644
index 000000000..0f9e9f2a6
--- /dev/null
+++ b/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
diff --git a/target/arm/sys-available/raspberry-pi b/target/arm/sys-available/raspberry-pi
index 1b235989e..c77f1fb42 100644
--- a/target/arm/sys-available/raspberry-pi
+++ b/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
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index 2c1ccb1d1..f6fd11a26 100644
--- a/target/config/Config.in.runtime
+++ b/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