Add support for orangepi-plus2e v2#71
Conversation
|
Can one of the admins verify this patch? |
|
NB. The links I reference don't exist yet e.g. https://docs.resin.io/orangepi-plus2e/nodejs/getting-started/#adding-your-first-device |
|
@resin-jenkins ok to test |
|
@resin-ci retest |
|
@resin-jenkins test this please |
|
Hi @ajlennon can you rebase the PR please and push it again? |
To support WiFi for OrangePi-Plus2E Changelog-entry: Add meta-sunxi-contrib submodule layer Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Add a default dependency to bblayers to provide access to WiFi driver for OrangePi-Plus2E Changelog-entry: Add default dependency on meta-sunxi-contrib Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Provide needed bitbake meta data to build OrangePi-Plus2E output image. Changelog-entry: Add config. for OrangePi-Plus2E image build Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Provide WiFi driver specific connectivity configuration (rtl8189fs-mod) for OrangePi-Plus-2E board. Changelog-entry: Add connectivity config. for OrangePi-Plus2E WiFi Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Copy configuration for 2E based on -Plus2 (i.e. pl2303, wifi, hdmi) Changelog-entry: Configure linux kernel for OrangePi-Plus2E Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Configure internal storage device based on OrangePi-Plus2 i.e. 'emmc' is 'mmcblk2' Changelog-entry: Configure OrangePi-Plus2E internal storage Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Add OrangePi-Plus2E machine configuration for Bitbake. Changelog-entry: Add OrangePi-Plus2E machine configuration for Bitbake Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
This is a straight copy of the OrangePi-Plus2 image added as a placeholder (i.e. may need to be changed in future). Changelog-entry: Add OrangePi-Plus2E SVG image Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Add OrangePi-Plus2E COFFEE file for Belana.io barys build. Changelog-entry: Add OrangePi-Plus2E COFFEE file Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Add xradio driver for XR819 Wifi chipsets Changelog-entry: Add xradio out-of-tree kernel module
Add xradio firmware blobs for XR819 Changelog-entry: Add xradio firmware for XR819 Chipset
13e4a00 to
2c89288
Compare
|
Hi @floion have done this |
| [submodule "layers/meta-rust"] | ||
| path = layers/meta-rust | ||
| url = https://github.com/meta-rust/meta-rust.git | ||
| [submodule "layers/meta-sunxi-contrib"] |
There was a problem hiding this comment.
This submodule is not correctly added. The build server fails when fetching:
Command "git config --get submodule.layers/meta-sunxi-contrib.url" returned status code 1
Could not perform submodule update
How did you add the submodule in this PR? What are the commands you used?
| @@ -1,5 +1,6 @@ | |||
| CONNECTIVITY_FIRMWARES_append = " linux-firmware-ap6212 linux-firmware-brcm43362" | |||
| CONNECTIVITY_MODULES_append_orangepi-plus2 = " rtl8189" | |||
| CONNECTIVITY_MODULES_append_orangepi-plus2e = " rtl8189fs-mod" | |||
There was a problem hiding this comment.
Can you rephrase the commit log? "Connectivity config." doesn't describe what that package really is
| #@NAME: Orange Pi Plus 2e | ||
| #@DESCRIPTION: Machine configuration for the Orange Pi Plus2e, based on allwinner H3 CPU http://www.orangepi.org/ | ||
|
|
||
| require conf/machine/include/sun8i.inc |
There was a problem hiding this comment.
You should define instead a machine override like in: https://github.com/balena-os/balena-allwinner/blob/master/layers/meta-resin-allwinner/conf/machine/bananapi-m1-plus.conf#L5
| # Flash to internal eMMC - kernel always enumerates emmc as mmcblk2 | ||
| INTERNAL_DEVICE_KERNEL_nanopi-neo-air = "mmcblk2" | ||
|
|
||
| INTERNAL_DEVICE_KERNEL_orangepi-plus2e = "mmcblk2" |
There was a problem hiding this comment.
This can be removed if your machine conf file uses the machine override
| " | ||
|
|
||
| RESIN_CONFIGS_append_orangepi-plus2 = " hdmi" | ||
| RESIN_CONFIGS_append_orangepi-plus2e = " hdmi" |
There was a problem hiding this comment.
This can be removed if your machine conf file uses the machine override
| " | ||
|
|
||
| RESIN_CONFIGS_append_orangepi-plus2 = " wifi" | ||
| RESIN_CONFIGS_append_orangepi-plus2e = " wifi" |
There was a problem hiding this comment.
This can be removed if your machine conf file uses the machine override
| @@ -1,3 +1,21 @@ | |||
| # | |||
There was a problem hiding this comment.
Please redo the commit header.
For this commit, the header should be something like:
resin-image.inc:
So the header should always reference the file being changed, not the layer (layers/meta-resin-allwinner)
This change has to be done on all the commits
| # Orange Pi Plus2e | ||
| # | ||
|
|
||
| IMAGE_FSTYPES_append_orangepi-plus2e = " resinos-img" |
There was a problem hiding this comment.
This can be removed if your machine conf file uses the machine override.
| IMAGE_FSTYPES_append_orangepi-plus2e = " resinos-img" | ||
|
|
||
| # Customize resinos-img | ||
| RESIN_IMAGE_BOOTLOADER_orangepi-plus2e = "u-boot" |
There was a problem hiding this comment.
This can be removed if your machine conf file uses the machine override.
| uImage-sun8i-h3-orangepi-plus2e.dtb:/dtb/sun8i-h3-orangepi-plus2e.dtb \ | ||
| u-boot-sunxi-with-spl.bin: \ | ||
| " | ||
| IMAGE_CMD_resinos-img_append_orangepi-plus2e () { |
There was a problem hiding this comment.
This can be removed if your machine conf file uses the machine override.
|
Hi @ajlennon I left comments for your PR. |
|
@resin-jenkins test this please |
1 similar comment
|
@resin-jenkins test this please |
| name: 'Orange Pi Plus2e' | ||
| arch: 'armv7hf' | ||
| state: 'experimental' | ||
| community: true |
|
I shall do my best. It'll be a few days before.i can find time to resolve these concerns |
|
Hi @ajlennon would you find some time to address the comments and redo this PR? |
|
Mad busy at the minute @floion but I want to - will do my best! |
|
Have asked one of the chaps here to take a look and see if he might be able to refactor for me! |
|
On my todo list. |
No description provided.