Open Embedded and Gumstix
Hi All!
I am using a Gumstix and have set up Open Embedded+Bitbake on my local linux machine for cross debugging C code using eclipse IDE.
I am interested for having all my lab computers (all ubuntu machines as well) to be able to do the same but I dont want to bitbake and install each and everything again and again. Would it be possible for me to simple make an SDK and install it on all the other computers? What would be part of the SDK? As in, can I simply transfer the overo-oe folder to the rest of the computers and will it work?
Thanks for your help.
Take care and enjoy the day!
Hi,
Quoted 6 lines
[mailto:[email protected]] Im Auftrag von Chinab
I am using a Gumstix and have set up Open Embedded+Bitbake on my local linux
machine for cross debugging C code using eclipse IDE.
Quoted 9 lines
I am interested for having all my lab computers (all ubuntu machines as well) to
be able to do the same but I dont want to bitbake and install each and everything again and again. Would it be possible for me to simple make an SDK
and install it on all the other computers? What would be part of the SDK? As in,
can I simply transfer the overo-oe folder to the rest of the computers and will it work?
We do this kind of thing by using 'packaged-staging':
- compile the toolchain once on one computer (e.g. 'bitbake meta-toolchain')
- copy the resulting staging dir ( ${PSTAGE_DIR} )
somewhere ( e.g. http://server/pstage )
- Set PSTAGE_MIRROR in your local.conf (e.g. PSTAGE_MIRROR = http://server/pstage/ )
When then building on another computer, pre-built packages will be fetched from PSTAGE_MIRROR and not rebuilt. This will drastically speed up build times.
Note: if you want to use local URIs for PSTAGE_MIRROR (e.g.: file://xxx), you will need following patch, which has been acked but not merged upstream yet:
http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-July/033967.html
With kind regards,
Fabrice
Quoted 8 lines · Fabrice
We do this kind of thing by using 'packaged-staging':
- compile the toolchain once on one computer (e.g. 'bitbake meta-toolchain')
- copy the resulting staging dir ( ${PSTAGE_DIR} )
somewhere ( e.g. http://server/pstage )
- SetPSTAGE_MIRRORin your local.conf (e.g.PSTAGE_MIRROR= http://server/pstage/ )When then building on another computer, pre-built packages will be fetched from
PSTAGE_MIRRORand not rebuilt. This will drastically speed up build times.
Be aware though that if those machines are not identical (32/64-bit, different Ubuntu versions, different library versions), this might break silently.
So it's safer to pre-build and save your packages once for each machine separately.
But then this will only speed up subsequent builds on the same machine.
Detlef