Re: android on omap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



twebb,

           As far as I know Android root file system cannot reside on
jffs2 partition as jffs2 does not have support for memory mapped IO.
One workaround may be to create an EXT2 image for the Android root FS
and place it in the jffs2 partition and try mounting it as loop
device. A brief procedure can be as shown here:

1. create EXT2/EXT3 image for android root FS
2. store the image under the jffs2 partition in NAND (booting out of
NFS, mount MTD partition and place the image file)
3. Boot your device using NFS or ramdisk
4. After boot completes, mount the EXT2/EXT3 image as loop device
5. chroot into that mounted directory and run android.

NB: i've tried the above steps for an SD card formatted as FAT but
never tried this for NAND/jffs2 combination.

Warm Regards,
Anil

On Tue, Oct 7, 2008 at 3:11 AM, twebb <taliaferro62@xxxxxxxxx> wrote:
>
> > Does the root file system reside on NFS? Have you enabled "Networking" while
> > configuring the kernel?
> >
>
> Anil,
> I've now moved filesystem to target (jffs2).  Things are a little
> better, and different.  Using logcat, I'm now seeing dalvikvm errors
> and warnings as shown below.  It's particularly odd since I wasn't
> seeing this error when rootfs mounted via NFS.  Any ideas?
>
> I really appreciate your input.
>
> Thanks,
> twebb
>
> D/dalvikvm(  483): DexOpt: --- BEGIN 'core.jar' (bootstrap=1)
> ---
> E/dalvikvm(  501): unable to mmap DEX cache: Invalid
> argument
> E/dalvikvm(  501): Optimization
> failed
> D/dalvikvm(  483): DexOpt: waiting for verify+opt,
> pid=501
> W/dalvikvm(  483): DexOpt: --- END 'core.jar' --- status=0xff00,
> process failed
> E/dalvikvm(  483): Unable to extract+optimize DEX from '/system/
> framework/
> core.jar'
> D/dalvikvm(  483): Failed on '/system/framework/
> core.jar' (boot=1)
> D/dalvikvm(  483): VM cleaning
> up
> D/dalvikvm(  483): LinearAlloc 0x0 used 4100 of 4194304
> (0%)
> W/dalvikvm(  483): JNI_CreateJavaVM
> failed
> E/AndroidRuntime(  483): JNI_CreateJavaVM
> failed
>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux