Hi:
I have a iMx35 PDK with Linux OS (install with LTIB), but i dont know how install a java virtual machine (JVM) in board, and i dont found any information about this.
Thanks for your help.
Solved! Go to Solution.
You can also look at this interesting site: http://www.imxdev.org/wiki/index.php?title=All_Boards_Java
Regards,
Fabio Estevam
Hi:
Thanks for your answers. I try to install jvm but i dont have enought space in rootfs. I create a rtffs2 file with ltib and mkfs.jfss2. Then i create a partition (root) in NAND flash in iMX35 PDK.
RedBoot> fis create 0x600000 root
But i dont have free space to install jvm...i try:
RedBoot> fis create root -f 0x600000 -b 0x100000 -l 0x9E00000
But dont work...
Any idea...
Thanks for all.
I create a root image in NAND Flash, this partition have 200Mg, then in this image i "download" a rootfs.jffs2.
Then run linux:
fis load kernel
exec -c "noinit console=..."
I display in linux partition:
df -h
But showme only have 80 megas.
Any suggestion???
For development purposes I would recommend you to use NFS instead of JFFS2.
Regards,
Fabio Estevam
Hi:
I use NFS to transfer files to PDK:
Download Kernel to RAM and program to NAND Flash
RedBoot> load -r -b 0x100000 /<your tftp folder>/zImage -h <host IP address>
RedBoot> fis create -f 0x100000 kernel
Download root file system to RAM and program to NAND Flash
RedBoot> load -r -b 0x100000 rootfs.jffs2 -h <host IP address>
RedBoot> fis create -f 0x600000 root
Run linux
fis load kernel
exec -c "noinitrd console=ttymxc0,115200 root=/dev/mtdblock8 rw rootfstype=jffs2 ..."
But linux only detect 20Mg free space, but PDK have 2Gb NAND Flash...How i can use 2Gb?
If we only have 150 free space in RAM, how we can transfer a rffs2 file more big than RAM free space to NAND flash?
Thanks for all.
Hi:
I see IMX35PDKHUG.pdf document in 3.2.- 3-stack memory say:
"For instance, DDR SDRAM occupies only 128 MB of the 256MB space available to CSD0, so it appears in two different ranges of ddresses."
If we use TFTP to load rootfs in RAM, we only have a 128MB free espace to load rffs2 file in RAM and then create a root in NAND Flash...
Someone know how grow up root file system since linux or how linux can detect 2GB NAND flash???
Thanks for all.
Tto create 1024Mg free space in NAND Flash
In freescale@root make:
cd /mnt
mkdir tmpfs
mount tmpfs /mnt/tmpfs -t tmpfs -o size=1024m
That´s all
Hi,
I think you can try phoneME JVM on MX35. Take a look at: http://forums.java.net/jive/message.jspa?messageID=201217
Regards,
Fabio Estevam
You can also look at this interesting site: http://www.imxdev.org/wiki/index.php?title=All_Boards_Java
Regards,
Fabio Estevam