I.MX25 PDK Using FEC

Document created by jesseg Employee on Aug 16, 2012Last modified by Jodi Paul on May 14, 2013
Version 3Show Document
  • View in full screen mode

Using the FEC on U-boot

 

1 - Start by programming U-boot into the SD or NAND, click here for SD or here for NAND.

2 - Boot the image programed on Step 1, for the SD Card:

Personality Board settings: 
                  12345678 
SW22 -> 00000000 
SW21 -> 11000000  

Debug Board settings: 
  SW5,6,7,8,9,10 -> OFF  
                  12345678 
  SW4 -> 10000001

For NAND:

         
                    12345678 
  SW22 -> 00100000 
  SW21 -> 10011000  

Debug Board settings: 
  SW5,6,7,8,9,10 -> OFF  

                    12345678 
    SW4 -> 10000001

Stop at u-boot prompt:

MX25 U-Boot > 

3 - Configure u-boot networking variables, replace the values according to your network configuration:

MX25 U-Boot > setenv serverip 192.168.1.1 
MX25 U-Boot > setenv ipaddr 192.168.1.2 
MX25 U-Boot > setenv eth1addr 00:04:9f:00:3b:33

Update "ethact" var to enable the FEC.

MX25 U-Boot > setenv ethact FEC0 

4 - With the Ethernet cable connected, start a tftp transfer:

MX25 U-Boot > tftpboot 0x80800000 uImage_mx25 
FEC: enable RMII gasket 
Using FEC0 device 
TFTP from server 192.168.1.1; our IP address is 192.168.1.2 
Filename 'uImage_mx25'. 
Load address: 0x80800000 
Loading: ################################################################# 
             ################################################################# 
             ################################################################# 
             ################################################################# 
             ################################################################# 
             ################################################################# 
             ##### 
done 
Bytes transferred = 2022396 (1edbfc hex)

5 - If you transfered the kernel image, you can boot it (Don't forget to update bootargs):

MX25 U-Boot > bootm 0x80800000 


Attachments

    Outcomes