I.MX25 PDK Using FEC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I.MX25 PDK Using FEC

I.MX25 PDK Using FEC

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 


Labels (1)
%3CLINGO-SUB%20id%3D%22lingo-sub-1104191%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EI.MX25%20PDK%20Using%20FEC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1104191%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CH1%20id%3D%22toc-hId-380605380%22%20id%3D%22toc-hId-380605380%22%20id%3D%22toc-hId-1298527315%22%3E%3CSPAN%20class%3D%22mw-headline%22%3EUsing%20the%20FEC%20on%20U-boot%20%3C%2FSPAN%3E%3C%2FH1%3E%3CP%3E%3C%2FP%3E%3CP%3E1%20-%20%3CA%20href%3D%22http%3A%2F%2Fwww.imxdev.org%2Fwiki%2Findex.php%3Ftitle%3DI.MX25_PDK_Using_FEC%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20style%3D%22text-decoration%3A%20underline%3B%22%20title%3D%22Powered%20by%20Text-Enhance%22%20target%3D%22_blank%22%3EStart%3C%2FA%3E%20by%20programming%20U-boot%20into%20the%20SD%20or%20NAND%2C%20click%20%3CA%20href%3D%22http%3A%2F%2Fwww.imxdev.org%2Fwiki%2Findex.php%3Ftitle%3DI.MX25_PDK_Board_Flashing_SDCard%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20title%3D%22I.MX25%20PDK%20Board%20Flashing%20SDCard%22%20target%3D%22_blank%22%3Ehere%20for%20SD%3C%2FA%3E%20or%20%3CA%20href%3D%22http%3A%2F%2Fwww.imxdev.org%2Fwiki%2Findex.php%3Ftitle%3DI.MX25_PDK_Board_Flashing_NAND%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20title%3D%22I.MX25%20PDK%20Board%20Flashing%20NAND%22%20target%3D%22_blank%22%3Ehere%20for%20NAND%3C%2FA%3E.%3C%2FP%3E%3CP%3E2%20-%20Boot%20the%20image%20programed%20on%20%3CA%20href%3D%22http%3A%2F%2Fwww.imxdev.org%2Fwiki%2Findex.php%3Ftitle%3DI.MX25_PDK_Using_FEC%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20style%3D%22text-decoration%3A%20underline%3B%22%20title%3D%22Powered%20by%20Text-Enhance%22%20target%3D%22_blank%22%3EStep%3C%2FA%3E%201%2C%20for%20the%20SD%20Card%3A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3EPersonality%20Board%20settings%3A%20%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2012345678%20%0ASW22%20-%26gt%3B%2000000000%20%0ASW21%20-%26gt%3B%2011000000%26nbsp%3B%20%0A%0ADebug%20Board%20settings%3A%20%0A%26nbsp%3B%20SW5%2C6%2C7%2C8%2C9%2C10%20-%26gt%3B%20OFF%26nbsp%3B%20%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2012345678%20%0A%26nbsp%3B%20SW4%20-%26gt%3B%2010000001%0A%3C%2FPRE%3E%3CP%3EFor%20NAND%3A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2012345678%20%0A%26nbsp%3B%20SW22%20-%26gt%3B%2000100000%20%0A%26nbsp%3B%20SW21%20-%26gt%3B%2010011000%26nbsp%3B%20%0A%0ADebug%20Board%20settings%3A%20%0A%26nbsp%3B%20SW5%2C6%2C7%2C8%2C9%2C10%20-%26gt%3B%20OFF%26nbsp%3B%20%0A%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2012345678%20%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20SW4%20-%26gt%3B%2010000001%0A%3C%2FPRE%3E%3CP%3EStop%20at%20u-boot%20prompt%3A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3EMX25%20U-Boot%20%26gt%3B%20%3C%2FPRE%3E%3CP%3E3%20-%20Configure%20u-boot%20networking%20variables%2C%20replace%20the%20values%20according%20to%20your%20network%20configuration%3A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3EMX25%20U-Boot%20%26gt%3B%20setenv%20serverip%20192.168.1.1%20%0AMX25%20U-Boot%20%26gt%3B%20setenv%20ipaddr%20192.168.1.2%20%0AMX25%20U-Boot%20%26gt%3B%20setenv%20eth1addr%2000%3A04%3A9f%3A00%3A3b%3A33%0A%3C%2FPRE%3E%3CP%3EUpdate%20%22ethact%22%20var%20to%20enable%20the%20FEC.%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3EMX25%20U-Boot%20%26gt%3B%20setenv%20ethact%20FEC0%20%3C%2FPRE%3E%3CP%3E4%20-%20With%20the%20Ethernet%20cable%20connected%2C%20start%20a%20tftp%20transfer%3A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3EMX25%20U-Boot%20%26gt%3B%20tftpboot%200x80800000%20uImage_mx25%20%0AFEC%3A%20enable%20RMII%20gasket%20%0AUsing%20FEC0%20device%20%0ATFTP%20from%20server%20192.168.1.1%3B%20our%20IP%20address%20is%20192.168.1.2%20%0AFilename%20'uImage_mx25'.%20%0ALoad%20address%3A%200x80800000%20%0ALoading%3A%20%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%20%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%20%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%20%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%20%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%20%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%20%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%23%23%23%23%23%20%0Adone%20%0ABytes%20transferred%20%3D%202022396%20(1edbfc%20hex)%0A%3C%2FPRE%3E%3CP%3E5%20-%20If%20you%20transfered%20the%20kernel%20image%2C%20you%20can%20boot%20it%20(Don't%20forget%20to%20update%20bootargs)%3A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3EMX25%20U-Boot%20%26gt%3B%20bootm%200x80800000%20%3C%2FPRE%3E%3CP%3E%3CSPAN%20class%3D%22mce_paste_marker%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1104191%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MX2x%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎09-10-2020 01:51 AM
Updated by: