Re: Self booting systems with out bootloader?!!!

From: David Lindauer (camille_at_bluegrass.net)
Date: 01/25/05

  • Next message: Walt: "Re: 12f675 transmission range"
    Date: Tue, 25 Jan 2005 01:27:02 GMT
    
    

    "s.subbarayan" wrote:

    > Dear all,
    >

    > 1)I am not getting the relation between fragmentation and storing the
    > data in low address area of RAM.How does loading data section in low
    > address area prevent fragmentation?
    >

    if you load it in the middle of memory, you immediately start with two
    'fragments' of memory devoted to the memory pool, so you can't allocate
    all of memory in one chunk. So you gotta load at the top or bottom.

    >
    > 2)My query is what do you mean generally when you say "self booting"
    > systems?
    >

    they are just talking about not having a bootloader, I think. Had to have
    some way of informing their customers that now vxworks could do what most
    other embedded systems have always done, and this is the sales
    terminology.

    >
    > 3)Does that mean there is no RAM present and the code executes fully
    > from ROM?

    >

    nope. They won't have been able to create a kernel that can run without
    variables stored in RAM. But from the quotes you gave it does indicate
    that you can run the kernel from ROM so you won't need enough RAM to load
    the whole kernel into.

    >
    > 4)If thats the case,then the second sentence as stated above confuses
    > me,because it says the data section will be present in
    > RAM_LOW_ADDRESS.Can some one clarify me this?
    >

    you need variables in RAM for any real product... and the kernel will
    reserve space for its own variables as well.

    >
    > AFAIK,when we say selfbooting,this applies for production systems in
    > some embedded products(not for every embedded device) where the code
    > will be executing completely from ROM and boot code will not get
    > copied to RAM and code will be executed from ROM.Is this understanding
    > correct?

    Based on the quotes you gave, I think that is a fair assessment of the
    situation.

    >
    >
    > I have worked with avionics protocols and consumer electronics related
    > embedded systems.But I am curious enough to know what sort of embedded
    > applications can be created with ROM only version with out
    > bootloader?IMHO its going to be taking more time to boot from ROM as
    > compared to RAM.Given the fact that,most embedded systems are for
    > mission critical stuff,what will be advantage in moving to ROM only
    > systems?I think consumer electronics apps are less critical as
    > compared to medical and avionics systems,but still in the consumer
    > electronics devices (typically DVD player,STB),I have worked with had
    > a boot loader and was not executing from ROM.
    >

    Well for example we do life-safety systems that aren't usually high-speed,
    and for a lot of it we don't use VxWorks but code close to the metal, e.g.
    by putting our own start addresses in the processor's initialization
    vector and bringing the board up ourself. We run these systems entirely
    out of ROM chips (actually FLASH chips) rather than placing other types
    of storage into the system. It has been said there are far more embedded
    computers than there are desktop computers... and in the early days *ALL*
    of them were done this way, even today I don't think it is uncommon
    although more and more we start with a basic operating system except when
    production quantity means cost scaling can't do with run-time licenses.

    But also more and more even in these systems, a separate 'boot' app is
    added that has basic functionality such as the ability to download a new
    image into the flash chips or maybe self test code.

    David


  • Next message: Walt: "Re: 12f675 transmission range"

    Relevant Pages

    • Re: Windoze Vista
      ... My XP Pro box boots in less than 60 seconds. ... gigs of ram. ... I load the essentials for the XP box. ... I hardly ever boot my PC. ...
      (alt.guitar)
    • Re: Why no Model II emulator?
      ... There are no ROMs - just a small boot ROM to load and execute the boot ... It's really basically a Z-80 emulator that is ... You'd need to emulate the ROM to some extent to boot a TRSDOS ...
      (comp.sys.tandy)
    • Re: Checking for interest in Kaypro autobooting GIDE project
      ... rom and uses the SF as any disk. ... a CP/M file system on the CF and populate it. ... itself to ram and boot there to even a blank CF. ...
      (comp.os.cpm)
    • Re: Does not boot consistently - Not All Startup Tasks Load
      ... megabytes of ram installed. ... Database Developer ... machine sometimes will load all the items in the startup and work ... Sometimes now the only way I can get it to boot up properly it ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: ROM board for the Arc..?
      ... available on boot without the need to load them from a drive... ... These were made when the Arc was first introduced. ... ROM and so Acorn produced a ROM podule, only to have CC produce their own ...
      (comp.sys.acorn.hardware)