board: Add Allwinner A64/H5 boards
v6 cover board: Add Allwinner A64/H5 boards
This patchset rebased all ATF changes which are present in mainline and also added u-boot size field in genimage.cfg
All boards now use Mainline U-Boot v2017.11 and Linux 4.14
Changes for v6:
- Bump u-boot to v2017.11
- Bump Linux to 4.14
- Droped Linux patches for few boards which are available in 4.14
- Add size field in genimage.cfg
- Add ATF BL31 config options
- Add orangepi pc2 which is H5 family
- Add Linux sdcard fix patch from mainline
Changes for v5:
- Fixed wiki links
- Update dtb file for sopine
Changes for v4:
- 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] http://patchwork.ozlabs.org/cover/833068/
Jagan Teki (10):
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
board: Add Orangepi PC2 support
.gitlab-ci.yml | 10 +++++ DEVELOPERS | 18 ++++++++ board/bananapi/bananapi-m64/boot.cmd | 6 +++ board/bananapi/bananapi-m64/genimage.cfg | 39 +++++++++++++++++ board/bananapi/bananapi-m64/readme.txt | 37 ++++++++++++++++ board/friendlyarm/nanopi-a64/boot.cmd | 6 +++ board/friendlyarm/nanopi-a64/genimage.cfg | 39 +++++++++++++++++ board/friendlyarm/nanopi-a64/readme.txt | 37 ++++++++++++++++ board/friendlyarm/nanopi-neo2/boot.cmd | 6 +++ board/friendlyarm/nanopi-neo2/genimage.cfg | 39 +++++++++++++++++ board/friendlyarm/nanopi-neo2/readme.txt | 37 ++++++++++++++++ board/olimex/a64-olinuxino/boot.cmd | 6 +++ board/olimex/a64-olinuxino/genimage.cfg | 39 +++++++++++++++++ board/olimex/a64-olinuxino/readme.txt | 37 ++++++++++++++++ board/orangepi/orangepi-pc2/boot.cmd | 6 +++ board/orangepi/orangepi-pc2/genimage.cfg | 39 +++++++++++++++++ board/orangepi/orangepi-pc2/readme.txt | 37 ++++++++++++++++ board/orangepi/orangepi-prime/boot.cmd | 6 +++ board/orangepi/orangepi-prime/genimage.cfg | 39 +++++++++++++++++ board/orangepi/orangepi-prime/readme.txt | 37 ++++++++++++++++ board/orangepi/orangepi-win/boot.cmd | 6 +++ board/orangepi/orangepi-win/genimage.cfg | 39 +++++++++++++++++ board/orangepi/orangepi-win/readme.txt | 37 ++++++++++++++++ board/orangepi/orangepi-zero-plus2/boot.cmd | 6 +++ board/orangepi/orangepi-zero-plus2/genimage.cfg | 39 +++++++++++++++++ ...ts-orange-pi-zero-plus2-fix-sdcard-detect.patch | 30 +++++++++++++ board/orangepi/orangepi-zero-plus2/readme.txt | 37 ++++++++++++++++ board/pine64/pine64/boot.cmd | 6 +++ board/pine64/pine64/genimage.cfg | 39 +++++++++++++++++ board/pine64/pine64/readme.txt | 38 ++++++++++++++++ board/pine64/sopine/boot.cmd | 6 +++ board/pine64/sopine/genimage.cfg | 39 +++++++++++++++++ board/pine64/sopine/readme.txt | 38 ++++++++++++++++ configs/bananapi_m64_defconfig | 47 ++++++++++++++++++++ configs/friendlyarm_nanopi_a64_defconfig | 47 ++++++++++++++++++++ configs/friendlyarm_nanopi_neo2_defconfig | 47 ++++++++++++++++++++ configs/olimex_a64_olinuxino_defconfig | 47 ++++++++++++++++++++ configs/orangepi_pc2_defconfig | 47 ++++++++++++++++++++ configs/orangepi_prime_defconfig | 47 ++++++++++++++++++++ configs/orangepi_win_defconfig | 47 ++++++++++++++++++++ configs/orangepi_zero_plus2_defconfig | 50 ++++++++++++++++++++++ configs/pine64_defconfig | 47 ++++++++++++++++++++ configs/pine64_sopine_defconfig | 47 ++++++++++++++++++++ 43 files changed, 1353 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 board/friendlyarm/nanopi-a64/boot.cmd create mode 100644 board/friendlyarm/nanopi-a64/genimage.cfg 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/readme.txt create mode 100644 board/orangepi/orangepi-pc2/boot.cmd create mode 100644 board/orangepi/orangepi-pc2/genimage.cfg create mode 100644 board/orangepi/orangepi-pc2/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/patches/linux/linux-0001-arm64-dts-orange-pi-zero-plus2-fix-sdcard-detect.patch 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_pc2_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 v6 1/10 board: Add Bananapi M64 support
Add initial support for bananapi M64 board
with below features:
- U-Boot 2017.11
- Linux 4.14
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 1 + board/bananapi/bananapi-m64/boot.cmd | 6 ++++ board/bananapi/bananapi-m64/genimage.cfg | 39 ++++++++++++++++++++++++++ board/bananapi/bananapi-m64/readme.txt | 37 +++++++++++++++++++++++++ configs/bananapi_m64_defconfig | 47 ++++++++++++++++++++++++++++++++ 6 files changed, 131 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
@@ -94,6 +94,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
@@ -773,6 +773,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 +39 -0
@@ -0,0 +1,39 @@ +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 + size = 1M # 1MB - 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 v6 1/10 board: Add Bananapi M64 support
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Jagan" == Jagan Teki <[email protected]> writes:
Add initial support for bananapi M64 board
with below features:
- U-Boot 2017.11
- Linux 4.14
- Default packages from buildrootCc Jason <[email protected]>Cc hailymei at banana-pi.com <[email protected]>Signed-off-by Jagan Teki <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v6 2/10 board: Add Pine64 support
In reply to Jagan TekiAdd initial support for Pine64 board
with below features:
- U-Boot 2017.11
- Linux 4.14
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 ++ board/pine64/pine64/boot.cmd | 6 +++++ board/pine64/pine64/genimage.cfg | 39 +++++++++++++++++++++++++++++++++ board/pine64/pine64/readme.txt | 38 ++++++++++++++++++++++++++++++++ configs/pine64_defconfig | 47 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 133 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
@@ -170,6 +170,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
@@ -772,8 +772,10 @@ F: package/axel/ 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 +39 -0
@@ -0,0 +1,39 @@ +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 + size = 1M # 1MB - 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://openedev.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
PATCH v6 2/10 board: Add Pine64 support
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Jagan" == Jagan Teki <[email protected]> writes:
Add initial support for Pine64 board
with below features:
- U-Boot 2017.11
- Linux 4.14
- Default packages from buildrootCc TL Lim <[email protected]>Cc Andre Przywara <[email protected]>Signed-off-by Jagan Teki <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v6 3/10 board: Add SoPine support
In reply to Jagan TekiAdd initial support for SoPine board
with below features:
- U-Boot 2017.11
- Linux 4.14
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 1 + board/pine64/sopine/boot.cmd | 6 +++++ board/pine64/sopine/genimage.cfg | 39 +++++++++++++++++++++++++++++++++ board/pine64/sopine/readme.txt | 38 ++++++++++++++++++++++++++++++++ configs/pine64_sopine_defconfig | 47 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 132 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
@@ -171,6 +171,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
@@ -776,6 +776,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-sopine-baseboard.dtb + +booti $kernel_addr_r - $fdt_addr_r
board/pine64/sopine/genimage.cfg new file +39 -0
@@ -0,0 +1,39 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-a64-sopine-baseboard.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 + size = 1M # 1MB - 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://openedev.amarulasolutions.com/display/ODWIKI/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 v6 3/10 board: Add SoPine support
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Jagan" == Jagan Teki <[email protected]> writes:
Add initial support for SoPine board
with below features:
- U-Boot 2017.11
- Linux 4.14
- Default packages from buildrootCc TL Lim <[email protected]>Cc Andre Przywara <[email protected]>Signed-off-by Jagan Teki <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v6 4/10 board: Add FriendlyARM Nanopi A64 support
In reply to Jagan TekiAdd initial support for FriendlyARM Nanopi A64
board with below features:
- U-Boot 2017.11
- Linux 4.14
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 ++ board/friendlyarm/nanopi-a64/boot.cmd | 6 ++++ board/friendlyarm/nanopi-a64/genimage.cfg | 39 +++++++++++++++++++++++++ board/friendlyarm/nanopi-a64/readme.txt | 37 ++++++++++++++++++++++++ configs/friendlyarm_nanopi_a64_defconfig | 47 +++++++++++++++++++++++++++++++ 6 files changed, 132 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/readme.txt create mode 100644 configs/friendlyarm_nanopi_a64_defconfig
.gitlab-ci.yml +1 -0
@@ -123,6 +123,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
@@ -772,9 +772,11 @@ F: package/axel/ 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 +39 -0
@@ -0,0 +1,39 @@ +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 + size = 1M # 1MB - 40K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
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://openedev.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 +47 -0
47 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v6 4/10 board: Add FriendlyARM Nanopi A64 support
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Jagan" == Jagan Teki <[email protected]> writes:
Add initial support for FriendlyARM Nanopi A64
board with below features:
- U-Boot 2017.11
- Linux 4.14
- Default packages from buildrootCc Yuefei <[email protected]>Signed-off-by Jagan Teki <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v6 5/10 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 | 39 +++++++++++++++++++++++++ board/friendlyarm/nanopi-neo2/readme.txt | 37 +++++++++++++++++++++++ configs/friendlyarm_nanopi_neo2_defconfig | 47 ++++++++++++++++++++++++++++++ 6 files changed, 132 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
@@ -124,6 +124,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
@@ -773,10 +773,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 +39 -0
@@ -0,0 +1,39 @@ +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 + size = 1M # 1MB - 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 v6 5/10 board: Add FriendlyARM Nanopi NEO2 support
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Jagan" == Jagan Teki <[email protected]> writes:
Add initial support for FriendlyARM Nanopi NEO2 board with below features:
- U-Boot 2017.09
- Linux 4.13.7
The defconfig uses 2017.11 / 4.14, so I've changed this and committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v6 6/10 board: Add Olimex A64-OLinuXino support
In reply to Jagan TekiAdd initial support for Olimex A64-OLinuXino
board with below features:
- U-Boot 2017.11
- Linux 4.14
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 ++ board/olimex/a64-olinuxino/boot.cmd | 6 +++++ board/olimex/a64-olinuxino/genimage.cfg | 39 +++++++++++++++++++++++++++ board/olimex/a64-olinuxino/readme.txt | 37 ++++++++++++++++++++++++++ configs/olimex_a64_olinuxino_defconfig | 47 +++++++++++++++++++++++++++++++++ 6 files changed, 132 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/readme.txt create mode 100644 configs/olimex_a64_olinuxino_defconfig
.gitlab-ci.yml +1 -0
@@ -161,6 +161,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_lite_defconfig: *defconfig
DEVELOPERS +2 -0
@@ -774,11 +774,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 +39 -0
@@ -0,0 +1,39 @@ +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 + size = 1M # 1MB - 40K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
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 +47 -0
47 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v6 6/10 board: Add Olimex A64-OLinuXino support
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Jagan" == Jagan Teki <[email protected]> writes:
Add initial support for Olimex A64-OLinuXino
board with below features:
- U-Boot 2017.11
- Linux 4.14
- Default packages from buildrootCc Tsvetan Usunov <[email protected]>Signed-off-by Jagan Teki <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v6 7/10 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.11
- Linux 4.14
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 ++ board/orangepi/orangepi-win/boot.cmd | 6 ++++ board/orangepi/orangepi-win/genimage.cfg | 39 ++++++++++++++++++++++++++ board/orangepi/orangepi-win/readme.txt | 37 +++++++++++++++++++++++++ configs/orangepi_win_defconfig | 47 ++++++++++++++++++++++++++++++++ 6 files changed, 132 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
@@ -169,6 +169,7 @@ orangepi_one_defconfig: *defconfig orangepi_pc_defconfig: *defconfig orangepi_pc_plus_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
@@ -775,12 +775,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 +39 -0
@@ -0,0 +1,39 @@ +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 + size = 1M # 1MB - 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 v6 7/10 board: Add Orangepi Win/Win Plus support
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Jagan" == Jagan Teki <[email protected]> writes:
Add initial support for Orangepi Win/Win Plus
board with below features:
- U-Boot 2017.11
- Linux 4.14
- Default packages from buildrootCc zhaoyifan <[email protected]>Signed-off-by Jagan Teki <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v6 8/10 board: Add Orangepi Prime support
In reply to Jagan TekiAdd initial support for Orangepi Prime
board with below features:
- U-Boot 2017.11
- Linux 4.14
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 ++ board/orangepi/orangepi-prime/boot.cmd | 6 ++++ board/orangepi/orangepi-prime/genimage.cfg | 39 +++++++++++++++++++++++++ board/orangepi/orangepi-prime/readme.txt | 37 +++++++++++++++++++++++ configs/orangepi_prime_defconfig | 47 ++++++++++++++++++++++++++++++ 6 files changed, 132 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
@@ -169,6 +169,7 @@ orangepi_one_defconfig: *defconfig orangepi_pc_defconfig: *defconfig orangepi_pc_plus_defconfig: *defconfig orangepi_plus_defconfig: *defconfig +orangepi_prime_defconfig: *defconfig orangepi_win_defconfig: *defconfig orangepi_zero_defconfig: *defconfig pandaboard_defconfig: *defconfig
DEVELOPERS +2 -0
@@ -775,6 +775,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
@@ -782,6 +783,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 +39 -0
@@ -0,0 +1,39 @@ +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 + size = 1M # 1MB - 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 v6 8/10 board: Add Orangepi Prime support
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Jagan" == Jagan Teki <[email protected]> writes:
Add initial support for Orangepi Prime
board with below features:
- U-Boot 2017.11
- Linux 4.14
- Default packages from buildrootCc zhaoyifan <[email protected]>Signed-off-by Jagan Teki <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v6 9/10 board: Add Orangepi Zero Plus2 support
In reply to Jagan TekiAdd initial support for Orangepi Zero Plus2
board with below features:
- U-Boot 2017.11
- Linux 4.14
- 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 | 39 +++++++++++++++++ ...ts-orange-pi-zero-plus2-fix-sdcard-detect.patch | 30 +++++++++++++ board/orangepi/orangepi-zero-plus2/readme.txt | 37 ++++++++++++++++ configs/orangepi_zero_plus2_defconfig | 50 ++++++++++++++++++++++ 7 files changed, 165 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/patches/linux/linux-0001-arm64-dts-orange-pi-zero-plus2-fix-sdcard-detect.patch create mode 100644 board/orangepi/orangepi-zero-plus2/readme.txt create mode 100644 configs/orangepi_zero_plus2_defconfig
.gitlab-ci.yml +1 -0
@@ -172,6 +172,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
@@ -777,6 +777,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
@@ -785,6 +786,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 +39 -0
@@ -0,0 +1,39 @@ +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 + size = 1M # 1MB - 40K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/orangepi/orangepi-zero-plus2/patches/linux/linux-0001-arm64-dts-orange-pi-zero-plus2-fix-sdcard-detect.patch new file +30 -0
@@ -0,0 +1,30 @@ +From f88e9301948173dd35afad4a6939092c7f269aed Mon Sep 17 00:00:00 2001 +From: Sergey Matyukevich <[email protected]> +Date: Fri, 3 Nov 2017 22:58:54 +0300 +Subject: [PATCH] arm64: dts: orange-pi-zero-plus2: fix sdcard detect + +The sdcard detect pin on orange-pi-zero-plus2 is pulled up. +Fix cd-gpio description to enable sdcard detect. + +Signed-off-by: Sergey Matyukevich <[email protected]> +Signed-off-by: Maxime Ripard <[email protected]> +--- + arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +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 b6b7a56..a42fd79 100644 +--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts ++++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts +@@ -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"; + }; + +-- +1.9.1 +
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 +50 -0
50 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v6 9/10 board: Add Orangepi Zero Plus2 support
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Jagan" == Jagan Teki <[email protected]> writes:
Add initial support for Orangepi Zero Plus2
board with below features:
- U-Boot 2017.11
- Linux 4.14
- Default packages from buildrootCc zhaoyifan <[email protected]>Signed-off-by Jagan Teki <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v6 10/10 board: Add Orangepi PC2 support
In reply to Jagan TekiAdd initial support for Orangepi PC2
board with below features:
- U-Boot 2017.11
- Linux 4.14
- Default packages from buildroot
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 ++ board/orangepi/orangepi-pc2/boot.cmd | 6 ++++ board/orangepi/orangepi-pc2/genimage.cfg | 39 ++++++++++++++++++++++++++ board/orangepi/orangepi-pc2/readme.txt | 37 +++++++++++++++++++++++++ configs/orangepi_pc2_defconfig | 47 ++++++++++++++++++++++++++++++++ 6 files changed, 132 insertions(+) create mode 100644 board/orangepi/orangepi-pc2/boot.cmd create mode 100644 board/orangepi/orangepi-pc2/genimage.cfg create mode 100644 board/orangepi/orangepi-pc2/readme.txt create mode 100644 configs/orangepi_pc2_defconfig
.gitlab-ci.yml +1 -0
@@ -166,6 +166,7 @@ olimex_imx233_olinuxino_defconfig: *defconfig openblocks_a6_defconfig: *defconfig orangepi_lite_defconfig: *defconfig orangepi_one_defconfig: *defconfig +orangepi_pc2_defconfig: *defconfig orangepi_pc_defconfig: *defconfig orangepi_pc_plus_defconfig: *defconfig orangepi_plus_defconfig: *defconfig
DEVELOPERS +2 -0
@@ -775,6 +775,7 @@ F: board/engicam/ F: board/friendlyarm/nanopi-a64/ F: board/friendlyarm/nanopi-neo2/ F: board/olimex/a64-olinuxino/ +F: board/orangepi/orangepi-pc2/ F: board/orangepi/orangepi-prime/ F: board/orangepi/orangepi-win/ F: board/orangepi/orangepi-zero-plus2/
@@ -784,6 +785,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_pc2_defconfig F: configs/orangepi_prime_defconfig F: configs/orangepi_win_defconfig F: configs/orangepi_zero_plus2_defconfig
board/orangepi/orangepi-pc2/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-pc2.dtb + +booti $kernel_addr_r - $fdt_addr_r
board/orangepi/orangepi-pc2/genimage.cfg new file +39 -0
@@ -0,0 +1,39 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h5-orangepi-pc2.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 + size = 1M # 1MB - 40K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/orangepi/orangepi-pc2/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 PC2. With the current configuration +it will bring-up the board, and allow access through the serial console. + +Orangepi PC2 link: +http://www.orangepi.org/orangepipc2/ + +Wiki link: +https://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+PC2 + +This configuration uses U-Boot mainline and kernel mainline. + +How to build +============ + + $ make orangepi_pc2_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 PC2 and power it up. The console +is on the serial line, 115200 8N1.
configs/orangepi_pc2_defconfig new file +47 -0
47 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v6 10/10 board: Add Orangepi PC2 support
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Jagan" == Jagan Teki <[email protected]> writes:
Add initial support for Orangepi PC2
board with below features:
- U-Boot 2017.11
- Linux 4.14
- Default packages from buildrootSigned-off-by Jagan Teki <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard