Re: MEMORY tag addressing question



The only way I can think this is possible with the CE tools is to use
multiple XIP regions. A main region for the OS, and another region for your
version. Overkill, but it would work.

A better idea might be to put the version in data structure with a well
known signature that you could search for. Or you could modify the image in
a post build step to place a version number in a region before or after the
rest of the image.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"jmd80ta" <jmd@xxxxxxxxxxxxxxx> wrote in message
news:1161262964.135330.240050@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I understand the MEMORY section but have a question. How can I reserve
a section of memory at a particular addrees for a "const string". I
need to have in my kernel image a string that contains a version number
and then in my bootloader look at that address to retreive the version.
My kernel image will be on a SD disk which I can read sectors from the
bootloader.

In other compilers/linkers I can reserve object files at a particular
address in the image. So I can have a C file and only have one const
declaration in it which I can then put it in the "text" section of the
image.

Not sure how to do this with Windows CE or if it can be done, any ideas?



.



Relevant Pages

  • Re: no init found error
    ... > says no init found. ... _that_ partition, not in anything you might happen to mount later. ... Once the bootloader brings the initrd image and the kernel image into ...
    (linux.redhat)
  • MEMORY tag addressing question
    ... I understand the MEMORY section but have a question. ... a section of memory at a particular addrees for a "const string". ... My kernel image will be on a SD disk which I can read sectors from the ... In other compilers/linkers I can reserve object files at a particular ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to minimize /dev (using udev)?
    ... Mike McCarty wrote: ... kernel image (or else supplied by the bootloader). ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: something odd
    ... > if you forgot to change your bootloader config ... > for using the new kernel image then it still loads the ... > Even if you reinstall LILO after the compile. ...
    (Debian-User)
  • JTag <- transfer kernel?
    ... May i know what is the most common way to transfer the kernel image ... and the bootloader to arm development board? ... is it using JTag? ... If i erase some bytes of my bootloader, how can i install it again? ...
    (comp.os.linux.embedded)