[U-Boot] booting issue with Atmel SAMA5D31 Evaluation kit

Ron Eggler reggler at semios.com
Mon Dec 16 04:19:03 CET 2013


Hi Bo,

Thanks for your reply!



> Hi Ron Eggler,
> 
> On 12/14/2013 05:15 AM, Ron Eggler wrote:
> > --
> > 
[snip]

> > On December 13, 2013 11:57:29 AM Andreas Bießmann wrote:
> >  > Dear Ron Eggler,
> >  > 
> >  > On 12/12/2013 10:22 PM, Ron Eggler wrote:
> >  > > Hi,
> >  > > 
> >  > > 
> >  > > 
> >  > > I got a SAMA5D31 evaluation kit here, it came with some default
> >  > > 
> >  > > application. I started reading through the getting started guide and
> >  > > 
> >  > > immediately tried to load my own image - MISTAKE!
> >  > > 
> >  > > I started playing around with u-boot trying to get an image from my
> > 
> > tftp
> > 
> >  > > server loaded but now i realize, that I can't get it to hook up to my
> >  > > 
> >  > > LAN. Bad! Because it won't even let me boot the original application
> >  > > 
> >  > > anymore.
> >  > > 
> >  > > When I boot it and my variables look like this:
> >  > > 
> >  > > ...
> >  > > 
> >  > > ...
> >  > > 
> >  > > Warning: failed to set MAC address
> >  > 
> >  > your env is missing an ethaddr
> > 
> > Yes, I know, I had set it to some bogus address but that didn't help
> > either...
> 
> Please check whether the bogus address is a valid address, that means,
> the addr[0] bit 0 can not be 1.
> For example: 3c:3f:35:28:44:61
> the addr[0] is 3c, and (0x3c & 0x01) is zero, then consider it as a
> bogus valid address.

Yes, I confirm, my bogus address was 00:12:34:56:78:90
 
> > How can the mac address be missing anyways, shouldn't that be fixed in
> > sillicon?
> 
> The MAC address can not be come with silicon. You should set it for your
> product (need buy from IEEE).
> 
> >  > > Hit any key to stop autoboot: 0
> >  > > 
> >  > > macb0: PHY present at 0
> >  > > 
> >  > > macb0: Starting autonegotiation...
> >  > > 
> >  > > macb0: Autonegotiation timed out (status=0x7849)
> >  > > 
> >  > > macb0: link down (status: 0x7849)
> >  > > 
> >  > > macb0: PHY present at 0
> >  > > 
> >  > > macb0: Starting autonegotiation...
> >  > > 
> >  > > macb0: Autonegotiation timed out (status=0x7849)
> >  > > 
> >  > > macb0: link down (status: 0x7849)
> >  > > 
> >  > > Wrong Image Format for bootm command
> >  > > 
> >  > > ERROR: can't get kernel image!
> >  > > 
> >  > > U-Boot> printenv
> >  > > 
> >  > > baudrate=115200
> >  > > 
> >  > > bootargs=console=ttyS0,115200 ip=${ipaddr} root=/dev/nfs rw
> >  > > 
> >  > > nfsroot=${serverip}:/full/path/to/rfs
> >  > > 
> >  > > bootcmd=tftp;tftp 21000000 sama5d3x_ek.dtbbootm 22000000 - 21000000
> >  > > 
> >  > > bootdelay=1
> >  > > 
> >  > > bootfile=uImage-3.6-ts-armv7l
> >  > > 
> >  > > ethact=macb0
> >  > > 
> >  > > ipaddr=192.168.1.122
> >  > > 
> >  > > loadaddr=22000000
> >  > > 
> >  > > serverip=192.168.1.121
> >  > > 
> >  > > stderr=serial
> >  > > 
> >  > > stdin=serial
> >  > > 
> >  > > stdout=serial
> >  > > 
> >  > > 
> >  > > 
> >  > > Environment size: 367/131067 bytes
> >  > > 
> >  > > U-Boot>
> >  > > 
> >  > > 
> >  > > 
> >  > > What can I do to at least get it to boot the default program again?
> >  > 
> >  > Dunno from the given information, maybe it is the missing ethaddr. I
> >  > can


More information about the U-Boot mailing list