[asterisk-embedded] Address to Flash uClinux to on AADK
Wojciech Tryc
wojtek at VoIPMan.ORG
Thu Nov 1 14:28:52 CDT 2007
Brian,
Your bootcmd points to spiboot, so you are actually booting your kernel from the serial flash.
spiboot=eeprom read 0x1000000 0x40000 $(readsize);bootm 0x1000000
It means:
read from a serial flash starting at 0x40000, read $(readsize) which is 0x444ac9 and then save it all to SDRAM at 0x1000000
then execute bootm (boot) from that address.
This would indicate that you need to save your image into the serial flash using the following commands:
eeprom write 0x1000000 0x40000 $(filesize)
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).
If not, then also execute
setenv readsize <size of your image in hex>
save
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.
Cheers,
Wojtek
----- Original Message -----
From: Brian Alexander
To: Asterisk Embedded Development
Sent: Thursday, November 01, 2007 3:08 PM
Subject: Re: [asterisk-embedded] Address to Flash uClinux to on AADK
Here you is a dump of the uboot start and printenv.
U-Boot-1.1.3-ADI for Digium S800i (Nov 8 2006 - 15:03:20)
CPU: ADSP BF537 Rev.: 0.2
Board: Digium S800i
Support: http://www.digium.com/en/supportcenter/
Clock: VCO: 500 MHz, Core: 500 MHz, System: 125 MHz
SDRAM: 64 MB
FLASH: 8 MB
In: serial
Out: serial
Err: serial
Switch: ADM6996I/IX
EthMAC: 00:0F:D3:CE:E4:D9
Net: ADI BF537 EMAC
I2C: ready
Hit any key to stop autoboot: 0
aadk> printenv
bootargs=root=/dev/mtdblock0 rw
bootdelay=5
baudrate=57600
loads_echo=1
autoload=no
rootpath=/romfs
hostname=BF537
ramargs=setenv bootargs root=/dev/mtdblock0 rw
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath)
addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off
ramboot=dhcp;tftpboot 0x1000000 uImage;bootm 0x1000000
netboot=tftpboot 0x1000000 uImage;bootm 0x1000000
spiboot=eeprom read 0x1000000 0x40000 $(readsize);bootm 0x1000000
nfsboot=tftpboot 0x1000000 linux;run nfsargs;run addip;bootelf
flashboot=bootm 0x20100000
update=tftpboot 0x1000000 u-boot.bin;protect off 0x20000000 0x2007FFFF;erase 0x20000000 0x2007FFFF;cp.b 0x1000000 0x20000000 $(filesize)
ethaddr=00:0f:d3:ce:e4:d9
bootfile=pxelinux.0
filesize=33e762
fileaddr=1000000
netmask=255.255.252.0
bootcmd=run spiboot
serverip=192.168.100.1
gatewayip= 192.168.100.1
ipaddr=192.168.100.2
readsize=444ac9
stdin=serial
stdout=serial
stderr=serial
Environment size: 983/8188 bytes
Thanks again,
-Brian
------------------------------------------------------------------------------
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-embedded mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-embedded
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-embedded/attachments/20071101/f66c5758/attachment.htm
More information about the asterisk-embedded
mailing list