Re: Is there a better method to embed a application into OS image ?
- From: Valter Minute <vminute@xxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Jun 2005 01:27:59 -0700
"Yu" <Yu.Mails@xxxxxxxxxxxxx> wrote in
news:ujarCAGfFHA.576@xxxxxxxxxxxxxxxxxxxx:
[...]
> Our system has only a 32MB NandFlash.
> Bootloader + OS are about 24MB
> Applications are about 6MB
> Our system is using XIP and demand page.
> After I update the OS image, I will format the remaing space into
> a FAT disk.
If the application don't need to write more than 1-2MB of data, I
think that putting it on the FAT partition would be a good solution.
6MB is a large size for a CE application. If you've some components
that are very stable and don't need updates (or, at least, that could
be updated only when an OS update is needed), you can move them to
the OS image.
> I have to think about the following condition.
> Can you give me a recommendation for our system ?
>
> 1. NandFlash space is limited.
> 2. Easy to put OS and Applications into platofrm.
> After I upload the OS, I can use ActiveSync to copy
> applications to the
> FAT disk.
> Howerver, it will waste much time.
> 3. Easy to upgrade the applications.
>
You may try to make this process automatic using RAPI on the PC side
and developing an application that installs your latest release on
the devices. This will require a PC with ActiveSync and the operation
would be time-consuming.
You may try do build and image with multiple XIP regions. In this way
you'll have a main region (NK) with the kernel and the core OS files
and another region with your application.
The build process will generate multiple .bin images and I think
you'll have to change your bootloader to download them on your
device.
In this way you should be able to upload the app memory region
without changing the OS.
I never used multiple-XIP, so I can only suggest you to check this
topic in the on-line help.
--
Valter Minute
vminute@xxxxxxxxx (the reply address of this message is invalid)
.
- References:
- Prev by Date: Re: UDC performance on PXA270
- Next by Date: Re: XScale sleep mode
- Previous by thread: Re: Is there a better method to embed a application into OS image ?
- Next by thread: network configuration control panel app question in CE.NET 4.2
- Index(es):
Relevant Pages
|