Tuesday, March 18, 2008

How to build AR680 image

1. Untar ar680w package
tar xvfz ar680w_v1.00_gpl.070802.tgz
2. cd ar680
Run ./build_tool_chain
3. Edit setupenv
change arm crosstool path to /localhome/wli/ar680/crosstol/....
4. make
5. make
6. After build sucessfully, here is the message..
WRG-N15 make F/W image (release image)!
boundary: 0x10000 (64K)
output: raw.img
input(0): kernel.img
input(1): rootfs.img
Opening file (0): kernel.img ...
Input File ------ size : 0x000c2084 (794756)
Add IN File ----- size : 0x000c2084 (794756)
Opening file (1): rootfs.img ...
Input File ------ size : 0x001af000 (1765376)
Output File ----- size : 0x000c2084 (794756)
Output Pack To -- size : 0x000d0000 (851968)
Tags Added ------ size : 0x000d0028 (852008)
Add IN File ----- size : 0x0027f028 (2617384)
packimgs exit with code 0.
Create a new image file web.img
image header ----------------------------------------
signature : [wrgn15_airlink_ar680w]
magic : 0x20040220
-----------------------------------------------------
input image file ------------------------------------
file length : 2617384 (0x27f028)
file peek : 5d00008000508a210000000000000062
digest : 8359a62ad10c0c8930c360fa8283f3a9
-----------------------------------------------------
v2 image block header -------------------------------
Little endian image !
magic : 0x20040220
size : 2617384 (0x27f028)
offset : 0 (0x0)
devname : /dev/mtdblock/1
digest : 8359a62ad10c0c8930c360fa8283f3a9
-----------------------------------------------------
-----------------------------------------------------
Image file : ar680w_v1.00_83id.bin
Signature : wrgn15_airlink_ar680w
Build number : 83id
-----------------------------------------------------
-rw-rw-r-- 1 wli wli 2617496 Mar 18 13:44 images/ar680w_v1.00_83id.bin

No comments: