[U-Boot-Users] help on 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@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

prabha.j@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

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

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@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

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
participants (3)
-
Jerry Van Baren
-
prabha.j@tcs.com
-
Wolfgang Denk