Skip to contentSkip to conversation

ODROID-C1 support

DISCUSSION Christian Ege 3 participants 7 messages May 5, 2015 – May 23, 2015

lore
Share & tools
lore
#1 lore raw

Hi Christian,

Sorry, I missed your announcement before replying to Armin's post about the -xu3! I was reading through my backlog of Yocto mailing list emails and hadn't made it to my OE backlog yet ;-)

I hope we can all pull together some sort of common amlogic/odroid layer(s) together.

Best regards,
Trevor

Quoted 9 lines · Christian Ege

Hello,

I've created a BSP Layer for the ODROID-C1 and other Amlogic based devices like the Wetek.Play

https://github.com/linux-meson/meta-amlogic

regards,
Christian

#2 lore raw
In reply to Christian Ege

Hi Christian,

Quoted 4 lines · Christian Ege

I've created a BSP Layer for the ODROID-C1 and other Amlogic based devices like the Wetek.Play

https://github.com/linux-meson/meta-amlogic

Thanks! I've been playing with your layer. For the most part it's going well. I've noticed a small glitch, however, and I'm not 100% sure how to fix it (otherwise I would have just sent you a github pull request).

If I have your layer added to the BBLAYERS mix but I'm _not_ building for "odroidc1" (or "wetekplay", I assume) then I get an error because the build system can't find the amlsetfb.sh file. You have two "amlsetfb.sh" files, one for the odroidc1 and one for the wetekplay which you've added to recipes-core/initscripts/odroidc1 and recipes-core/initscripts/wetekplay. If the MACHINE is odroidc1 then the recipes-core/initscripts/odroidc1/amsetfb.sh file is found, otherwise it is not.

I can work around this issue by adding a MACHINE-specific override to your initscripts_1.%.bbappend:

-SRC_URI_append = " file://amlsetfb.sh \
+SRC_URI_append_odroidc1 = " file://amlsetfb.sh \

but I'm guessing another override would be required for the wetekplay as well.

Why would someone include your layer and not build for odroidc1 or wetekplay? Sometimes that's what people do ;-) (look at Angstrom, for example). Besides, a BSP layer should be able to play nicely with other layers even when its machines aren't being used :-)

#3 lore raw

Hi Trevor,

Quoted 11 lines

Hi Christian,

Quoted 4 lines · Christian Ege

I've created a BSP Layer for the ODROID-C1 and other Amlogic based devices like the Wetek.Play

https://github.com/linux-meson/meta-amlogic

Thanks! I've been playing with your layer. For the most part it's going well. I've noticed a small glitch, however, and I'm not 100% sure how to fix it (otherwise I would have just sent you a github pull request).

Maybe the easiest Part would be not to bbappend initscripts and just add an own reecipe for amlsetfb. Within this recipe I can use COMPATIBLE_MACHINE.

I guess if I am using COMPATIBLE_MACHINE in the initscripts_1.%.bbappend will cause to not build initscripts for any other machine. :)

Quoted 15 lines

If I have your layer added to the BBLAYERS mix but I'm _not_ building for "odroidc1" (or "wetekplay", I assume) then I get an error because the build system can't find the amlsetfb.sh file. You have two "amlsetfb.sh" files, one for the odroidc1 and one for the wetekplay which you've added to recipes-core/initscripts/odroidc1 and recipes-core/initscripts/wetekplay. If the MACHINE is odroidc1 then the recipes-core/initscripts/odroidc1/amsetfb.sh file is found, otherwise it is not.

I can work around this issue by adding a MACHINE-specific override to your initscripts_1.%.bbappend:

(quoted diff) +1 -1
-SRC_URI_append = " file://amlsetfb.sh \
+SRC_URI_append_odroidc1 = " file://amlsetfb.sh \
Quoted 7 lines

but I'm guessing another override would be required for the wetekplay as well.

Why would someone include your layer and not build for odroidc1 or wetekplay? Sometimes that's what people do ;-) (look at Angstrom, for example). Besides, a BSP layer should be able to play nicely with other layers even when its machines aren't being used :-)

Yes I know people do strange things :)

Regards,
Christian

#4 lore raw
In reply to Trevor Woerner
Quoted 30 lines · Trevor Woerner

Hi Christian,

Quoted 4 lines · Christian Ege

I've created a BSP Layer for the ODROID-C1 and other Amlogic based devices like the Wetek.Play

https://github.com/linux-meson/meta-amlogic

Thanks! I've been playing with your layer. For the most part it's going well. I've noticed a small glitch, however, and I'm not 100% sure how to fix it (otherwise I would have just sent you a github pull request).

If I have your layer added to the BBLAYERS mix but I'm _not_ building for "odroidc1" (or "wetekplay", I assume) then I get an error because the build system can't find the amlsetfb.sh file. You have two "amlsetfb.sh" files, one for the odroidc1 and one for the wetekplay which you've added to recipes-core/initscripts/odroidc1 and recipes-core/initscripts/wetekplay. If the MACHINE is odroidc1 then the recipes-core/initscripts/odroidc1/amsetfb.sh file is found, otherwise it is not.

I can work around this issue by adding a MACHINE-specific override to your initscripts_1.%.bbappend:

(quoted diff) +1 -1
-SRC_URI_append = " file://amlsetfb.sh \
+SRC_URI_append_odroidc1 = " file://amlsetfb.sh \
Quoted 7 lines

but I'm guessing another override would be required for the wetekplay as well.

Why would someone include your layer and not build for odroidc1 or wetekplay? Sometimes that's what people do ;-) (look at Angstrom, for example). Besides, a BSP layer should be able to play nicely with other layers even when its machines aren't being used :-)

This is very much desirable, in todays times. In angstrom e.g. we want to generalize feeds across many machines for arm especially, so we can share common feeds across multiple armv7a machines so BSP maintainers have to start thinking that their BSP layer will be put along with other BSP layers and they not change common components mindlessly to fit for just one given machine.

secondly more and more end users especially big companies have more than 1 machine tied into their useless so its desirable for them to use one distro across all the product lines and hence a requirement to have BSP layers play well with each others.

Quoted 5 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#5 lore raw
Quoted 7 lines · Khem Raj
Quoted 7 lines · Trevor Woerner

Why would someone include your layer and not build for odroidc1 or wetekplay? Sometimes that's what people do ;-) (look at Angstrom, for example). Besides, a BSP layer should be able to play nicely with other layers even when its machines aren't being used :-)

Quoted 8 lines

This is very much desirable, in todays times. In angstrom e.g. we want to generalize feeds across many machines for arm especially, so we can share common feeds across multiple armv7a machines so BSP maintainers have to start thinking that their BSP layer will be put along with other BSP layers and they not change common components mindlessly to fit for just one given machine.

secondly more and more end users especially big companies have more than 1 machine tied into their useless so its desirable for them to use one distro across all the product lines and hence a requirement to have BSP layers play well with each others.

Shouldn't this be true of distro layers as well?

Simply included meta-angstrom in conf/bblayers.conf causes one's DISTRO to be set to angstrom, even if they select poky in conf/local.conf.

#6 lore raw
Quoted 16 lines · Trevor Woerner
Quoted 12 lines · Khem Raj
Quoted 7 lines · Trevor Woerner

Why would someone include your layer and not build for odroidc1 or wetekplay? Sometimes that's what people do ;-) (look at Angstrom, for example). Besides, a BSP layer should be able to play nicely with other layers even when its machines aren't being used :-)

This is very much desirable, in todays times. In angstrom e.g. we want to generalize feeds across many machines for arm especially, so we can share common feeds across multiple armv7a machines so BSP maintainers have to start thinking that their BSP layer will be put along with other BSP layers and they not change common components mindlessly to fit for just one given machine.

Quoted 5 lines
Quoted 3 lines

secondly more and more end users especially big companies have more than 1 machine tied into their useless so its desirable for them to use one distro across all the product lines and hence a requirement to have BSP layers play well with each others.

Shouldn't this be true of distro layers as well?

May be but its not a practical requirement.
Remember OE is a framework to build embedded Linux distributions, we can have multiple machines supported for a given OE based distribution so thats a usual case, distribution is the global set of policies under which your build then works. Now if you have two distribution layers then they may impose certain policies that may be in conflict.

Quoted 8 lines

Simply included meta-angstrom in conf/bblayers.conf causes one's DISTRO to be set to angstrom, even if they select poky in conf/local.conf. --
_______________________________________________
Openembedded-devel mailing list [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel