[U-Boot] U-Boot Atmel SAMA5D3 Xplained

Ravi Sharma ravikmr.sharma at gmail.com
Thu Feb 26 14:06:56 CET 2015


hi

I want to rectify my problem which I asked in my last mail.

I am running uboot for the board Atmel SAMA5D3 Xplained.
I have uploaded first stage bootloader "*AT91Bootstrap 3.7.1*" and second
stage bootloader "*U-Boot 2014.07*".
the next step is setting up the Ethernet communication for uboot. I have
set all the address as instructed in the manual but the board is unable to
run the *PING* command properly. I am attaching the manual along with this
mail.
I am working on page no.12 of the manual. I tried on Linux and Windows both.

I have connected the board with my laptop directly, When I run PING command
following message occur,

U-Boot> ping 192.168.0.1
> gmac0: PHY present at 7
> gmac0: Starting autonegotiation...
> gmac0: Autonegotiation complete
> gmac0: link down (status: 0x7949)
> macb0: PHY present at 0
> macb0: Starting autonegotiation...
> macb0: Autonegotiation timed out (status=0x7849)
> macb0: link down (status: 0x7849)
> ping failed; host 192.168.0.1 is not alive
>



following are the Log messages when i connect the board

AT91Bootstrap 3.7.1 (Tue Feb 17 19:53:59 IST 2015)
>
> NAND: ONFI flash detected
> NAND: Manufacturer ID: 0x2c Chip ID: 0x32
> NAND: Disable On-Die ECC
> NAND: Initialize PMECC params, cap: 0x4, sector: 0x200
> NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000
> PMECC: sector bits = 0x4, bit 1 means corrupted sector, Now correcting...
> Correct error bit @[#Byte 0x172,Bit# 0x4] 0xcd -> 0xdd
> NAND: Done to load image
>
>
> U-Boot 2014.07 (Feb 25 2015 - 16:16:24)
>
> CPU: SAMA5D36
> Crystal frequency:       12 MHz
> CPU clock        :      528 MHz
> Master clock     :      132 MHz
> DRAM:  256 MiB
> NAND:  256 MiB
> MMC:   mci: 0
> In:    serial
> Out:   serial
> Err:   serial
> Net:   gmac0, macb0
> Hit any key to stop autoboot:  0
>
> NAND read: device 0 offset 0x180000, size 0x80000
>  524288 bytes read: OK
>
> NAND read: device 0 offset 0x200000, size 0x600000
>  6291456 bytes read: OK
> Bad Linux ARM zImage magic!
>




  this output comes for print environment after setting all the address for
server and client.

U-Boot> printenv
> autostart=no
> baudrate=115200
> bootargs=console=ttyS0,115200 earlyprintk
> mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256K(env),256k(evn_redundent),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs)
> rootfstype=ubifs ubi.mtd=7 root=ubi0:rootfs
> bootcmd=nand read 0x21000000 0x180000 0x80000;nand read 0x22000000
> 0x200000 0x600000;bootz 0x22000000 - 0x21000000
> bootdelay=5
> eth1addr=24:56:44:22:5b:ab
> ethact=gmac0
> ethaddr=00:01:02:03:04:05
> ipaddr=192.168.0.100
> serverip=192.168.0.1
> stderr=serial
> stdin=serial
> stdout=serial
>
> Environment size: 545/131067 bytes
>

I am attaching the screen shot of the messages it shows when I try to reset
the board and i set the env variables.
Please help me to solve this problem.


Thanks and Warm Regards
Ravi Kumar
Mo. +919582860503

On Thu, Feb 26, 2015 at 5:58 PM, Ravi Sharma <ravikmr.sharma at gmail.com>
wrote:

> hi
> I am trying to get kernel source for the board Atmel SAMA5D3 Xplained.
> I have uploaded first stage bootloader "*AT91Bootstrap 3.7.1*" and second
> stage bootloader "*U-Boot 2014.07*".
> the next step is setting up the Ethernet communication. I have set all the
> address as instructed but the board is unable to run the *PING* command.
> I am attaching the screen shot of the messages it shows when I try to
> reset the board and i the env variables.
> Please help me to solve this problem.
>
> Thanks and Warm Regards
> Ravi Kumar
> Mo. +919582860503
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uboot.png
Type: image/png
Size: 114574 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150226/a72d6a06/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uboot2.png
Type: image/png
Size: 47310 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150226/a72d6a06/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uboot3.png
Type: image/png
Size: 22027 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150226/a72d6a06/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: embedded-linux-labs.pdf
Type: application/pdf
Size: 458513 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150226/a72d6a06/attachment-0001.pdf>


More information about the U-Boot mailing list