Skip to contentSkip to conversation

U-Boot-Users Digest, Vol 2, Issue 32

U-Boot-Users Santosh 2 participants 2 messages Jul 14, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): mailman.49226.1152821279.29746.u-boot-users@lists.sourceforge.net

Santosh

author
#1 lore raw

Hi Marc Leeman!!!
Thanks for your reply for setting the u-boot environment variable
(boot_delay), but i have question for you.
Do i have to rewrite the u-boot on the flash after making the changes using fw_setenv.
Is there any other work around without rewriting the u-boot to the flash. Is it possible to just change the u-boot environment variable after booting the kernel automatically??

Thanks in advance
Santosh

-----Original Message-----
From: [email protected] [mailto:u-boot-users-bounces at lists.sourceforge.net]On Behalf Of u-boot-users-request at lists.sourceforge.net
Sent: Friday, July 14, 2006 5:08 AM
To: u-boot-users at lists.sourceforge.net
Subject: U-Boot-Users Digest, Vol 2, Issue 32

Send U-Boot-Users mailing list submissions to
u-boot-users at lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/u-boot-users
or, via email, send a message with subject or body 'help' to
u-boot-users-request at lists.sourceforge.net

You can reach the person managing the list at
u-boot-users-owner at lists.sourceforge.net

When replying, please edit your Subject line so it is more specific than "Re: Contents of U-Boot-Users digest..."

Today's Topics:

1. Does the UBoot-1.1.4 support the RMII on PPC440GP? (Denny)
2. Re: PPC U-boot Don't Want to Relocated (Sebastien Douheret)
3. Re: deleting bootcmd boot argument (Marc Leeman)
4. Re: Question on MII devices (Stefan Roese)
5. Re: PPC U-boot Don't Want to Relocated (Wolfgang Denk)
6. problem on compact flash (Raja Chidambaram)
7. [PATCH] added support for ep83xx boards (Jeff Mann)

----------------------------------------------------------------------

Message: 1
Date: Thu, 13 Jul 2006 15:57:06 +0800 (CST)
From: "Denny" <[email protected]>
Subject: [U-Boot-Users] Does the UBoot-1.1.4 support the RMII on

	PPC440GP?

To: wd at denx.de
Cc: u-boot-users at lists.sourceforge.net
Message-ID: <[email protected]>
Content-Type: text/plain; charset="gb2312"

I still failed to bring up my ethernet on my custom PPC440GP board,
1. auto-negotiations timeout
2. wrong speed(10M), and wrong mode (half duplex)
Can anyone tell me how the drivers for PPC440GP RMII interface goes, thanks a lot!

Below is my logs:
u-boot => tftp 0x100000 tmp.img
Trying ppc_4xx_eth0
the ZMII_FER = 0xe0000780
the ZMII_SSR = 0xe0000784
Waiting for PHY auto negotiation to complete..... TIMEOUT !
done
ENET Speed is 10 Mbps - HALF duplex connection
Using ppc_4xx_eth0 device
TFTP from server 192.168.65.235; our IP address is 192.168.65.239 Filename 'tmp.img'.
Load address: 0x100000
Loading: T T T T T T T

Thanks in advance!
- Denny

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://sourceforge.net/mailarchive/forum.php?forum=u-boot-users/attachments/
20060713/bd51fc77/attachment.html

------------------------------

Message: 2
Date: Thu, 13 Jul 2006 09:52:34 +0200
From: "Sebastien Douheret" <[email protected]>
Subject: Re: [U-Boot-Users] PPC U-boot Don't Want to Relocated
To: "jtbrower" <[email protected]>
Cc: u-boot-users <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-1

Hello Jason,

you must have previously initialized RAM with another way to have an writable area to set stack, data segment, BSS and so on (see remark in Wolfgang Denk email).
If you have it, you can skip relocation by setting TEXT_BASE to a RAM address and patch code in some files. What is your CPU ?
As for me, i have a board based on MPC7447/MPC7448 and i use this method (not relocate code) to simplify debug with JTAG probe.
I have patch boot code in cpu/74xx_7xx/start.s file and relocation offset in lib_ppc/board.c file :
/*
* Now that we have DRAM mapped and working, we can
* relocate the code and continue running from DRAM.
*
* Reserve memory at end of RAM for (top down in that order):
* - kernel log buffer
* - protected RAM
* - LCD framebuffer
* - monitor code
* - board info struct
*/
len = (ulong)&_end - CFG_MONITOR_BASE;

#ifdef DEBUG_JTAG_PROBE
	/* IC-PATCH : Skip relocation to debug facilities */
	addr = TEXT_BASE + len + (4096-1);

#else

#ifndef	CONFIG_VERY_BIG_RAM
	addr = CFG_SDRAM_BASE + gd->ram_size;
#else
	/* only allow stack below 256M */
	addr = CFG_SDRAM_BASE +
	       (gd->ram_size > 256 << 20) ? 256 << 20 : gd->ram_size;

#endif
#endif /* DEBUG_JTAG_PROBE */

Best regards,

Sebastien.

Cet ?t?, pensez aux cartes postales de laposte.net !

------------------------------

Message: 3
Date: Thu, 13 Jul 2006 11:08:02 +0200
From: Marc Leeman <[email protected]>
Subject: Re: [U-Boot-Users] deleting bootcmd boot argument
To: u-boot-users at lists.sourceforge.net
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-15"

Quoted 1 line

Now, i wanna delete the bootcmd environment variable. May i know how

can

Quoted 1 line

i delete it so that i can set these TFTP boot arguments??

Use fw_setenv in the linux env to set the bootdelay to e.g. 10 secs then you can change all you want in U-boot.

You could also use fw_setenv to modify all the u-boot settings you want, provided you store them in flash.

--
greetz, marc
Back off! Get that weapon out of my face before I feed it to you. Now tell your bitch to let my female go.
Crichton - Till The Blood Runs Clear
scorpius.homelinux.org 2.6.17 #2 PREEMPT Thu Jun 22 07:18:33 CEST 2006 GNU/Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url :
http://sourceforge.net/mailarchive/forum.php?forum=u-boot-users/attachments/
20060713/09ded643/attachment.bin

------------------------------

Message: 4
Date: Thu, 13 Jul 2006 11:22:52 +0200
From: Stefan Roese <[email protected]>
Subject: Re: [U-Boot-Users] Question on MII devices
To: u-boot-users at lists.sourceforge.net
Cc: Madhu Saravana Sibi Govindan <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

Quoted 9 lines · Madhu Saravana Sibi Govindan

I'm currently debugging u-boot on a custom board. It has a STE100p PHY device. However, when I do "mii info" at the U-boot command prompt, I see this:

---------------------------------------------
PHY_PHYIDR2 @ 0x0 = 0x0011
device name = ppc_4xx_eth0
PHY_PHYIDR[1,2] @ 0x0 = 0x1c040011
PHY 0x00: OUI = 0x70100, Model = 0x01, Rev = 0x01, 100baseT, FDX

PHY address 0 is on some PHY's a broadcast address. So possibly your PHY will
respond to it's configured address and to address 0.

What is your PHY address? Meaning for what address is your PHY configured in your design?

<snip>

Quoted 3 lines

I'm confident that there is only one PHY device. If so, why should the same device be seen twice? Has anyone seen this behavior before and know what might be wrong?

See above.

Quoted 5 lines

I can't get the "ping" command to work (though the ethernet interface is recognized and initialized by u-boot). The U-boot debug statements say that the board is sending out ARP requests, but no body seems to receive the request (using ethereal). Can someone give me directions as to how to debug this problem?

It seems to be a custom 4xx board. Did you enable the debug output of the ethernet driver (INFO_4XX_ENET)?

Best regards,
Stefan

------------------------------

Message: 5
Date: Thu, 13 Jul 2006 12:43:47 +0200
From: Wolfgang Denk <[email protected]>
Subject: Re: [U-Boot-Users] PPC U-boot Don't Want to Relocated
To: "Sebastien Douheret" <[email protected]>
Cc: u-boot-users <[email protected]>, jtbrower
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

Quoted 2 lines · In message <[email protected]> you wrote:

you must have previously initialized RAM with another way to have an

writab

Quoted 1 line

le area to set stack, data segment, BSS and so on (see remark in Wolfgang

D

Quoted 1 line

enk email).

Agreed.

Quoted 1 line

If you have it, you can skip relocation by setting TEXT_BASE to a RAM

addre

Quoted 1 line

ss and patch code in some files. What is your CPU ?

Thsi is NOT what the OP wanted. He asked what needs to be done to run out of FLASH only.

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 "... freedom ... is a worship word..."
"It is our worship word too."
-- Cloud William and Kirk, "The Omega Glory", stardate unknown

------------------------------

Message: 6
Date: Thu, 13 Jul 2006 04:16:24 -0700 (PDT)
From: Raja Chidambaram <[email protected]>
Subject: [U-Boot-Users] problem on compact flash
To: U-Boot-Users at lists.sourceforge.net
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-1

Hi all,

I am using u-boot 1.1.2 on my customized
board(440SPe Processor).I have xilinx System Ace controller on my board to access 512mb compact flash.I had formatted the
compact flash with FAT filesystem on windows pc.But once the u-boot is up & when i try to access the Compact flash through fatinfo it throws a error such as

Quoted 1 line

fatinfo ace 0

** Partition 1 not valid on device 0 **

** Unable to use ace 0:1 for fatinfo **

My u-boot resides on on-board spansion flash(16 mb) & i want linux kernel to reside in compact flash.Do i need to set any environment variables to acces the Compact flash or need add additional drivers for xilinx system ace controller.please hep me in this.

with regards
raja

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

------------------------------

Message: 7
Date: Thu, 13 Jul 2006 16:05:12 -0400
From: "Jeff Mann" <[email protected]>
Subject: [U-Boot-Users] [PATCH] added support for ep83xx boards
To: <[email protected]>, <[email protected]>
Message-ID:

	<1628E43D99629C46988BE46087A3FBB96079CF@ep-01.EmbeddedPlanet.local>

Content-Type: text/plain; charset="us-ascii"

CHANGELOG
* Added support for Embedded Planet ep83xx boards. Patch originally by
Freescale Semiconductor, Inc. Merged and submitted by J. Mann, Embedded Planet, July 13, 2006.

NOTE: this patch is dependant on changes to drivers/tsec.c and drivers/tsec.h made by the ep85xxm patch (submitted a few days ago). -------------- next part --------------
A non-text attachment was scrubbed...
Name: ep83xx.patch.gz
Type: application/x-gzip
Size: 10051 bytes
Desc: ep83xx.patch.gz
Url :
http://sourceforge.net/mailarchive/forum.php?forum=u-boot-users/attachments/
20060713/3c620cee/attachment.gz

------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

------------------------------

_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

End of U-Boot-Users Digest, Vol 2, Issue 32
*******************************************

#2 lore raw
Quoted 2 lines

Do i have to rewrite the u-boot on the flash after making the changes using fw_setenv.

fw_setenv and fw_printenv are two standalone tools you can use in Linux to adjust your U-boot settings, as long as you configured your board support to store the environment in flash. The corresponding U-boot commands are setenv/saveenv and printenv.

You are not re-writing u-boot itself, just the environment. If you do not save your env in flash, but use everything hard-coded, I think you'll need to re-burn your u-boot after changing the hardcoded values.

Signature · 11 lines
  greetz, marc
Always a party.
	Crichton - A Bug's Life
scorpius.homelinux.org 2.6.17 #2 PREEMPT Thu Jun 22 07:18:33 CEST 2006 GNU/Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060714/0ea7b47c/attachment.pgp