[yocto] Java on Yocto 1.5 on i.MX6

Tobias Henkel tobias.henkel at oss.bmw-carit.de
Sun Nov 24 23:36:43 PST 2013


On 11/25/2013 07:55 AM, Darcy Watkins wrote:
> Anyone build and running openjdk-7 in the yocto 1.5 environment on i.MX6?
>
> I tried adding meta-java layer and ran 'bitbake openjdk-7' and it blows up
> in do_configure classpath-native.  The log file is attached to my post at
> Freescale community.
>
> https://community.freescale.com/message/364691#364691
>
> I want to run this on my Wandboard-Quad.
>
> Thanks in advance.
>
I also had trouble with classpath-native after upgrading my build 
machine to Fedora 19.
The jamvm crashes with segfaults during the configure step in 
classpath-native.

My (internal) fix for this was to copy the cacao-initial recipe (with 
dependent files) from
https://github.com/openembedded/openembedded/blob/master/recipes/cacao/cacao-initial_0.98.bb
into my layer and add PREFERRED_PROVIDER_virtual/java-initial = 
"cacao-initial" to the local.conf.

For getting this to work I also had to add "vm.mmap_min_addr=0" to 
/etc/sysctl.conf

Cheers,
Tobias



More information about the yocto mailing list