                       Manually_Configuration_Flash_Layout- v1.0
		-------------------------------------------------------
			
Introduction
============
    This document will lead you how to adjust the offset of hardware setting, default setting, current setting, webpage image, linux kernel image and AP rootfs image from kernel menuconfig.
	

Step
====
    1. At linux-2.4.18, copy the default conifg as .config
    2. Type 'make menuconfig'
    3. entry 'Machine selection' --> 'Flash Size and Offset configuration' -->
    4. Adjust the offset you want. Below is our flash layout and default offset.
	-------------0xbfc0_0000
	| boot      |	24K
	|-----------|0xbfc0_6000
	| HW	    |	8K
	| Setting   |
	|-----------|0xbfc0_8000
	| Default   |	16K
	| Setting   |
	|-----------|0xbfc0_C000
	| Current   |	16K
	| Setting   |
	|-----------|0xbfc0_10000
	| Web page  |	128K
	|-----------|0xbfc0_30000
	| Linux	    |	704K
	|-----------|0xbfc0_E0000
	| Root	    |	1152K
	-------------
	
    5. exit and save
    6. Type 'make clean' in linux2.4.18 and AP.
    7. Rebuild the kernel image and rootfs image.
	
Note
====
    * For SPI flash layout, the increase address offset must be 4K in hardware setting, default setting, current setting, webpage image, linux kernel image. The increase address offset must be 64K in AP rootfs image.
    
    * After device bootup, the bootcode will scan signature of kernel image and rootfs image than check checksum on default range, you can change the default range in bootcode/menuconfig/.
    
    * The offset of configuration setting changed may cause the whole settings become program-default settings.
	
	
