--
You received this message because you are subscribed to the Google Groups "Beagle Board" group.
To post to this group, send email to beagl...@googlegroups.com.
To unsubscribe from this group, send email to beagleboard...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.
You might also look at the boot arguments. The console port should be set to console=ttyO2,115200n8. If you made an error with this in uEnv.txt, then you would have problems seeing boot messages from the kernel.
Note that this a capital O, not a zero, in ttyO2.
Also, here is a very basic uEnv.txt file for you, that gives you an idea of syntax. This also sets up for NFS. If you are copying this from a Windows file, make sure you get rid of the extra carriage return characters in the lines. I have found that U-boot doesn’t like those characters. Windows automatically inserts them into text files. In Ubuntu, there is a utility called ‘fromdos’ which takes them out for you, or dos2unix might be available on other machines.
ipaddr=192.168.0.10
serverip=192.168.0.20
consoleargs=ttyO2,115200n8
nfspath=/home/training/beagleboard/sdk/targetNFS
nfsargs=setenv bootargs console=${consoleargs} root=/dev/nfs ip=${ipaddr} nfsroot=${serverip}:${nfspath},nolock rw noinitrd;
bootfile=uImage
loadkernel=usb start; tftp ${bootfile}
tftp_nfs_boot=run loadkernel; run nfsargs;bootm;
uenvcmd=run i2cinitcmd; run tftp_nfs_boot;
i2cinitcmd=i2c dev 1; i2c mw 0x40 0x00 0x00;
Another way to get custom uEnv.txt file is to power up or reset the BBxM, then halt the boot process. Run ‘printenv’ and copy all of the environment to uEnv.txt (using copy-paste is easiest). Then, you can change it how you see fit and put that in your boot partition.
John
--