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

OBLFR: use OSS version of bouffalo_sdk tools #80

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Pavlos1
Copy link

@Pavlos1 Pavlos1 commented Nov 20, 2023

I have a fork of the bouffalo_sdk (formerly bl_mcu_sdk) here. It aims to remove hardcoded binaries from the repository.

That fork isn't a good fit for upstream bouffalo_sdk, since most of the hardcoded binaries seem to be there to avoid dependency headaches for the SDK's end users. (Mostly for Windows users, it would seem.) However, buildroot allows us to specify all the necessary dependencies directly, which is what I have done in this PR.

The main advantage of this approach (besides OSS purism) is that it allows the buildroot images to be built on non-x86 hardware. (As well as non-glibc operating systems, although they would need to compile the Xuantie toolchain themselves in both cases.)

Note: the current version of OBLFR is only compatible with an older version of the Bouffalo SDK — this is why this PR uses the openbouffalo_compat branch in my fork. If this incompatibility is resolved at some point in the future, we can use the up-to-date SDK by pointing the bl_mcu_sdk package to the master branch.

`bouffalo_sdk_oss` is my fork of the Bouffalo SDK which aims to
avoid hard-coded binaries in the repository. The original SDK
used pyinstaller packages to manage the dependencies; since we
are not doing this we must tell buildroot about them instead.
OBLFR needs an older version of the Bouffalo SDK.
* python-portalocker reset to v2.0.0 in line with requirements
  file in bflb-iot-tool

* Removed auto-generated Config.in files; these can be replaced with
  correct Config.in.host files at a later date.
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.

1 participant