When Using a USB, what is the WB45 Ethernet/ Wi-Fi Bridge Mode Firmware Upgrade Procedure?
After storing the files in USB storage, plug the USB storage into the USB port on the WB45 breakout board
Type the following commands to upgrade via the USB interface:
Summit Data Communications
summit login: root
Password:
#
#
# /etc/init.d/opt/S91g_ether stop
Disabling USB gadget ethernet
# /etc/init.d/opt/S37usbhost start
Enabling USB host-mode for Mass Storage
# sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
# cd /media/usb0/
# cd wb45n-laird_fips-3.4.1.106/
# ls
bootstrap.bin fw_select kernel.bin u-boot.bin
fw.txt fw_update rootfs.bin
# ./fw_update
Accessing images via locally attached media.
# wb45nbt update
Checking Bootstrap Loader...OK
Updating bootstrap from local... à Choose Yes
/media/usb0/wb45n-laird_fips-3.4.1.106/bootstrap.bin
erasing, writing...(0s) OK
Checking U-Boot Loader... OK
Updating bootloader from local... à Choose Yes
/media/usb0/wb45n-laird_fips-3.4.1.106/u-boot.bin
erasing, writing...(0s) OK
Checking Linux Kernel...
Updating kernel-a from local... à Choose Yes
/media/usb0/wb45n-laird_fips-3.4.1.106/kernel.bin
erasing, writing...(1s) OK
Checking Root Filesystem...
Updating rootfs-a from local... à Choose No
/media/usb0/wb45n-laird_fips-3.4.1.106/rootfs.bin
erasing, writing...(12s) OK
Sync'ing updated_% at91bs=x u_boot=x kernel=a rootfs=a
Done.
fw_select v20130313
Stopping LigHTTPd
Stopping inetd services.
Stopping network interfaces... wl eth0 lo
Stopping system message bus: done
Saving random seed... done
Stopping execution of events, via udev...
Stopping logging services: syslogd klogd
The system is going down NOW!
Sent SIGTERM to all processes
RomBOOTGKILL tRestarting system.
ba_offset = 0xb ...
Loading 1-Wire info...
Enumerate all roms:
Done, 0x0 1-wire chips found!
sn: 0x0; rev: 0x0
AT91Bootstrap 3.4.4-laird2 ( Mon Apr 14 12:50:28 EDT 2014 )
Downloading image...
Nand: ONFI not supported
NAND device: NAND 128MiB 1,8V 8-bit, Manufacturer ID: 0x0 Chip ID: 0xa1
Nand: Copy 0x80000 bytes from 0x20000 to 0x23f00000
Done!
U-Boot 2013.01-laird2 (Apr 14 2014 - 12:50:30)
CPU: AT91SAM9G25
Crystal frequency: 12 MHz
CPU clock : 400 MHz
Master clock : 133.333 MHz
DRAM: 64 MiB
WARNING: Caches not enabled
NAND: 128 MiB
MMC: mci: 0
In: serial
Out: serial
Err: serial
Net: macb0
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0xe0000, size 0x280000
2621440 bytes read: OK
## Booting kernel from Legacy Image at 22000000 ...
Image Name: Linux-3.8.0-laird15
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2150254 Bytes = 2.1 MiB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
gluebi (pid 1): gluebi_resized: got update notification for unknown UBI device 0 volume 0
Starting logging services: syslogd klogd
Starting udev daemon, populating /dev
Initializing random number generator... done
Checking platform... wb45n-laird_fips-3.4.1.106
updated bootstrap: (-?-)
updated u-boot: (-?-)
updated kernel-a (95fbed43d075ff3050e7e5bb00e632cb)
updated rootfs-a (b4645e745a88e3cdf68b2749efecbd83)
Starting system message bus: done
Starting network interfaces... lo eth0 wl usb0
Starting inetd services...
tftp is setting up...
ssh is setting up...
ftp is setting up...
Starting LigHTTPd
Summit Data Communications
summit login: