Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Nitrogen8M Mini SBC board #70

Merged
merged 28 commits into from
Jul 4, 2019
Merged

Conversation

acostach
Copy link
Contributor

@acostach acostach commented Jul 3, 2019

No description provided.

We do this change because we noticed frequent timeouts
in different parts of our build infrastructure when pulling
the poky repository from https://git.yoctoproject.org/git/poky

Changelog-entry: Change the poky submodule to our github mirror
Signed-off-by: Alexandru Costache <alexandru@balena.io>
Changelog-entry: Rename meta-resin to meta-balena in repository
Signed-off-by: Alexandru Costache <alexandru@balena.io
Changelog-entry: Update repo.yml to be able to trigger VersionBot with `meta-balena`
Signed-off-by: Alexandru Costache <alexandru@balena.io>
Changelog-entry: Update rust to 1.34
Signed-off-by: Alexandru Costache <alexandru@balena.io>
Signed-off-by: Alexandru Costache <alexandru@balena.io>
Signed-off-by: Alexandru Costache <alexandru@balena.io>
Newer boards from the Nitrogen family are used from
the meta-freescale-3rdparty mirror provided by
Boundarydevices

Signed-off-by: Alexandru Costache <alexandru@balena.io>
Signed-off-by: Alexandru Costache <alexandru@balena.io>
Signed-off-by: Alexandru Costache <alexandru@balena.io>
Changelog-entry: Update the balena-yocto-scripts submodule to v1.2.3
Signed-off-by: Alexandru Costache <alexandru@balena.io>
Update meta-balena from 2.31.0 to 2.38.2

Changelog-entry: Update meta-balena from v2.31.0 to v2.38.2
Signed-off-by: Alexandru Costache <alexandru@balena.io>
- Switch compatibility to thud
- Accept EULA
- Specify nitrogen8mm serial console
- Mask boundary recipes to fix build
- Specify u-boot bootloader for Nitrogen8mm

Signed-off-by: Alexandru Costache <alexandru@balena.io>
@resin-jenkins
Copy link

Can one of the admins verify this patch?

@acostach acostach requested a review from a team July 3, 2019 17:43
@floion
Copy link
Contributor

floion commented Jul 4, 2019

@resin-jenkins add to whitelist

nitrogen8mm.coffee Outdated Show resolved Hide resolved
name: 'Nitrogen8M Mini SBC'
arch: 'aarch64'
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.

@shaunmulligan is this board supposed to be community ?

Signed-off-by: Alexandru Costache <alexandru@balena.io>
Use meta-boundary, switch to meta-balena layers

Signed-off-by: Alexandru Costache <alexandru@balena.io>
Signed-off-by: Alexandru Costache <alexandru@balena.io>
- Use u-boot recipe from boundary layers
- Resolve KCONFIG patch failures
- Integrate with BalenaOS

Signed-off-by: Alexandru Costache <alexandru@balena.io>
For Nitrogen8 family, u-boot uses a signed bootscript
inside the boot partition.

Integrate BalenaOS usage in this script and allow
flashing BalenaOS from a factory flashed non-Balena u-boot

Signed-off-by: Alexandru Costache <alexandru@balena.io>
Instead of using the latest version for every build,
use the current known to work version, thus avoiding
including any updates that may break build or boot
without knowning of them.

Signed-off-by: Alexandru Costache <alexandru@balena.io>
By default the generated image will not boot
when written to /dev/mmcblk0boot0 because the
MX8M soc is being used and also because the dtb
is not used when generating the *.its binary

Signed-off-by: Alexandru Costache <alexandru@balena.io>
- Install necessary packages as well as firmwares
  and drivers for gpu and wifi

- Add signed bootloader and script to boot partition

Signed-off-by: Alexandru Costache <alexandru@balena.io>
At this point only Nitrogen8mm is left from this
repository, so fix build dependency for it too

Signed-off-by: Alexandru Costache <alexandru@balena.io>
Flash bootloader for Nitrogen8mm to /dev/mmcblk0boot0
partition during hostOS update

Signed-off-by: Alexandru Costache <alexandru@balena.io>
Write u-boot to special boot partition when flashing board

Signed-off-by: Alexandru Costache <alexandru@balena.io>
Signed-off-by: Alexandru Costache <alexandru@balena.io>
Changelog-entry: resin-info.bbappend: Specify Nitrogen8mm tty
Signed-off-by: Alexandru Costache <alexandru@balena.io>
Although enabled by u-boot configs, the board
configuration file disables environment import,
thus triggering failures in hup. Enable these
to have hup working correctly.

Signed-off-by: Alexandru Costache <alexandru@balena.io>
There are too many audit logs printed
way too often. Disable these.

Signed-off-by: Alexandru Costache <alexandru@balena.io>
Signed-off-by: Alexandru Costache <alexandru@balena.io>
@acostach
Copy link
Contributor Author

acostach commented Jul 4, 2019

@balena-ci retest

@acostach
Copy link
Contributor Author

acostach commented Jul 4, 2019

@balena-ci retest

@acostach acostach merged commit e882769 into master Jul 4, 2019
@acostach acostach deleted the nitrogen8mm_board branch July 4, 2019 14:12
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.

3 participants