[Miscellaneous Android Development] ifynk:
I compiled kernel with config from original firmware. No rootfs. Loading was normal, but there is a problem with the mapping of colors. I know that my screen need a driver T13. What do I need to correct, so the colors were normal?

## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-2.6.34
Image Type: ARM Linux Kernel Image (lzma compressed)
Data Size: 2840463 Bytes = 2.7 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Using machid 0xb8c from environment

Starting kernel ...

[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.34 (ifynk@ifynk-desktop) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #1 Fri Dec 23 12:02:39 EET 2011
[ 0.000000] CPU: ARMv7 Processor [411fc091] revision 1 (ARMv7), cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: AMLOGIC MESON-M1 8726M SZ
[ 0.000000] Ignoring unrecognised tag 0x00000000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] BUG: mapping for 0x84000000 at 0xc4000000 overlaps vmalloc space
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 115200
[ 0.000000] Kernel command line: init=/init console=ttyS0,115200 mem=512M board_ver=v2 clk81=187500k hdmitx=vdacoff,powermode1,unplug_powerdown rootwait logo=osd1,0x84100000,lcd,full a9_clk=600M
[ 0.000000] board_ver = v2
[ 0.000000] other pll setting to crystal_req=24,out_freq=750,n=4,m=125,od=0
[ 0.000000] HDMI DEBUG: hdmitx_boot_para_setup [1180]hdmi: set init powermode 1
[ 0.000000] osd1:1
[ 0.000000] lcd:12
[ 0.000000] full:2
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 64MB 390MB = 454MB total
[ 0.000000] Memory: 452796k/452796k available, 12100k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xe0800000 - 0xf0000000 ( 248 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .init : 0xc0008000 - 0xc002d000 ( 148 kB)
[ 0.000000] .text : 0xc002d000 - 0xc06c4024 (6749 kB)
[ 0.000000] .data : 0xc06c6000 - 0xc0703240 ( 245 kB)
[ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:128
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [ttyS0] enabled
[ 0.204000] Calibrating delay loop... 1173.09 BogoMIPS (lpj=5865472)
[ 0.440000] Mount-cache hash table entries: 512
[ 0.442000] Initializing cgroup subsys cpuacct
[ 0.446000] Initializing cgroup subsys freezer
[ 0.451000] CPU: Testing write buffer coherency: ok
[ 0.458000] sram vaddr = e0808000
[ 0.460000] NET: Registered protocol family 16
[ 0.464000] L2X0 cache controller enabled
[ 0.467000] power hold set high!
[ 0.470000] demod_apll_setting crystal_req=24,out_freq=1200,n=1,m=50M
[ 0.477000] select eth clk-1,source=400000000,out=50000000,reg=0
[ 0.483000] after clk set : reg=307
[ 0.487000] USB PHY clock souce: XTAL input divided by 2
[ 0.491000] register lm device 0
[ 0.495000] set gpio1.4 input
[ 0.498000] chip version=e5832fe0
[ 0.501000] major number 0 for disp

[ 0.504000] register tv module server ok

[ 0.509000]
[ 0.509000]
[ 0.509000] T13 LCD Init.
[ 0.509000]
[ 0.519000] aml-i2c aml-i2c: add adapter aml_i2c_adapter
[ 0.521000] aml-i2c aml-i2c: add adapter aml_i2c_adapter_slow
[ 0.527000] aml-i2c aml-i2c: aml i2c bus driver.
[ 0.541000] bio: create slab <bio-0> at 0
[ 0.541000] SCSI subsystem initialized
[ 0.543000] usbcore: registered new interface driver usbfs
[ 0.548000] usbcore: registered new interface driver hub
[ 0.554000] usbcore: registered new device driver usb
[ 0.775000] Advanced Linux Sound Architecture Driver Version 1.0.22.1.
[ 0.776000] Bluetooth: Core ver 2.15
[ 0.780000] NET: Registered protocol family 31
[ 0.784000] Bluetooth: HCI device and connection manager initialized
[ 0.790000] Bluetooth: HCI socket layer initialized
[ 0.795000] cfg80211: Calling CRDA to update world regulatory domain
[ 0.802000] Switching to clocksource Timer-E
[ 0.806000] NET: Registered protocol family 2
[ 0.810000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.818000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.825000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.831000] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.837000] TCP reno registered
[ 0.840000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.846000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.853000] NET: Registered protocol family 1
[ 0.857000] RPC: Registered udp transport module.
[ 0.861000] RPC: Registered tcp transport module.
[ 0.866000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.899000] ashmem: initialized
[ 0.903000] VFS: Disk quotas dquot_6.5.2
[ 0.904000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.910000] NTFS driver 2.1.29 [Flags: R/W].
[ 0.913000] fuse init (API version 7.13)
[ 0.917000] msgmni has been set to 884
[ 0.922000] alg: No test for stdrng (krng)
[ 0.924000] io scheduler noop registered
[ 0.928000] io scheduler deadline registered
[ 0.933000] io scheduler cfq registered (default)
[ 1.168000] brd: module loaded
[ 1.170000] loop: module loaded
[ 1.171000] set gpio1.7 output
[ 1.172000] set gpio1.6 input
[ 1.175000] set gpio1.8 output
[ 1.178000] set gpio1.0 output
[ 1.181000] Initializing USB Mass Storage driver...
[ 1.186000] usbcore: registered new interface driver usb-storage
[ 1.192000] USB Mass Storage support registered.
[ 1.197000] mice: PS/2 mouse device common for all mice
[ 1.202000] ads7846 spi2.0: touchscreen, irq 64
[ 1.206000] input: ADS7846 Touchscreen as /devices/platform/spi_gpio.2/spi2.0/input/input0
[ 1.215000] ads7846 probe ok
[ 1.217000] i2c /dev entries driver
[ 1.221000] mxc622x driver: init
[ 1.224000] mmc31xx driver: init
[ 1.227000] [aml_i2c_xfer] error ret = -5	i2c master a current slave addr is 0x30
[ 1.245000] [aml_i2c_xfer] error ret = -5	i2c master a current slave addr is 0x30
[ 1.257000] [aml_i2c_xfer] error ret = -5	i2c master a current slave addr is 0x30
[ 1.269000] mmc31xx_i2c_tx_data: retry over 3
[ 1.280000] ecompass driver: init
[ 1.280000] input: ecompass_data as /devices/virtual/input/input1
[ 1.286000] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: dm-devel@redhat.com
[ 1.293000] cpuidle: using governor ladder
[ 1.297000] usbcore: registered new interface dr[ 3.367000] aml nand env valid addr: ffffffffffe00000
[ 3.367000] nand env: nand_env_probe.
[ 3.401000] Creating 8 MTD partitions on "B revision NAND 4GiB MT29F32G-B":
[ 3.402000] 0x000000c00000-0x000001c00000 : "logo"
[ 3.412000] 0x000001c00000-0x000002c00000 : "aml_logo"
[ 3.418000] 0x000002c00000-0x000004c00000 : "recovery"
[ 3.429000] 0x000004c00000-0x000006c00000 : "boot"
[ 3.440000] 0x000006c00000-0x000016c00000 : "system"
[ 3.518000] 0x000016c00000-0x00001ec00000 : "cache"
[ 3.557000] 0x00001ec00000-0x00003ec00000 : "userdata"
[ 3.712000] 0x00003ec00000-0x000100000000 : "NFTL_Part"
[ 4.643000] dwc_otg: version 2.60a 22-NOV-2006
[ 5.060000] DWC_otg: Using DMA mode
[ 5.060000] dwc_otg lm0: DWC OTG Controller
[ 5.062000] dwc_otg lm0: new USB bus registered, assigned bus number 1
[ 5.069000] dwc_otg lm0: irq 30, io mem 0x00000000
[ 5.074000] hub 1-0:1.0: USB hub found
[ 5.077000] hub 1-0:1.0: 1 port detected
[ 5.081000] DWC_otg: Shared Tx FIFO mode
[ 5.085000] Amlogic A/V streaming port init
[ 5.092000] regist mpeg12 codec profile
[ 5.093000] regist mpeg4 codec profile
[ 5.097000] amvdec_vc1 module init
[ 5.100000] regist vc1 codec profile
[ 5.104000] amvdec_h264 module init
[ 5.107000] regist h264 codec profile
[ 5.111000] regist mjpeg codec profile
[ 5.114000] amvdec_real module init
[ 5.118000] regist real codec profile
[ 5.123000] Keypad Driver
[ 5.124000] input: aml_keypad as /devices/platform/m1-kp.0/input/input2
[ 5.131000] remote config major:250

[ 5.135000] physical address:0x9fe4a000
[ 5.138000] SARADC Driver init.
[ 5.141000] ADC Keypad Driver init.
[ 5.145000] chan #4 used for ADC key
[ 5.148000] vol- key(114) registed.
[ 5.152000] vol+ key(115) registed.
[ 5.155000] exit key(158) registed.
[ 5.159000] menu key(139) registed.
[ 5.162000] home key(102) registed.
[ 5.166000] input: adc_keypad as /devices/platform/m1-adckp.0/input/input3
[ 5.173000] adc keypad register input device completed.

[ 5.178000] adc keypad major:249

[ 5.181000] Key input Driver init.
[ 5.184000] Key 116 registed.
[ 5.187000] input: key_input as /devices/platform/m1-keyinput.0/input/input4
[ 5.195000] Key input register input device completed.

[ 5.199000] key_input major:248

[ 5.204000] Memory Card media Major: 253
[ 5.207000] card max_req_size is 128K
[ 5.211000] card creat process sucessful
[ 5.214000] [dsp]DSP start addr 0xc4000000
[ 5.218000] [dsp]register dsp to char divece(232)
[ 5.224000] using rtc device, aml_rtc, for alarms
[ 5.227000] aml_rtc aml_rtc: rtc core: registered aml_rtc as rtc0
[ 5.234000] amlogic power supply init
[ 5.238000] gpio dev major number:246

[ 5.242000] create gpio device success
[ 5.245000] efuse: device efuse created
[ 5.249000] HDMI DEBUG: amhdmitx_init [1072]amhdmitx_init
[ 5.254000] HDMI DEBUG: amhdmitx_probe [963]
[ 5.259000] Dongle Host Driver, version 4.218.245.0
[ 5.259000] Compiled in drivers/amlogic/wifi/broadcm_4329 on Dec 23 2011 at 11:54:23
[ 5.271000] Set HDMI:Chip C
[ 5.274000] power off hdmi, unmux hpd
[ 5.277000] HDMI DEBUG: hdmi_task_handle [727]
[ 5.440000] SD/MMC initialization started......
[ 6.281000] Actual delay time in sd_voltage_validation() = 30 ms
[ 6.345000] #SD_ERROR_SWITCH_FUNCTION_COMUNICATION error occured in sd_switch_funtion()
[ 6.348000] sd_mmc_init() is completed successfully!
[ 6.353000] This SD card is working in Wide Bus and normal speed mode!
[ 6.353000]
[ 6.361000] cardblksd: cardblksd1
[ 6.365000]
[ 6.365000] SD/MMC initialization started......
[ 7.151000] Actual delay time in sdio_voltage_validation() = 20 ms
[ 7.212000] #this sdio card could not support read after write
[ 7.213000] set sd_mmc config_reg->cmd_clk_divide 5, CLK 15M
[ 7.218000] sd_mmc_init() is completed successfully!
[ 7.223000] This SDIO card is working in Wide Bus and high speed mode!
[ 7.223000]
[ 7.233000] F1 signature read @0x18000000=0x9934329
[ 7.237000] DHD: dongle ram size is set to 294912(orig 294912)
[ 7.243000] (null): firmware: using built-in firmware broadcm_4329/sdio-g-cdc-full11n-reclaim-roml-wme-idsup.bin
[ 7.307000] (null): firmware: using built-in firmware broadcm_4329/nvram.txt
[ 7.309000] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 7.430000] Firmware version = wl0: May 20 2010 17:05:31 version 4.218.237.0
[ 7.831000] eth0: Broadcom Dongle Host Driver mac=cc:52:af:25:29:7e
[ 7.832000] amlogic rfkill init
[ 8.040000] BT_RADIO going: on
[ 8.040000] BCM_BT: going ON
[ 8.250000] aml_hw_crypto initialization.
[ 8.250000] alg: No test for ecb(tdes) (ecb-tdes-aml)
[ 8.254000] alg: No test for cbc(tdes) (cbc-tdes-aml)
[ 8.259000] alg: No test for ecb-aes-aml (ecb-aes-aml)
[ 8.264000] HCI UART driver ver 2.2
[ 8.267000] Bluetooth: HCI H4 protocol initialized
[ 8.272000] android init
[ 8.275000] android_probe pdata: c06ce8e8
[ 8.279000] android_bind
[ 8.281000] android_usb gadget: android_usb ready
[ 8.286000] DWC_otg: USB RESET
[ 8.289000] f_adb init
[ 8.291000] android_register_function adb
[ 8.295000] f_mass_storage init
[ 8.298000] android_register_function usb_mass_storage
[ 8.303000] mass_storage_bind_config
[ 8.307000] fsg_probe pdata: c06ce90c
[ 8.311000] android_usb gadget: Number of LUNs=2
[ 8.315000] adb_bind_config
[ 8.322000] No device for DAI aml-dai0
[ 8.322000] ***Entered sound/soc/aml/aml_m1_mid_wm8900.c:aml_m1_audio_probe
[ 8.329000] aml-pcm 0:preallocate_dma_buffer: area=ffc29000, addr=9ffe0000, size=32768
[ 8.337000] aml-pcm 1:preallocate_dma_buffer: area=ffc3a000, addr=9ffd0000, size=32768
[ 8.345000] asoc: WM8900 HiFi <-> aml-dai0 mapping ok
[ 8.350000] input: AML-M1 hp_switch as /devices/platform/soc-audio/sound/card0/input5
[ 8.360000] ALSA device list:
[ 8.360000] #0: AML-M1 (WM8900)
[ 8.364000] TCP cubic registered
[ 8.367000] NET: Registered protocol family 10
[ 8.373000] IPv6 over IPv4 tunneling driver
[ 8.376000] NET: Registered protocol family 17
[ 8.380000] NET: Registered protocol family 15
[ 8.384000] Bluetooth: L2CAP ver 2.14
[ 8.388000] Bluetooth: L2CAP socket layer initialized
[ 8.393000] Bluetooth: SCO (Voice Link) ver 0.6
[ 8.397000] Bluetooth: SCO socket layer initialized
[ 8.402000] Bluetooth: RFCOMM TTY layer initialized
[ 8.407000] Bluetooth: RFCOMM socket layer initialized
[ 8.412000] Bluetooth: RFCOMM ver 1.11
[ 8.416000] lib80211: common routines for IEEE802.11 drivers
[ 8.422000] enter meson_pm_probe!
[ 8.425000] compare code in sram addr = 0xe0808200, size = 0x11c, result = 0
[ 8.432000] meson_pm_probe done 0xe0808200 284!
[ 8.436000] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 1
[ 8.445000] registered taskstats version 1
[ 8.448000] aml_rtc aml_rtc: setting system clock to 1994-01-18 06:00:26 UTC (758872826)
[ 8.456000] Waiting for root device ...