uboot: bump to version 2018.09
PATCH 1/4 uboot: bump to version 2018.09
--- boot/uboot/Config.in | 4 ++-- boot/uboot/uboot.hash | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
boot/uboot/Config.in +2 -2
@@ -39,7 +39,7 @@ choice Select the specific U-Boot version you want to use config BR2_TARGET_UBOOT_LATEST_VERSION - bool "2018.07" + bool "2018.09" config BR2_TARGET_UBOOT_CUSTOM_VERSION bool "Custom version"
@@ -87,7 +87,7 @@ endif config BR2_TARGET_UBOOT_VERSION string - default "2018.07" if BR2_TARGET_UBOOT_LATEST_VERSION + default "2018.09" if BR2_TARGET_UBOOT_LATEST_VERSION default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE \ if BR2_TARGET_UBOOT_CUSTOM_VERSION default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
boot/uboot/uboot.hash +1 -1
@@ -1,2 +1,2 @@ # Locally computed: -sha256 9f10df88bc91b35642e461217f73256bbaeeca9ae2db8db56197ba5e89e1f6d4 u-boot-2018.07.tar.bz2 +sha256 839bf23cfe8ce613a77e583a60375179d0ad324e92c82fbdd07bebf0fd142268 u-boot-2018.09.tar.bz2
Signature · 1 line
2.18.0.321.gffc6fa0e3
PATCH v2 2/4 board: orangepi: Add Orangepi One Plus support
Add initial support for Orangepi One Plus board
with below features:
- U-Boot 2018.09
- Linux 4.19.0-rc8
- Default packages from buildroot
---
Changes for v2:
- Use mainline u-boot
- Use tag in Linux
.gitlab-ci.yml | 1 + DEVELOPERS | 2 + .../orangepi/orangepi-one-plus/extlinux.conf | 4 ++ board/orangepi/orangepi-one-plus/genimage.cfg | 33 +++++++++++++ .../orangepi/orangepi-one-plus/post-build.sh | 4 ++ board/orangepi/orangepi-one-plus/readme.txt | 37 +++++++++++++++ configs/orangepi_one_plus_defconfig | 46 +++++++++++++++++++ 7 files changed, 127 insertions(+) create mode 100644 board/orangepi/orangepi-one-plus/extlinux.conf create mode 100644 board/orangepi/orangepi-one-plus/genimage.cfg create mode 100755 board/orangepi/orangepi-one-plus/post-build.sh create mode 100644 board/orangepi/orangepi-one-plus/readme.txt create mode 100644 configs/orangepi_one_plus_defconfig
.gitlab-ci.yml +1 -0
@@ -185,6 +185,7 @@ olimex_imx233_olinuxino_defconfig: *defconfig openblocks_a6_defconfig: *defconfig orangepi_lite_defconfig: *defconfig orangepi_one_defconfig: *defconfig +orangepi_one_plus_defconfig: *defconfig orangepi_pc2_defconfig: *defconfig orangepi_pc_defconfig: *defconfig orangepi_pc_plus_defconfig: *defconfig
DEVELOPERS +2 -0
@@ -954,6 +954,7 @@ F: board/engicam/ F: board/friendlyarm/nanopi-a64/ F: board/friendlyarm/nanopi-neo2/ F: board/olimex/a64-olinuxino/ +F: board/orangepi/orangepi-one-plus F: board/orangepi/orangepi-pc2/ F: board/orangepi/orangepi-prime/ F: board/orangepi/orangepi-win/
@@ -971,6 +972,7 @@ F: configs/engicam_imx6ul_isiot_defconfig F: configs/friendlyarm_nanopi_a64_defconfig F: configs/friendlyarm_nanopi_neo2_defconfig F: configs/olimex_a64_olinuxino_defconfig +F: configs/orangepi_one_plus_defconfig F: configs/orangepi_pc2_defconfig F: configs/orangepi_prime_defconfig F: configs/orangepi_win_defconfig
board/orangepi/orangepi-one-plus/extlinux.conf new file +4 -0
@@ -0,0 +1,4 @@ +label linux-4.18.0-rc3 + kernel /Image + devicetree /sun50i-h6-orangepi-one-plus.dtb + append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
board/orangepi/orangepi-one-plus/genimage.cfg new file +33 -0
@@ -0,0 +1,33 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h6-orangepi-one-plus.dtb", + "extlinux" + } + } + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8192 + size = 1040384 # 1MB - 8192 + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/orangepi/orangepi-one-plus/post-build.sh new file +4 -0
@@ -0,0 +1,4 @@ +#!/bin/sh +BOARD_DIR="$(dirname $0)" + +install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf
board/orangepi/orangepi-one-plus/readme.txt new file +37 -0
@@ -0,0 +1,37 @@ +Intro +===== + +This default configuration will allow you to start experimenting with the +buildroot environment for the Orangepi One Plus. With the current configuration +it will bring-up the board, and allow access through the serial console. + +Orangepi One Plus link: +http://www.orangepi.org/OrangePiOneplus/ + +Wiki link: +https://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+One+Plus + +This configuration uses U-Boot mainline and kernel mainline. + +How to build +============ + + $ make orangepi_one_plus_defconfig + $ make + +Note: you will need access to the internet to download the required +sources. + +How to write the SD card +======================== + +Once the build process is finished you will have an image called "sdcard.img" +in the output/images/ directory. + +Copy the bootable "sdcard.img" onto an SD card with "dd": + + $ sudo dd if=output/images/sdcard.img of=/dev/sdX + $ sudo sync + +Insert the micro SDcard in your Orangepi One Plus and power it up. The console +is on the serial line, 115200 8N1.
configs/orangepi_one_plus_defconfig new file +46 -0
46 lines not on this page · raw message
Signature · 1 line
2.18.0.321.gffc6fa0e3
PATCH v2 2/4 board: orangepi: Add Orangepi One Plus support
Hi Jagan,
board/orangepi/orangepi-one-plus/extlinux.conf line 1
Quoted 7 lines · Jagan Teki
board/orangepi/orangepi-one-plus/extlinux.conf new file +1
-0@@ -0,0 +1,4 @@ +label linux-4.18.0-rc3
This doesn't match the actual kernel version. I think you can just drop the version from the label. It is easy to forget keeping it in sync with the kernel version.
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -Thomas Petazzoni
AppliedPATCH v2 2/4 board: orangepi: Add Orangepi One Plus support
In reply to Jagan TekiHello,
Quoted 11 lines · Jagan Teki
Add initial support for Orangepi One Plus board
with below features:
- U-Boot 2018.09
- Linux 4.19.0-rc8
- Default packages from buildrootSigned-off-by Jagan Teki <[email protected]>---
Changes for v2:
- Use mainline u-boot
- Use tag in Linux
Applied to master after fixing the extlinux.conf to drop the version of the Linux kernel.
Also, is this board now supported in upstream U-Boot and Linux? If so, it would be nice to use that.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 3/4 board: orangepi: Add Orangepi Lite2 support
In reply to Jagan TekiAdd initial support for Orangepi Lite2 board
with below features:
- U-Boot 2018.09
- Linux 4.19.0-rc8
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 + board/orangepi/orangepi-lite2/extlinux.conf | 4 ++ board/orangepi/orangepi-lite2/genimage.cfg | 33 +++++++++++++++ board/orangepi/orangepi-lite2/post-build.sh | 4 ++ board/orangepi/orangepi-lite2/readme.txt | 35 +++++++++++++++ configs/orangepi_lite2_defconfig | 47 +++++++++++++++++++++ 7 files changed, 126 insertions(+) create mode 100644 board/orangepi/orangepi-lite2/extlinux.conf create mode 100644 board/orangepi/orangepi-lite2/genimage.cfg create mode 100755 board/orangepi/orangepi-lite2/post-build.sh create mode 100644 board/orangepi/orangepi-lite2/readme.txt create mode 100644 configs/orangepi_lite2_defconfig
.gitlab-ci.yml +1 -0
@@ -184,6 +184,7 @@ olimex_a64_olinuxino_defconfig: *defconfig olimex_imx233_olinuxino_defconfig: *defconfig openblocks_a6_defconfig: *defconfig orangepi_lite_defconfig: *defconfig +orangepi_lite2_defconfig: *defconfig orangepi_one_defconfig: *defconfig orangepi_one_plus_defconfig: *defconfig orangepi_pc2_defconfig: *defconfig
DEVELOPERS +2 -0
@@ -954,6 +954,7 @@ F: board/engicam/ F: board/friendlyarm/nanopi-a64/ F: board/friendlyarm/nanopi-neo2/ F: board/olimex/a64-olinuxino/ +F: board/orangepi/orangepi-lite2/ F: board/orangepi/orangepi-one-plus F: board/orangepi/orangepi-pc2/ F: board/orangepi/orangepi-prime/
@@ -972,6 +973,7 @@ F: configs/engicam_imx6ul_isiot_defconfig F: configs/friendlyarm_nanopi_a64_defconfig F: configs/friendlyarm_nanopi_neo2_defconfig F: configs/olimex_a64_olinuxino_defconfig +F: configs/orangepi_lite2_defconfig F: configs/orangepi_one_plus_defconfig F: configs/orangepi_pc2_defconfig F: configs/orangepi_prime_defconfig
board/orangepi/orangepi-lite2/extlinux.conf new file +4 -0
@@ -0,0 +1,4 @@ +label linux-4.18.0-rc3 + kernel /Image + devicetree /sun50i-h6-orangepi-lite2.dtb + append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
board/orangepi/orangepi-lite2/genimage.cfg new file +33 -0
@@ -0,0 +1,33 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h6-orangepi-lite2.dtb", + "extlinux" + } + } + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8192 + size = 1040384 # 1MB - 8192 + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/orangepi/orangepi-lite2/post-build.sh new file +4 -0
@@ -0,0 +1,4 @@ +#!/bin/sh +BOARD_DIR="$(dirname $0)" + +install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf
board/orangepi/orangepi-lite2/readme.txt new file +35 -0
@@ -0,0 +1,35 @@ +Intro +===== + +This default configuration will allow you to start experimenting with the +buildroot environment for the Orangepi Lite2. With the current configuration +it will bring-up the board, and allow access through the serial console. + +Orangepi Lite2 link: +http://www.orangepi.org/Orange%20Pi%20Lite%202/ + +Wiki link: +https://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+Lite2 + +How to build +============ + + $ make orangepi_lite2_defconfig + $ make + +Note: you will need access to the internet to download the required +sources. + +How to write the SD card +======================== + +Once the build process is finished you will have an image called "sdcard.img" +in the output/images/ directory. + +Copy the bootable "sdcard.img" onto an SD card with "dd": + + $ sudo dd if=output/images/sdcard.img of=/dev/sdX + $ sudo sync + +Insert the micro SDcard in your Orangepi Lite2 and power it up. The console +is on the serial line, 115200 8N1.
configs/orangepi_lite2_defconfig new file +47 -0
47 lines not on this page · raw message
Signature · 1 line
2.18.0.321.gffc6fa0e3
Thomas Petazzoni
AppliedPATCH 3/4 board: orangepi: Add Orangepi Lite2 support
Hello,
Quoted 7 lines · Jagan Teki
Add initial support for Orangepi Lite2 board
with below features:
- U-Boot 2018.09
- Linux 4.19.0-rc8
- Default packages from buildrootSigned-off-by Jagan Teki <[email protected]>
Quoted 14 lines
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 + board/orangepi/orangepi-lite2/extlinux.conf | 4 ++ board/orangepi/orangepi-lite2/genimage.cfg | 33 +++++++++++++++ board/orangepi/orangepi-lite2/post-build.sh | 4 ++ board/orangepi/orangepi-lite2/readme.txt | 35 +++++++++++++++ configs/orangepi_lite2_defconfig | 47 +++++++++++++++++++++ 7 files changed, 126 insertions(+) create mode 100644 board/orangepi/orangepi-lite2/extlinux.conf create mode 100644 board/orangepi/orangepi-lite2/genimage.cfg create mode 100755 board/orangepi/orangepi-lite2/post-build.sh create mode 100644 board/orangepi/orangepi-lite2/readme.txt create mode 100644 configs/orangepi_lite2_defconfig
Applied to master after adjusting extlinux.conf as well. Also, please send an update to the defconfig once this board is supported in upstream U-Boot and Linux.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 4/4 board: orangepi: lite2: Add WiFi support
In reply to Jagan TekiOrangepi lite2 board has AP6356S WiFi/BT combo, but does not have ethernet port. So it makes sense to enable wireless networking by default:
- add broadcom wireless firmware package to image
- add basic wireless tools to image
- add rootfs overlay with proper NVRAM file for on-board AP6356S chip
- add mdev to image to enable module autoloading
- update readme.txt to test wifi
--- board/orangepi/orangepi-lite2/readme.txt | 9 ++ .../lib/firmware/brcm/brcmfmac43455-sdio.txt | 82 +++++++++++++++++++ configs/orangepi_lite2_defconfig | 13 +++ 3 files changed, 104 insertions(+) create mode 100755 board/orangepi/orangepi-lite2/rootfs_overlay/lib/firmware/brcm/brcmfmac43455-sdio.txt
board/orangepi/orangepi-lite2/readme.txt +9 -0
@@ -33,3 +33,12 @@ Copy the bootable "sdcard.img" onto an SD card with "dd": Insert the micro SDcard in your Orangepi Lite2 and power it up. The console is on the serial line, 115200 8N1. + +WiFi +==== + + # wpa_passphrase ACCESSPOINTNAME >> /etc/wpa_supplicant.conf + (type password and enter) + # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B + # udhcpc -i wlan0 + # ping google.com
board/orangepi/orangepi-lite2/rootfs_overlay/lib/firmware/brcm/brcmfmac43455-sdio.txt new file +82 -0
82 lines not on this page · raw message
configs/orangepi_lite2_defconfig +13 -0
@@ -42,6 +42,19 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-lite2/genimage.cfg" BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/orangepi-lite2/post-build.sh" +BR2_ROOTFS_OVERLAY="board/orangepi/orangepi-lite2/rootfs_overlay" + +# wireless firmware +BR2_PACKAGE_LINUX_FIRMWARE=y +BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX=y + +# wireless tools +BR2_PACKAGE_IW=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y +BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y +BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
Signature · 1 line
2.18.0.321.gffc6fa0e3
Thomas Petazzoni
AppliedPATCH 4/4 board: orangepi: lite2: Add WiFi support
Hello,
Quoted 9 lines · Jagan Teki
Orangepi lite2 board has AP6356S WiFi/BT combo, but does not have ethernet port. So it makes sense to enable wireless networking by default:
- add broadcom wireless firmware package to image
- add basic wireless tools to image
- add rootfs overlay with proper NVRAM file for on-board AP6356S chip
- add mdev to image to enable module autoloading
- update readme.txt to test wifi
Quoted 7 lines
Signed-off-by Jagan Teki <[email protected]>--- board/orangepi/orangepi-lite2/readme.txt | 9 ++ .../lib/firmware/brcm/brcmfmac43455-sdio.txt | 82 +++++++++++++++++++ configs/orangepi_lite2_defconfig | 13 +++ 3 files changed, 104 insertions(+) create mode 100755 board/orangepi/orangepi-lite2/rootfs_overlay/lib/firmware/brcm/brcmfmac43455-sdio.txt
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Thomas Petazzoni
AppliedPATCH 1/4 uboot: bump to version 2018.09
In reply to Jagan TekiHello,
Quoted 5 lines · Jagan Teki
Signed-off-by Jagan Teki <[email protected]>--- boot/uboot/Config.in | 4 ++-- boot/uboot/uboot.hash | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com