edison-fw / meta-intel-edison

Here is the meta-intel-edison that builds, tries to stay up to date. Master is based on Yocto Poky Gatesgarth LTS 5.10.yy vanilla kernels. It builds a 32bit kernel (Gatesgarth branch 64bit) with ACPI enabled and corresponding rootfs. Telegram group: https://t.me/IntelEdison Web-site:
https://edison-fw.github.io/meta-intel-edison/
MIT License
60 stars 38 forks source link

Add xfstk recipe #8

Closed htot closed 3 years ago

htot commented 6 years ago

This should build xfstk native for easy flashall --recovery

olipinski commented 4 years ago

I am not sure how of help it can be, but Aurelien Ballier ( https://github.com/AurelienBallier/xfstk ) got it working under Qt5 and a newer libboost. It did compile successfully under Ubuntu 20.04 when I tested. Although I did have some issues with the connection stability, I can't say for sure that it was definitely the xfstk that was at fault there.

htot commented 4 years ago

What would be useful to have is a Yocto recipe that builds the CLI version using recent libs.

Actually I built 1.8.1 but note the instruction

export DISTRIBUTION_NAME=ubuntu12.04

See also Recovery.

olipinski commented 3 years ago

Sorry for my late reply!

Do you mean a recipe as in a bitbake one? If so I can have a look if I can piece on together.

I was also thinking I could put xfstk in the Makefile in https://github.com/edison-fw/meta-intel-edison/blob/master/utils/Makefile.mk or would that be a bad place?

htot commented 3 years ago

A bitbake recipe would be nice as that would go into Yocto and be independent of edison.

olipinski commented 3 years ago

I have created a draft pull request for this, but as I am completely new to bitbake and how it should be laid out I would appreciate any pointers as to where it all should go!

Also I'm not sure how to best resolve the dependencies of xfstk - should all of them be built into the image?

htot commented 3 years ago

That's a good question, I'm no expert either. I'm trying to think of a comparable example recipe...

olipinski commented 3 years ago

Thank you very much for your review! I also couldn't find any comparable recipes in edison, at least none that used cmake.

htot commented 3 years ago

This is resolved by merge commit e8af20375de779cf5aa1ba983c22f355855a98e5