u-boot + kernel (help required)

srideep.devireddy at wipro.com srideep.devireddy at wipro.com
Wed Nov 9 21:50:20 EST 2005




Hi ,

  

we were able to get the u-boot up on MPC8272ADS board . We are just
struck up in bringing up the Linux... we get the following errors ..
actually we made a uImage  from vmlinux and tried to tftp and used bootm
100000 , we eneded up with these errors ...actually after the message
Uncompressing Kernel Image ... OK board gets reset .Any help would be
thankfull.





=> tftp 100000 vmlinux.72

Using FCC1 ETHERNET device

TFTP from server 10.0.0.1; our IP address is 10.0.0.2

Filename 'vmlinux.72'.

Load address: 0x100000

Loading:
#################################################################


#################################################################

         #######################

done

Bytes transferred = 782424 (bf058 hex)

=> bootm 100000

## Booting image at 00100000 ...

   Image Name:   Linux-2.4.22

   Image Type:   PowerPC Linux Kernel Image (gzip compressed)

   Data Size:    782360 Bytes = 764 kB

   Load Address: 00000000

   Entry Point:  00000000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK







U-Boot 1.1.1 (Nov  8 2005 - 16:19:13)




MPC8272 Reset Status: Check Stop, External Soft, External Hard




MPC8272 Clock Configuration

 - Bus-to-Core Mult 3.5x, VCO Div 2, 60x Bus Freq  30-85 , Core Freq
100-300

 - dfbrg 1, corecnf 0x1e, busdf 3, cpmdf 1, plldf 0, pllmf 3

 - vco_out  400000000, scc_clk  100000000, brg_clk   25000000

 - cpu_clk  350000000, cpm_clk  200000000, bus_clk  100000000

 - pci_clk   66666666




CPU:   MPC8272 (HiP7 Rev 14, Mask A.0 1K50M) at 350 MHz

Board: Motorola MPC8272ADS

DRAM:  64 MB

FLASH:  8 MB

In:    serial

Out:   serial

Err:   serial

Net:   FCC1 ETHERNET

Hit any key to stop autoboot:  0

=>





Best Regards



Srideep







-----Original Message-----
From: Sakethan Kotta (WT01 - Broadband Networks)
Sent: Tuesday, November 08, 2005 9:45 AM
To: Srideep DeviReddy (WT01 - Broadband Networks)
Cc: sundar raman (WT01 - Broadband Networks)
Subject: RE: Emailing: u-boot



Hi Srideep,



  Nice to here this. Congrats. What was the problem? Please do reply for
this.



U can use "bootp or tftp". We have used "bootp". It has 2 options, one
is loading address & the other one is source file name. If you are not
giving the source address in the command line, bootp will take the
default address. If you don't supply the file name at the command line,
then bootp will take the file from the "DHCP server".



Before doing the TFTP, you need to get the IP Address for the board. For
that you need to run a DHCP server. Board also takes the TFTP server IP
from DHCP and will do the TFTP to down load the file. Make sure that
some 15MB from the starting of the SDRAM should not be used for the
Bootp, as that space will be used for the kernel booting.



Once the file is transferred, u have to execute the "bootm <Address>".
It will boot the kernel.



Regards,

saketh



-----Original Message-----

From: Srideep DeviReddy (WT01 - Broadband Networks)

Sent: Monday, November 07, 2005 4:29 PM

To: Sakethan Kotta (WT01 - Broadband Networks)

Subject: RE: Emailing: u-boot



Hi Saketh ,



     We got u-boot up on MPC8272ADS board, thanks for your help. Right
now we are trying to get linux kernel and get the os up. As suggestion
from you , before we start this . I have a doubt at what location
(address) do we need to do a TFTP .so that when we do a go.. It starts
executing...



Best Regards

Srideep



-----Original Message-----

From: Sakethan Kotta (WT01 - Broadband Networks)

Sent: Friday, October 28, 2005 10:29 AM

To: Srideep DeviReddy (WT01 - Broadband Networks)

Cc: sundar raman (WT01 - Broadband Networks)

Subject: RE: Emailing: u-boot



Hi,



  I have changed the source code and compiled. So you may need the
latest source or map file to sync the GDB with the executable.



With thanks & regards,

saketh



-----Original Message-----

From: Srideep DeviReddy (WT01 - Broadband Networks)

Sent: Friday, October 28, 2005 10:19 AM

To: Sakethan Kotta (WT01 - Broadband Networks)

Cc: sundar raman (WT01 - Broadband Networks)

Subject: RE: Emailing: u-boot



Hi sakethan,



       I tried programming the U-boot.bin on to the flash at 0xfff00000
keeping the jumper pins to 2&3(BCSR) . After programming I changed them
to 1&2(flash) , and tried connecting to serial but still not able to get
u-boot prompt .



  When I try to used gdb and debug we get an error  like given below



(gdb) target remote 10.145.102.120:2001

Remote debugging using 10.145.102.120:2001

0xfff00100 in _start () at /u-boot-1.1.3/cpu/mpc8260/start.S:1046

warning: Source file is more recent than executable.



1046            blr

(gdb) cont

Continuing.



Program received signal SIGSTOP, Stopped (signal).

0xfff00128 in boot_warm () at /u-boot-1.1.3/cpu/mpc8260/start.S:1046

1046            blr

(gdb) d

(gdb) b relocate_code

Breakpoint 1 at 0xff803558: file /u-boot-1.1.3/cpu/mpc8260/start.S, line
1046.

(gdb) cont

Continuing.



Program received signal SIGSTOP, Stopped (signal).

0xfff00124 in boot_warm () at /u-boot-1.1.3/cpu/mpc8260/start.S:1046

1046            blr





I am getting an error in 1046 line of start.S file .



Regards

Srideep



-----Original Message-----

From: Sakethan Kotta (WT01 - Broadband Networks)

Sent: Thursday, October 27, 2005 2:40 PM

To: Srideep DeviReddy (WT01 - Broadband Networks)

Cc: sundar raman (WT01 - Broadband Networks)

Subject: Emailing: u-boot



 

Hi Srideep & Sunadar,



  I have attached a U-Boot.Bin file. Please program this on the ADS
board at address location 0xFFF00000 & keep the jumper J9 for 2&3 pins.
Please do this and let me know the results. This should work fine.



With thanks & regards,

saketh





Confidentiality Notice

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin at wipro.com immediately
and destroy all copies of this message and any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20051109/f0132a20/attachment.htm 


More information about the Linuxppc-embedded mailing list