Re: Is there a better method to embed a application into OS image ?

Tech-Archive recommends: Fix windows errors by optimizing your registry



"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)
.



Relevant Pages

  • Re: Osirix for windows?
    ... for sharing data and applications among cancer researchers. ... XIP has been developed to run in a plug-in architecture for DICOM ... imaging applications, but requires an application architecture that is ... independent application) using the XIP development environment. ...
    (comp.protocols.dicom)
  • Re: Osirix for windows?
    ... for sharing data and applications among cancer researchers. ... XIP has been developed  to run in a plug-in architecture for DICOM ... imaging applications, but requires an application architecture that is ... independent application) using the XIP development environment. ...
    (comp.protocols.dicom)
  • Re: SystemACE bootloader for PowerPC on Virtex4 FX
    ... In that case the software applications are embedded into software only ACE files and stored in the directory structure for System ACE CF. ... The bootloader consists of only a few lines of code that selects the desired configuration and kicks off a System ACE CF configuration cycle for that application. ... Now let's move the bootloader application into caches. ...
    (comp.arch.fpga)
  • What File System supports Application XIP
    ... We are developing embedded Linux system. ... We hope some applications can run as fast as possible, ... I know that Cramfs has supported Application XIP. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: [RFC] Advanced XIP File System
    ... AXFS for Advanced XIP File System. ... Borrows much from CRAMFS with Linear XIP patches ... - XIP of kernel is mainline, but not XIP of applications. ... Is that a fundamental problem of cramfs, or rather a problem of the ...
    (Linux-Kernel)