* [U-Boot-Users] Uboot Memory access violation
@ 2007-05-15 15:37 Shiju
2007-05-15 17:00 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Shiju @ 2007-05-15 15:37 UTC (permalink / raw)
To: u-boot
Hello,
We have a new board based on imx31. I am trying to bring up uboot on the
board.I upload uboot through jtag using RVI debugger and run from RAM.
But uboot hangs after printing a few greeting messages.Sometimes it
could come till the uboot prompt. When I debug it on RVI, the error
message it gives is memory access vioaltion. I don't have a source level
degugging available right now. So I compare the disassembly from RVI to
the u-boot.map file. WHat I could find is that it fails while printing
to console(vsprintf.o).I could not exacly map to the correct line of
code. The uboot hangs when trying to branch to a location which is not
defined (BLNE 0x89533926). On my board the memory is mapped from
0x80000000 - 87FFFFFF. The uboot is based on the imx31 litekit patch
that was posted and it was working well on a imx31 freescale ADS.THe
memory map for our custom board is same as that of imx freescale ADS
board. But I am not sure why it branches to some undefined location.
Any help is appreciated.
THanks,
Shiju
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] Uboot Memory access violation
2007-05-15 15:37 [U-Boot-Users] Uboot Memory access violation Shiju
@ 2007-05-15 17:00 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2007-05-15 17:00 UTC (permalink / raw)
To: u-boot
In message <1179243452.8383.0.camel@localhost> you wrote:
>
> We have a new board based on imx31. I am trying to bring up uboot on the
> board.I upload uboot through jtag using RVI debugger and run from RAM.
See FAQ: http://www.denx.de/wiki/view/DULG/CanUBootBeConfiguredSuchThatItCanBeStartedInRAM
> code. The uboot hangs when trying to branch to a location which is not
> defined (BLNE 0x89533926). On my board the memory is mapped from
Memory corruption.
See FAQ: http://www.denx.de/wiki/view/DULG/UBootCrashAfterRelocation
> board. But I am not sure why it branches to some undefined location.
Because your RAM is not working correctly?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Virtue is a relative term.
-- Spock, "Friday's Child", stardate 3499.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-05-15 17:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-15 15:37 [U-Boot-Users] Uboot Memory access violation Shiju
2007-05-15 17:00 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox