$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$ SMDK2440A WinCE 5.0 BSP Release Notes $$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

******************************************************************************
* 2005.07.25  SMDK2440A_WCE500_BSP_20050725 BSP Release                      *
******************************************************************************
This version was tested on WinCE 5.0 build number.

1. Beta version was released and made by Co-Asia.
   This BSP consists with PQOAL structure.
 

******************************************************************************
* 2006.01.24  SMDK2440A_WinCE50_BSP_B1400_1.060124PQ BSP Release             *
******************************************************************************

1. Camera Driver was supported.


******************************************************************************
* 2006.02.16  SMDK2440A_WinCE50_BSP_B1400_1.060216 BSP Release               *
******************************************************************************

1. Folder structure with PQOAL(Production Quality OAL) is changed to non-PQOAL structure
   for supporting the convenience of BSP's development.
   If you have previous BSP(with PQOAL structure) already,
   you have to recover 'makefile' file in /WINCE500/PUBLIC/COMMON/CESYSGEN/makefile to original file.
   If you didn't backup the file, refer the original makefile in this folder(/SMDK2440A/Doc, file name is makefile)

2. The start address of kernel is changed to 0x30200000 from 0x32001000.
   This start address is commonly used on WinCE 4.2 and Magneto.

3. MS NAND solution is supported by auto-mount.

4. RTC's bug about setting date and day was fixed.


******************************************************************************
* 2006.02.24  SMDK2440A_WinCE50_BSP_B1400_1.060224 BSP Release               *
******************************************************************************

1. It was fixed that the 2nd argument of VirtualFree function has been wrong in source code.

******************************************************************************
* 2006.03.06  SMDK2440A_WinCE50_BSP_B1400_1.060306 BSP Release               *
******************************************************************************

1. cf_atapi: 2440 CF HDD solution, alpha version just added. pcc_smdk2440.reg was commentted for avoiding conflict. 
  reading/writing/formatting are tested and a simple application was used for fast reading test.

******************************************************************************
* 2006.03.11  SMDK2440A_WinCE50_BSP_B1400_1.060311 BSP Release               *
******************************************************************************

1. USB download function is added in eboot.
   (Use the new dnw, 0.50J version)

******************************************************************************
* 2006.03.20  SMDK2440A_WinCE50_BSP_B1400_1.060320 BSP Release               *
******************************************************************************

1. FMD driver supports NAND flash memory with both small block and large block.
   FMD driver's source and step-loader is changed to support both small block and large block.

******************************************************************************
* 2006.03.23  SMDK2440A_WinCE50_BSP_B1400_1.060323 BSP Release               *
******************************************************************************

1. AtapiRomi: 
	- 2440 CF HDD Solution doesn't use atapi_cf anymore but use atapi. 
    - atapi library(DLL) is included in PUBLIC\COMMON\OAK\DRIVERS\BLOCK\ATAPI 
      with new class atapiRomi(rom interface). 
	- Interrupt mode supported with Registry value "InterruptDriven"
   
******************************************************************************
* 2006.04.05  SMDK2440A_WinCE50_BSP_B1400_1.060405 BSP Release               *
******************************************************************************

1. Audio driver(wavedev folder) is updated.
   The original driver had the problem that didn't control stereo sound.
   Driver did not coltrol the left-side data and the right-side data exactly, so we heard the random-side stereo sound.
   For example, only right-side sound was heard at both right and left side also.
   This bug was fixed.

2. The sequence of software reset is changed.
   When the system is resetted with software,
    previous sequence has been this, O/S --(Reset)--> Stepldr --> Eboot --> O/S.
   but now is changed to this, O/S --(Reset)--> Stepldr --> O/S.

******************************************************************************
* 2006.04.05  SMDK2440A_WinCE50_BSP_B1400_1.060405_2 BSP Release             *
******************************************************************************

1. AtapiRomi:
    - changed to Built-in Drive
    - atapi_cf_loader folder removed 
    - s/w power on/off added using GPG3
    - atapiRomipm(power management module for atapiRomi) added
	
******************************************************************************
* 2006.04.21  SMDK2440A_WinCE50_BSP_B1400_1.060421 BSP Release             *
******************************************************************************

1. The USB Mass Storage Function driver was implemented.
   The USB driver was updated to support the USB Mass Storage Function.
   And, the usbmsfn.dll was added in the files folder.
   So, it can support both the Serial and the Mass Storage Function Class.
   

******************************************************************************
* 2006.04.24  SMDK2440A_WinCE50_BSP_B1400_1.060424 BSP Release               *
******************************************************************************

1. Delete additional frame buffer cleaning routine entering suspend mode.


******************************************************************************
* 2006.05.03  SMDK2440A_WinCE50_BSP_B1400_1.060503 BSP Release               *
******************************************************************************

1. Workround is added to avoid the [SUSPEND-RESUME,ACTIVESYNC TOGGLE] problem.

******************************************************************************
* 2006.06.30  SMDK2440A_WinCE50_BSP_B1400_1.060630 BSP Release               *
******************************************************************************

Modified code in sc2440pdd.cpp (using 060421version)
(060503version has ActiveSync togle issue, when USB cable plug and unplug.)

1. modifed code [SUSPEND-RESUME,ACTIVESYNC TOGGLE issue]

2. Added code to detect USB cable detach.
   When USB cable is detached in MSF, Unmounted memory issue is resolved.

******************************************************************************
* 2006.07.08  SMDK2440A_WinCE50_BSP_B1400_1.060708 BSP Release               *
******************************************************************************

1. The bug of audio on power mode is fixed.
   The problem is that the system hangs up after sleep -> wakeup operations when audio files is running.

2. The power button driver is changed using SetSystemPowerState function.

3. When power mode is changed in MSF (SUSPEND->RESEUME->SUSPEND), Host PC was not detect storage issue is resolved.

******************************************************************************
* 2006.07.11  SMDK2440A_WinCE50_BSP_B1400_1.060711 BSP Release               *
******************************************************************************

1. The bug about disabling asyncbus mode in eboot(startup.s, util.s) is fixed.

******************************************************************************
* 2006.07.24  SMDK2440A_WinCE50_BSP_B1400_1.060724 BSP Release               *
******************************************************************************

1. Timer function is changed. Bug fix.

******************************************************************************
* 2006.08.01  SMDK2440A_WinCE50_BSP_B1400_1.060801 BSP Release               *
******************************************************************************

1. AC97 Audio Driver added. But IIS is set to a default audio driver. 
To use AC97, set BSP_AUDIO_AC97 = 1

******************************************************************************
* 2006.08.16  SMDK2440A_WinCE50_BSP_B1400_1.060816 BSP Release               *
******************************************************************************

1. The problem that touch screen is not working after booting using UBOOT is solved with work-around.

2. The problem about touch operation is fixed.

3. The fault about initializing LCD on both Eboot and OAL is fixed.
   There is invalid value for LCDCON1 register.

******************************************************************************
* 2006.08.24  SMDK2440A_WinCE50_BSP_B1400_1.060824 BSP Release               *
******************************************************************************

1. Direct3D Mobile solution is avaliable. If you reqires, please contact us.

2. Add DDCAPS2_WIDESURFACES capability to DirectDraw display driver.

3. Change source code which represent FrameBuffer address from numeric constant to symbolic constant.

4. Change IMAGE_SHARE_ARGS_UA_START value as implemented in boot.bib.

******************************************************************************
* 2006.09.07  SMDK2440A_WinCE50_BSP_B1400_1.060907 BSP Release               *
******************************************************************************

1. DVS scheme is applied.
   If you use DVS, you have to set BSP_USEDVS to 1 in smdk2440a.bat file.
     ( set BSP_USEDVS=1 )

******************************************************************************
* 2006.09.08  SMDK2440A_WinCE50_BSP_B1400_1.060908 BSP Release               *
******************************************************************************

1. UBOOT DMA channel is changed from 2 to 3. So USB End Point is also changed 
   from 3 to 4.

2. USB Disconnect/Reconnect Code is inserted for EndPoint Reconfiguration on PC
   It is implemented with GPG12 that control D+ pin of USB connector, It may not work, if there is no circuit that multiplex reset signal and GPG12 signal to D+ pin.

3. IRQ stack setup code is added in EBOOT's startup.s for USB connection from NAND boot.
		Some explicit initialization code is added in startup.s that is related with MMU and cache.

4. USB.c splits into usb.c, usb.h, and usbcfg.h

5. An explicit delay code is added in the EP4Handler function.
	  It prevents the image from corruption on USB download

******************************************************************************
* 2006.09.11  SMDK2440A_WinCE50_BSP_B1400_1.060911 BSP Release               *
******************************************************************************

1. The function of initializing Timer after wake-up is updated to InitTimer().
   The function of initializing NAND controller after wake-up is added to NANDInit().

******************************************************************************
* 2006.09.18  SMDK2440A_WinCE50_BSP_B1400_1.060918 BSP Release               *
******************************************************************************

1. The notation in Eboot is only changed to STEPLDR_xxx from NBOOT_xxx.

2. The build error for DVS_METHOD=2 is fixed.

3. In touch driver the mean value for Y position on touch screen is added.

******************************************************************************
* 2006.10.09  SMDK2440A_WinCE50_BSP_B1400_1.061009 BSP Release               *
******************************************************************************

1. The RTC information for initialization is added.
     the variable is defst in /Src/Common/Rtc/rtc.c.


*
*
*
*
*
***********
*** Files
***********
1. platform.bib
   add dm9000.dll
2. config.bib
   change nk.nb0 size from 01400000 to 01e00000
3. platform.reg
   include dm9000.reg file.
   hive & storage.

***********
*** Eboot
***********
1. change upll&mpll value in the src/bootloader/eboot/startup.s
2. change usb D+ pull-up io from   to  in the usb.c
3. nand.cpp.
4. Dcache should be close.
5. SDRAM CL value should be =3.


***********
*** OAL
***********
1. change upll&mpll value in the src/kernel/oal/startup.s.
2. xstal define 12M instead of 16M in the file /src/inc/bsp_cfg.h
3. add dm9000 io setup.

***********
*** DRIVER
***********
1. usb device driver. 
   change D+ pull-up io

2. serial driver. 
   add COM2, COM3.

3. sdhc driver. 
   Add SD2.0 spec support in the file src/drivers/sdhc/sdhcbase/sdiocontrollerbase.cpp.

**************
*** common
***********
1. add heartbeat led display function support in the file intr.c




