Re: regarding boot.bib and config.bib

From: Sujith (sujithss_at_hotmail.com)
Date: 10/28/04


Date: Thu, 28 Oct 2004 18:54:49 +0530

Hi,
Today I just have gone through the code, for some reference and this is what
I understood.

the address you have to use is physical address only. because, it
bootloaders normally works in physical address only, not virtual address.

as you said, you are able to download atleast 300 packets, that is proved.
now, why it is failing after that, you have to find out!
one possible option is that, the kernel is overwriting the bootloader area.
check your boot.bib and config.bib. check your ROMOFFSET where it tries to
load the NK.BIN.

possibly this could be the problem.

> Which address I need to specify in boot.bib? Physical / Virtual?
physical.
> boot.bib I need to give Flash address OR SDRAM Address?
it depends on the type of build. if you are building for Flash it should be
flash or else RAM
> Is nk.bin configuration in config.bib should follow eboot configuration in
> boot.bib? for SDRAM Image?
certainly not. because, the configuration files in config.bib all should be
virtual and boot.bib is physical ! :-)

Best of Luck

Regards
Sujith

"Peter" <peter@nospam.com> wrote in message
news:DBB623F2-3624-405C-AD4E-74BDE02930E8@microsoft.com...
> Hi,
> i am porting Lubbock BSP, for a hardware made with reference to Accelent.
> Now, i am in the process of downloading the OS nk.bin through Ethernet.
>
> I saw boot.bib and config.bib in Lubbock BSP, in that boot.bib and
> config.bib is using virtual memory for the definitions. Am i right?
>
> But, when i use 0xA000 0000 i-e my SDRAM Physical address. My bootloader
> atleast initiating the download process and disconnecting after 300 TFTP
> Pakcets.
> config.bib i am using lubbock's configuration.
>
> When i change the boot.bib to 0x8000000 i-e virtual address of SDRAM i am
> not able start download itself. PB is able to detect the target but it's
not
> starting the download. Target is keep sending BOOTME packet.
>
> Here are my question:
>
> Which address i need to sepcify in boot.bib? Physical / Virtual?
> boot.bib i need to give Flash address OR SDRAM Address?
> Is nk.bin configuration in config.bib should follow eboot configuration in
> boot.bib? for SDRAM Image?
>
> Please suggest.
>
> Thanks & regards,
> Peter
>
>



Relevant Pages

  • Serial Download From PB
    ... My bootloader is configured to run from SDRAM for the time being, ... Download Failed, Review your download service selection and configuration. ... ; @CESYSGEN ENDIF!NK_NKNOCOMP ...
    (microsoft.public.windowsce.platbuilder)
  • Serial Download From PB
    ... My bootloader is configured to run from SDRAM for the time being, ... Download Failed, Review your download service selection and configuration. ... ; @CESYSGEN ENDIF!NK_NKNOCOMP ...
    (microsoft.public.windowsce.embedded)
  • Re: regarding boot.bib and config.bib
    ... as you said, you are able to download atleast 300 packets, that is proved. ... > boot.bib I need to give Flash address OR SDRAM Address? ... > Is nk.bin configuration in config.bib should follow eboot configuration in ...
    (microsoft.public.windowsce.embedded)
  • Re: To test the Flash
    ... Using EJDebug emulator now i have downloaded the eboot into SDRAM. ... in flash and which, on boot, copies itself to RAM and jumps to the copy. ... The code, now running from RAM, could then scan the flash for bad locations ... So i want to download this testing code to run from SDRAM. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: To test the Flash
    ... The simple programs like jflash just ... You'll need to write a script that configures sdram, ... can download code into the sdram and run it. ... into the Flash. ...
    (microsoft.public.windowsce.platbuilder)