02.08.2013 Views

P4080 PCIe Adapter SDK User Guide Production Release

P4080 PCIe Adapter SDK User Guide Production Release

P4080 PCIe Adapter SDK User Guide Production Release

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Freescale Semiconductor<br />

=> setenv ethact FM1@DTSEC2<br />

=> setenv serverip 192.168.2.55<br />

=> setenv gatewayip 192.168.2.1<br />

=> setenv ipaddr 192.168.2.10<br />

=> ping $serverip<br />

Using FM1@DTSEC2 device<br />

host 192.168.2.55 is alive<br />

Interrupt the bootloader and execute the following commands<br />

o Transfer Device tree image through tftp<br />

tftp 0x01000000 p4080n710-usdpaa.dtb<br />

o Program device tree image into flash using following commands<br />

Boot into Bank 0:<br />

n710_reset<br />

protect off 0xe8800000 0xe88fffff<br />

erase 0xe8800000 +$filesize<br />

cp.b 0x01000000 0xe8800000 $filesize<br />

6.7 Programming the <strong>P4080</strong> PCIE <strong>Adapter</strong> NOR Flash Bank 4<br />

Transfer the 6 images to the tftp server on the host as described in Section 6.5.<br />

First, boot from bank 0 by doing a reset or power-on. Check that you see “Booted from Bank 0”<br />

since this is very important. Then, set network parameters using the u-boot environment variables<br />

described in Section 6.6.<br />

The following U-boot commands will flash all six of the needed files into bank 4. Remember that<br />

you may have to adjust the paths in the tftpboot commands per your tftp server.<br />

# BE BOOTED FROM BANK 0; WE WILL FLASH THE ALT BANK, WHICH WILL BE BANK 4<br />

Boot into Bank 0, interrupt the bootloader and execute the following commands<br />

o Program RCW image into flash using following commands<br />

tftp 0x02000000 rcw_0x2_rev2_high_ep_1.3GHz_clock.bin<br />

protect off 0xec000000 0xec01ffff<br />

erase 0xec000000 +$filesize<br />

© Freescale Semiconductor, Inc., 2011. All rights reserved.<br />

Freescale Confidential Proprietary Page 41

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!