<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Brian,</FONT></DIV>
<DIV><FONT face=Arial size=2>Your bootcmd points to spiboot, so you are actually
booting your kernel from the serial flash.</FONT></DIV>
<DIV>spiboot=eeprom read 0x1000000 0x40000 $(readsize);bootm 0x1000000<BR><FONT
face=Arial size=2>It means:</FONT></DIV>
<DIV><FONT face=Arial size=2>read from a serial flash starting at 0x40000, read
$(readsize) which is <FONT face="Times New Roman" size=3>0x444ac9 and then save
it all to SDRAM at 0x1000000</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>then execute
bootm (boot) from that address.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman"
size=3></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>This would
indicate that you need to save your image into the serial flash using the
following commands:</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>eeprom write 0x1000000 0x40000
$(filesize)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Also, later please confirm that your "readsize" in
printenv is equal to the size of the new image (you will get the size of your
image while tftping it).</FONT></DIV>
<DIV><FONT face=Arial size=2>If not, then also execute</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>setenv readsize <size of your image in
hex></FONT></DIV>
<DIV><FONT face=Arial size=2>save</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Please note, that I am not affiliated with Digium
in any way, and I can not be resposnsible for anything if you endup corrupting
your flash. The instructions above shoule work, but I would suggest to get
formal confirmation from Digium boys.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Cheers,</FONT></DIV>
<DIV><FONT face=Arial size=2>Wojtek</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman"
size=3></FONT> </DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=balexander@visionpointsystems.com
href="mailto:balexander@visionpointsystems.com">Brian Alexander</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-embedded@lists.digium.com
href="mailto:asterisk-embedded@lists.digium.com">Asterisk Embedded
Development</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, November 01, 2007 3:08
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [asterisk-embedded] Address
to Flash uClinux to on AADK</DIV>
<DIV><BR></DIV>Here you is a dump of the uboot start and printenv.<BR><BR>
<DIV style="MARGIN-LEFT: 40px">U-Boot-1.1.3-ADI for Digium S800i (Nov 8
2006 - 15:03:20)<BR><BR>CPU: ADSP BF537 Rev.: 0.2<BR>Board: Digium
S800i<BR> Support: <A
href="http://www.digium.com/en/supportcenter/">http://www.digium.com/en/supportcenter/</A><BR>Clock:
VCO: 500 MHz, Core: 500 MHz, System: 125 MHz<BR>SDRAM: 64
MB<BR>FLASH: 8 MB<BR>In:
serial<BR>Out: serial<BR>Err: serial <BR>Switch:
ADM6996I/IX<BR>EthMAC: 00:0F:D3:CE:E4:D9<BR>Net: ADI BF537
EMAC<BR>I2C: ready<BR>Hit any key to stop autoboot: 0
<BR>aadk> printenv<BR>bootargs=root=/dev/mtdblock0
rw<BR>bootdelay=5<BR>baudrate=57600<BR>loads_echo=1<BR>autoload=no<BR>rootpath=/romfs<BR>hostname=BF537<BR>ramargs=setenv
bootargs root=/dev/mtdblock0 rw<BR>nfsargs=setenv bootargs root=/dev/nfs rw
nfsroot=$(serverip):$(rootpath)<BR>addip=setenv bootargs $(bootargs)
ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off
<BR>ramboot=dhcp;tftpboot 0x1000000 uImage;bootm 0x1000000<BR>netboot=tftpboot
0x1000000 uImage;bootm 0x1000000<BR>spiboot=eeprom read 0x1000000 0x40000
$(readsize);bootm 0x1000000<BR>nfsboot=tftpboot 0x1000000 linux;run
nfsargs;run addip;bootelf <BR>flashboot=bootm 0x20100000<BR>update=tftpboot
0x1000000 u-boot.bin;protect off 0x20000000 0x2007FFFF;erase 0x20000000
0x2007FFFF;cp.b 0x1000000 0x20000000
$(filesize)<BR>ethaddr=00:0f:d3:ce:e4:d9<BR>bootfile=pxelinux.0
<BR>filesize=33e762<BR>fileaddr=1000000<BR>netmask=<A
href="http://255.255.252.0">255.255.252.0</A><BR>bootcmd=run
spiboot<BR>serverip=<A
href="http://192.168.100.1">192.168.100.1</A><BR>gatewayip=<A
href="http://192.168.100.1"> 192.168.100.1</A><BR>ipaddr=<A
href="http://192.168.100.2">192.168.100.2</A><BR>readsize=444ac9<BR>stdin=serial<BR>stdout=serial<BR>stderr=serial<BR><BR>Environment
size: 983/8188 bytes<BR></DIV><BR>Thanks again,<BR>-Brian <BR><BR><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>--Bandwidth and
Colocation Provided by http://www.api-digital.com--<BR><BR>asterisk-embedded
mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-embedded</BLOCKQUOTE></BODY></HTML>