Not sure from the comment if you just copy it into memory.
Otherwise use a initramfs kernel or you could use a MTDRAM device. It
is the same a for flash only this is
in memory. Mounting is the same as any MTD flash device. You can pass
the partition data in the kernel
command line.


On Thu, Dec 10, 2009 at 9:37 AM, linux newbie <[email protected]> wrote:
> Hi,
>
> Thanks for your reply.
>
> our system doesnt have ethernet but only WiFi.
>
> Also we have 128MB of SDRAM. In order to get first look & feel of
> Android in our target, I am planning to do following steps tomorrow
>
> 1. extract ramdisk.img contents using gzip/cpio(we get init, init.rc,
> empty system and data folder) and make it as root folder
> 2. extract system.img, userdata.img using unyaffs2
> 3. copy system.img contents into empty system folder
> 4. download the root folder into SDRAM (we have tools to download from
> bootcode via usb)
> 5. start the kernel
>
> I went through the init.rc file and it has yaffs2 mount for
> system/data and I believe I need to comment it.
> Apart from that can  you please let me know other things to comment
> that might not be necessary?
>
> let me try it tomorrow and get back to you.
>
> once again thanks for your support.
>
> On Thu, Dec 10, 2009 at 10:17 AM, hedwin <[email protected]> wrote:
>> Also don't forget to create the following link: etc -> /system/etc
>> etc needs to be in the root
>>
>>
>>
>> On Wed, Dec 9, 2009 at 8:27 PM, hedwin <[email protected]> wrote:
>>> I unpack the images so I am sure I have everything. I use the init.rc as is.
>>>
>>> Hedwin Koning
>>>
>>> On Wed, Dec 9, 2009 at 3:34 PM, Alexey Roslyakov
>>> <[email protected]> wrote:
>>>> It's not required to unpack smth. - all files are available in out/
>>>> target/product/<product_name>/root && out/target/product/
>>>> <product_name>/system
>>>> You could copy system into root and use single NFS share. Also you
>>>> have to change init.rc and comment out mount commands that's not
>>>> needed.
>>>>
>>>> On 9 дек, 15:12, hedwin <[email protected]> wrote:
>>>>> Ok, am using NFS as well.
>>>>>
>>>>> To get an RFS for a NFS based system the only thing you need to do is
>>>>> unpack the ramdisk, userdata and system images.
>>>>> If you are using android cupcake you should be able to mount the
>>>>> images it as a ext2 filesystem and extract the data.
>>>>> For donut you need to mount it as a yaffs2 filesystem. There is also a
>>>>> tooling that can do the extracting for you, tool is call unyaffs2.
>>>>> What is left is to tell the kernel that you are using an NFS rootfs
>>>>> and set the correct init in the kernel command line.
>>>>>
>>>>> Hedwin Koning
>>>>>
>>>>> On Wed, Dec 9, 2009 at 12:42 PM, linux newbie <[email protected]> 
>>>>> wrote:
>>>>> > currently I am planning to use NFS as I have only 32MB Flash, but soon
>>>>> > will be upgrading to higher capacity.
>>>>>
>>>>> > On Wed, Dec 9, 2009 at 5:19 PM, hedwin <[email protected]> wrote:
>>>>> >> What are you using flash or NFS?
>>>>>
>>>>> >> Hedwin Koning
>>>>>
>>>>> >> On Wed, Dec 9, 2009 at 5:00 AM, linux newbie 
>>>>> >> <[email protected]> wrote:
>>>>> >>> Hi,
>>>>>
>>>>> >>> I compiled linux_2_6_31_1 with Android support for my target PXA255
>>>>> >>> based platform.
>>>>>
>>>>> >>> Next step is to add, android specific files i.e system & data in the
>>>>> >>> Root File System. Can anybody let me know how to do this step?
>>>>>
>>>>> >>> Is there any link that gives step-by-step instructions?
>>>>>
>>>>> >>> Thanks
>>>>>
>>>>> >>> On Mon, Dec 7, 2009 at 3:43 PM, Anil Sasidharan <[email protected]> 
>>>>> >>> wrote:
>>>>> >>>> Hi,
>>>>>
>>>>> >>>>            Android = android-kernel + android-userspace
>>>>>
>>>>> >>>> Warm Regards,
>>>>> >>>> Anil
>>>>>
>>>>> >>>> On Mon, Dec 7, 2009 at 6:59 AM, linux newbie 
>>>>> >>>> <[email protected]>
>>>>> >>>> wrote:
>>>>>
>>>>> >>>>> Hi,
>>>>>
>>>>> >>>>> I enabled Android specific configurations in linux 2.6.31 
>>>>> >>>>> distribution
>>>>> >>>>> i.e using make menuconfig. Compiled the kernel and booted it in my
>>>>> >>>>> platform.
>>>>>
>>>>> >>>>> I couldnt find any difference (ofcourse, I havent updated my root 
>>>>> >>>>> file
>>>>> >>>>> system) as I was expecting android logo while booting.
>>>>>
>>>>> >>>>> do we need to have root file system with android specific binaries 
>>>>> >>>>> in
>>>>> >>>>> order to have boot image??
>>>>>
>>>>> >>>>> Thanks
>>>>>
>>>>> >>>>> On Mon, Dec 7, 2009 at 10:22 AM, linux newbie 
>>>>> >>>>> <[email protected]>
>>>>> >>>>> wrote:
>>>>> >>>>> > Hi,
>>>>>
>>>>> >>>>> > Thanks for your email.
>>>>>
>>>>> >>>>> > Can you please let me know the link from which I can download the
>>>>> >>>>> > Android-patch (against linux kernel)?
>>>>>
>>>>> >>>>> > 2009/12/7 தங்கமணி அருண் <[email protected]>:
>>>>>
>>>>> >>>>> >> 2009/12/4 android_newbie <[email protected]>
>>>>>
>>>>> >>>>> >>> Hi All,
>>>>>
>>>>> >>>>> >>> Our ARM based embedded platform runs on linux-2.6.31 kernel 
>>>>> >>>>> >>> version.
>>>>> >>>>> >>> We want to port android on top of it. We first want to boot the 
>>>>> >>>>> >>> board
>>>>> >>>>> >>> with Android and then proceed with application development.
>>>>>
>>>>> >>>>> >>> After going though the android related websites the following 
>>>>> >>>>> >>> is my
>>>>> >>>>> >>> understanding and please correct me if I am wrong.
>>>>>
>>>>> >>>>> >>> 1. Download Android kernel patch against the linux version.
>>>>> >>>>> >>> 2. Apply the patch and compile the kernel.
>>>>>
>>>>> >>>>> >> kernel.org + android-patch+your board specific patch--> then 
>>>>> >>>>> >> compile
>>>>>
>>>>> >>>>> >>> 3. Boot the system.
>>>>>
>>>>> >>>>> >>> Please let me know if I miss anything.
>>>>>
>>>>> >>>>> >>> Thanks
>>>>>
>>>>> >>>>> >>> --
>>>>> >>>>> >>> unsubscribe: [email protected]
>>>>> >>>>> >>> website:http://groups.google.com/group/android-porting
>>>>>
>>>>> >>>>> >> --
>>>>> >>>>> >> அன்புடன்
>>>>> >>>>> >> அருண்
>>>>> >>>>> >> ------------------------------
>>>>> >>>>> >>http://ubuntu-tam.org
>>>>> >>>>> >>http://lists.ubuntu.com/ubuntu-l10n-tam
>>>>> >>>>> >>http://lists.ubuntu.com/ubuntu-tam
>>>>> >>>>> >> ------------------------------
>>>>>
>>>>> >>>>> >> --
>>>>> >>>>> >> unsubscribe: [email protected]
>>>>> >>>>> >> website:http://groups.google.com/group/android-porting
>>>>>
>>>>> >>>>> --
>>>>> >>>>> unsubscribe: [email protected]
>>>>> >>>>> website:http://groups.google.com/group/android-porting
>>>>>
>>>>> >>>> --
>>>>> >>>> unsubscribe: [email protected]
>>>>> >>>> website:http://groups.google.com/group/android-porting
>>>>>
>>>>> >>> --
>>>>> >>> unsubscribe: [email protected]
>>>>> >>> website:http://groups.google.com/group/android-porting
>>>>>
>>>>> >> --
>>>>> >> unsubscribe: [email protected]
>>>>> >> website:http://groups.google.com/group/android-porting
>>>>>
>>>>> > --
>>>>> > unsubscribe: [email protected]
>>>>> > website:http://groups.google.com/group/android-porting
>>>>
>>>> --
>>>> unsubscribe: [email protected]
>>>> website: http://groups.google.com/group/android-porting
>>>
>>
>> --
>> unsubscribe: [email protected]
>> website: http://groups.google.com/group/android-porting
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to