@Khem Raj <[email protected]> thanks any tweak suggestions for the musl
toolchains in yocto are welcome

On Fri, May 12, 2023 at 2:45 PM Khem Raj <[email protected]> wrote:

> On Fri, May 12, 2023 at 4:46 AM Ayoub Zaki <[email protected]>
> wrote:
> >
> > After testing on the target, static busybox cannot be started, it looks
> like Cortex M7 (MMU less) cannot run ELF Binaries and need BFLT format:
> >
> >
> https://unix.stackexchange.com/questions/610094/kernel-cannot-execute-binaries-error-8
> >
> > I saw that uClibc was removed and replaced with Musl, can Musl also
> generate  BFLT format binaries ?
> >
>
> you could use musl which has FDPIC support that is needed for running
> static bins on MCUs however it might need some
> tweaks to get it going in OE
>
> >
> >
> > On Fri, May 12, 2023 at 11:35 AM Ross Burton <[email protected]>
> wrote:
> >>
> >> On 12 May 2023, at 10:24, Ayoub Zaki <[email protected]> wrote:
> >> >
> >> > Ross' suggestion to remove opkg-utils hard coded build dependency on
> python solved the issue
> >>
> >> I have some local patches to clean this up, so you never need to build
> opkg-utils.
> >>
> >> > but I noticed that there is a similar issue if PACKAGE_CLASSES =
> "package_deb" is selected.
> >> > wouldn't it be possible to disable in yocto completely package
> management e.g PACKAGE_CLASSES = "” ?
> >>
> >> Images are constructed from packages, so this would be tricky.
> >>
> >> Use package_ipk and you get the leanest package manager.  If you don’t
> have package-management in IMAGE_FEATURES then you don’t get on-target
> tools, which saves building them at all.
> >>
> >> > Another issue I faced since my target is MMU less is that busybox
> enforce shared lib build:
> >> >
> >> >
> http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-core/busybox/busybox.inc?h=kirkstone#n115
> >> >
> >> > what is the reason behind this? shouldn't yocto support mmu less
> target ?
> >>
> >> We don’t have any official MMU-less supported targets.  If recipes need
> to be cleaned up to support them, then please do send patches.
>
>
> >>
> >> Ross
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60005): https://lists.yoctoproject.org/g/yocto/message/60005
Mute This Topic: https://lists.yoctoproject.org/mt/98824124/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to