[U-Boot-Users] porting to new board: what to do next?

Greetings
We're porting U-Boot to a new board. We've followed the plan given in the README and have written board.c, flash.c, configs/board.h. We've flashed it and ... well, nothing happens. Nothing at all.
Now, I know you'll need more information from me, but I'm not sure exactly what you'll want to know, so for the moment, we'll leave it like that.
What I need to know is, how do I find out what U-Boot is up to? Is there a way to debug it from the beginning? I've got it connected serially (unfortunately, our debugger works under windows, so we've got to use HyperTerminal) but nothing shows up at all.
Thanks for any help Ben

Dear Benjamin,
in message 1093964436.17059.62.camel@mhpajh5c you wrote:
We're porting U-Boot to a new board. We've followed the plan given in the README and have written board.c, flash.c, configs/board.h. We've flashed it and ... well, nothing happens. Nothing at all.
This is normal.
What I need to know is, how do I find out what U-Boot is up to? Is there a way to debug it from the beginning? I've got it connected serially (unfortunately, our debugger works under windows, so we've got to use HyperTerminal) but nothing shows up at all.
Attach a BDI2000, and connect to it using GDB. See section "Debugging of U-Boot" in the manual.
Best regards,
Wolfgang Denk

Hello again everyone,
Thank you for the information you gave me yesterday. I've got a BDM debugger (Lauterbach) hooked up and am stepping through the u-boot startup.
The (current!) problem occurs in cpu_init_f and has to do with the value defined in the configs/board.h for CFG_OR0_REMAP. This is based on CFG_REMAP_OR_AM. What I need to know is, how do I figure out the right values for CFG_REMAP_OR_AM and PRELIM_OR_AM? I read the README and unfortunately it says nothing (that I understood...). I'm okay with deriving the information, perhaps from the CPU Manual or the Flash Manual or the board's spec, but really, I'm not sure exactly what these values mean. Can someone give me a short explanation?
So you know what kind of hardware I'm dealing with, the basics are an MPC852T CPU with a 16MB Flash: AM29LV320 and SDRAM MT48LC4M32B2.
Thanks for your help Ben
On Tue, 2004-08-31 at 22:16, Wolfgang Denk wrote:
Dear Benjamin,
in message 1093964436.17059.62.camel@mhpajh5c you wrote:
We're porting U-Boot to a new board. We've followed the plan given in the README and have written board.c, flash.c, configs/board.h. We've flashed it and ... well, nothing happens. Nothing at all.
This is normal.
What I need to know is, how do I find out what U-Boot is up to? Is there a way to debug it from the beginning? I've got it connected serially (unfortunately, our debugger works under windows, so we've got to use HyperTerminal) but nothing shows up at all.
Attach a BDI2000, and connect to it using GDB. See section "Debugging of U-Boot" in the manual.
Best regards,
Wolfgang Denk

Dear Benjamin,
in message 1094052774.28157.19.camel@mhpajh5c you wrote:
This is based on CFG_REMAP_OR_AM. What I need to know is, how do I figure out the right values for CFG_REMAP_OR_AM and PRELIM_OR_AM? I read
We cannot tell you. It is you who defines the memory map of your board.
the README and unfortunately it says nothing (that I understood...). I'm okay with deriving the information, perhaps from the CPU Manual or the Flash Manual or the board's spec, but really, I'm not sure exactly what these values mean. Can someone give me a short explanation?
These are the address masks used in the MPC8xx memory controller.
You will want to read the section about the memory controller in the MPC8xx User's manual.
So you know what kind of hardware I'm dealing with, the basics are an MPC852T CPU with a 16MB Flash: AM29LV320 and SDRAM MT48LC4M32B2.
Sorry, this doesn't help anything. We would need _all_ the nasty little details (probably including the schematics), and then it will become real effort, which you cannot get for free, not even here.
Best regards,
Wolfgang Denk
participants (2)
-
Benjamin Collar
-
Wolfgang Denk