Skip to content

Conversation

@ajlennon
Copy link

No description provided.

@resin-jenkins
Copy link

Can one of the admins verify this patch?

@ajlennon
Copy link
Author

NB. The links I reference don't exist yet

e.g. https://docs.resin.io/orangepi-plus2e/nodejs/getting-started/#adding-your-first-device

@floion
Copy link
Contributor

floion commented Mar 22, 2019

@resin-jenkins ok to test

@floion
Copy link
Contributor

floion commented Mar 22, 2019

@resin-ci retest

@floion floion requested a review from a team March 22, 2019 13:42
@floion
Copy link
Contributor

floion commented Mar 22, 2019

@resin-jenkins test this please

@floion
Copy link
Contributor

floion commented Mar 22, 2019

Hi @ajlennon can you rebase the PR please and push it again?

ajlennon and others added 12 commits March 22, 2019 14:06
To support WiFi for OrangePi-Plus2E

Changelog-entry: Add meta-sunxi-contrib submodule layer
Signed-off-by: Alex J Lennon <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
Add OrangePi-Plus2E machine configuration for Bitbake.

Changelog-entry: Add OrangePi-Plus2E machine configuration for Bitbake
Signed-off-by: Alex J Lennon <[email protected]>
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 <[email protected]>
Add OrangePi-Plus2E COFFEE file for Belana.io barys build.

Changelog-entry: Add OrangePi-Plus2E COFFEE file
Signed-off-by: Alex J Lennon <[email protected]>
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
@ajlennon ajlennon force-pushed the ajl/orangepi-plus2e branch from 13e4a00 to 2c89288 Compare March 22, 2019 14:43
@ajlennon
Copy link
Author

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"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# Flash to internal eMMC - kernel always enumerates emmc as mmcblk2
INTERNAL_DEVICE_KERNEL_nanopi-neo-air = "mmcblk2"

INTERNAL_DEVICE_KERNEL_orangepi-plus2e = "mmcblk2"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be removed if your machine conf file uses the machine override

@@ -1,3 +1,21 @@
#
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be removed if your machine conf file uses the machine override.

@floion
Copy link
Contributor

floion commented Mar 23, 2019

Hi @ajlennon I left comments for your PR.
Also, in addition to the comments there, I am leaving a general reminder here to redo the git logs for all the commits. See https://github.com/balena-os/balena-allwinner#pull-requests, at the beginning of the section it describes what the Yocto Contribution Guideline along with a short example.

@floion
Copy link
Contributor

floion commented Mar 23, 2019

@resin-jenkins test this please

1 similar comment
@floion
Copy link
Contributor

floion commented Mar 23, 2019

@resin-jenkins test this please

name: 'Orange Pi Plus2e'
arch: 'armv7hf'
state: 'experimental'
community: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: extra space here

@ajlennon
Copy link
Author

I shall do my best. It'll be a few days before.i can find time to resolve these concerns

@floion
Copy link
Contributor

floion commented Sep 25, 2019

Hi @ajlennon would you find some time to address the comments and redo this PR?

@ajlennon
Copy link
Author

Mad busy at the minute @floion but I want to - will do my best!

@ajlennon
Copy link
Author

Have asked one of the chaps here to take a look and see if he might be able to refactor for me!

@MatthewCroughan
Copy link

On my todo list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants