Re: regarding boot.bib and config.bib
From: Sujith (sujithss_at_hotmail.com)
Date: 10/29/04
- Next message: Sujith: "Re: unable to boot cepc from HD"
- Previous message: Sajid: "Re: Media Player"
- In reply to: Peter: "Re: regarding boot.bib and config.bib"
- Next in thread: Peter: "Re: regarding boot.bib and config.bib"
- Reply: Peter: "Re: regarding boot.bib and config.bib"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 29 Oct 2004 10:33:04 +0530
Hi,
again that depends..
because if you are switching on the MMU or not is very important. once MMU
is on.. you are supposed to use only virtual address. and as you see the
addresses are all SDRAM_BASE_C_VIRTUAL, which is cashing and buffering
enabled area.
since it is using virtual address.. it should be turning on the MMU.. and
will turn off the MMU before a call to KernelStart.
Regards
Sujith
"Peter" <peter@nospam.com> wrote in message
news:465BD37D-7C25-43F2-85F2-7932FE4B41E2@microsoft.com...
> Thanks for your reply.
> I like to clarify some more.
> If you see the boot.bib of Lubbock it is using 0x8000 0000 --> as you said
> if it is a physical memory, in PXA255 this memory is reserved does not
> belongs to any Chip Select. Then, here how come one can use Physical
> memory????? really, it may be a trivial question too?
>
> thanks & regards,
> Peter
>
> "Sujith" wrote:
>
> > 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
> > >
> > >
> >
> >
> >
- Next message: Sujith: "Re: unable to boot cepc from HD"
- Previous message: Sajid: "Re: Media Player"
- In reply to: Peter: "Re: regarding boot.bib and config.bib"
- Next in thread: Peter: "Re: regarding boot.bib and config.bib"
- Reply: Peter: "Re: regarding boot.bib and config.bib"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|