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 />

6.8 Boot into Bank 4 and Set More Variables<br />

Next, enter the command “n710_reset altbank” to boot into bank 4 and press “any key” to stop<br />

the boot. Check that u-boot prints “vBank: 4”. It is important that it does. If not, there is probably a<br />

mistake in the previous steps.<br />

Set variable bootcmd. The latter is shown below along with a “saveenv” to save the values.<br />

setenv bootcmd setenv bootargs root=/dev/ram rw console=ttyS0,115200; bootm 0xe8020000<br />

0xe9300000 0xe8800000<br />

saveenv<br />

U-boot has an environment variable “bootdelay” that controls the number of seconds u-boot<br />

counts down before automatically running command “boot”. If you prefer to run “boot”<br />

manually, set bootdelay to -1. This will cause u-boot to go directly to a command prompt. You<br />

can set bootdelay to whatever you want.<br />

setenv bootdelay -1<br />

saveenv<br />

6.9 Booting Linux<br />

At this point, you need to reset once again into bank 4 (u-boot command “n710_reset<br />

altbank”) and run the u-boot “boot” command, either manually or by letting it happen<br />

automatically after the count-down.<br />

Linux will boot and give you a login<br />

prompt. Login as user “root” with<br />

password “root”.<br />

“ifconfig -a” should show only one FMan (fm) ethernet interface, fm1-gb1. This is the <strong>P4080</strong><br />

PCIE <strong>Adapter</strong> motherboard 1 G ethernet interface. You can set its IP address and use it as an<br />

ordinary Linux network interface if you wish.<br />

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

Freescale Confidential Proprietary Page 43

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

Saved successfully!

Ooh no, something went wrong!