Difference between revisions of "Configure EA2478 Board"

From Klaus' wiki
Jump to: navigation, search
(Configuring u-boot)
Line 35: Line 35:
 
setenv bootcmd 'echo "Booting from TFTP (may take a few secs)." ;run tftp_boot'
 
setenv bootcmd 'echo "Booting from TFTP (may take a few secs)." ;run tftp_boot'
 
</source>
 
</source>
 +
 +
The usage of single-quotes ensures that the setenv command uses the whole string and not the part up to the semicolon - in the example the bootcmd is set to the first part (the echo string) and the last part is executed immediately.

Revision as of 09:41, 12 October 2013

These are a few of the configurations that is possible on the Embedded Artists EA 2478 board.

Microwin

See MicroWin on EA board

ssh daemon

dropbear is a drop-in lightweight alternative to the full shh-daemon.

In make menuconfig Network Applications check the dropbear choice.


Set your network address at boot

In uClinux-dist/vendors/EmbeddedArtists/rc you can near the bottom set your preferred network address. Find a line looking like this:

ifconfig eth0 192.168.5.233 up

Change the IP address to suit your need and rebuild.

Configuring u-boot

Originally the bootcmd is set to

bootcmd=echo "Booting from NAND FLASH (may take a few secs)." ;run

In order to change this, or other environment variables containing long strings it is recommended to enclose the string in single-quotes (')

setenv bootcmd 'echo "Booting from TFTP (may take a few secs)." ;run tftp_boot'

The usage of single-quotes ensures that the setenv command uses the whole string and not the part up to the semicolon - in the example the bootcmd is set to the first part (the echo string) and the last part is executed immediately.