[U-Boot] How to enable 2 FCC Ports while booting using CONFIG_NET_MULTI

2009-10-26 Thread Gurumurthy Gowdar
Dear All,
 please let me know how to enable two Ethernet Ports in U-boot for 
MPC8280 at booting time. After booting i should  be able to ping the two ports 
i.e. FCC1 and FCC2 only by connecting the ethernet cable to the repective port 
(FCC1 & FCC2.

currently i have enabled one port FCC2 as ethact port, can i change this 
depending by which port i want to ping.

i came to know about CONFIG_NET_MULTI whether this will be the solution for 
using two ports at a time.

With Thanks and Regards,
Gurumurthy___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] How to enable 2 FCC Ports while booting using CONFIG_NET_MULTI

2009-10-27 Thread Gurumurthy Gowdar
Dear Sir,
 i want only one ethernet port active at a time. so to acheive this how 
to use CONFIG_NET_MULTI. i have enabled one ethernet port at present i.e. FCC2. 
how to enable two ports so that when i ping or give network command its should 
ping depending upon selected port.

With Regards,
Gurumurthy

On Tue, 27 Oct 2009 14:09:51 +0530  wrote
>Dear "Gurumurthy Gowdar",

In message  you wrote:
> 
> 
> please let me know how to enable two Ethernet Ports in
> U-boot for MPC8280 at booting time. After booting i should be able to
> ping the two ports i.e. FCC1 and FCC2 only by connecting the ethernet
> cable to the repective port (FCC1 & FCC2.

You don't. You don;t do this at all.

U-Boot does not enable any peripherals "at booting time". This is a
design principle, see
http://www.denx.de/wiki/view/U-Boot/DesignPrinciples#2_Keep_it_Fast

Ethernet ininitlization is only done when U-Boot attempts to perform a
network command, and then only that single interface gets initialized
which U-Boot is going to use.

> currently i have enabled one port FCC2 as ethact port, can i change
> this depending by which port i want to ping.

Yes, you can toggle between several ports. But keep in mind that only
one of them will be active at any time, if any at all.

> i came to know about CONFIG_NET_MULTI whether this will be the
> solution for using two ports at a time.

You cannot use two ports at the same time, only one or the other. But
it is possible to switch at runtime (either automatically when a
download fails or manually by setting the "ethact" environment
variable accordingly).

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,   MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
If it went on at this rate, in several billion years he'd be rich
beyond his wildest dreams!  - Terry Pratchett, _Soul Music_
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] How to enable 2 FCC Ports while booting using CONFIG_NET_MULTI

2009-10-31 Thread Gurumurthy Gowdar
Dear Sir,
   i have enabled CONFIG_NET_MULTI , after enabling this it is 
showing no ethernet 
found under ethernet section.

Net: No Ethernet found

just i want to ping for one of the two FCC ports at runtime based on setenv 
ethact command 
& ping for the particular port. so please let me know how to do this.

Eagerly waiting for the reply

With Regards,
Gurumurthy

On Tue, 27 Oct 2009 14:52:10 +0530  wrote
>Dear Sir,
 i want only one ethernet port active at a time. so to acheive this how to 
use 
CONFIG_NET_MULTI. i have enabled one ethernet port at present i.e. FCC2. how to 
enable 
two ports so that when i ping or give network command its should ping depending 
upon 
selected port.

With Regards,
Gurumurthy

On Tue, 27 Oct 2009 14:09:51 +0530 wrote
>Dear "Gurumurthy Gowdar",

In message you wrote:
> 
> 
>   please let me know how to enable two Ethernet Ports in
> U-boot for MPC8280 at booting time. After booting i should be able to
> ping the two ports i.e. FCC1 and FCC2 only by connecting the ethernet
> cable to the repective port (FCC1 & FCC2.

You don't. You don;t do this at all.

U-Boot does not enable any peripherals "at booting time". This is a
design principle, see
http://www.denx.de/wiki/view/U-Boot/DesignPrinciples#2_Keep_it_Fast

Ethernet ininitlization is only done when U-Boot attempts to perform a
network command, and then only that single interface gets initialized
which U-Boot is going to use.

> currently i have enabled one port FCC2 as ethact port, can i change
> this depending by which port i want to ping.

Yes, you can toggle between several ports. But keep in mind that only
one of them will be active at any time, if any at all.

> i came to know about CONFIG_NET_MULTI whether this will be the
> solution for using two ports at a time.

You cannot use two ports at the same time, only one or the other. But
it is possible to switch at runtime (either automatically when a
download fails or manually by setting the "ethact" environment
variable accordingly).

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,  MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
If it went on at this rate, in several billion years he'd be rich
beyond his wildest dreams!   - Terry Pratchett, _Soul Music_
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Enabling 2 FCC ports using CONFIG_NET_MULT I

2009-11-01 Thread Gurumurthy Gowdar
hi ,
 Manually i am setting the MAC address  using setenv ethaddr MAC Address 
for each FCC.

i am using FCC1 & FCC2. i want one FCC port to be active at a time.

PowerPC is MPC8280

Regards,
Gurumurthy___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] USB Device Port not working in MPC8280 PowerPC

2009-07-17 Thread Gurumurthy Gowdar
Dear All,
  am facing problem on writing USB
device port driver for MPC8280,when i connect it to the host PC through USB
cable .device descriptor is happening host is setting the address but device
configuration is not happening properly...it hangs there in USB busy
handler.


below is the output of the snippet in hyperterminal for usb debugging

Debug statements

GetDescriptor request length = 0x40
Device Descriptor...
bd status = 3ec0
 In TX USB event register = 108
Recieved PID token = 0x3cc0
USB:SetAddress 2
bd status = 3800
bd status = 3ac0
 In TX USB event register = 108
GetDescriptor request length = 0x12
Device Descriptor...
bd status = 3ec0
 In TX USB event register = 109
Recieved PID token = 0x3cc0
In USB_BUSY HANDLER : 0x108

it hangs in usb busy handler , am feeling data pid toggling may be the
issue.

please help me out to sort this issuelet me know if any codes are
available for USB Device & USB Host testing for MPC8280.

am testing in FreeScale Code Warrior IDE

waiting for the reply ASAP

Regards,
Gurumurthy


-- 
Gurumurthy Gowdar
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] USB Device Port not working in MPC8280 PowerPC

2009-07-17 Thread Gurumurthy Gowdar
U-boot 1.3.1
ELDK 4.2

currently debugging in Code Warrior IDE. i have taken device port code from
u-boot i.e mpc8xx_udc.c  & modified to suit mpc8280.

With Regards,
Gurumurthy

On Fri, Jul 17, 2009 at 4:22 PM, Wolfgang Denk  wrote:

> Dear Gurumurthy Gowdar,
>
> In message 
> you wrote:
> >
> >   am facing problem on writing USB
> > device port driver for MPC8280,when i connect it to the host PC through
> USB
> > cable .device descriptor is happening host is setting the address but
> device
> > configuration is not happening properly...it hangs there in USB busy
> > handler.
>
> Which exact version of U-Boot are you running?
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
> Every program has at least one bug and can be shortened by  at  least
> one instruction - from which, by induction, one can deduce that every
> program can be reduced to one instruction which doesn't work.
>



-- 
Gurumurthy Gowdar
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] USB Device Port not working in MPC8280 PowerPC

2009-07-17 Thread Gurumurthy Gowdar
updating to Current code which version? is there any drivers for MPC8280 USB
host & Device ports.

regards,
gurumurthy



On Fri, Jul 17, 2009 at 4:51 PM, Wolfgang Denk  wrote:

> Dear Gurumurthy Gowdar,
>
> please do not top-post / full-quote. Make sure to read
> http://www.netmeister.org/news/learn2quote.html
>
> In message 
> you wrote:
> >
> > U-boot 1.3.1
>
> How about updating to current code?
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
> As long as we're going to reinvent the wheel again, we might as  well
> try making it round this time.- Mike Dennison
>



-- 
Gurumurthy Gowdar
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] USB Device Port not working in MPC8280 PowerPC

2009-07-17 Thread Gurumurthy Gowdar
Dear Sir,
 sorry for the miss quote.
i have written the code for USB device & USB Host from taking reference code
of U-boot.

current version is ELDK version 4.2
ppc_6xx: Build 2008-04-01

with regards,
gurumurthy

On Sat, Jul 18, 2009 at 12:01 AM, Wolfgang Denk  wrote:

> Dear Gurumurthy Gowdar,
>
> please do not ignore hints given to you:
>
> Please do not top-post / full-quote. Make sure to read
> http://www.netmeister.org/news/learn2quote.html
>
> In message 
> you wrote:
> >
> > updating to Current code which version? is there any drivers for MPC8280
> USB
> > host & Device ports.
>
> Curent code is either v2009.06 or top of tree from git repository.
>
> And no, AFAIKT there are no USB drivers for the MPC8280 in U-Boot.
>
> But why are you asking? I thought you had somethin written yourself -
> didn't you ask about problems with USB in U-Boot? So  you  must  have
> had some driver added to U-Boot?
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
> Any sufficiently advanced technology is indistinguishable from magic.
> Clarke's Third Law   - _Profiles of the Future_ (1962; rev. 1973)
>  ``Hazards of Prophecy: The Failure of Imagination''
>



-- 
Gurumurthy Gowdar
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Failure (read/write) in mtest

2009-08-28 Thread Gurumurthy Gowdar
hi all,
  when i enable CFG_ALT_MEMTEST...i got following error as below.

1st Iteration:-


U-Boot 1.3.1 (Jul 27 2009 - 17:27:10)

MPC8260 Reset Status: External Soft, External Hard

MPC8260 Clock Configuration
 - Bus-to-Core Mult 3x, VCO Div 4, 60x Bus Freq  16-50 , Core Freq  50-150
 - dfbrg 1, corecnf 0x10, busdf 4, cpmdf 1, plldf 0, pllmf 4, pcidf 3
 - vco_out  5, scc_clk  12500, brg_clk   3125
 - cpu_clk  3, cpm_clk  25000, bus_clk  1

CPU:   MPC8260 (HiP7 Rev 14, Mask 1.0 1K49M) at 300 MHz
Board: MPC8280 Based Remote IO CARD.SLN Technologies Pvt Ltd.
I2C:   ready
DRAM:  512 MB
FLASH: 256.5 MB
*** Warning - bad CRC, using default environment

In:serial
Out:   serial
Err:   serial
Net:   FCC2 ETHERNET
RIO->mtest 0x4 0x4
Testing   0004  0004
 Iterration: 12511
 FAILURE (read/write): @0x0004e3d0: expected 0xc70a, actual 
0xc72e

2nd Test Error:-

RIO->mtest 0x4 0x4
Testing   0004  0004
 Iterration: 11537
 FAILURE (read/write): @0x0004e258: expected 0xc768, actual 
0xc72e

3rd TEst  Error:-

RIO->mtest 0x4 0x4
Testing   0004  0004
 Iterration: 11469
 FAILURE (read/write): @0x0004d5c0: expected 0xca8e, actual 
0xca2e


after this it hangs in all above conducted test, so let me know what is the 
issue. this test 
will do integrity of the memory device as explained in the cmd_mem.c 
file...what does it 
mean.

With thanks & Regards,
gurumurthy








On Thu, 30 Jul 2009 18:23:20 +0530  wrote
>
>

>
On Thu, 30 Jul 2009 17:50:47 +0530  wrote
>
>Hello GurumurthyGowdar,
>
>
>
>GurumurthyGowdar wrote:
>
>> On Thu, 30 Jul 2009 16:14:30 +0530 wrote
>
>>> Hello GurumurthyGowdar,
>
>>>
>
>>> GurumurthyGowdar wrote:
>
 On Thu, 30 Jul 2009 12:54:31 +0530 wrote
>
> Hello GurumurthyGowdar,
>
>
>
> GurumurthyGowdar wrote:
>
>> i am using MPC8280 in our board which has 512MB of SDRAM i.e. from 
>> micron.
>
> Is this board in mainline, so I can look in the Source Code?
>
 yes this board is in mainline.only one board.
>
>>> And which board is it? means ? it is MPC8280 based board called remote I/O 
>>> board
>
>
>
>How do you compile it?
>
>
>
>make xxx_config
>
>
>
>What is xxx for you?
>
>I looked in code but couldn;t find a "SLN Technologies" string ...
>
>
>
>>> As I saw in your log, it uses the "normal" mtest. Try to use
>
>>>
>
>>> CONFIG_SYS_ALT_MEMTEST
>
>> how to use this...where to add...command for this test??
>
>
>
>You just have to add this define in your board config file.
>
>I looked in 1.3.1, so you should add a
>
>
>
>#define CFG_ALT_MEMTEST 1
>
i have added this line. after adding this which command i have to give..same 
mtest or any 
other command for CFG_ALT_MEMTEST ??
>
>
>
>>> instead. (Hopefully, this is available in 1.3.1 ...)
>
>>>
>
> Which u-boot version?
>
 U-boot version is 1.3.1.
>
>>> Hmm.. this is very old ...
>
>> which is the latest version of u-boot ,can i upgrade the current version of 
>> u-boot to 
latest version i.e. from u-boot 1.3.1 to latest u-boot without reinstalling ELDK
>
>
>
>http://git.denx.de/?p=u-boot.git;a=summary
>
>
>
> Which SDRAMs?
>
 SDRAM is MT48LC32M16A2 from Micron.
>
>> when i give command mtest only for 1MB to check memory test from U-boot, 
machine check and program exception is coming after 40 - 60mins later it hangs 
giving 
program check exception
>
> Hmm... maybe problems with your SDRAMs?
>
 if it is SDRAM problem it should not work for 1hour also i think.
>
>>> Why not? 
>
>> ok
>
> Is this error shown always after 40-60 mins, not sometimes also earlier?
>
 maximum i am able to run mtest for 1hr 30 mins. sometimes it hangs with 
 45mins 
also.
>
>>> Not earlier?
>
>> sometimes earlier but rare
>
>>> Hmm...
>
>>>
>
> Can you boot a Linux Kernel for example?
>
 No. our job is to only give the board with U-boot boot loader, Linux 
 booting is done 
by our client.
>
>>> But you can try it ...
>
>>> This would help here, to stress more the SDRAMs ... also you
>
>>> can do better memtests there/with it.
>
>> 
>
>> i got one new error which is below :- 
>
>> U-Boot 1.3.1 (Jul 27 2009 - 17:27:10)
>
>> 
>
>[...]
>
>> DRAM: 512 MB
>
>> 
>
>> it hangs here only if i press manual hardware reset many times also.
>
>> 
>
>> if i power off & switch on then it reboots in normal way again.
>
>
>
>Hmm... nothing spring to my mind, just the "standard" things:
>
>
>
>check your
>
>- HRCW
>
>- clocks
>
>- SDRAM
>
>settings
>
>
>
>bye,
>
>Heiko
>
>-- 
>
>DENX Software Engineering GmbH,   MD: Wolfgang Denk & Detlev Zundel
>
>HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
>
>

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] u-boot compilation for MIPS Au1x00 board

2010-04-12 Thread Gurumurthy Gowdar
Hi all,

   I am compiling u-boot latest version for MIPS processor Au1350.
When I compile I get the following error as mentioned below.

 

mipsel-linux-ld:
/opt/rmi-linux/db1300/lib/gcc/mipsel-linux/4.2.4/libgcc.a(_lshrdi3.o):
compiled for a little endian system and target is big endian

mipsel-linux-ld:
/opt/rmi-linux/db1300/lib/gcc/mipsel-linux/4.2.4/libgcc.a(_lshrdi3.o):
endianness incompatible with that of the selected emulation

mipsel-linux-ld: failed to merge target specific data of file
/opt/rmi-linux/db1300/lib/gcc/mipsel-linux/4.2.4/libgcc.a(_lshrdi3.o)

 

I am not using ELDK tool chain, we have customized tool chain. 

 

My environment settings are

 

ARCH=mips

CROSS_COMPILE=mipsel-linux-

 

Am compiling for dbau1100 board.

 

But when I use u-boot 1.1.6 version am able to compile the u-boot and
creating u-boot.bin image file.

 

So please let me know what am missing.

 

is there any issue with the big endian or little endian? Or I need to
configure any settings in the dbau1x00.h configuration file?

 

Thanks & Regards

Gurumurthy Gowdar

KPIT Cummins Infosystems Ltd. | Mobile: +91 9642645725 I E-mail :
gurumurthy.gow...@kpitcummins.com I www.kpitcummins.com 

 

Client Site - Hyundai MOBIS India Research And Development Pvt. Ltd. |1st
Floor , Survey No 5/2 & 5/3, 

Backside of NAC, Izzatnagar|(OPP. HitechCity MMTS Railway Station),
Lingampally Mandal, Hyderabad - 500081.INDIA

E-mail: gurumurthy.gow...@gmobis.com

This message contains information that may be privileged or confidential and
is the property of the KPIT Cummins Infosystems Ltd. It is intended only for
the person to whom it is addressed. If you are not the intended recipient,
you are not authorized to read, print, retain copy, disseminate, distribute,
or use this message or any part thereof. If you receive this message in
error, please notify the sender immediately and delete all copies of this
message. KPIT Cummins Infosystems Ltd. does not accept any liability for
virus infected mails.

P Please don't print this email unless absolutely necessary. Save Trees !

 

 

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] u-boot compilation for MIPS Au1x00 board

2010-04-13 Thread Gurumurthy Gowdar

Hi,
Thanks for the reply.

Please let me know where I can get the latest version of ELDK for MIPS. 

I know about PowerPC (Freescale) as I have worked on  MPC82xx and MPC74xx.

Thanks & Regards
Gurumurthy Gowdar
KPIT Cummins Infosystems Ltd.| Mobile: +91 9642645725 |E-mail :
gurumurthy.gow...@kpitcummins.com|www.kpitcummins.com 

Client Site - Hyundai MOBIS India Research And Development Pvt. Ltd. |1st
Floor , Survey No 5/2 & 5/3, 
Backside of NAC, Izzatnagar|(OPP. HitechCity MMTS Railway Station),
Lingampally Mandal, Hyderabad - 500081.INDIA
E-mail: gurumurthy.gow...@gmobis.com


-Original Message-
From: Wolfgang Denk [mailto:w...@denx.de] 
Sent: Tuesday, April 13, 2010 1:23 PM
To: Gurumurthy Gowdar
Cc: u-boot@lists.denx.de
Subject: Re: [U-Boot] u-boot compilation for MIPS Au1x00 board


Dear Gurumurthy Gowdar,

In message <001201cadacb$dc5e8a40$951b9e...@gowdar@gmobis.com> you wrote:
> 
>I am compiling u-boot latest version for MIPS processor Au1350.
> When I compile I get the following error as mentioned below.
> 
>  
> 
> mipsel-linux-ld:
> /opt/rmi-linux/db1300/lib/gcc/mipsel-linux/4.2.4/libgcc.a(_lshrdi3.o):
> compiled for a little endian system and target is big endian

This is a tool chain issue. The tool chain is supposed to provide the
compiler's support libraries with the same endianess as the target
built requires.

> I am not using ELDK tool chain, we have customized tool chain. 

Then you know already at least one option how to solve the problem :-)

> Am compiling for dbau1100 board.

Using ELDK (mips_4KCle) I get:

$ ./MAKEALL dbau1100
Configuring for dbau1x00 board...
   textdata bss dec hex filename
 1251884904   16252  146344   23ba8 /work/wd/tmp-mips/u-boot

- SUMMARY 
Boards compiled: 1
--

> is there any issue with the big endian or little endian? Or I need to
> configure any settings in the dbau1x00.h configuration file?

No, this is a tool chain issue.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
"Ja, mach' nur einen Plan,sei nur ein grosses Licht
und mach' dann noch 'nen zweiten Plan,geh'n tun sie beide nicht."
 -- Bert Brecht, Dreigroschenoper
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Delay in U-boot Booting , Running U-boot from NOR Flash

2010-09-05 Thread Gurumurthy Gowdar
Hi Wolfgang,

 I have given boot delay 3 seconds but this delay is for
autobooting , my problem is not able to see u-boot booting messages (
console messages) on Minicom or Kermit  as soon as power is up. Its should
take less than 500ms to print console messages when u-boot boots up as far I
know.

About booting from NOR Flash, I thought there may be an issue in DDR2
(SDRAM) initialization and relocating which is taking more time.

Sorry for sending locked or HTML messages last time.

Please need comments on this delay in u-boot messages printing on console.
what may be the issue?



Regards,

Gurumurthy


-- 
Gurumurthy Gowdar
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Delay in U-boot Booting , Running U-boot from NOR Flash

2010-09-06 Thread Gurumurthy Gowdar
Hi wolfgang,


In message 
you wrote:
>
>  I have given boot delay 3 seconds but this delay is
for
> autobooting , my problem is not able to see u-boot booting messages (
> console messages) on Minicom or Kermit  as soon as power is up. Its should
> take less than 500ms to print console messages when u-boot boots up as far
I
> know.

Right. Messages should appear after a few milliseconds when booting
from NOR.

Ya you are right.

> About booting from NOR Flash, I thought there may be an issue in DDR2
> (SDRAM) initialization and relocating which is taking more time.

U-Boot will start printing messages long before it starts accessing
the RAM.

So I dont think any issue in the DDR2 RAM initialization in my case.

> Please need comments on this delay in u-boot messages printing on console.
> what may be the issue?

Misconfiguration of your hardware / port?  Eventually you are running
at an extremely slow clock rate?

CPU clock is at higher rate 660MHz which is the maximum clock for this
series of CPU, how port information can be wrong as I am getting the
messages on console on this port.

May be misconfiguration and initialization of NOR Flash taking more time, it
is not getting chip select at right time, this is my understanding. Please
let me know if any thing I need to cross verify in this regard.

With Regards,

Gurumurthy Gowdar
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Uncompressing Linux Kernel hangs and no console messages

2009-02-18 Thread Gurumurthy Gowdar
Hi,
Now image is downloading both linux kernel and ramdisk..but after
uncompressing the linux kerel ...it hangs there and no further console
messages

no ttyS0 messages are printedbut when i see log_buf using BDI2000 by
giving md command ..console messages are displaying therebut unable to
get the console messages after booting linux kernel...so please help me out
in this regard to solve the above mentioned problem.

even i have put CONSOLE_SERIAL_TEXT_DEBUGand serial boot command args
are added in menuconfig...when building the kernel image.

how to check whether serial console ttyS0 is getting activated or
notplease let me know the solution for this as early as possible.

thanks in adavnce
Regards,
Gurumurthy

i have given higher address while executing bootm command also i have read
FAQ ...but still my problem which i have mentioned before is not solved.i am
facing the same problem.


in that FAQ

=> bootm 10
## Booting image at 0010 ...
Image Name: Linux-2.4.25
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1003065 Bytes = 979.6 kB
Load Address: 
Entry Point: 
Verifying Checksum ... OK
Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover

in this solution


Error while Uncompresssing Kernel Image . Error: inflate() returned -3



but in my case Error is

   Uncompresssing Kernel Image.Error: Bad gzipped data

i also tried to by giving higher address to download the compressed image as
in FAQ, still my problem is not solved.


please give me solution to solve the above mentioned problem.


Regards,
Gurumurthy

On Fri, Feb 6, 2009 at 4:47 PM, Jean-Michel Hautbois wrote:

> 2009/2/6 Gurumurthy Gowdar 
>
>> ## Booting image at 0010 ...
>>   Image Name:   linux_svme7447a
>>   Created:  2009-02-05  16:57:46 UTC
>>   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>>   Data Size:1342088 Bytes =  1.3 MB
>>   Load Address: 
>>   Entry Point:  
>>   Verifying Checksum ... OK
>>   Uncompressing Kernel Image ... Error: Bad gzipped data
>> GUNZIP ERROR - must RESET board to recover
>>
>>  >
>> > See http://www.denx.de/wiki/view/DULG/LinuxUncompressingError
>> >
>> >
>> > Note that you are supposed to read the FAQ before posting.
>> >
>>
>>
>
> Did you read the FAQ like Wolfgang suggested ?
> Your error is described !
> Your kernel is stored at 0x10 and its size, starting at 0 is over
> 10.
> You are currently writing your kernel image while trying to uncompressing
> it.
>
> Best Regards,
> JM
>



-- 
Gurumurthy Gowdar



-- 
Gurumurthy Gowdar
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Kernel Uncompressing failed under Uboot

2009-02-05 Thread Gurumurthy Gowdar
Hi,
i am facing some problem while installing image in U-boot

i have installed ELDK 4.0, Linux kernel version 2.6.15, u-boot 1.1.4..

i have created a image using mkimage tool which gives boardname.img, later
using tftpboot i am downloading ..when i use bootm command am getting the
following error message.

CRC ...OK
Uncompressing kernel image ...Error bad gzipped data

if anybody got same error or sort out this problem ..do reply with the
solution

please let me know the solution for this.

with Regards,
Gurumurthy
Bangalore

-- 
Gurumurthy Gowdar
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Kernel Uncompressing failed under Uboot

2009-02-05 Thread Gurumurthy Gowdar
Dear Wolfgang,

We are using ELDK 4.0 with U-boot-1.1.4 and Linux kernel 2.6.15
we have ported u-boot to our MPC7447a based VME SBC board, it is working
fine.
but  now we have compiled  Linux kernel for our board.
we have used u-boot mkimage utility to create image file, by  using
following commmand

./tools/mkimage -A ppc -O  linux   -T  kernel  -a  -e    -n
"linux_svme7447a"  -d
/opt/svme_bsp/ppc_74xx/usr/src/linux-2.6.15/arch/powerpc/zImage
/tftpboot/linux_svme7447a.img

once this image is created we are using tftpboot command to download  and
bootm  command to  boot image here it is giving problem.

the error log is attached below.



U-Boot 1.1.4 (Mar 22 2007 - 13:22:19)

CPU:   MPC7447A v1.1 @ 600 MHz
Board: SVME7447A  SLN Technologies Pvt Ltd
I2C:   ready
DRAM:  256 MB
FLASH: ## Unknown FLASH on Bank 1 - Size = 0x = 0 MB
## Unknown FLASH on Bank 1 - Size = 0x = 0 MB
512 kB
*** Warning - bad CRC, using default environment

00  0d  10ec  8139  0200  ff
00  0e  10b5  9030  0680  00
00  0f  10e3    0680  ff
In:serial
Out:   serial
Err:   serial
Net:   RTL8139#0
svme7447a->
svme7447a->setenv ipaddr 192.168.1.5
svme7447a->setenv serverip 192.168.1.4
svme7447a->tftpboot 0x0010 linux_svme7447a.img
Using RTL8139#0 device
TFTP from server 192.168.1.4; our IP address is 192.168.1.5
Filename 'linux_svme7447a.img'.
Load address: 0x10
Loading: #
 #
 #
 #
 ###
done
Bytes transferred = 1342152 (147ac8 hex)
svme7447a->bootm
## Booting image at 0010 ...
   Image Name:   linux_svme7447a
   Created:  2009-02-05  16:57:46 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:1342088 Bytes =  1.3 MB
   Load Address: 
   Entry Point:  
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... Error: Bad gzipped data
GUNZIP ERROR - must RESET board to recover

waiting for the earliest reply,

thanking you

with Regards,
Gurumurthy Gowdar
Bangalore,INDIA



On Thu, Feb 5, 2009 at 7:15 PM, Wolfgang Denk  wrote:

> Dear Gurumurthy Gowdar,
>
> In message 
> you wrote:
> >
> > i have created a image using mkimage tool which gives boardname.img,
> later
> > using tftpboot i am downloading ..when i use bootm command am getting the
> > following error message.
> >
> > CRC ...OK
> > Uncompressing kernel image ...Error bad gzipped data
>
> Please always provide a complete log with ALL commands you type and
> ALL output. With such a tiny snippet we can only guess.
>
> > if anybody got same error or sort out this problem ..do reply with the
> > solution
>
> He. Do reply with $$$ first !
>
> > please let me know the solution for this.
>
> See http://www.denx.de/wiki/view/DULG/LinuxUncompressingError
>
>
> Note that you are supposed to read the FAQ before posting.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
> You could end up being oddly sad and full of a strange, diffuse  com-
> passion  which would lead you to believe that it might be a good idea
> to wipe out the whole human race and start again with amoebas.
> - Terry Pratchett, _Guards! Guards!_
>



-- 
Gurumurthy Gowdar
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Uncompressing Kernel Image ... Error: Bad gzipped data

2009-02-06 Thread Gurumurthy Gowdar
Hi,

We are using ELDK 4.0 with U-boot-1.1.4 and Linux kernel 2.6.15
we have ported u-boot to our MPC7447a based VME SBC board, it is working
fine.
but  now we have compiled  Linux kernel for our board.
we have used u-boot mkimage utility to create image file, by  using
following commmand

./tools/mkimage -A ppc -O  linux   -T  kernel  -a  -e    -n
"linux_svme7447a"  -d
/opt/svme_bsp/ppc_74xx/usr/src/linux-2.6.15/arch/powerpc/zImage
/tftpboot/linux_svme7447a.img

once this image is created we are using tftpboot command to download  and
bootm  command to  boot image here it is giving problem.

the error log is attached below.



U-Boot 1.1.4 (Mar 22 2007 - 13:22:19)

CPU:   MPC7447A v1.1 @ 600 MHz
Board: SVME7447A  SLN Technologies Pvt Ltd
I2C:   ready
DRAM:  256 MB
FLASH: ## Unknown FLASH on Bank 1 - Size = 0x = 0 MB
## Unknown FLASH on Bank 1 - Size = 0x = 0 MB
512 kB
*** Warning - bad CRC, using default environment
00  0d  10ec  8139  0200  ff
00  0e  10b5  9030  0680  00
00  0f  10e3    0680  ff
In:serial
Out:   serial
Err:   serial
Net:   RTL8139#0
svme7447a->
svme7447a->setenv ipaddr 192.168.1.5
svme7447a->setenv serverip 192.168.1.4
svme7447a->tftpboot 0x0010 linux_svme7447a.img
Using RTL8139#0 device
TFTP from server 192.168.1.4; our IP address is 192.168.1.5
Filename 'linux_svme7447a.img'.
Load address: 0x10
Loading: #
 #
 #
 #
 ###
done
Bytes transferred = 1342152 (147ac8 hex)
svme7447a->bootm
## Booting image at 0010 ...
   Image Name:   linux_svme7447a
   Created:  2009-02-05  16:57:46 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:1342088 Bytes =  1.3 MB
   Load Address: 
   Entry Point:  
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... Error: Bad gzipped data
GUNZIP ERROR - must RESET board to recover

we have read FAQ also and we have given higher address i.e. we tried load at
32 MB( 0x0200) still it is same problem

waiting for the earliest reply,

With Regards,
Gurumurthy



-- 
Gurumurthy Gowdar
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot