Table of Contents

uBoot Output

This is the output of uBoot via serial console (115200 baud) on a stock (i.e. yet unflashed) Netgear DGN3500:

ROM VER: 1.1.3
CFG 05

ROM VER: 1.1.3
CFG 05


U-Boot 1.1.5-2.4 (Dec 24 2009 - 15:22:21)

**checkboard **
Boot from SPI
AR9 BOARD
CLOCK CPU 333M RAM 166M
DRAM:  64 MB
spi_init_f finsihed
	 SFLASH_BAUDRATE = 30000000
	 CONFIG_SPI_FLASH_SLOW_READ yes

 relocate_code start
 relocate_code finish.
Flash: 16 MB
  bi_flashstart=00000000
  bi_flashsize=01000000
  bi_flashoffset=00000000
spi_init_f finsihed
	 SFLASH_BAUDRATE = 30000000
	 CONFIG_SPI_FLASH_SLOW_READ yes
In:    serial
Out:   serial
Err:   serial
Net:   
*** amazon_s_sw_chip_init

switch chip id=0000ffff
init 8366 rb
 -The DATA=0x0
The DATA=0x1C
The DATA=0xC961
The DATA=0x1140
smi_init = 0
initChip verid = 0x3
rtl8366rb_initChip= 0
The 0x0=0x830    0
The 0x509=0x5937    0
rtl8368s_setAsicMacForceLink = 0   
rtl8366rb_setLedMode(2, null)=0
amazon_s Switch
board_init_r:
	 PID=YP5726
	 ethaddr=aa:bb:cc:dd:ee:ff
	 serialnumber=.............
	 pin=12345678

Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot:  3  0 
AMAZON_S # 

This is the output of uBoot via serial console (115200 baud) on a stock (i.e. yet unflashed) Netgear DGN3500B:

ROM VER: 1.1.3
CFG 05


U-Boot 1.1.5-2.4 (Oct  4 2010 - 11:56:12)

**checkboard **
Boot from SPI
AR9 BOARD
CLOCK CPU 333M RAM 166M
DRAM:  64 MB
spi_init_f finsihed
         SFLASH_BAUDRATE = 30000000
         CONFIG_SPI_FLASH_SLOW_READ yes

 relocate_code start
 relocate_code finish.
Flash: 16 MB
  bi_flashstart=00000000
  bi_flashsize=01000000
  bi_flashoffset=00000000
spi_init_f finsihed
         SFLASH_BAUDRATE = 30000000
         CONFIG_SPI_FLASH_SLOW_READ yes
In:    serial
Out:   serial
Err:   serial
Net:   
*** amazon_s_sw_chip_init

switch chip id=0000ffff
init 8366 rb
 -The DATA=0x0
The DATA=0x1C
The DATA=0xC961
The DATA=0x1140
smi_init = 0
initChip verid = 0x3
rtl8366rb_initChip= 0
The 0x0=0x830    0
The 0x509=0x5937    0
rtl8368s_setAsicMacForceLink = 0   
rtl8366rb_setLedMode(2, null)=0
amazon_s Switch
board_init_r:
         PID=YP5724
         ethaddr=aa:bb:cc:dd:ee:ff
         serialnumber=.............
         pin=12345678

Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot:  0
AMAZON_S # 

Some values in board_init_r have been blanked.

DGN3500 Environment

bootcmd=run flash_flash
bootdelay=3
baudrate=115200
preboot=echo;echo Type "run flash_nfs" to mount root filesystem over NFS;echo
ipaddr=192.168.1.1
serverip=192.168.1.15
netdev=eth0
baudrate=115200
rootpath=/opt/nfs
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath)
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):on
addmisc=setenv bootargs $(bootargs) console=ttyS1,$(baudrate) ethaddr=$(ethaddr) phym=$(mem) mem=$(mem) panic=1
flash_nfs=run nfsargs addip addmisc;bootm $(kernel_addr)
ramdisk_addr=B0100000
flash_self=run ramargs addip addmisc;bootm $(kernel_addr) $(ramdisk_addr)
img_uboot=u-boot.sflash
img_kernel=uImage
img_dslfw=firmware.img
img_fullimg=fullimage.img
img_rootfs=rootfs.img
net_nfs=tftp 80500000 $(img_kernel);run nfsargs addip addmisc;bootm
net_ram=tftp 80500000 $(img_kernel);run ramargs addip addmisc;bootm
load=tftp 80500000 $(img_uboot)
update=protect off 1:0-2;era 1:0-2;cp.b 80500000 0x0 $(filesize)
flashargs=setenv bootargs root=/dev/mtdblock0
update_uboot=tftpboot 80400000 $(img_uboot);eeprom write 80400000 0 $(filesize); run reset_uboot_config
update_kernel=tftpboot 80400000 $(img_kernel);upgrade 80400000 $(filesize)
update_rootfs=tftpboot 80400000 $(img_rootfs);upgrade 80400000 $(filesize)
update_firmware=tftpboot 80400000 $(img_dslfw);upgrade 80400000 $(filesize)
update_fullimage=tftpboot 80400000 $(img_fullimg);upgrade 80400000 $(filesize)
reset_uboot_config=mw 80400000 'FFFFFFFF' $(f_ubootconfig_size); eeprom write 80400000 $(f_ubootconfig_addr) $(f_ubootconfig_size); reset
reset_system_config=mw 80400000 'FFFFFFFF' $(f_sysconfig_size); eeprom write 80400000 $(f_sysconfig_addr) $(f_sysconfig_size)
part0_begin=0x00000000
part1_begin=0x00010000
part2_begin=0x00040000
total_part=3
flash_end=0x007FFFFF
data_block0=uboot
data_block2=rootfs
data_block3=kernel
data_block5=ubootconfig
total_db=9
f_uboot_addr=0x00000000
f_uboot_size=0
f_uboot_end=0x00010FFF
f_rootfs_addr=0x00180000
f_rootfs_size=0
f_rootfs_end=0x00180000
f_kernel_addr=0x00050000
f_kernel_size=0
f_ubootconfig_addr=0x00010000
f_ubootconfig_size=0x1000
f_calibration_addr=0x00010000
f_calibration_size=0x1000
ethact=amazon_s Switch
mem=64M
flash_flash=run flashargs addip addmisc; bootm $(kernel_addr)
kernel_addr=0x50000
mt_time=0
ethaddr=aa:bb:cc:dd:ee:ff
serialnumber=.............
pin=12345678
stdin=serial
stdout=serial
stderr=serial

Environment size: 2473/4092 bytes

DGN3500B Environment

bootcmd=run flash_flash
bootdelay=3
baudrate=115200
preboot=echo;echo Type "run flash_nfs" to mount root filesystem over NFS;echo
ipaddr=192.168.1.1
serverip=192.168.1.15
netdev=eth0
baudrate=115200
rootpath=/opt/nfs
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath)
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):on
addmisc=setenv bootargs $(bootargs) console=ttyS1,$(baudrate) ethaddr=$(ethaddr) phym=$(mem) mem=$(mem) panic=1
flash_nfs=run nfsargs addip addmisc;bootm $(kernel_addr)
ramdisk_addr=B0100000
flash_self=run ramargs addip addmisc;bootm $(kernel_addr) $(ramdisk_addr)
img_uboot=u-boot.sflash
img_kernel=uImage
img_dslfw=firmware.img
img_fullimg=fullimage.img
img_rootfs=rootfs.img
net_nfs=tftp 80500000 $(img_kernel);run nfsargs addip addmisc;bootm
net_ram=tftp 80500000 $(img_kernel);run ramargs addip addmisc;bootm
load=tftp 80500000 $(img_uboot)
update=protect off 1:0-2;era 1:0-2;cp.b 80500000 0x0 $(filesize)
flashargs=setenv bootargs root=/dev/mtdblock0
update_uboot=tftpboot 80400000 $(img_uboot);eeprom write 80400000 0 $(filesize); run reset_uboot_config
update_kernel=tftpboot 80400000 $(img_kernel);upgrade 80400000 $(filesize)
update_rootfs=tftpboot 80400000 $(img_rootfs);upgrade 80400000 $(filesize)
update_firmware=tftpboot 80400000 $(img_dslfw);upgrade 80400000 $(filesize)
update_fullimage=tftpboot 80400000 $(img_fullimg);upgrade 80400000 $(filesize)
reset_uboot_config=mw 80400000 'FFFFFFFF' $(f_ubootconfig_size); eeprom write 80400000 $(f_ubootconfig_addr) $(f_ubootconfig_size); reset
reset_system_config=mw 80400000 'FFFFFFFF' $(f_sysconfig_size); eeprom write 80400000 $(f_sysconfig_addr) $(f_sysconfig_size)
part0_begin=0x00000000
part1_begin=0x00010000
part2_begin=0x00040000
total_part=3
flash_end=0x007FFFFF
data_block0=uboot
data_block2=rootfs
data_block3=kernel
data_block5=ubootconfig
total_db=9
f_uboot_addr=0x00000000
f_uboot_size=0
f_uboot_end=0x00010FFF
f_rootfs_addr=0x00180000
f_rootfs_size=0
f_rootfs_end=0x00180000
f_kernel_addr=0x00050000
f_kernel_size=0
f_ubootconfig_addr=0x00010000
f_ubootconfig_size=0x1000
f_calibration_addr=0x00010000
f_calibration_size=0x1000
ethact=amazon_s Switch
mem=64M
flash_flash=run flashargs addip addmisc; bootm $(kernel_addr)
kernel_addr=0x50000
mt_time=0
ethaddr=aa:bb:cc:dd:ee:ff
serialnumber=.............
pin=12345678
stdin=serial
stdout=serial
stderr=serial

Environment size: 2473/4092 bytes

As above, some values have been blanked.