XG2000 development environment

xiaoxiao2021-03-06  98

VMware

The xg2000f is used by the Linux platform, but VMware can be installed on Windows, then I can irrill Linux in VMware. VMware latest S / N: R2RW8-H2GAP-W0042-4HMT0

For convenience development, you can start the SMB service under Linux.

2. Development Environment Configuration

2.1 Install Compilation Tool

2.1.1> tar xzvf uclinux_tool_chain_sources_1-6-0-0.tar.gz

2.1.2> CD Tools

2.1.3> ./ make-tools.sh

2.2 Install Source

2.2.1> MKDIR APDK; CD APDK

2.2.2> TAR XzVF Source

2.2.3> Export Rockbase = / XG2000F / SRC / Software / Firmware / Uclinux

2.3 Build Firmware

Auto Build: (Source After 2003-11-30)

1> Add develop path variable in src / makeimage.sh

Export de = `pwd` / ..

EXPORT DEVEL = `PWD` / ..

2>

Run src / makeimage.sh [build] [brand]

Manual Build:

Build Main Firmware

1> CD / XG2000F / SRC / Software / Firmware / Uclinux

2> Make Clean

3> CD / XG2000F / SRC / Software / Firmware / Uclinux / kernel

4> Make Clean

5> Make Mrproper

6> Make MenuConfig (no need to change after entering, save exit)

7> Make Dep

8> CD / XG2000F / SRC / Software / Firmware / APFW

9> Make Clean

10> make Image build = formal brand = FSC (eg FSC, NB, SIT)

Build Web Firmware

1> CD / XG2000F / SRC / Software / Firmware / WebFileSet

2> Make Clean

3> Make All

BRAND = fsc build = formal

2.5 UPLOAD FIRMware and Web Image

Linux:

1 in Recovery mode)

Open the XG2000F power supply, then enter Reset 10s to enter Recovery mode

> TFTP 192.0.2.93

> bin

> PUT (Your IMG)

2 after the AP starts UPLOAD

> TFTP (Your XG2000F IP Address)

> bin

> PUT (Your Img) (Your Img) (Your Password, Eg.Private Connect)

3 UPLOAD WEB

> TFTP (Your XG2000F IP Address)

> bin

> PUT (Web Img) (Your Password, Eg.Private Connect)

Windows:

> TFTP -I 192.168.1.254 Put XX.IMG

3. Super terminal configuration

Rate 11520, hardware: no

Cross serial line, red line opponent hole

4. Configure NFS

1. Start NFS services on Linux Server.

2. Directory added to the / etc / exports file: / (NetWork ID) / (Subnet Mask) [()]

EG: / NB 192.168.1.0/255.255.255.0 ()

Behind the Subnet Mask in Linux () must be added (), which is not required in VMware.

3. Directory on the Mount in the Super Terminal

Mount -T NFS -O NOLOCK (Linux Server IP): / (mount dir) / usr / www / html

5. Clear all of FLASH (Don't touch me)

1. Press DEFAULT button until the password prompt appears.

2. Enter Password: Stoor Hem Niet, Hij Eet Zijn Gierst

3. Enter clear command: ERASE 08010000 3e0000 ------ Router

ERASE 08010000 1e0000 ------ AP

Manual evoke L2TP service

1. Use the hyper terminal to connect to the AP.

2. Enter: CD iGateway in Console

3. Run the shell script: sh iGateway.sh

6. Customize

FV6.7.2:

$ (Rockbase) /Apps-GPL/BOA/BOA.CONF. (Your Brand, EG, FSC NB)

$ (Rockbase) / Apps-GPL / BOA / MAKEFILE. (Your Brand, EG, FSC NB)

$ (Rockbase) /Apps-non-gpl/datastore/etc/regulatory.conf. (Your Brand, EG, FSC NB)

$ (Rockbase) /apps-non-gpl/datastore/etc/defaults/datastore.dat. (Your Brand, EG, FSC NB)

Modify $ (RockBase) /kernel/net/bridge/br_input.c below the following variables

Unsigned char manufacturename [] = "Fujitsu-Siemens Computer GmbH";

Unsigned char productname [] = "Connect2air WLAN AP AP AP AP AP AP AP AP AP AP AP AP AP AP AP AP

Unsigned char model [] = "AP-600RP-USB";

Fv2003-11-30:

1. Modify the startup configuration file Startup.list

/ B2U3 / Software / Firmware / APFW / Makefile

IFEQ ($ (BRAND), SIT)

Cp -f ../uclinux/etc/startup.list.sit ../uclinux/romfs/etc/startup.list

ENDIF

2. Add the OEM of the web interface

/ B2U3 / Software / Firmware / WebFileSet / Makefile

3. Modify the DataStore file

/ B2U3 / Software / Firmware / Uclinux / Apps-non-GPL / Datastore / Makefile

IFEQ ($ (BRAND), FSC)

CP etc / defaults / datastore.dat.fsc $ (rockbase) /romfs/etc/defaults/datastore.dat

CP etc / regulatory.conf.nb $ (rockbase) /romfs/etc/regulatory.conf

ENDIF

4. Modify the web server configuration file

/ B2U3 / Software / Firmware / Uclinux / Apps-GPL / BOA / MAKEFILEQ ($ (BRAND), FSC)

Cat Boa.conf.fsc | grep -v "^ #" | GREP -V "^ $$"> $ (Rockbase) /Romfs/etc/boa.conf

ENDIF

5. Select the compiled Firmware (XG2000F Router or XG1100 AP)

Macro in SRC / MakeImage.sh

DeviceType = AP; ROUTER

Source Macro Zcom_ap

UClinux / kernel / drivers / net / intersil / islmvc_dev.c

7. Modify USB Printer Task

XG2000F USB Task

Macro in SRC / MakeImage.sh

Haveusb = no

Start List file uclinux / etc / startup.list.xxx

USBSTK; USB Task

PRINTER Server Task

8. Modify L2TP, DDNS

Start Up in uclinux / etc / startup.list.xxx

Source in igateway

9. Firmware file storage path

f / w APFW / *. IMG

Web webfileeet / *. IMG

Combine apfw_package / *. IMG

转载请注明原文地址:https://www.9cbs.com/read-126346.html

New Post(0)