Giter Site home page Giter Site logo

balena-seeed-x86's Introduction

balena-seeed-x86 repository

Clone/Initialize the repository

There are two ways of initializing this repository:

  • Clone this repository with "git clone --recursive".

or

  • Run "git clone" and then "git submodule update --init --recursive". This will bring in all the needed dependencies.

Build information

balenaOS currently only builds with cgroups v1. If your distribution defaults to using cgroups v2, please boot with the following kernel command line argument: systemd.unified_cgroup_hierarchy=0

Containerized build

  • If you have a working docker installation, you can build in a containerized environment as follows: ./balena-yocto-scripts/build/balena-build.sh -d <device type> -s <shared directory>

    Where:

    • Device type is one of the supported devices with a valid <device type name>.coffee description file.
    • Shared directory is the absolute path to the build folder

Native build

To build all supported device types natively, please make sure your Linux distribution is supported by Yocto Project.

Additional host tools need to be installed for native builds to work.

  • Run the barys build script: ./balena-yocto-scripts/build/barys

  • You can also run barys with the -h switch to inspect the available options

Custom build using this repository

  • Run the barys build script in dry run mode to setup an empty build directory ./balena-yocto-scripts/build/barys --remove-build --dry-run

  • Edit the local.conf in the build/conf directory

  • Prepare build's shell environment source layers/poky/oe-init-build-env

  • Run bitbake (see message outputted when you sourced above for examples)

Build flags

  • Consult layers/meta-balena/README.md for info on various build flags (setting up serial console support for example) and build prerequisites. Build flags can be set by using the build scripts (barys or balena-build) or by manually modifying local.conf.

Contributing

Issues

For issues please use this section: https://github.com/balena-os/balena-seeed-x86/issues

Pull requests

To contribute send github pull requests targeting this repository.

Please refer to: Yocto Contribution Guidelines and try to use the commit log format as stated there. Example:

<component>: Short description

I'm going to explain here what my commit does in a way that history
would be useful.

Changelog-entry: User facing description of the issue
Signed-off-by: Joe Developer <[email protected]>

The header of each commit must not exceed 72 characters in length and must be in 1 line only.

The header and the subject of each commit must be separated by an empty line.

The subject of each commit must not exceed 72 characters per line and can be wrapped to several lines.

The subject and the footer of each commit must be separated by an empty line.

Every pull request must contain at least one commit annotated with the Changelog-entry footer. The messages contained in these footers will be used to automatically fill the changelog on every new version.

Also, every update to meta-balena should be separated into its own commit, if the body of that commit contains the following line Updated meta-balena from X to Y the generated changelog will include a button to show all the updates in meta-balena from the version after X to Y.

An example of a valid commit updating meta-balena is:

layers/meta-balena: Update to v2.73.0

Update meta-balena from 2.72.0 to 2.73.0

Changelog-entry: Update the meta-balena submodule from v2.72.0 to v2.73.0

Make sure you mention the issue addressed by a PR. See:

balena-seeed-x86's People

Contributors

balena-renovate[bot] avatar flowzone-app[bot] avatar balena-ci avatar renovate[bot] avatar renovate-bot avatar alexgg avatar floion avatar klutchell avatar lakshanthad avatar

Stargazers

George Kontridze avatar Vipul Gupta avatar  avatar Hongtai Liu avatar

Watchers

James Cloos avatar  avatar Balena team avatar  avatar

Forkers

seeed-studio

balena-seeed-x86's Issues

Odyssey seeed x86 network isn't coming up while flashing usb

Hi, I'm having issues flashing my odyssey seeed with a usb drive. I believe the problem is due to network problems on the board. When I run nmcli device status I only see a bridge, an iptunnel, and a loopback. I also can't discover the device over ethernet from my pc.

Here are the journalctl logs:

[resin-init-flasher][INFO] Timeout while waiting for openvpn to come alive. No network?
[resin-init-flasher][INFO] Flash internal devices... will take around 5 minutes...
[resin-init-flasher][INFO] Searching for devices matching pattern /dev/sda
[resin-init-flasher][INFO] Failed to find any block devices in sda.
systemd[1]: resin-init-flasher.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: resin-init-flasher.service: Failed to start Resin init flasher service.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

git-submodules
.gitmodules
  • balena-yocto-scripts master@87762ec55616db7a361d41ae0fb115f8a9d4e034
  • layers/meta-balena master@e6eec7bdb572753420bfe543750357c9f18ee4d8
  • layers/meta-openembedded dunfell@01358b6d705071cc0ac5aefa7670ab235709729a
  • layers/meta-rust dunfell@d42984ff9a9fad9ced37d95a89af1b2b84f957e9
  • layers/poky dunfell@63d05fc061006bf1a88630d6d91cdc76ea33fbf2
github-actions
.github/workflows/build_and_deploy.yml
  • balena-os/github-workflows v0.0.27@0192d70429dd7bce1aee056ec3369514f682d48a
.github/workflows/esr.yml
  • balena-os/github-workflows master
.github/workflows/flowzone.yml
  • product-os/flowzone master

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.