[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Determining the MAC address on a Spartan 3e Starter Kit



Thanks for explaining the difference between the u-boot files. I got
both the u-boot image and uclinux copied to flash using the kermit
serial (loadb) and it begins to boot. Unfortunately, the boot process
stops on "Starting thttpd". I removed this from the system settings
when configuring the kernel and reflashed the images but it still
shows up.

This is the last of the error log:
flatfsd: Created 6 configuration files (328 bytes)
Setting hostname:
Setting up interface lo:
Setting up interface eth0:
Starting thttpd:


I set the MAC to the default given for the reference design and it
shows as following:
ETHERNET: MAC:00:0a:35:00:22:01

I did notice this in the boot up logs:
eth0: using fifo mode.
eth0: No PHY detected.  Assuming a PHY at address 0.
eth0: Xilinx EMACLite #0 at 0x40E00000 mapped to 0x40E00000, irq=1

The address for EMACLite is correct.
I set the serverip and ipaddr for the kernel to the proper settings on
my network.

Do you know if this is a u-boot or uClinux issue? Any idea what might
be causing it to hang?

Almost there!
- Jose


On 1/3/07, Leonid <Leonid@xxxxxxxxx> wrote:
On Wednesday, January 03, 2007 2:19 PM Jose Torres wrote:
> I compiled and downloaded the bitstream on a windows computer. I'm
> currently using EDK version 8.1. My current setup is a Windows laptop and > a linux rackmount. The linux rackmount is hosting a samba server allowing > me to save and compile all my files on there.

I have same setup - all files are on Linux machine, but EDK is running under Windows, using samba to access files. Petalogix stuff I'm compiling on Linux (I have Fedora Core 4).

> I did run the ub.config script but unfortunately tftp times out. I think
> I'm going to resort to uploading my images onto the board strictly through > serial.

I didn't try to run this config yet, I have my own ways to configure u-boot - I used to work with u-boot for a while. Mind yourself that if you use default IP stuff from Petalogix config (192.168.10.54 for target), it may not match your network settings.

> I'm not 100% sure what the difference between u-boot.srec and u-boot-
> s.bin. I believe the u-boot.srec is a temporary environment that allows
> permanent uploading of the kernel image and bootloader.

All .srec files are special (Motorola) text representation of binary files. Roughly speaking, each record starts from letter 'S' and has some code and offset and several bytes of data to program. Such representation is widely used to download binary files via serial.

u-boot-s.srec and u-boot.srec files differs by their offsets: first one has initial offset 0x21000000 (flash) while second 0x23fc0000 (end of RAM) - you use second one with fs-boot application.

u-boot-s.bin is most likely binary you shall burn onto flash but I didn't try to do so yet.

> I have included my bug report in another email.
I have managed to bring up u-boot and uClinux on Spartan-3e Starter Kit. I also had some issues and some of them still exist, I just put them aside for the time being. I'll look through your list and will see whether I can help.

Regards,
Leonid.

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/