Java on Vybrid

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Java on Vybrid

跳至解决方案
2,798 次查看
cerma
Contributor IV

Hello,

Is it possible to run java application on Vybrid?

Do I can use JVM for ARM?

If so, what I should to do to make it work?

标签 (7)
标记 (2)
0 项奖励
1 解答
2,441 次查看
CommunityBot
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!

在原帖中查看解决方案

0 项奖励
6 回复数
2,442 次查看
CommunityBot
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!
0 项奖励
2,444 次查看
sanchayanmaity
Contributor III

Hello,

Yes, Java can be used on the Vybrid. What exactly are you running on the Vybrid? Linux? Which distribution?

For example, in case of Angstrom distribution with an OpenEmbedded build, java can be installed using the meta-java layer.

- Sanchayan.

0 项奖励
2,444 次查看
cerma
Contributor IV

Currently I am trying get to work most recent version of yocto (1.8). It would be awesome if it would be more like arm (i.MX6) where I could download kernel code and change it as I like and than recompile. So far is yocto very confusing for me. So you could provide some manual and (or) something what would be similar to working with classic kernel I would highly appreciate it.

My idea is as follows:

- run some Linux distribution (ideally Debian based) and be able to change kernel config and maybe DTS

- get JVM to work for user space apps

0 项奖励
2,443 次查看
timesyssupport
Senior Contributor II

Hi Jaroslav,

While your Yocto build will not generate a Debian-based image, you can still change the kernel configuration and device tree source for the Vybrid kernel in this build. I would recommend creating a custom layer, where in this layer, you can override the kernel defconfig to change the kernel configuration, and add a patch to the kernel source (or change the kernel source URI altogether), in order to change the device tree source. Here is some more information about creating a custom layer for your Yocto build:

Yocto Project Board Support Package Developer's Guide

As Sanchayan said, you can download and include the meta-java layer in your Yocto build. The meta-java layer can provide numerous Java utilities for your build, including the JamVM JVM.

Thanks,

Timesys Support

2,443 次查看
sanchayanmaity
Contributor III

Hello,

May be the following article on our Blog will be of help

https://www.toradex.com/blog/the-yocto-projects-reference-distribution-poky-on-toradex-hardware

Do you have your own hardware or are you using Vybrid Tower platform? The meta-fsl-arm layer has the MACHINE twr-vf65gs10 for building for Tower boards.

meta-fsl-arm - Layer containing Freescale ARM hardware support metadata

It uses the 4.1 kernel

OpenEmbedded Metadata Index - linux-fslc

You can in fact download a mainline kernel even and use it. You would need a Yocto build with the meta-java layer added for adding java to the image build.

- Sanchayan.

2,444 次查看
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport​ can you share your comments here?

0 项奖励