Skip to contentSkip to conversation

Where to start mtest from?

U-Boot-Users Martin Egholm Nielsen 1 participant 2 messages Sep 8, 2005 – Sep 9, 2005 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi there,

Is there a way to know what memory segment U-boot uses (stack, etc) so I can give the smallest (safe) possible start address for running "mtest" on my memory?

// Martin

#2 lore raw
In reply to a message not in the archive

Hi Andrew,

Quoted 6 lines
Quoted 3 lines

Is there a way to know what memory segment U-boot uses (stack, etc) so I can give the smallest (safe) possible start address for running "mtest" on my memory?

you didn't say what your target is, but for mips you can turn on debug output in lib_mips/board.c and it will print out info about where various things are in memory. Maybe your target is similar.

Oh, sorry - it's PPC. And yes, scanning my board.c I see some debug messages regarding adresses... But as I see them, it's start adresses, hence I need to know the size of, say, u-boot it self and the stack... Or what?!

BR,
Martin