board: Add Allwinner A64/H5 boards
Subsystems (2)
v4 cover board: Add Allwinner A64/H5 boards
This patchset series drop 'sunxi64-post-build.sh'[1] for post-building U-Boot proper instead it add U-Boot-bundles-ATF scenario.
All boards now use Mainline U-Boot, Linux and Nanaopi A64, A64-olinuxino used linux-next patches since 4.13.7 have not been merged.
Tested on rea hardware.
Changes for v3:
- Added "arm-trusted-firmware: Build FIP for BL33" patch
- Added "uboot: Add U-Boot-bundles-ATF support" patch
- Droped sunxi64-post-build.sh config and script file Changes for v3:
- Fixed Bananapi M1 comment on config file
- Add sunxi64-post-build.sh
- Add all sunxi64 boards
Changes for v2:
- Rebase on master
[1] https://www.mail-archive.com/linux-sunxi at googlegroups.com/msg24703.html
Jagan Teki (11):
arm-trusted-firmware: Build FIP for BL33
uboot: Add U-Boot-bundles-ATF support
board: Add Bananapi M64 support
board: Add Pine64 support
board: Add SoPine support
board: Add FriendlyARM Nanopi A64 support
board: Add FriendlyARM Nanopi NEO2 support
board: Add Olimex A64-OLinuXino support
board: Add Orangepi Win/Win Plus support
board: Add Orangepi Prime support
board: Add Orangepi Zero Plus2 support
.gitlab-ci.yml | 9 + DEVELOPERS | 16 ++ board/bananapi/bananapi-m64/boot.cmd | 6 + board/bananapi/bananapi-m64/genimage.cfg | 38 +++ board/bananapi/bananapi-m64/readme.txt | 37 +++ board/friendlyarm/nanopi-a64/boot.cmd | 6 + board/friendlyarm/nanopi-a64/genimage.cfg | 38 +++ board/friendlyarm/nanopi-a64/linux_axp.fragment | 3 + ...nner-a64-add-NMI-R_INTC-controller-on-A64.patch | 41 ++++ ...lwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch | 176 ++++++++++++++ ...winner-a64-Add-initial-NanoPi-A64-support.patch | 254 +++++++++++++++++++++ board/friendlyarm/nanopi-a64/readme.txt | 37 +++ board/friendlyarm/nanopi-neo2/boot.cmd | 6 + board/friendlyarm/nanopi-neo2/genimage.cfg | 38 +++ board/friendlyarm/nanopi-neo2/readme.txt | 37 +++ board/olimex/a64-olinuxino/boot.cmd | 6 + board/olimex/a64-olinuxino/genimage.cfg | 38 +++ board/olimex/a64-olinuxino/linux_axp.fragment | 3 + ...nner-a64-add-NMI-R_INTC-controller-on-A64.patch | 41 ++++ ...lwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch | 176 ++++++++++++++ ...nner-a64-Add-A64-OLinuXino-initial-suppor.patch | 244 ++++++++++++++++++++ board/olimex/a64-olinuxino/readme.txt | 37 +++ board/orangepi/orangepi-prime/boot.cmd | 6 + board/orangepi/orangepi-prime/genimage.cfg | 38 +++ board/orangepi/orangepi-prime/readme.txt | 37 +++ board/orangepi/orangepi-win/boot.cmd | 6 + board/orangepi/orangepi-win/genimage.cfg | 38 +++ board/orangepi/orangepi-win/readme.txt | 37 +++ board/orangepi/orangepi-zero-plus2/boot.cmd | 6 + board/orangepi/orangepi-zero-plus2/genimage.cfg | 38 +++ board/orangepi/orangepi-zero-plus2/readme.txt | 37 +++ board/pine64/pine64/boot.cmd | 6 + board/pine64/pine64/genimage.cfg | 38 +++ board/pine64/pine64/readme.txt | 38 +++ board/pine64/sopine/boot.cmd | 6 + board/pine64/sopine/genimage.cfg | 38 +++ board/pine64/sopine/readme.txt | 38 +++ boot/arm-trusted-firmware/arm-trusted-firmware.mk | 12 +- boot/uboot/Config.in | 10 + boot/uboot/uboot.mk | 5 + configs/bananapi_m64_defconfig | 47 ++++ configs/friendlyarm_nanopi_a64_defconfig | 51 +++++ configs/friendlyarm_nanopi_neo2_defconfig | 47 ++++ configs/olimex_a64_olinuxino_defconfig | 51 +++++ configs/orangepi_prime_defconfig | 47 ++++ configs/orangepi_win_defconfig | 47 ++++ configs/orangepi_zero_plus2_defconfig | 47 ++++ configs/pine64_defconfig | 47 ++++ configs/pine64_sopine_defconfig | 47 ++++ 49 files changed, 2149 insertions(+), 3 deletions(-) create mode 100644 board/bananapi/bananapi-m64/boot.cmd create mode 100644 board/bananapi/bananapi-m64/genimage.cfg create mode 100644 board/bananapi/bananapi-m64/readme.txt create mode 100644 board/friendlyarm/nanopi-a64/boot.cmd create mode 100644 board/friendlyarm/nanopi-a64/genimage.cfg create mode 100644 board/friendlyarm/nanopi-a64/linux_axp.fragment create mode 100644 board/friendlyarm/nanopi-a64/patches/linux/linux-0001-arm64-allwinner-a64-add-NMI-R_INTC-controller-on-A64.patch create mode 100644 board/friendlyarm/nanopi-a64/patches/linux/linux-0002-arm64-allwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch create mode 100644 board/friendlyarm/nanopi-a64/patches/linux/linux-0003-arm64-allwinner-a64-Add-initial-NanoPi-A64-support.patch create mode 100644 board/friendlyarm/nanopi-a64/readme.txt create mode 100644 board/friendlyarm/nanopi-neo2/boot.cmd create mode 100644 board/friendlyarm/nanopi-neo2/genimage.cfg create mode 100644 board/friendlyarm/nanopi-neo2/readme.txt create mode 100644 board/olimex/a64-olinuxino/boot.cmd create mode 100644 board/olimex/a64-olinuxino/genimage.cfg create mode 100644 board/olimex/a64-olinuxino/linux_axp.fragment create mode 100644 board/olimex/a64-olinuxino/patches/linux/linux-0001-arm64-allwinner-a64-add-NMI-R_INTC-controller-on-A64.patch create mode 100644 board/olimex/a64-olinuxino/patches/linux/linux-0002-arm64-allwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch create mode 100644 board/olimex/a64-olinuxino/patches/linux/linux-0003-arm64-allwinner-a64-Add-A64-OLinuXino-initial-suppor.patch create mode 100644 board/olimex/a64-olinuxino/readme.txt create mode 100644 board/orangepi/orangepi-prime/boot.cmd create mode 100644 board/orangepi/orangepi-prime/genimage.cfg create mode 100644 board/orangepi/orangepi-prime/readme.txt create mode 100644 board/orangepi/orangepi-win/boot.cmd create mode 100644 board/orangepi/orangepi-win/genimage.cfg create mode 100644 board/orangepi/orangepi-win/readme.txt create mode 100644 board/orangepi/orangepi-zero-plus2/boot.cmd create mode 100644 board/orangepi/orangepi-zero-plus2/genimage.cfg create mode 100644 board/orangepi/orangepi-zero-plus2/readme.txt create mode 100644 board/pine64/pine64/boot.cmd create mode 100644 board/pine64/pine64/genimage.cfg create mode 100644 board/pine64/pine64/readme.txt create mode 100644 board/pine64/sopine/boot.cmd create mode 100644 board/pine64/sopine/genimage.cfg create mode 100644 board/pine64/sopine/readme.txt create mode 100644 configs/bananapi_m64_defconfig create mode 100644 configs/friendlyarm_nanopi_a64_defconfig create mode 100644 configs/friendlyarm_nanopi_neo2_defconfig create mode 100644 configs/olimex_a64_olinuxino_defconfig create mode 100644 configs/orangepi_prime_defconfig create mode 100644 configs/orangepi_win_defconfig create mode 100644 configs/orangepi_zero_plus2_defconfig create mode 100644 configs/pine64_defconfig create mode 100644 configs/pine64_sopine_defconfig
Signature · 1 line
1.9.1
PATCH v4 1/11 arm-trusted-firmware: Build FIP for BL33
To build FIP for Juno, we need to set BL33 for non-BL33 there is no need to build the FIP, so this patch adjust the make to handle both scenarios.
--- boot/arm-trusted-firmware/arm-trusted-firmware.mk | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
boot/arm-trusted-firmware/arm-trusted-firmware.mk +7 -3
@@ -28,21 +28,25 @@ ARM_TRUSTED_FIRMWARE_INSTALL_IMAGES = YES ARM_TRUSTED_FIRMWARE_PLATFORM = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM)) +ARM_TRUSTED_FIRMWARE_CMDS += all + ARM_TRUSTED_FIRMWARE_MAKE_OPTS += \ CROSS_COMPILE="$(TARGET_CROSS)" \ - BL33=$(BINARIES_DIR)/u-boot.bin \ $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES)) \ PLAT=$(ARM_TRUSTED_FIRMWARE_PLATFORM) ifeq ($(BR2_TARGET_VEXPRESS_FIRMWARE),y) -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += SCP_BL2=$(BINARIES_DIR)/scp-fw.bin ARM_TRUSTED_FIRMWARE_DEPENDENCIES += vexpress-firmware +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += \ + BL33=$(BINARIES_DIR)/u-boot.bin \ + SCP_BL2=$(BINARIES_DIR)/scp-fw.bin +ARM_TRUSTED_FIRMWARE_CMDS += fip endif define ARM_TRUSTED_FIRMWARE_BUILD_CMDS $(TARGET_CONFIGURE_OPTS) \ $(MAKE) -C $(@D) $(ARM_TRUSTED_FIRMWARE_MAKE_OPTS) \ - all fip + $(ARM_TRUSTED_FIRMWARE_CMDS) endef define ARM_TRUSTED_FIRMWARE_INSTALL_IMAGES_CMDS
Signature · 1 line
1.9.1
PATCH v4 2/11 uboot: Add U-Boot-bundles-ATF support
In reply to Jagan TekiFor building U-Boot proper in Allwinner A64/H5, ATF need to build first and ATF binary need to be exported.
U-Boot-bundles-ATF support export ATF binary and disable U-Boot dependency in ATF becuase except U-Boot dependent boards(like juno) ideally ATF will build prior to U-Boot.
--- boot/arm-trusted-firmware/arm-trusted-firmware.mk | 2 ++ boot/uboot/Config.in | 10 ++++++++++ boot/uboot/uboot.mk | 5 +++++ 3 files changed, 17 insertions(+)
boot/arm-trusted-firmware/arm-trusted-firmware.mk +2 -0
@@ -8,7 +8,9 @@ ARM_TRUSTED_FIRMWARE_VERSION = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_V ARM_TRUSTED_FIRMWARE_LICENSE = BSD-3-Clause ARM_TRUSTED_FIRMWARE_LICENSE_FILES = license.rst +ifeq ($(BR2_TARGET_UBOOT_NEEDS_ATF),) ARM_TRUSTED_FIRMWARE_DEPENDENCIES += uboot +endif ifeq ($(ARM_TRUSTED_FIRMWARE_VERSION),custom) # Handle custom ATF tarballs as specified by the configuration
boot/uboot/Config.in +10 -0
@@ -158,6 +158,16 @@ config BR2_TARGET_UBOOT_NEEDS_OPENSSL typically the case when the board configuration has CONFIG_FIT_SIGNATURE enabled. +config BR2_TARGET_UBOOT_NEEDS_ATF + bool "U-Boot needs ATF" + depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE + help + For building U-Boot proper in Allwinner A64/H5, ATF need + to build first and ATF binary need to be exported. + This config typically export ATF binary and disable + U-Boot dependency in ATF becuase except U-Boot dependent + boards(like juno) ideally ATF will build prior to U-Boot. + menu "U-Boot binary format" config BR2_TARGET_UBOOT_FORMAT_AIS
boot/uboot/uboot.mk +5 -0
@@ -134,6 +134,11 @@ UBOOT_MAKE_OPTS += \ HOSTCC="$(HOSTCC) $(HOST_CFLAGS)" \ HOSTLDFLAGS="$(HOST_LDFLAGS)" +ifeq ($(BR2_TARGET_UBOOT_NEEDS_ATF),y) +UBOOT_MAKE_OPTS += \ + BL31=${BUILD_DIR}/arm-trusted-firmware-${BR2_TARGET_ARM_TRUSTED_FIRMWARE_VERSION}/build/${BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM}/release/${BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES}.bin +endif + ifeq ($(BR2_TARGET_UBOOT_NEEDS_DTC),y) UBOOT_DEPENDENCIES += host-dtc endif
Signature · 1 line
1.9.1
PATCH v4 3/11 board: Add Bananapi M64 support
In reply to Jagan TekiAdd initial support for bananapi M64 board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 1 + board/bananapi/bananapi-m64/boot.cmd | 6 ++++ board/bananapi/bananapi-m64/genimage.cfg | 38 ++++++++++++++++++++++++++ board/bananapi/bananapi-m64/readme.txt | 37 +++++++++++++++++++++++++ configs/bananapi_m64_defconfig | 47 ++++++++++++++++++++++++++++++++ 6 files changed, 130 insertions(+) create mode 100644 board/bananapi/bananapi-m64/boot.cmd create mode 100644 board/bananapi/bananapi-m64/genimage.cfg create mode 100644 board/bananapi/bananapi-m64/readme.txt create mode 100644 configs/bananapi_m64_defconfig
.gitlab-ci.yml +1 -0
@@ -90,6 +90,7 @@ atmel_sama5d4_xplained_mmc_defconfig: *defconfig atmel_sama5d4_xplained_mmc_dev_defconfig: *defconfig bananapi_m1_defconfig: *defconfig bananapi_m2_plus_defconfig: *defconfig +bananapi_m64_defconfig: *defconfig bananapro_defconfig: *defconfig beagleboardx15_defconfig: *defconfig beaglebone_defconfig: *defconfig
DEVELOPERS +1 -0
@@ -729,6 +729,7 @@ N: Jagan Teki <[email protected]> F: board/bananapi/ F: board/engicam/ F: configs/bananapi_m1_defconfig +F: configs/bananapi_m64_defconfig F: configs/engicam_imx6qdl_icore_defconfig F: configs/engicam_imx6qdl_icore_qt5_defconfig F: configs/engicam_imx6qdl_icore_rqs_defconfig
board/bananapi/bananapi-m64/boot.cmd new file +6 -0
@@ -0,0 +1,6 @@ +setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait + +fatload mmc 0 $kernel_addr_r Image +fatload mmc 0 $fdt_addr_r sun50i-a64-bananapi-m64.dtb + +booti $kernel_addr_r - $fdt_addr_r
board/bananapi/bananapi-m64/genimage.cfg new file +38 -0
@@ -0,0 +1,38 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-a64-bananapi-m64.dtb", + "boot.scr" + } + } + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8192 + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/bananapi/bananapi-m64/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 Bananapi M64. With the current configuration +it will bring-up the board, and allow access through the serial console. + +Bananapi M64 link: +http://www.banana-pi.org/m64.html + +Wiki link: +https://openedev.amarulasolutions.com/display/ODWIKI/Bananapi+M64 + +This configuration uses U-Boot mainline and kernel mainline. + +How to build +============ + + $ make bananapi_m64_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 Bananapi M64 and power it up. The console +is on the serial line, 115200 8N1.
configs/bananapi_m64_defconfig new file +47 -0
47 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v4 4/11 board: Add Pine64 support
In reply to Jagan TekiAdd initial support for Pine64 board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 ++ board/pine64/pine64/boot.cmd | 6 +++++ board/pine64/pine64/genimage.cfg | 38 ++++++++++++++++++++++++++++++++ board/pine64/pine64/readme.txt | 38 ++++++++++++++++++++++++++++++++ configs/pine64_defconfig | 47 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 132 insertions(+) create mode 100644 board/pine64/pine64/boot.cmd create mode 100644 board/pine64/pine64/genimage.cfg create mode 100644 board/pine64/pine64/readme.txt create mode 100644 configs/pine64_defconfig
.gitlab-ci.yml +1 -0
@@ -161,6 +161,7 @@ orangepi_zero_defconfig: *defconfig pandaboard_defconfig: *defconfig pc_x86_64_bios_defconfig: *defconfig pc_x86_64_efi_defconfig: *defconfig +pine64_defconfig: *defconfig qemu_aarch64_virt_defconfig: *defconfig qemu_arm_versatile_defconfig: *defconfig qemu_arm_versatile_nommu_defconfig: *defconfig
DEVELOPERS +2 -0
@@ -728,8 +728,10 @@ F: package/keepalived/ N: Jagan Teki <[email protected]> F: board/bananapi/ F: board/engicam/ +F: board/pine64/ F: configs/bananapi_m1_defconfig F: configs/bananapi_m64_defconfig +F: configs/pine64_defconfig F: configs/engicam_imx6qdl_icore_defconfig F: configs/engicam_imx6qdl_icore_qt5_defconfig F: configs/engicam_imx6qdl_icore_rqs_defconfig
board/pine64/pine64/boot.cmd new file +6 -0
@@ -0,0 +1,6 @@ +setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait + +fatload mmc 0 $kernel_addr_r Image +fatload mmc 0 $fdt_addr_r sun50i-a64-pine64.dtb + +booti $kernel_addr_r - $fdt_addr_r
board/pine64/pine64/genimage.cfg new file +38 -0
@@ -0,0 +1,38 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-a64-pine64.dtb", + "boot.scr" + } + } + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8192 + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/pine64/pine64/readme.txt new file +38 -0
@@ -0,0 +1,38 @@ +Intro +===== + +This default configuration will allow you to start experimenting with the +buildroot environment for the Pine64. With the current configuration +it will bring-up the board, and allow access through the serial console. + +Pine64 link: +https://www.pine64.org/?page_id=1194 + +Wiki link: +https://confluence.amarulasolutions.com/display/ODWIKI/Pine64 + +This configuration uses U-Boot mainline and kernel mainline. + +How to build +============ + + $ make pine64_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 Pine64 and power it up. The console +is on the serial line, 115200 8N1.
configs/pine64_defconfig new file +47 -0
47 lines not on this page · raw message
Signature · 1 line
1.9.1
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH v4 4/11 board: Add Pine64 support
Quoted 176 lines · Andre Przywara
Hi,
Quoted 157 lines · Jagan Teki
Add initial support for Pine64 board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildrootCc TL Lim <[email protected]>Cc Andre Przywara <[email protected]>Signed-off-by Jagan Teki <[email protected]>--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 ++ board/pine64/pine64/boot.cmd | 6 +++++ board/pine64/pine64/genimage.cfg | 38 ++++++++++++++++++++++++++++++++ board/pine64/pine64/readme.txt | 38 ++++++++++++++++++++++++++++++++ configs/pine64_defconfig | 47 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 132 insertions(+) create mode 100644 board/pine64/pine64/boot.cmd create mode 100644 board/pine64/pine64/genimage.cfg create mode 100644 board/pine64/pine64/readme.txt create mode 100644 configs/pine64_defconfig.gitlab-ci.yml +1
-0@@ -161,6 +161,7 @@ orangepi_zero_defconfig: *defconfig pandaboard_defconfig: *defconfig pc_x86_64_bios_defconfig: *defconfig pc_x86_64_efi_defconfig: *defconfig +pine64_defconfig: *defconfig qemu_aarch64_virt_defconfig: *defconfig qemu_arm_versatile_defconfig: *defconfig qemu_arm_versatile_nommu_defconfig: *defconfigDEVELOPERS +2
-0@@ -728,8 +728,10 @@ F: package/keepalived/ N: Jagan Teki <[email protected]> F: board/bananapi/ F: board/engicam/ +F: board/pine64/ F: configs/bananapi_m1_defconfig F: configs/bananapi_m64_defconfig +F: configs/pine64_defconfig F: configs/engicam_imx6qdl_icore_defconfig F: configs/engicam_imx6qdl_icore_qt5_defconfig F: configs/engicam_imx6qdl_icore_rqs_defconfigboard/pine64/pine64/boot.cmd new file +6
-0@@ -0,0 +1,6 @@ +setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait + +fatload mmc 0 $kernel_addr_r Image +fatload mmc 0 $fdt_addr_r sun50i-a64-pine64.dtb + +booti $kernel_addr_r - $fdt_addr_rboard/pine64/pine64/genimage.cfg new file +38
-0@@ -0,0 +1,38 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-a64-pine64.dtb", + "boot.scr" + } + } + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8192 + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}board/pine64/pine64/readme.txt new file +38
-0@@ -0,0 +1,38 @@ +Intro +===== + +This default configuration will allow you to start experimenting with the +buildroot environment for the Pine64. With the current configuration +it will bring-up the board, and allow access through the serial console. + +Pine64 link: +https://www.pine64.org/?page_id=1194 + +Wiki link: +https://confluence.amarulasolutions.com/display/ODWIKI/Pine64 + +This configuration uses U-Boot mainline and kernel mainline. + +How to build +============ + + $ make pine64_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 Pine64 and power it up. The console +is on the serial line, 115200 8N1.configs/pine64_defconfig new file +3
-0@@ -0,0 +1,47 @@ +BR2_aarch64=y +BR2_cortex_a53=y +BR2_ARM_FPU_VFPV4=yconfigs/pine64_defconfig line 13
Quoted 10 lines
configs/pine64_defconfig new file +10
-0+ +# Linux headers same as kernel, a 4.13 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y + +# Firmware +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f"So how stable shall this recipe be, in general? I see a lot of fixed versions (ATF, U-Boot, kernel) in here, which means it needs constant updating (to benefit from security fixes, for instance)? Is that intended? That looks a bit maintenance-heavy to me.
Quoted 5 lines
And do you have to specify a certain commit ID here?
I have some bugfixes on the "allwinner" branch, and am thinking about pulling the allwinner-stable branch to the same commit.
So I strongly recommend to upgrade to the allwinner branch, which fixes immediate crashes on CPU off/onlining, among other issues.
I've used "allwinner" branch in first version set instead of commit, but the Thomas opposed it. Is it possible to create tag for the stable version? it would be good to use tag rather branch from maintenance point-of-view.
thanks!
Signature · 4 lines
Jagan Teki Senior Linux Kernel Engineer | Amarula Solutions U-Boot, Linux | Upstream Maintainer Hyderabad, India.
PATCH v4 4/11 board: Add Pine64 support
In reply to a message not in the archiveHello,
Quoted 10 lines · Andre Przywara
So how stable shall this recipe be, in general? I see a lot of fixed versions (ATF, U-Boot, kernel) in here, which means it needs constant updating (to benefit from security fixes, for instance)? Is that intended? That looks a bit maintenance-heavy to me.
And do you have to specify a certain commit ID here?
I have some bugfixes on the "allwinner" branch, and am thinking about pulling the allwinner-stable branch to the same commit.
So I strongly recommend to upgrade to the allwinner branch, which fixes immediate crashes on CPU off/onlining, among other issues.
We do not want to use branch names, for two reasons:
1. A branch constantly changes, which means that the defconfig doesn't build the same bootloader/kernel version for everyone. So while the defconfig may work when it is submitted, it might stop to work later on. Therefore, we want to use fixed versions.
2. When fetching from Git, Buildroot creates a local tarball named "<package>-<version>.tar.gz". Once the tarball exists, Buildroot doesn't fetch again from upstream. So, if you specify a branch name, a tarball with this branch name is created once for all, and Buildroot will never re-fetch from that location, unless you manually remove the tarball from the download cache.
So, want Jagan does is what we ask to do for all defconfigs. Yes, it is a bit heavy on maintenance, but that is the most reasonable trade-off we have.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH v4 5/11 board: Add SoPine support
In reply to Jagan TekiAdd initial support for SoPine board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 1 + board/pine64/sopine/boot.cmd | 6 +++++ board/pine64/sopine/genimage.cfg | 38 ++++++++++++++++++++++++++++++++ board/pine64/sopine/readme.txt | 38 ++++++++++++++++++++++++++++++++ configs/pine64_sopine_defconfig | 47 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 131 insertions(+) create mode 100644 board/pine64/sopine/boot.cmd create mode 100644 board/pine64/sopine/genimage.cfg create mode 100644 board/pine64/sopine/readme.txt create mode 100644 configs/pine64_sopine_defconfig
.gitlab-ci.yml +1 -0
@@ -162,6 +162,7 @@ pandaboard_defconfig: *defconfig pc_x86_64_bios_defconfig: *defconfig pc_x86_64_efi_defconfig: *defconfig pine64_defconfig: *defconfig +pine64_sopine_defconfig: *defconfig qemu_aarch64_virt_defconfig: *defconfig qemu_arm_versatile_defconfig: *defconfig qemu_arm_versatile_nommu_defconfig: *defconfig
DEVELOPERS +1 -0
@@ -732,6 +732,7 @@ F: board/pine64/ F: configs/bananapi_m1_defconfig F: configs/bananapi_m64_defconfig F: configs/pine64_defconfig +F: configs/pine64_sopine_defconfig F: configs/engicam_imx6qdl_icore_defconfig F: configs/engicam_imx6qdl_icore_qt5_defconfig F: configs/engicam_imx6qdl_icore_rqs_defconfig
board/pine64/sopine/boot.cmd new file +6 -0
@@ -0,0 +1,6 @@ +setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait + +fatload mmc 0 $kernel_addr_r Image +fatload mmc 0 $fdt_addr_r sun50i-a64-pine64-plus.dtb + +booti $kernel_addr_r - $fdt_addr_r
board/pine64/sopine/genimage.cfg new file +38 -0
@@ -0,0 +1,38 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-a64-pine64-plus.dtb", + "boot.scr" + } + } + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8192 + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/pine64/sopine/readme.txt new file +38 -0
@@ -0,0 +1,38 @@ +Intro +===== + +This default configuration will allow you to start experimenting with the +buildroot environment for the SoPine. With the current configuration +it will bring-up the board, and allow access through the serial console. + +SoPINE link: +https://www.pine64.org/?page_id=1491 + +Wiki link: +https://confluence.amarulasolutions.com/display/ODWIKI/Pine64+SoPine + +This configuration uses U-Boot mainline and kernel mainline. + +How to build +============ + + $ make pine64_sopine_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 SoPine and power it up. The console +is on the serial line, 115200 8N1.
configs/pine64_sopine_defconfig new file +47 -0
47 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v4 5/11 board: Add SoPine support
Quoted 4 lines · Jagan Teki
Add initial support for SoPine board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot
....
Quoted 8 lines
board/pine64/sopine/readme.txt new file +2
-0@@ -0,0 +1,38 @@ +Intro +=====
board/pine64/sopine/readme.txt line 12
Quoted 10 lines
board/pine64/sopine/readme.txt new file +10
-0+ +This default configuration will allow you to start experimenting with the +buildroot environment for the SoPine. With the current configuration +it will bring-up the board, and allow access through the serial console. + +SoPINE link: +https://www.pine64.org/?page_id=1491 + +Wiki link: +https://confluence.amarulasolutions.com/display/ODWIKI/Pine64+SoPine
Is that supposed to be externally accessible? The name doesn't resolve for me. But even if, how stable is that link anyway?
I guess you want to point to the linux-sunxi.org Wiki instead.
Cheers,
Andre.
PATCH v4 5/11 board: Add SoPine support
Quoted 22 lines · Andr? Przywara
Quoted 4 lines · Jagan Teki
Add initial support for SoPine board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot....
Quoted 14 lines
board/pine64/sopine/readme.txt new file +8
-0@@ -0,0 +1,38 @@ +Intro +===== + +This default configuration will allow you to start experimenting with the +buildroot environment for the SoPine. With the current configuration +it will bring-up the board, and allow access through the serial console. + +SoPINE link:
Quoted 8 lines
board/pine64/sopine/readme.txt line 12
Quoted 4 lines
board/pine64/sopine/readme.txt new file +4
-0+https://www.pine64.org/?page_id=1491 + +Wiki link: +https://confluence.amarulasolutions.com/display/ODWIKI/Pine64+SoPineIs that supposed to be externally accessible? The name doesn't resolve for me. But even if, how stable is that link anyway?
I guess you want to point to the linux-sunxi.org Wiki instead.
Yes, we're maintaining these as stable as possible, in fact the content doesn't have redundant details with linux-sunxi.org and we show only Mainline details which we supported and used the same in buildroot. Even we link the linux-sunxi at the first point.
thanks!
Signature · 4 lines
Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream Maintainer Hyderabad, India.
PATCH v4 5/11 board: Add SoPine support
Quoted 19 lines · Jagan Teki
Quoted 18 lines · Andr? Przywara
Quoted 4 lines · Jagan Teki
Add initial support for SoPine board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot....
Quoted 10 lines
board/pine64/sopine/readme.txt new file +4
-0@@ -0,0 +1,38 @@ +Intro +===== + +This default configuration will allow you to start experimenting with the
Quoted 8 lines
Quoted 8 lines
board/pine64/sopine/readme.txt line 12
Quoted 8 lines
board/pine64/sopine/readme.txt new file +8
-0+buildroot environment for the SoPine. With the current configuration +it will bring-up the board, and allow access through the serial console. + +SoPINE link: +https://www.pine64.org/?page_id=1491 + +Wiki link: +https://confluence.amarulasolutions.com/display/ODWIKI/Pine64+SoPine
OK, I need to correct this, [1] is accessible.
[1] https://openedev.amarulasolutions.com/display/ODWIKI/Pine64+SoPine
thanks!
Signature · 4 lines
Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream Maintainer Hyderabad, India.
PATCH v4 6/11 board: Add FriendlyARM Nanopi A64 support
In reply to Jagan TekiAdd initial support for FriendlyARM Nanopi A64 board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 + board/friendlyarm/nanopi-a64/boot.cmd | 6 + board/friendlyarm/nanopi-a64/genimage.cfg | 38 +++ board/friendlyarm/nanopi-a64/linux_axp.fragment | 3 + ...nner-a64-add-NMI-R_INTC-controller-on-A64.patch | 41 ++++ ...lwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch | 176 ++++++++++++++ ...winner-a64-Add-initial-NanoPi-A64-support.patch | 254 +++++++++++++++++++++ board/friendlyarm/nanopi-a64/readme.txt | 37 +++ configs/friendlyarm_nanopi_a64_defconfig | 51 +++++ 10 files changed, 609 insertions(+) create mode 100644 board/friendlyarm/nanopi-a64/boot.cmd create mode 100644 board/friendlyarm/nanopi-a64/genimage.cfg create mode 100644 board/friendlyarm/nanopi-a64/linux_axp.fragment create mode 100644 board/friendlyarm/nanopi-a64/patches/linux/linux-0001-arm64-allwinner-a64-add-NMI-R_INTC-controller-on-A64.patch create mode 100644 board/friendlyarm/nanopi-a64/patches/linux/linux-0002-arm64-allwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch create mode 100644 board/friendlyarm/nanopi-a64/patches/linux/linux-0003-arm64-allwinner-a64-Add-initial-NanoPi-A64-support.patch create mode 100644 board/friendlyarm/nanopi-a64/readme.txt create mode 100644 configs/friendlyarm_nanopi_a64_defconfig
.gitlab-ci.yml +1 -0
@@ -119,6 +119,7 @@ freescale_imx6ulevk_defconfig: *defconfig freescale_imx7dsabresd_defconfig: *defconfig freescale_mpc8315erdb_defconfig: *defconfig freescale_p1010rdb_pa_defconfig: *defconfig +friendlyarm_nanopi_a64_defconfig: *defconfig galileo_defconfig: *defconfig gdb_bfin_bf512_defconfig: *defconfig grinn_chiliboard_defconfig: *defconfig
DEVELOPERS +2 -0
@@ -728,9 +728,11 @@ F: package/keepalived/ N: Jagan Teki <[email protected]> F: board/bananapi/ F: board/engicam/ +F: board/friendlyarm/nanopi-a64/ F: board/pine64/ F: configs/bananapi_m1_defconfig F: configs/bananapi_m64_defconfig +F: configs/friendlyarm_nanopi_a64_defconfig F: configs/pine64_defconfig F: configs/pine64_sopine_defconfig F: configs/engicam_imx6qdl_icore_defconfig
board/friendlyarm/nanopi-a64/boot.cmd new file +6 -0
@@ -0,0 +1,6 @@ +setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait + +fatload mmc 0 $kernel_addr_r Image +fatload mmc 0 $fdt_addr_r sun50i-a64-nanopi-a64.dtb + +booti $kernel_addr_r - $fdt_addr_r
board/friendlyarm/nanopi-a64/genimage.cfg new file +38 -0
@@ -0,0 +1,38 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-a64-nanopi-a64.dtb", + "boot.scr" + } + } + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8192 + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/friendlyarm/nanopi-a64/linux_axp.fragment new file +3 -0
@@ -0,0 +1,3 @@ +CONFIG_SUNXI_RSB=y +CONFIG_MFD_AXP20X_RSB=y +CONFIG_REGULATOR_AXP20X=y
board/friendlyarm/nanopi-a64/patches/linux/linux-0001-arm64-allwinner-a64-add-NMI-R_INTC-controller-on-A64.patch new file +41 -0
41 lines not on this page · raw message
board/friendlyarm/nanopi-a64/patches/linux/linux-0002-arm64-allwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch new file +176 -0
176 lines not on this page · raw message
board/friendlyarm/nanopi-a64/patches/linux/linux-0003-arm64-allwinner-a64-Add-initial-NanoPi-A64-support.patch new file +254 -0
254 lines not on this page · raw message
board/friendlyarm/nanopi-a64/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 Nanopi A64. With the current configuration +it will bring-up the board, and allow access through the serial console. + +Nanopi A64 link: +http://nanopi.io/nanopi-a64.html + +Wiki link: +https://confluence.amarulasolutions.com/display/ODWIKI/FriendlyARM+Nanopi+A64 + +This configuration uses U-Boot mainline and kernel mainline. + +How to build +============ + + $ make friendlyarm_nanopi_a64_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 Nanopi A64 and power it up. The console +is on the serial line, 115200 8N1.
configs/friendlyarm_nanopi_a64_defconfig new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v4 7/11 board: Add FriendlyARM Nanopi NEO2 support
In reply to Jagan TekiAdd initial support for FriendlyARM Nanopi NEO2 board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 ++ board/friendlyarm/nanopi-neo2/boot.cmd | 6 ++++ board/friendlyarm/nanopi-neo2/genimage.cfg | 38 ++++++++++++++++++++++++ board/friendlyarm/nanopi-neo2/readme.txt | 37 +++++++++++++++++++++++ configs/friendlyarm_nanopi_neo2_defconfig | 47 ++++++++++++++++++++++++++++++ 6 files changed, 131 insertions(+) create mode 100644 board/friendlyarm/nanopi-neo2/boot.cmd create mode 100644 board/friendlyarm/nanopi-neo2/genimage.cfg create mode 100644 board/friendlyarm/nanopi-neo2/readme.txt create mode 100644 configs/friendlyarm_nanopi_neo2_defconfig
.gitlab-ci.yml +1 -0
@@ -120,6 +120,7 @@ freescale_imx7dsabresd_defconfig: *defconfig freescale_mpc8315erdb_defconfig: *defconfig freescale_p1010rdb_pa_defconfig: *defconfig friendlyarm_nanopi_a64_defconfig: *defconfig +friendlyarm_nanopi_neo2_defconfig: *defconfig galileo_defconfig: *defconfig gdb_bfin_bf512_defconfig: *defconfig grinn_chiliboard_defconfig: *defconfig
DEVELOPERS +2 -0
@@ -729,10 +729,12 @@ N: Jagan Teki <[email protected]> F: board/bananapi/ F: board/engicam/ F: board/friendlyarm/nanopi-a64/ +F: board/friendlyarm/nanopi-neo2/ F: board/pine64/ F: configs/bananapi_m1_defconfig F: configs/bananapi_m64_defconfig F: configs/friendlyarm_nanopi_a64_defconfig +F: configs/friendlyarm_nanopi_neo2_defconfig F: configs/pine64_defconfig F: configs/pine64_sopine_defconfig F: configs/engicam_imx6qdl_icore_defconfig
board/friendlyarm/nanopi-neo2/boot.cmd new file +6 -0
@@ -0,0 +1,6 @@ +setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait + +fatload mmc 0 $kernel_addr_r Image +fatload mmc 0 $fdt_addr_r sun50i-h5-nanopi-neo2.dtb + +booti $kernel_addr_r - $fdt_addr_r
board/friendlyarm/nanopi-neo2/genimage.cfg new file +38 -0
@@ -0,0 +1,38 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h5-nanopi-neo2.dtb", + "boot.scr" + } + } + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8192 + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/friendlyarm/nanopi-neo2/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 Nanopi NEO2. With the current configuration +it will bring-up the board, and allow access through the serial console. + +Nanopi NEO2 link: +http://nanopi.io/nanopi-neo2.html + +Wiki link: +https://openedev.amarulasolutions.com/display/ODWIKI/FriendlyARM+NanoPi+NEO2 + +This configuration uses U-Boot mainline and kernel mainline. + +How to build +============ + + $ make friendlyarm_nanopi_neo2_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 Nanopi NEO2 and power it up. The console +is on the serial line, 115200 8N1.
configs/friendlyarm_nanopi_neo2_defconfig new file +47 -0
47 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v4 8/11 board: Add Olimex A64-OLinuXino support
In reply to Jagan TekiAdd initial support for Olimex A64-OLinuXino board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 + board/olimex/a64-olinuxino/boot.cmd | 6 + board/olimex/a64-olinuxino/genimage.cfg | 38 ++++ board/olimex/a64-olinuxino/linux_axp.fragment | 3 + ...nner-a64-add-NMI-R_INTC-controller-on-A64.patch | 41 ++++ ...lwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch | 176 +++++++++++++++ ...nner-a64-Add-A64-OLinuXino-initial-suppor.patch | 244 +++++++++++++++++++++ board/olimex/a64-olinuxino/readme.txt | 37 ++++ configs/olimex_a64_olinuxino_defconfig | 51 +++++ 10 files changed, 599 insertions(+) create mode 100644 board/olimex/a64-olinuxino/boot.cmd create mode 100644 board/olimex/a64-olinuxino/genimage.cfg create mode 100644 board/olimex/a64-olinuxino/linux_axp.fragment create mode 100644 board/olimex/a64-olinuxino/patches/linux/linux-0001-arm64-allwinner-a64-add-NMI-R_INTC-controller-on-A64.patch create mode 100644 board/olimex/a64-olinuxino/patches/linux/linux-0002-arm64-allwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch create mode 100644 board/olimex/a64-olinuxino/patches/linux/linux-0003-arm64-allwinner-a64-Add-A64-OLinuXino-initial-suppor.patch create mode 100644 board/olimex/a64-olinuxino/readme.txt create mode 100644 configs/olimex_a64_olinuxino_defconfig
.gitlab-ci.yml +1 -0
@@ -154,6 +154,7 @@ olimex_a20_olinuxino_lime2_defconfig: *defconfig olimex_a20_olinuxino_lime_defconfig: *defconfig olimex_a20_olinuxino_lime_mali_defconfig: *defconfig olimex_a20_olinuxino_micro_defconfig: *defconfig +olimex_a64_olinuxino_defconfig: *defconfig olimex_imx233_olinuxino_defconfig: *defconfig openblocks_a6_defconfig: *defconfig orangepi_one_defconfig: *defconfig
DEVELOPERS +2 -0
@@ -730,11 +730,13 @@ F: board/bananapi/ F: board/engicam/ F: board/friendlyarm/nanopi-a64/ F: board/friendlyarm/nanopi-neo2/ +F: board/olimex/a64-olinuxino/ F: board/pine64/ F: configs/bananapi_m1_defconfig F: configs/bananapi_m64_defconfig F: configs/friendlyarm_nanopi_a64_defconfig F: configs/friendlyarm_nanopi_neo2_defconfig +F: configs/olimex_a64_olinuxino_defconfig F: configs/pine64_defconfig F: configs/pine64_sopine_defconfig F: configs/engicam_imx6qdl_icore_defconfig
board/olimex/a64-olinuxino/boot.cmd new file +6 -0
@@ -0,0 +1,6 @@ +setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait + +fatload mmc 0 $kernel_addr_r Image +fatload mmc 0 $fdt_addr_r sun50i-a64-olinuxino.dtb + +booti $kernel_addr_r - $fdt_addr_r
board/olimex/a64-olinuxino/genimage.cfg new file +38 -0
@@ -0,0 +1,38 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-a64-olinuxino.dtb", + "boot.scr" + } + } + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8192 + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/olimex/a64-olinuxino/linux_axp.fragment new file +3 -0
@@ -0,0 +1,3 @@ +CONFIG_SUNXI_RSB=y +CONFIG_MFD_AXP20X_RSB=y +CONFIG_REGULATOR_AXP20X=y
board/olimex/a64-olinuxino/patches/linux/linux-0001-arm64-allwinner-a64-add-NMI-R_INTC-controller-on-A64.patch new file +41 -0
41 lines not on this page · raw message
board/olimex/a64-olinuxino/patches/linux/linux-0002-arm64-allwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch new file +176 -0
176 lines not on this page · raw message
board/olimex/a64-olinuxino/patches/linux/linux-0003-arm64-allwinner-a64-Add-A64-OLinuXino-initial-suppor.patch new file +244 -0
244 lines not on this page · raw message
board/olimex/a64-olinuxino/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 A64-OLinuXino. With the current configuration +it will bring-up the board, and allow access through the serial console. + +A64-OLinuXino link: +https://www.olimex.com/Products/OLinuXino/A64/ + +Wiki link: +https://openedev.amarulasolutions.com/display/ODWIKI/Olimex+A64-Olinuxino + +This configuration uses U-Boot mainline and kernel mainline. + +How to build +============ + + $ make olimex_a64_olinuxino_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 A64-OLinuXino and power it up. The console +is on the serial line, 115200 8N1.
configs/olimex_a64_olinuxino_defconfig new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v4 9/11 board: Add Orangepi Win/Win Plus support
In reply to Jagan TekiAdd initial support for Orangepi Win/Win Plus board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 ++ board/orangepi/orangepi-win/boot.cmd | 6 ++++ board/orangepi/orangepi-win/genimage.cfg | 38 ++++++++++++++++++++++++++ board/orangepi/orangepi-win/readme.txt | 37 +++++++++++++++++++++++++ configs/orangepi_win_defconfig | 47 ++++++++++++++++++++++++++++++++ 6 files changed, 131 insertions(+) create mode 100644 board/orangepi/orangepi-win/boot.cmd create mode 100644 board/orangepi/orangepi-win/genimage.cfg create mode 100644 board/orangepi/orangepi-win/readme.txt create mode 100644 configs/orangepi_win_defconfig
.gitlab-ci.yml +1 -0
@@ -160,6 +160,7 @@ openblocks_a6_defconfig: *defconfig orangepi_one_defconfig: *defconfig orangepi_pc_defconfig: *defconfig orangepi_plus_defconfig: *defconfig +orangepi_win_defconfig: *defconfig orangepi_zero_defconfig: *defconfig pandaboard_defconfig: *defconfig pc_x86_64_bios_defconfig: *defconfig
DEVELOPERS +2 -0
@@ -731,12 +731,14 @@ F: board/engicam/ F: board/friendlyarm/nanopi-a64/ F: board/friendlyarm/nanopi-neo2/ F: board/olimex/a64-olinuxino/ +F: board/orangepi/orangepi-win/ F: board/pine64/ F: configs/bananapi_m1_defconfig F: configs/bananapi_m64_defconfig F: configs/friendlyarm_nanopi_a64_defconfig F: configs/friendlyarm_nanopi_neo2_defconfig F: configs/olimex_a64_olinuxino_defconfig +F: configs/orangepi_win_defconfig F: configs/pine64_defconfig F: configs/pine64_sopine_defconfig F: configs/engicam_imx6qdl_icore_defconfig
board/orangepi/orangepi-win/boot.cmd new file +6 -0
@@ -0,0 +1,6 @@ +setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait + +fatload mmc 0 $kernel_addr_r Image +fatload mmc 0 $fdt_addr_r sun50i-a64-orangepi-win.dtb + +booti $kernel_addr_r - $fdt_addr_r
board/orangepi/orangepi-win/genimage.cfg new file +38 -0
@@ -0,0 +1,38 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-a64-orangepi-win.dtb", + "boot.scr" + } + } + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8192 + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/orangepi/orangepi-win/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 Win/Win Plus. With the current configuration +it will bring-up the board, and allow access through the serial console. + +Orangepi Win/Win Plus link: +http://www.orangepi.org/OrangePiWin_WinPlus/ + +Wiki link: +https://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+Win + +This configuration uses U-Boot mainline and kernel mainline. + +How to build +============ + + $ make orangepi_win_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 Win/Win Plus and power it up. The console +is on the serial line, 115200 8N1.
configs/orangepi_win_defconfig new file +47 -0
47 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v4 10/11 board: Add Orangepi Prime support
In reply to Jagan TekiAdd initial support for Orangepi Prime board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 ++ board/orangepi/orangepi-prime/boot.cmd | 6 ++++ board/orangepi/orangepi-prime/genimage.cfg | 38 ++++++++++++++++++++++++ board/orangepi/orangepi-prime/readme.txt | 37 +++++++++++++++++++++++ configs/orangepi_prime_defconfig | 47 ++++++++++++++++++++++++++++++ 6 files changed, 131 insertions(+) create mode 100644 board/orangepi/orangepi-prime/boot.cmd create mode 100644 board/orangepi/orangepi-prime/genimage.cfg create mode 100644 board/orangepi/orangepi-prime/readme.txt create mode 100644 configs/orangepi_prime_defconfig
.gitlab-ci.yml +1 -0
@@ -160,6 +160,7 @@ openblocks_a6_defconfig: *defconfig orangepi_one_defconfig: *defconfig orangepi_pc_defconfig: *defconfig orangepi_plus_defconfig: *defconfig +orangepi_prime_defconfig: *defconfig orangepi_win_defconfig: *defconfig orangepi_zero_defconfig: *defconfig pandaboard_defconfig: *defconfig
DEVELOPERS +2 -0
@@ -731,6 +731,7 @@ F: board/engicam/ F: board/friendlyarm/nanopi-a64/ F: board/friendlyarm/nanopi-neo2/ F: board/olimex/a64-olinuxino/ +F: board/orangepi/orangepi-prime/ F: board/orangepi/orangepi-win/ F: board/pine64/ F: configs/bananapi_m1_defconfig
@@ -738,6 +739,7 @@ F: configs/bananapi_m64_defconfig F: configs/friendlyarm_nanopi_a64_defconfig F: configs/friendlyarm_nanopi_neo2_defconfig F: configs/olimex_a64_olinuxino_defconfig +F: configs/orangepi_prime_defconfig F: configs/orangepi_win_defconfig F: configs/pine64_defconfig F: configs/pine64_sopine_defconfig
board/orangepi/orangepi-prime/boot.cmd new file +6 -0
@@ -0,0 +1,6 @@ +setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait + +fatload mmc 0 $kernel_addr_r Image +fatload mmc 0 $fdt_addr_r sun50i-h5-orangepi-prime.dtb + +booti $kernel_addr_r - $fdt_addr_r
board/orangepi/orangepi-prime/genimage.cfg new file +38 -0
@@ -0,0 +1,38 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h5-orangepi-prime.dtb", + "boot.scr" + } + } + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8192 + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/orangepi/orangepi-prime/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 Prime. With the current configuration +it will bring-up the board, and allow access through the serial console. + +Orangepi Prime link: +http://www.orangepi.org/OrangePiPrime/ + +Wiki link: +https://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+Prime + +This configuration uses U-Boot mainline and kernel mainline. + +How to build +============ + + $ make orangepi_prime_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 Prime and power it up. The console +is on the serial line, 115200 8N1.
configs/orangepi_prime_defconfig new file +47 -0
47 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v4 11/11 board: Add Orangepi Zero Plus2 support
In reply to Jagan TekiAdd initial support for Orangepi Zero Plus2 board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 ++ board/orangepi/orangepi-zero-plus2/boot.cmd | 6 ++++ board/orangepi/orangepi-zero-plus2/genimage.cfg | 38 ++++++++++++++++++++ board/orangepi/orangepi-zero-plus2/readme.txt | 37 +++++++++++++++++++ configs/orangepi_zero_plus2_defconfig | 47 +++++++++++++++++++++++++ 6 files changed, 131 insertions(+) create mode 100644 board/orangepi/orangepi-zero-plus2/boot.cmd create mode 100644 board/orangepi/orangepi-zero-plus2/genimage.cfg create mode 100644 board/orangepi/orangepi-zero-plus2/readme.txt create mode 100644 configs/orangepi_zero_plus2_defconfig
.gitlab-ci.yml +1 -0
@@ -163,6 +163,7 @@ orangepi_plus_defconfig: *defconfig orangepi_prime_defconfig: *defconfig orangepi_win_defconfig: *defconfig orangepi_zero_defconfig: *defconfig +orangepi_zero_plus2_defconfig: *defconfig pandaboard_defconfig: *defconfig pc_x86_64_bios_defconfig: *defconfig pc_x86_64_efi_defconfig: *defconfig
DEVELOPERS +2 -0
@@ -733,6 +733,7 @@ F: board/friendlyarm/nanopi-neo2/ F: board/olimex/a64-olinuxino/ F: board/orangepi/orangepi-prime/ F: board/orangepi/orangepi-win/ +F: board/orangepi/orangepi-zero-plus2/ F: board/pine64/ F: configs/bananapi_m1_defconfig F: configs/bananapi_m64_defconfig
@@ -741,6 +742,7 @@ F: configs/friendlyarm_nanopi_neo2_defconfig F: configs/olimex_a64_olinuxino_defconfig F: configs/orangepi_prime_defconfig F: configs/orangepi_win_defconfig +F: configs/orangepi_zero_plus2_defconfig F: configs/pine64_defconfig F: configs/pine64_sopine_defconfig F: configs/engicam_imx6qdl_icore_defconfig
board/orangepi/orangepi-zero-plus2/boot.cmd new file +6 -0
@@ -0,0 +1,6 @@ +setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait + +fatload mmc 0 $kernel_addr_r Image +fatload mmc 0 $fdt_addr_r sun50i-h5-orangepi-zero-plus2.dtb + +booti $kernel_addr_r - $fdt_addr_r
board/orangepi/orangepi-zero-plus2/genimage.cfg new file +38 -0
@@ -0,0 +1,38 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h5-orangepi-zero-plus2.dtb", + "boot.scr" + } + } + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8192 + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/orangepi/orangepi-zero-plus2/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 Zero Plus2. With the current configuration +it will bring-up the board, and allow access through the serial console. + +Orangepi Zero Plus2 link: +http://www.orangepi.org/OrangePiZeroPlus2/ + +Wiki link: +https://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+Zero+Plus2 + +This configuration uses U-Boot mainline and kernel mainline. + +How to build +============ + + $ make orangepi_zero_plus2_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 Zero Plus2 and power it up. The console +is on the serial line, 115200 8N1.
configs/orangepi_zero_plus2_defconfig new file +47 -0
47 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v4 11/11 board: Add Orangepi Zero Plus2 support
Hi,
Add initial support for Orangepi Zero Plus2 board with below features:
Quoted 3 lines
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot
I applied the whole patch series on top of the current buildroot and tried orange-pi-zero-plus2. Build is ok, booting u-boot and kernel from SD card is ok as well.
However later on kernel is not able detect SD card, while eMMC is properly detected. As a result, boot never completes. I guess SD cards in use should not be a problem since my other boards (orange-pi-[zero|one]) work fine with the same cards. s there anything I could miss ? Any DTS fixup maybe ?
Regards,
Sergey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20171030/9b380e57/attachment.html>
PATCH v4 11/11 board: Add Orangepi Zero Plus2 support
Quoted 6 lines
Add initial support for Orangepi Zero Plus2 board with below features:
Quoted 3 lines
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot
Quoted 8 lines
I applied the whole patch series on top of the current buildroot and tried orange-pi-zero-plus2. Build is ok, booting u-boot and kernel from SD card is ok as well.
However later on kernel is not able detect SD card, while eMMC is properly detected. As a result, boot never completes. I guess SD cards in use should not be a problem since my other boards (orange-pi-[zero|one]) work fine with the same cards. s there anything I could miss ? Any DTS fixup maybe ?
I stopped being lazy and did a bit more hacking around... With mmc debug enabled the following message appears in dmesg when I try to _remove_ card from the slot:
mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
Which brings us to the following dts fixup:
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts index b6b7a561df8c..a42fd79a62a3 100644
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts +1 -1
@@ -71,7 +71,7 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; + cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; status = "okay"; };
With this fix applied orange-pi-zero-plus2 boots fine.
Regards,
Sergey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20171030/be116cd0/attachment.html>
PATCH v4 11/11 board: Add Orangepi Zero Plus2 support
Quoted 39 lines · Sergey Matyukevich
Quoted 9 lines
Quoted 7 lines
Add initial support for Orangepi Zero Plus2 board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildrootQuoted 7 lines
I applied the whole patch series on top of the current buildroot and tried orange-pi-zero-plus2. Build is ok, booting u-boot and kernel from SD card is ok as well.
However later on kernel is not able detect SD card, while eMMC is properly detected. As a result, boot never completes. I guess SD cards in use should not be a problem since my other boards (orange-pi-[zero|one]) work fine with the same cards. s there anything I could miss ? Any DTS fixup maybe ?I stopped being lazy and did a bit more hacking around... With mmc debug enabled the following message appears in dmesg when I try to _remove_ card from the slot:
mmc0:mmc_rescan_try_freq: trying to init card at 400000 HzWhich brings us to the following dts fixup:
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts +1
-1@@ -71,7 +71,7 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; + cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; status = "okay"; };
Quoted 1 line
With this fix applied orange-pi-zero-plus2 boots fine.
Thanks, will investigate on this further and send the change to Linux.
thanks!
Signature · 4 lines
Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream Maintainer Hyderabad, India.