gm8126 sdk change log v1.1/gm8126_sdk_change...module/dvr/dvr_graph.c ... the linklist pool empty...
TRANSCRIPT
GM8126
SDK CHANGE LOG Change Log Rev.: v1.0 Issue Date: Jan. 2011
DOCUMENT REVISION HISTORY
GM8126 SDK Change Log
Date Rev. From To
Oct. 2010 0.1
Jan. 2011 v1.0
Jun. 2011 V1.1
Copyright © 2010 Grain Media, Inc.
All Rights Reserved.
Printed in Taiwan 2010
Grain Media and the Grain Media Logo are trademarks of Grain Media, Inc. in Taiwan and/or other countries.Other company, product and service names may be trademarks or service marks of others.
All information contained in this document is subject to change without notice. The products described in this document are NOT intended for use in implantation or other life support application where malfunction may result in injury or death to persons. The information contained in this document does not affect or change Grain Media’s product specification or warranties. Nothing in this document shall operate as an express or implied license or indemnity under the intellectual property rights of Grain Media or third parties. All information contained in this document was obtained in specific environments, and is presented as an illustration. The results obtained in other operating environments may vary.
THE INFORMATION CONTAINED IN THIS DOCUMENT IS PROVIDED ON AN “AS IS” BASIS. In no event will Grain Media be liable for damages arising directly or indirectly from any use of the information contained in this document.
Grain Media, Inc.5F, No. 5, Li-Hsin Road III, Hsinchu Science Park, Hsinchu City, Taiwan 300, R.O.C. Grain Media's home page can be found at:http://www.grain-media.com
GM8126 SDK Change Log
www.grain-media.com
i
TABLE OF CONTENTS
Chapter 1 Change Log V0.1 .................................................................................................................. 1 1.1 NonOS Change Log................................................................................................... 2 1.2 Linux Kernel Change Log........................................................................................... 2 1.3 Linux Module Change Log ......................................................................................... 3
Chapter 2 Change Log v1.0................................................................................................................... 4 2.1 NonOS Change Log................................................................................................... 5 2.2 Linux Kernel Change Log........................................................................................... 5 2.3 Linux Module Change Log ......................................................................................... 7
Chapter 3 Change Log v1.1................................................................................................................... 9 3.1 NonOS Change Log................................................................................................. 10 3.2 U-Boot Change Log.................................................................................................. 11 3.3 Linux Kernel Change Log......................................................................................... 11 3.4 Linux Module Change Log ....................................................................................... 13
GM8126 SDK Change Log
www.grain-media.com
1
Chapter 1 Change Log V0.1
This chapter contains the following sections:
• 1.1 NonOS Change Log
• 1.2 Linux Kernel Change Log
• 1.3 Linux Module Change Log
GM8126 SDK Change Log
www.grain-media.com
2
1.1 NonOS Change Log
Category Related Files Features/Issues to be Updated
Record not include rename issue
First release Burn-in
1.2 Linux Kernel Change Log
Category Related Files Features/Issues to be Updated
Record not include rename issue
Linux First release linux2.6.28
GM8126 SDK Change Log
www.grain-media.com
3
1.3 Linux Module Change Log
Category Related Files Features/issues to be updated
Record not include rename issue
GM8126 SDK Change Log
www.grain-media.com
4
Chapter 2 Change Log v1.0
This chapter contains the following sections:
• 2.1 NonOS Change Log
• 2.2 Linux Kernel Change Log
• 2.3 Linux Module Change Log
GM8126 SDK Change Log
www.grain-media.com
5
2.1 NonOS Change Log
Category Related Files Features/Issues to be Updated
Record not include rename issue
First release for MP Chip Burn-in
2.2 Linux Kernel Change Log
Category Related Files Features/Issues to be Updated
Record not include rename issue
general linux-2.6.28-fa/arch/arm/mach-GM/include/mach/platform-GM8126/system.h Fixed system reboot function
linux-2.6.28-fa/arch/arm/mach-GM/Makefile
linux-2.6.28-fa/arch/arm/mach-GM/Kconfig
linux-2.6.28-fa/arch/arm/mach-GM/memory.c
linux-2.6.28-fa/arch/arm/mach-GM/platform-GM8126/platform.c
linux-2.6.28-fa/arch/arm/mach-GM/include/mach/fmem.h
linux-2.6.28-fa/arch/arm/mach-GM/include/mach/memory.h
linux-2.6.28-fa/arch/arm/mach-GM/fmem.c
linux-2.6.28-fa/arch/arm/mach-GM/include/mach/platform-GM8126/memory.h
Modify High Memory Mechanism
linux-2.6.28-fa/arch/arm/mach-GM/platform-GM8126/pmu.c for MP chip PMU PLL1 clock
linux-2.6.28-fa/arch/arm/mach-GM/ahb_dma.c Fixed DMA ISR error
linux-2.6.28-fa/arch/arm /configs/GM8126_USB_to_Ethernet_defconfig For USB to Ethernet memuconfig:
1. billionton USB 10 /100 (RTL8150): 2. billionton USB 2.0 10/100:
linux-2.6.28-fa/arch/arm/mach-GM/ftpmu010.c
linux-2.6.28-fa\arch\arm\mach-GM\include\mach\ftpmu010.h
add check lockbits function
linux-2.6.28-fa\arch\arm\mach-GM\include\mach\platform-GM8126\memory.h HIGH memory size adapt to 80 Mbytes
AHB linux-2.6.28-fa/arch/arm/mach-GM/ahb_dma.c For AHB DMA new
GM8126 SDK Change Log
www.grain-media.com
6
linux-2.6.28-fa/arch/arm/mach-GM/include/mach/ahb_dma.h function and fix DMA address calculation issue
UART linux-2.6.28-fa /drivers/serial/8250.c
linux-2.6.28-fa/arch/arm/mach-GM/include/mach/platform-GM8126/serial.h
UART pmu pinmux init for MP Chip
MTD linux-2.6.28-fa/drivers/mtd/devices/winbond.c
linux-2.6.28-fa/drivers/mtd/nand/Kconfig
linux-2.6.28-fa/drivers/mtd/nand/ftnandc023v2_nand.c
linux-2.6.28-fa/drivers/mtd/nand/ftnandc023v2_nand.h
linux-2.6.28-fa/drivers/mtd/nand/platform.c
Support nand023 v2.0
modify pinmux with SD
USB linux-2.6.28-fa/drivers/usb/core/Makefile
linux-2.6.28-fa/drivers/usb/core/fotg2xx-hub.c
linux-2.6.28-fa/drivers/usb/host/Makefile
linux-2.6.28-fa/drivers/usb/host/ehci-fotg2xx.c
linux-2.6.28-fa/drivers/usb/host/fotg2xx-config.h
linux-2.6.28-fa/drivers/usb/host/fotg2xx-ehci-hub.c
linux-2.6.28-fa/drivers/usb/host/fotg2xx-ehci-macro.h
linux-2.6.28-fa/drivers/usb/host/fotg2xx-ehci-q.c
linux-2.6.28-fa/drivers/usb/host/fotg2xx-ehci_def.h
linux-2.6.28-fa/drivers/usb/host/fotg2xx.h
linux-2.6.28-fa/drivers/usb/host/fotg2xx_opt-macro.h
linux-2.6.28-fa/drivers/usb/host/fotg2xx_opt.c
Fixed ehci wdt triggered by ehci->stamp due to control transfer used by Ralink's vendor requests
FS linux-2.6.28-fa/fs/proc/meminfo.c Fixed memory size information is not correct.
GM8126 SDK Change Log
www.grain-media.com
7
2.3 Linux Module Change Log
Category Related Files Features/issues to be updated
Record not include rename issue
LCD200 flcd200-common.ko
flcd200-pip.ko
1. remove workaround for divisor
2.
SD_MMC module/SD_MMC/sdhci-ftsdc010.c
module/SD_MMC/sdhci010.c
module/SD_MMC/sdhci010.h
1. add pmu lock for NAND flash
SSP_ALSA module/SSP_ALSA/codec/Makefile
module/SSP_ALSA/codec/adda300.c
module/SSP_ALSA/codec/adda300.h
module/SSP_ALSA/codec/fi2s-adda300-c0.c
module/SSP_ALSA/codec/fi2s-adda300-c1.c
module/SSP_ALSA/unittest/bypass_std/bypassAP_std.c
1. fix 8126 MP version setting
2. add mic_ipga proc and module parameter
3. fine tune adda300 sampling rate
4. make 44.1KHz, 48KHz workable with adda300 master and ssp2 for tx, rx
5. let sampling rate configurable
DVR module/dvr/dataout_entity.c
module/dvr/dataout_entity.h
module/dvr/dvr_graph.c
module/dvr/dvr_graph.h
module/dvr/dvr_mod_define.h
module/dvr/enc_main.c
module/dvr/enc_main.h
module/dvr/mcp100_process.c
module/dvr/mcp210_process.c
module/dvr/util_cfg.h
1. for new architecture 8 sub-bitstream
2. fixed mpeg4 GOP update function
ftmcp100 fmcp_drv.ko
fmjpeg_drv.ko
fmpeg4_drv.ko
1. add IFP for ip-interval
2. fixed mjpeg over night hang issue
ftmcp200_v4 favc_common.ko
favc_drv.ko
1. Support ROI start position may not align at 16 pixels
vcap200_v3 fcap_common.ko
fcap0.ko
1. 1. Strong the miss frame done
error handle procedure to prevent
GM8126 SDK Change Log
www.grain-media.com
8
Category Related Files Features/issues to be updated
fcap1.ko
fcap200_isp.ko
fcap200_mt9d131.ko
fcap200_ov10630.ko
fcap200_ov7740.ko
fcap200_poa030d.ko
fcap200_tw9910.ko
the linklist pool empty problem.
2. Fix the device may not work
problem after device soft reset if
SWC source select from another
video group by local video bus.
3. Add TechWell TW9910 decoder
support
4. Add OmniVision OV7740 sensor
support.
5. Add PixelPlus POA030D sensor
support.
6. Add OmniVision OV10630
sensor support.
GM8126 SDK Change Log
www.grain-media.com
9
Chapter 3 Change Log v1.1
GM8126 SDK Change Log
www.grain-media.com
10
3.1 NonOS Change Log
Category Related Files Features/Issues to be Updated
GM8126_NonOS/fLib/source/Board/Boot.s Clear garbage
GM8126_NonOS/fLib/source/Misc/mm.c Fix align issue
GM8126_NonOS/burnin/code/nand/nand023_drv.c
GM8126_NonOS/burnin/code/nand/nand023.h
GM8126_NonOS/burnin/code/nand/nand.h
GM8126_NonOS/burnin/code/nand/nand.c
Fix nand alloc page size not enough issue
add program and erase function
GM8126_NonOS/burnin/code/nand/spi_flash.c fix SPI flash write busy issue
GM8126_NonOS/burnin/code/LCD/flcd.c set LCD color bar
Burn-in
GM8126_NonOS/burnin/code/00_main/00_main.c Tune mA for SD and SPI
Fix memory overlap issue
Fix get cache mode issue
add nand program and erase function
GM8126 SDK Change Log
www.grain-media.com
11
3.2 U-Boot Change Log
Category Related Files Features/Issues to be Updated
u-boot-2008.10/drivers/i2c/Makefile u-boot-2008.10/drivers/i2c/gm_i2c.c u-boot-2008.10/include/asm-arm/u-boot-arm.h u-boot-2008.10/include/configs/gm8126.h u-boot-2008.10/board/gm8126/gm8126.c
Add I2C function
u-boot-2008.10/tools/env/fw_env.c
u-boot-2008.10/tools/env/fw_env.config
Add mac function
u-boot-2008.10/lib_arm/board.c
u-boot-2008.10/board/gm8126/lowlevel_init.S
For boot function
u-boot-2008.10/drivers/mtd/spi/spi_flash.c
u-boot-2008.10/common/env_sf.c
u-boot-2008.10/drivers/mtd/spi/winbond.c
u-boot-2008.10/drivers/spi/ftssp010_spi.c
u-boot-2008.10/common/cmd_sf.c
u-boot-2008.10/include/configs/gm8126.h
Fix endian issue
Add spi flash
Fix cp to buf addr 0 will be stop issue
Add spi saveenv function
Fix SPI flash write busy issue
u-boot-2008.10/board/gm8126/nand.c Fix nand bad issue
U-Boot
u-boot-2008.10/board/gm8126/gm8126.c Tune mA for SD and SPI
For boot function
3.3 Linux Kernel Change Log
Category Related Files Features/Issues to be Updated
Record not include rename issue
General arch/arm/mach-GM/fmem.c
arch/arm/mach-GM/ftpmu010.c
arch/arm/mach-GM/include/mach/fmem.h
arch/arm/mach-GM/include/mach/platform-GM8126/memory.h
arch/arm/mach-GM/platform-GM8126/pmu.c
1. remove freeing the tail to 8M alignment
2. add debug message
3. add panic while fail
GM8126 SDK Change Log
www.grain-media.com
12
General arch/arm/mach-GM/include/mach/platform-GM8126/system.h add arch_reset for GM8181 and removed PMU_VA_BASE from arch_reset
General arch/arm/mach-GM/platform-GM8126/platform.c
arch/arm/mach-GM/platform-GM8126/platform_2ed_spi_flash_com.c
add MAC MTD
GPIO drivers/gpio/gpiolib.c
drivers/gpio/chips/gm/fgpio010.c
include/asm-arm/gpio.h
add gpio interruppt mask/unmask function
MTD drivers/mtd/devices/winbond.c 1. remove PMU_FTPMU010_VA_BASE
2. add spi flash
3. add EN25Q128 flash
4. fix SPI flash write busy issue
Serial drivers/serial/8250.c remove lock bit of PMU+0x60
drivers/usb/Makefile
drivers/usb/core/fotg2xx-hub.c
drivers/usb/core/hcd.c
drivers/usb/gadget/GM_udc.c
drivers/usb/gadget/Makefile
drivers/usb/gadget/file_storage.c
drivers/usb/host/Kconfig
drivers/usb/host/Makefile
drivers/usb/host/ehci-fotg2xx.c
drivers/usb/host/fotg2xx-config.h
drivers/usb/host/fotg2xx-ehci-hcd.c
drivers/usb/host/fotg2xx-ehci-hub.c
drivers/usb/host/fotg2xx-ehci-macro.h
drivers/usb/host/fotg2xx-ehci-q.c
drivers/usb/host/fotg2xx-ehci.h
drivers/usb/host/fotg2xx_opt-macro.h
drivers/usb/host/fotg2xx_opt.c
drivers/usb/mon/Makefile
include/asm-arm/gpio.h
1. fixed bug of removing GM_udc module
2. modify codes to make hcd and udc can work independently
3. remove flag of GM_FOTG2XX_NOHOST
4. modify ifdef for GM USB host to accommodate general USB host
5. fixed compiling error when not using GM USB hosts
6. add Unplug to prevent crash after rmmod g_file_storage.ko
USB
scripts/Makefile.fwinst fixed make modules error
Sound sound/core/pcm_lib.c add audio tx underrun warning
GM8126 SDK Change Log
www.grain-media.com
13
3.4 Linux Module Change Log
Category Related Files Features/issues to be updated
Record not include rename issue
LCD200 flcd200-common.ko
flcd200-pip.ko
1. support frame rate control
MAC MAC/ftmac100.c
MAC/ftmac100.h
1. improve PHY TX current
2. fix error frame free own bit issue
3. fix pmu register issue
4. remove lockbit of 0x64
RTC RTC/FTRTC011/Makefile
RTC/PT7C4307/modules.order
1. modify in symbol "clobber"
2. remove dummy file
3. Turn the POR into PWM mode when RTC enable.
SAR_ADC SAR_ADC/ftsar_adc010_core.c
SAR_ADC/ftsar_adc010_core.h
SAR_ADC/unittest/adc_det/adc_det_test.c
1. prevent irq indication name from using stack memory, which leads meaningless naming in /proc/interrupt
2. use correct way to detect poll-in status in sample code
3. Add direct key adc read ioctl function for AP
SD_MMC SD_MMC/Makefile
SD_MMC/sdhci-ftsdc010.c
SD_MMC/sdhci010.c
SD_MMC/sdhci010.h
1. remove PMU_FTPMU010_0_VA_BASE and dummy code. fixed the pinmux issue of SD and nand flash
2. fixed PIO mode in GM8126
SSP_ALSA SSP_ALSA/ftssp010-gm8126.c
SSP_ALSA/ftssp010-ssp.c
SSP_ALSA/ftssp010-ssp.h
SSP_ALSA/codec/Makefile
SSP_ALSA/codec/adda300.c
SSP_ALSA/codec/fi2s-nvp1104.c
SSP_ALSA/codec/fi2s-tw2865-c0.c
SSP_ALSA/codec/fi2s-tw2865-c1.c
SSP_ALSA/codec/nvp1104.h
SSP_ALSA/codec/tw2865.c
SSP_ALSA/codec/tw2865.h
1. prevent reset SSP every time when applying new setting
2. contorl digital MIC only when LCD is not enabled
3. add many proc attributes for adda300 control
DVR dvr/disp_main.c 1. for update frame rate fail issue when enable scaler
GM8126 SDK Change Log
www.grain-media.com
14
Category Related Files Features/issues to be updated
dvr/disp_main.h
dvr/dvr_graph.c
dvr/dvr_graph.h
dvr/enc_main.c
dvr/enc_main.h
dvr/dataout_entity.c
2. fixed update parameter when disabled, and fixed 1-fps enable/disable issue
3. fix liveview update fail
4. add liveview PIP feature
5. modified MPEG4 motion vector assign
6. for ROI_all update function
7. for property direct, fixed capture issue, when dynamically change liveview/encode function
8. for setting CMOS Sensor max frame rate
9. video image incorrect when enable scaler+ROI
frammap frammap/frammap.c
frammap/map.c
1. change AP memory from PAGE_COPY to PAGE_SHARED
2. add boundary protection for ap memory
3. change ap buffer to cacheable and bufferable
ftdi210 ftdi210.ko 1. seperate main job into subjobs
ftmcp100 fmcp_drv.ko
fmjpeg_drv.ko
fmpeg4_drv.ko
1. Support whether to output MB information or not
2. Support image width & height not to be necessary with the multiple of sampling.
3. Fix bug of memory allocating error.
ftmcp200_v4 favc_common.ko
favc_drv.ko
1. Support to decode the first half frame or two half frames when input bit-stream is dividing one frame to two half frames.
2. Support to encode two half frames which is dividing one frame to two half frames.
3. Support to set video_full_range_flag of VUI vcap200_v3 fcap_common.ko
fcap0.ko
fcap1.ko
fcap200_isp.ko
fcap200_mt9d131.ko
fcap200_ov10630.ko
fcap200_ov7740.ko
fcap200_poa030d.ko
fcap200_tw9910.ko
1. sync GM818x kernel-2.6.14 vcap200_v3 driver v0.3.11 for support techwell and nextchip decoder.
2. add TechWell TW2864/TW2865/TW9910 support for GM818X.
3. add NextChip NVP1104 support for GM818X.
4. add OmniVision OV7720 sensor support.
5. add HiMax HM2055 sensor support.
6. add capture output clock setting(default:27MHz) base on different PLL2 frequency.
7. support sensor to switch resolution.(need
GM8126 SDK Change Log
www.grain-media.com
15
Category Related Files Features/issues to be updated to do capture stop then swicth sensor resolution).
8. add Aptina MT9V136 sensor support.
9. fix max OSD character number and display number definition base on hardware limitation of different capture path.
10. fix GM812X capture#0-path#0 swap job skip problem
11. fix osd CU problem.
AES_DES AES_DES/security.c 1. fix return IV value issue
2. remove page limitation
AV_DECODER tw9910.ko Initial revision
WDT WDT/cpe-wdt.c don't lock bit after ftpmu010_register
include/av_decoder/nvp1104cmn.h
include/av_decoder/tw2864cmn.h
include/av_decoder/tw2865cmn.h
include/av_decoder/tw9910cmn.h
Initial revision
include/dvr/dvr_disp_api.h
include/dvr/dvr_enc_api.h
include/dvr/dvr_type_define.h
1. add liveview PIP feature
2. for ROI_all function
include/frammap/frammap_if.h
include/ftmcp100/ioctl_jd.h
include/ftmcp100/ioctl_mp4e.h
include/ftmcp200_v4/ioctl_h264.h
1. fix bug of to allocate memory
2. support whether to output mbinfo or not
3. add new struct FMP4_ENC_PARAM_A2
4. Support encode one frame as two half frames
5. Support to set video_full_range_flag of VUI
6. add new struct FAVC_ENC_PARAM_B2
7. add new struct FAVC_DEC_PARAM_A3
8. add new struct FAVC_ENC_HALF_FRAME_OFF
include/lcd200_v2/lcd_fb.h
1. 1280x1024 cascade
2. sync with GM8181
Include
include/pwm/ioctl_pwm.h rewrite PWM driver for general use
GM8126 SDK Change Log
www.grain-media.com
16
Category Related Files Features/issues to be updated
include/sar_adc/sar_adc_ioctl.h 1. add sar_adc ioctl header file
2.
include/videograph/drvinfo.h
include/videograph/videograph_api.h
1. change struct EncoderOut_info
2. add max buffer threshold number API
Panel 1. Initial revision
Pwm pwm/Makefile
pwm/Makefile.rules
pwm/bits.h
pwm/config.mak
pwm/ftpwmtmr010.c
pwm/ftpwmtmr010.h
pwm/pwm_dev0.c
pwm/pwm_dev1.c
pwm/pwm_dev2.c
pwm/pwm_dev3.c
pwm/pwm_dev_com.c
pwm/pwm_drv_api.h
pwm/unitest/Makefile
pwm/unitest/pwm_test.c
1. rewrite PWM driver for general use
2. add protection on ioctl commands
scaler_v3 fscaler0.ko 1. fixed timer issue
Videograph videograph.ko add max buffer threshold number API
ISP fisp0.ko
fisp_common.ko
fisp_gm_ae.ko
fisp_gm_awb.ko
fisp_mt9p031.ko
fisp_ov2715.ko
fisp_ov9710.ko
fisp_imx036.ko
fisp_mn34031.ko
1. implement error handler to increase stability
2. provide better image quality, and more user preference settings.
3. provide API to config sensor, like mirror/flip/exposure/gain/AE/AWB, etc.
4. provide luminance statistic and AF statistic
5. change adjustment range(0~100) of Contrast/Brightness/Hue/Saturation/Sharpness and the default value is 50.