[U-Boot-Users] Univesal bootloader in 2 stages

Srivatsan srivatsan at deccanetworld.com
Fri Nov 5 08:37:42 CET 2004


Hi all,

     I understand that uboot works in 2 stages, one before RAM is
initialized and the other after RAM is initialized.

     But my requirement is, I would like to load the First stage of
uboot into Flash, then get the second stage of the boot loader thro' a
fast Ethernet(This means that I require a Ethernet driver to run from
Flash). In addition I would also like to start a Flash File system in
first stage itself. Here's a summary

Uboot -- I stage [Running from Flash]
CPU setup. 
Ethernet driver, support for TFTP.
Flash driver.
Flash file system.

Uboot - IIstage [Running from RAM]
Other board initializations
Device initializations
CLI and booting the kernel image.

Would like to know whether the above split up of Uboot is feasible?
Thanks for all your time. CPU will be mostly powerquicc II processor and
the board is a customized board.

Regards,
C.R.Srivatsan

-----Original Message-----
From: u-boot-users-admin at lists.sourceforge.net
[mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf Of
u-boot-users-request at lists.sourceforge.net
Sent: Friday, November 05, 2004 10:35 AM
To: u-boot-users at lists.sourceforge.net
Subject: U-Boot-Users digest, Vol 1 #1079 - 2 msgs

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-admin 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. Re: Timeout by U-Boot while writing to flash (Paul Ruhland)
   2. Re: HW Addr different to Vendor information (Paul Ruhland)

--__--__--

Message: 1
From: Paul Ruhland <pruhland at rochester.rr.com>
Organization: OpenPore
To: lugs at eternitytechnologies.com
Subject: Re: [U-Boot-Users] Timeout by U-Boot while writing to flash
Date: Thu, 4 Nov 2004 23:39:09 -0500
Cc: u-boot-users at lists.sourceforge.net

On Thursday 04 November 2004 20:56, Devraj Mukherjee wrote:
> Hi everyone,
>
> We finally got U-Boot up and running on our board. Many thanks to
> everyone who replied to our emails. We are having trouble writing the
> initial environment variables to the system.
>
This sounds like it may be a problem with the newer board revisions vs.
the 
current cvs.  There were changes to the cpld and the I/O buffers which
set 
the buffers in the wrong direction by default at boot.  You have to
either 
enable pcmcia (both) or set a couple gpio lines.

To check your cpld revision enter the following:

LPD7A400> md.b 0x71400000 1

The only info I have is from the boards I've been able to get.  A cpld 
revision >= 0x34 has the buffer change.  I've seen lower version numbers

mentined as have this change also but cannot confirm.

To set the gpio pins enter the following:

LPD7A400> mw 0x80000e3c 0x00000000 1
LPD7A400> mw 0x80000e38 0x00000005 1

The first command ensures portg pins are outputs (default).  The second 
command sets the necessary pins to set the buffers in the proper
direction.

I was holding off the patch for this till I got reliable info about the
the 
card engine revision vs. the buffer direction change.  I haven't gotten
any 
response yet.

--
Paul Ruhland


--__--__--

Message: 2
From: Paul Ruhland <pruhland at rochester.rr.com>
Organization: OpenPore
To: lugs at eternitytechnologies.com
Subject: Re: [U-Boot-Users] HW Addr different to Vendor information
Date: Thu, 4 Nov 2004 23:51:58 -0500
Cc: u-boot-users at lists.sourceforge.net

On Thursday 04 November 2004 23:14, Devraj Mukherjee wrote:
> Hi everyone,
>
> We are tring to get the ethernet working on our board. Here is what we
> have been trying. Our DHCP server gives addresses in the range of
10.0.1.x
>
> Our vendor has documented that our MAC address is 00:08:EE:00:41:60
and
> LogicLoader (the default bootloader) would get an IP with this MAC
> address. It's interesting to see that U-Boot with the patches thinks
> that the HW Addr is 04:04:04:33:04:04
>
> Any ideas, experiences?
>

I believe this is related to the new card version problem I mentioned in

previous post.

Let me know what version you have and if the workaround I posted fixes
these 
problems for you.

I won't have access to my board till tomorrow.  I can post a patch then
if 
this is the problem your having.



--__--__--

_______________________________________________
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




********************************DISCLAIMER**********************************

This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege of Deccanet Designs Ltd.
If you have received this message in error, please notify the originator
immediately. If you are not the intended recipient, you are notified that
you are strictly prohibited from retaining, using, copying, altering or
disclosing the contents of this message.

****************************************************************************


More information about the U-Boot mailing list