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

Feature/lcb support dev #358

Merged
merged 11 commits into from
Sep 29, 2023
Merged

Feature/lcb support dev #358

merged 11 commits into from
Sep 29, 2023

Conversation

FrancoisLoubser-1
Copy link
Collaborator

No description provided.

@flowzone-app flowzone-app bot enabled auto-merge September 6, 2023 09:58
@@ -0,0 +1 @@
SRC_URI = "git://github.com/intel/${BPN};branch=main;protocol=https"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you use bmap-tools? What is the purpose?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not explicitly. We just use the balenaos-img output.
The build does, however, generate some ..rootfs.bmap outputs by default in image_types_balena.bbclass, which could be used with the bmaptool for flashing.

This commit was more for cleaning up the build log to remove warnings.

@@ -33,3 +33,9 @@ ROOTFS_POSTPROCESS_COMMAND += "topicbalena_rootfs_postprocess; "
# We need to increase the rootfs size to make space for additional drivers in ROOTFS.
# BalenaOS image has a 700MB max size defined in 'image_types_balena.bbclass'
IMAGE_ROOTFS_SIZE="409600"

Copy link
Collaborator

Choose a reason for hiding this comment

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

What is this needed for? Isn't /etc/os-release enough to provide with the info you need?

Copy link
Collaborator Author

@FrancoisLoubser-1 FrancoisLoubser-1 Sep 12, 2023

Choose a reason for hiding this comment

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

os-release has a 'nice' version of BalenaOS, but a commit hash is the absolute truth.
I suppose this only helps while developing on a branch, where the os-release stays fixed. On the 'master'/'production' BalenaOS os-release does get stepped quite regularly.
Doesn't hurt to have it here, but I can easily remove it as well.

@@ -0,0 +1,28 @@
From 91c0364479b932f473f72671c140d566dc758891 Mon Sep 17 00:00:00 2001
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't all these patches be in the BSP layer instead, the meta-topic submodule?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The machine (lcbzu9) that has been added consists of a Topic SoM module on top of the client's custom carrier board.
It is therefore technically not part of the Topic PCBs and not supported by meta-topic.

If you don't think these fit in meta-balena-topic, a workable suggestion might be to add something like "meta-lowpad".
Then I would move everything required to support the lowpad carrier board, including these patches, the machine.conf, fpga & device tree there.

Do you agree?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I would rather we move all these to a meta-lowpad layer.
But if you are in a hurry now, we can merge them like this and you can move all lcbzu9 code at a later time in the new layer.

@floion floion force-pushed the feature/lcb-support-dev branch from 41e37f9 to 91945db Compare September 12, 2023 06:41
@FrancoisLoubser-1 FrancoisLoubser-1 force-pushed the feature/lcb-support-dev branch 2 times, most recently from 00c6ede to 44dc6b5 Compare September 28, 2023 14:28
FrancoisLoubser-1 and others added 11 commits September 29, 2023 09:43
The lcb board requires kernel 5.15.36

Change-type: patch
Signed-off-by: Francois Loubser <[email protected]>
Add git revision to deployed filesystem for Software Baseline Identification process.

Signed-off-by: Francois Loubser <[email protected]>
No functional change, fixes warning about patch "fuzz".

Signed-off-by: Mike Looijmans <[email protected]>
Installing npm is tricky apparently, so provide detailed instructions to
prevent the obscure package errors "apt install npm" often reports.

Signed-off-by: Mike Looijmans <[email protected]>
Solves a fetch error for bmap-tools, apparently upstream renamed master.

Signed-off-by: Mike Looijmans <[email protected]>
Adding lcbzu9 machine

Changelog-entry: Add lcbzu9 machine
Signed-off-by: Francois Loubser <[email protected]>
The fpga image, maintained by Topic, is packaged here.

Signed-off-by: Francois Loubser <[email protected]>
bootloader generated by meta-xilinx requies patch for the lcb board to get SD card to work.
Easiest fix was to download the binary generated by Topic/lowpad-lcb-platform build, which generates a valid boot.bin from XSA.

Signed-off-by: Francois Loubser <[email protected]>
The coffeemaker script is no longer relevant, remove it and keep the
coffee files in the repo. Adjust .gitignore for that too.

Add lcbzu9.coffee for the Eurotec Lowpad carrier board.

Signed-off-by: Mike Looijmans <[email protected]>
@floion floion force-pushed the feature/lcb-support-dev branch from 44dc6b5 to e400ae5 Compare September 29, 2023 06:43
@flowzone-app flowzone-app bot merged commit f8cc9dc into master Sep 29, 2023
46 checks passed
@flowzone-app flowzone-app bot deleted the feature/lcb-support-dev branch September 29, 2023 07:31
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