All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] help on u-boot
@ 2005-10-21  4:56 prabha.j at tcs.com
  2005-10-21 18:35 ` Jerry Van Baren
  2005-10-21 20:13 ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: prabha.j at tcs.com @ 2005-10-21  4:56 UTC (permalink / raw)
  To: u-boot


Hi all,
I was able to build u-boot for my custom board. when i tried to load it 
nothing is coming. I am using TRACE32 ICE and the board is almost similar 
to MPC8260ADS. I had set the baudrate as 115200 and flowcontrol as none. 
when i give run command in TRACE32, nothing is coming  in hyperterminal.
My flash base is 0x0000 0000 so i had given this in the 
board/mpc8260ads/config.mk . I have done some changes in the 
include/configs/MPC8260ADS.h 
for my board.
Any help is appreciated.
Thanks in advance.


Prabha J.
Tata Consultancy Services Limited
Mailto: prabha.j at tcs.com
Website: http://www.tcs.com

Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20051021/7466c855/attachment.htm 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot-Users] help on u-boot
  2005-10-21  4:56 [U-Boot-Users] help on u-boot prabha.j at tcs.com
@ 2005-10-21 18:35 ` Jerry Van Baren
  2005-10-21 20:13 ` Wolfgang Denk
  1 sibling, 0 replies; 5+ messages in thread
From: Jerry Van Baren @ 2005-10-21 18:35 UTC (permalink / raw)
  To: u-boot

prabha.j at tcs.com wrote:
> 
> Hi all,
> I was able to build u-boot for my custom board. when i tried to load it 
> nothing is coming. I am using TRACE32 ICE and the board is almost 
> similar to MPC8260ADS. I had set the baudrate as 115200 and flowcontrol 
> as none. when i give run command in TRACE32, nothing is coming  in 
> hyperterminal.
> My flash base is 0x0000 0000 so i had given this in the 
> board/mpc8260ads/config.mk . I have done some changes in the 
> include/configs/MPC8260ADS.h
> for my board.
> Any help is appreciated.
> Thanks in advance.
> 
> 
> Prabha J.
> Tata Consultancy Services Limited

Use your TRACE32 to step through the start up.  Where is it breaking? 
Start digging though the source at that point to find what you have 
misconfigured ;-).

gvb

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot-Users] help on u-boot
  2005-10-21  4:56 [U-Boot-Users] help on u-boot prabha.j at tcs.com
  2005-10-21 18:35 ` Jerry Van Baren
@ 2005-10-21 20:13 ` Wolfgang Denk
  2005-10-26  5:44   ` prabha.j at tcs.com
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2005-10-21 20:13 UTC (permalink / raw)
  To: u-boot

In message <OF01886591.0DE0D5BF-ON652570A1.0019410E-652570A1.001B281A@tcs.com> you wrote:
> 
> I was able to build u-boot for my custom board. when i tried to load it 
> nothing is coming. I am using TRACE32 ICE and the board is almost similar 
> to MPC8260ADS. I had set the baudrate as 115200 and flowcontrol as none. 
> when i give run command in TRACE32, nothing is coming  in hyperterminal.
> My flash base is 0x0000 0000 so i had given this in the 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Please go back to reading the documentation.

On PowerPC systems, RAM must be mapped  at  physical  address  0,  so
obviously your memory map setup is wrong.

> board/mpc8260ads/config.mk . I have done some changes in the 
> include/configs/MPC8260ADS.h 

This is wrong, and twice so. First, you should create your own  board
config  file and not meddle with existing (and working) config files.
Second, your changes to the memory map were wrong.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The whole world is about three drinks behind."     - Humphrey Bogart

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot-Users] help on u-boot
  2005-10-21 20:13 ` Wolfgang Denk
@ 2005-10-26  5:44   ` prabha.j at tcs.com
  2005-10-26 10:02     ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: prabha.j at tcs.com @ 2005-10-26  5:44 UTC (permalink / raw)
  To: u-boot


Hi all,
I had created myboard directory in the board directory and copied all 
files from the board/mpc8260ads into myboard directory and did some 
changes in the config file ie include/configs/myboard.h file. And in 
Makefile and MAKEALL file i included my board details.

Since my SDRAM physical address starts from 0x300000000 i had set it 
CFG_SDRAM_BASE as 30000000. and CFG_FLASH_BASE as 0x00000000 as my flash 
base address. But in README i had seen RAM's physical address should be 0. 
what i have done is correct or not.   I am attaching my address map for 
the board Please give me some idea.
when i give mybord_config it is configured .

when i try to compile it its giving error as 

make[1]: Leaving directory `/home/batsayan/u-boot-1.1.2/lib_generic'
make -C `dirname board/tcs8260ads/libtcs8260ads.a`
make[1]: Entering directory `/home/batsayan/u-boot-1.1.2/board/tcs8260ads'
make[1]: *** No rule to make target `tcs8260ads.c', needed by `.depend'. 
Stop.
make[1]: Leaving directory `/home/batsayan/u-boot-1.1.2/board/tcs8260ads'
make: *** [board/tcs8260ads/libtcs8260ads.a] Error 2

Thanks in advance.


Prabha J.
Tata Consultancy Services Limited
Mailto: prabha.j at tcs.com
Website: http://www.tcs.com

Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20051026/4418fb3e/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: address map.doc
Type: application/octet-stream
Size: 20992 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20051026/4418fb3e/attachment.obj 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot-Users] help on u-boot
  2005-10-26  5:44   ` prabha.j at tcs.com
@ 2005-10-26 10:02     ` Wolfgang Denk
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2005-10-26 10:02 UTC (permalink / raw)
  To: u-boot

In message <OF1F7D67E6.E5EA2E42-ON652570A4.001CAFDD-882570A6.001F85D1@tcs.com> you wrote:
> 
> Since my SDRAM physical address starts from 0x300000000 i had set it 
> CFG_SDRAM_BASE as 30000000. and CFG_FLASH_BASE as 0x00000000 as my flash 
> base address. But in README i had seen RAM's physical address should be 0. 

Change your memory map. SDRAM must be mapped at physical address 0x0000.

Note that this is explicitely mentioned in the documentation.

It is not a good idea to ignore the documentation.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
At the source of every error which is blamed on the computer you will
find at least two human errors, including the error of blaming it  on
the computer.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-10-26 10:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-21  4:56 [U-Boot-Users] help on u-boot prabha.j at tcs.com
2005-10-21 18:35 ` Jerry Van Baren
2005-10-21 20:13 ` Wolfgang Denk
2005-10-26  5:44   ` prabha.j at tcs.com
2005-10-26 10:02     ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.