path: root/board/orangepi
diff options
authorGravatar Eelco Chaudron <echaudron@xiot.nl>2016-01-29 15:27:48 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-01-29 17:50:11 +0100
commitdbae4d1e0457127dc766dd4b908b42a1f16d9114 (patch)
treee3fa9997a916d79831971bae0aeaf28743556a9f /board/orangepi
parent1214ecc5d09dc4ec351a60509cf08837eb21c5f9 (diff)
configs/orangepi: Changing Linux kernel to v4.5-rc1
[Peter: use tarball for Linux kernel, use 4.4 kernel headers] Signed-off-by: Eelco Chaudron <echaudron@xiot.nl> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board/orangepi')
2 files changed, 7 insertions, 5 deletions
diff --git a/board/orangepi/orangepipc/post-image.sh b/board/orangepi/orangepipc/post-image.sh
index 9cca1b1789..dbe1516696 100755
--- a/board/orangepi/orangepipc/post-image.sh
+++ b/board/orangepi/orangepipc/post-image.sh
@@ -6,7 +6,13 @@ GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
rm -rf "${GENIMAGE_TMP}"
-genimage \
+# As we now use the Linux v4.5-RC1 kernel no orangepi-pc dtb exists yet.
+# However the orangepi-plus dtb has not much content, only mmc0 and uart
+# which are equal to the pc version of the board, so we use it here.
+mv ${BINARIES_DIR}/sun8i-h3-orangepi-plus.dtb ${BINARIES_DIR}/sun8i-h3-orangepi-pc.dtb
+genimage \
--rootpath "${TARGET_DIR}" \
--tmppath "${GENIMAGE_TMP}" \
--inputpath "${BINARIES_DIR}" \
diff --git a/board/orangepi/orangepipc/readme.txt b/board/orangepi/orangepipc/readme.txt
index 00845a4521..f12c867963 100644
--- a/board/orangepi/orangepipc/readme.txt
+++ b/board/orangepi/orangepipc/readme.txt
@@ -7,10 +7,6 @@ This default configuration will allow you to start experimenting with the
buildroot environment for the OrangePi PC. With the current configuration
it will bring-up the board, and allow access through the serial console.
-Unfortunately this boards processor is not yet supported by the
-mainline kernel, and therefore this default configuration is using a
-private Linux kernel repository based on 4.4-rc.
How to build it