Skip to content

ADVANTECH-Corp/WISE-3200

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

You can generate the WISE-3200 image and upgrade the firmware by following these steps.

Get BSP

Obtain the BSP in your Ubuntu environment.

$ cd /home/{user}/share
$ git clone https://github.com/ADVANTECH-Corp/WISE-3200

Docker Environment & Setting

Install the Docker engine on the host to set up the cross-compiler environment

Please refer to Docker Installation Guide for details

Pull docker image from Docker Hub

$ sudo docker pull advrisc/u14.04-4531obv1

Docker command with share folder in user /home/{user}/share

$ sudo docker run --name wise3200 -v  /home/{user}/share:/home/share -it advrisc/u14.04-4531obv1 /bin/bash
$ cd /home/share/WISE-3200

Compile

$ sudo -s
$ ./build.sh

Images

You can get the images in WISE-3200/images/ folder.

These images are for WISE-3200.

  • Kernel:
  • vmlinux.lzma.uImage
  • OpenWRT rootfs:
  • cus531-nand-jffs2
  • System upgrade image:
  • wise-3200-sysupgrade.bin

Firmware Update

There are two ways to flash the image: one is through the LuCI web interface, and the other is via TFTP.

Method 1:

Use wise-3240-sysupgrade.bin file and upgrade firmware reference link as follow

LuCI web flash image

Method 2:

[Kernel & Rootfs] It can be flashed via TFTP.

  1. Put the images into your TFTP
  • Kernel : vmlinux.lzma.uImage
  • Rootfs : cus531-nand-jffs2
  1. Power on WISE-3200 and stop autoboot
sc = 0x87ff7170 page = 0x800 block = 0x20000
Setting 0x181162c0 to 0x1429a100
Hit any key to stop autoboot:  0
ath>
  1. Set IP address for TFTP & device. For example, my TFTP server is 192.168.0.1, and I set the device as 192.168.0.2.
ath> setenv ipaddr 192.168.0.2
ath> setenv serverip 192.168.0.1
ath> saveenv
Saving Environment to Flash...
Protect off 9F040000 ... 9F04FFFF
Un-Protecting sectors 4..4 in bank 1
Un-Protected 1 sectors
Erasing Flash...Erasing flash...
First 0x4 last 0x4 sector size 0x10000                                                            4
Erased 1 sectors
Writing to Flash... write addr: 9f040000
done
Protecting sectors 4..4 in bank 1
Protected 1 sectors
  1. Flash the device & boot
ath> run lk lf && boot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published