mk808b wifi (bcm40183)

tonikasch
Posts: 33
Joined: Mon Feb 04, 2013 12:01 am
Location: Spain
Contact:

mk808b wifi (bcm40183)

Postby tonikasch » Fri Feb 08, 2013 10:13 am

Hi!

I ahve still been unable to compile bcm40183 driver from http://service.i-onik.de/a10_source_1.5 ... /bcm40183/.

However, when I insmod bcmdhd.ko or bcm40181.ko this is what happens with mmc debugging enabled in menuconfig:

Code: Select all

Jan  1 01:12:51 picuntu kernel: [  771.846669] ## wifi_probe
Jan  1 01:12:51 picuntu kernel: [  771.846684] wifi_set_power = 1
Jan  1 01:12:51 picuntu kernel: [  771.846692] rk29sdk_wifi_power: 1
Jan  1 01:12:52 picuntu kernel: [  772.048543] wifi turn on power
Jan  1 01:12:52 picuntu kernel: [  772.048554] wifi_set_carddetect = 1
Jan  1 01:12:52 picuntu kernel: [  772.048560] rk29sdk_wifi_set_carddetect:1
Jan  1 01:12:52 picuntu kernel: [  772.048567] mmc1: slot status change detected(0-1)
Jan  1 01:12:52 picuntu kernel: [  772.048620] rk29_sdmmc_change_clk_div..1921..  newDiv=42, newCLK=294Khz [sdio]
Jan  1 01:12:52 picuntu kernel: [  772.051977]
Jan  1 01:12:52 picuntu kernel: [  772.051981] Dongle Host Driver, version 5.90.125.94
Jan  1 01:12:52 picuntu kernel: [  772.051984] Compiled in drivers/net/wireless/bcmdhd on Feb  8 2013 at 01:03:30
Jan  1 01:12:52 picuntu kernel: [  772.244752]
Jan  1 01:12:52 picuntu kernel: [  772.244763] drivers/mmc/core/core.c...1827..  ===== mmc_rescan Begin....[mmc1]
Jan  1 01:12:52 picuntu kernel: [  772.244807] mmc1: mmc_rescan_try_freq: trying to init card at 300000 Hz
Jan  1 01:12:52 picuntu kernel: [  772.244849] mmc1: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 23 width 0 timing 0
Jan  1 01:12:52 picuntu kernel: [  772.264721] mmc1: clock 300000Hz busmode 1 powermode 2 cs 0 Vdd 23 width 0 timing 0
Jan  1 01:12:52 picuntu kernel: [  772.284733] mmc1: clock 300000Hz busmode 1 powermode 2 cs 1 Vdd 23 width 0 timing 0
Jan  1 01:12:52 picuntu kernel: [  772.285807] mmc1: starting CMD0 arg 00000000 flags 000000c0
Jan  1 01:12:52 picuntu kernel: [  772.286370] mmc1: req done (CMD0): 0: 00000000 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.287489] mmc1: clock 300000Hz busmode 1 powermode 2 cs 0 Vdd 23 width 0 timing 0
Jan  1 01:12:52 picuntu kernel: [  772.288569] mmc1: starting CMD5 arg 00000000 flags 000002e1
Jan  1 01:12:52 picuntu kernel: [  772.289053] mmc1: req failed (CMD5): -12, retrying...
Jan  1 01:12:52 picuntu kernel: [  772.289531] mmc1: req failed (CMD5): -12, retrying...
Jan  1 01:12:52 picuntu kernel: [  772.290005] mmc1: req failed (CMD5): -12, retrying...
Jan  1 01:12:52 picuntu kernel: [  772.290486] mmc1: req done (CMD5): -12: 00000000 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.290560] mmc1: starting CMD55 arg 00000000 flags 000000f5
Jan  1 01:12:52 picuntu kernel: [  772.291050] mmc1: req done (CMD55): -12: 00000000 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.291119] mmc1: starting CMD55 arg 00000000 flags 000000f5
Jan  1 01:12:52 picuntu kernel: [  772.291607] mmc1: req done (CMD55): -12: 00000000 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.291676] mmc1: starting CMD55 arg 00000000 flags 000000f5
Jan  1 01:12:52 picuntu kernel: [  772.292163] mmc1: req done (CMD55): -12: 00000000 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.292231] mmc1: starting CMD55 arg 00000000 flags 000000f5
Jan  1 01:12:52 picuntu kernel: [  772.292717] mmc1: req done (CMD55): -12: 00000000 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.292787] mmc1: starting CMD1 arg 00000000 flags 000000e1
Jan  1 01:12:52 picuntu kernel: [  772.293277] mmc1: req done (CMD1): -12: 00000000 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.293360] mmc1: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
Jan  1 01:12:52 picuntu kernel: [  772.766066] mmc0: starting CMD25 arg 02001088 flags 000000b5
Jan  1 01:12:52 picuntu kernel: [  772.766110] mmc0:     blksz 512 blocks 8 flags 00000100 tsac 300 ms nsac 0
Jan  1 01:12:52 picuntu kernel: [  772.766145] mmc0:     CMD12 arg 00000000 flags 0000049d
Jan  1 01:12:52 picuntu kernel: [  772.767586] mmc0: req done (CMD25): 0: 00000900 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.767621] mmc0:     4096 bytes transferred: 0
Jan  1 01:12:52 picuntu kernel: [  772.767653] mmc0:     (CMD12): 0: 00000000 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.767832] mmc0: starting CMD25 arg 0204dd38 flags 000000b5
Jan  1 01:12:52 picuntu kernel: [  772.767871] mmc0:     blksz 512 blocks 8 flags 00000100 tsac 300 ms nsac 0
Jan  1 01:12:52 picuntu kernel: [  772.767904] mmc0:     CMD12 arg 00000000 flags 0000049d
Jan  1 01:12:52 picuntu kernel: [  772.772154] mmc0: req done (CMD25): 0: 00000900 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.772188] mmc0:     4096 bytes transferred: 0
Jan  1 01:12:52 picuntu kernel: [  772.772219] mmc0:     (CMD12): 0: 00000000 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.772387] mmc0: starting CMD25 arg 02800808 flags 000000b5
Jan  1 01:12:52 picuntu kernel: [  772.772427] mmc0:     blksz 512 blocks 8 flags 00000100 tsac 300 ms nsac 0
Jan  1 01:12:52 picuntu kernel: [  772.772461] mmc0:     CMD12 arg 00000000 flags 0000049d
Jan  1 01:12:52 picuntu kernel: [  772.775091] mmc0: req done (CMD25): 0: 00000900 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.775126] mmc0:     4096 bytes transferred: 0
Jan  1 01:12:52 picuntu kernel: [  772.775158] mmc0:     (CMD12): 0: 00000000 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.776643] mmc0: starting CMD25 arg 00400810 flags 000000b5
Jan  1 01:12:52 picuntu kernel: [  772.776684] mmc0:     blksz 512 blocks 8 flags 00000100 tsac 300 ms nsac 0
Jan  1 01:12:52 picuntu kernel: [  772.776717] mmc0:     CMD12 arg 00000000 flags 0000049d
Jan  1 01:12:52 picuntu kernel: [  772.779247] mmc0: req done (CMD25): 0: 00000900 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.779281] mmc0:     4096 bytes transferred: 0
Jan  1 01:12:52 picuntu kernel: [  772.779313] mmc0:     (CMD12): 0: 00000000 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.779479] mmc0: starting CMD25 arg 00402810 flags 000000b5
Jan  1 01:12:52 picuntu kernel: [  772.779519] mmc0:     blksz 512 blocks 8 flags 00000100 tsac 300 ms nsac 0
Jan  1 01:12:52 picuntu kernel: [  772.779551] mmc0:     CMD12 arg 00000000 flags 0000049d
Jan  1 01:12:52 picuntu kernel: [  772.781001] mmc0: req done (CMD25): 0: 00000900 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.781034] mmc0:     4096 bytes transferred: 0
Jan  1 01:12:52 picuntu kernel: [  772.781066] mmc0:     (CMD12): 0: 00000000 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.781218] mmc0: starting CMD25 arg 004129e8 flags 000000b5
Jan  1 01:12:52 picuntu kernel: [  772.781257] mmc0:     blksz 512 blocks 8 flags 00000100 tsac 300 ms nsac 0
Jan  1 01:12:52 picuntu kernel: [  772.781290] mmc0:     CMD12 arg 00000000 flags 0000049d
Jan  1 01:12:52 picuntu kernel: [  772.782666] mmc0: req done (CMD25): 0: 00000900 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.782701] mmc0:     4096 bytes transferred: 0
Jan  1 01:12:52 picuntu kernel: [  772.782733] mmc0:     (CMD12): 0: 00000000 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.782887] mmc0: starting CMD25 arg 00416608 flags 000000b5
Jan  1 01:12:52 picuntu kernel: [  772.782925] mmc0:     blksz 512 blocks 96 flags 00000100 tsac 300 ms nsac 0
Jan  1 01:12:52 picuntu kernel: [  772.782958] mmc0:     CMD12 arg 00000000 flags 0000049d
Jan  1 01:12:52 picuntu kernel: [  772.794501] mmc0: req done (CMD25): 0: 00000900 00000000 00000000 00000000
Jan  1 01:12:52 picuntu kernel: [  772.794537] mmc0:     49152 bytes transferred: 0
Jan  1 01:12:52 picuntu kernel: [  772.794570] mmc0:     (CMD12): 0: 00000000 00000000 00000000 00000000
Jan  1 01:12:56 picuntu kernel: [  776.055764] mmc0: starting CMD25 arg 00416660 flags 000000b5
Jan  1 01:12:56 picuntu kernel: [  776.055807] mmc0:     blksz 512 blocks 8 flags 00000100 tsac 300 ms nsac 0
Jan  1 01:12:56 picuntu kernel: [  776.055840] mmc0:     CMD12 arg 00000000 flags 0000049d
Jan  1 01:12:56 picuntu kernel: [  776.057134] mmc0: req done (CMD25): 0: 00000900 00000000 00000000 00000000
Jan  1 01:12:56 picuntu kernel: [  776.057168] mmc0:     4096 bytes transferred: 0
Jan  1 01:12:56 picuntu kernel: [  776.057201] mmc0:     (CMD12): 0: 00000000 00000000 00000000 00000000
Jan  1 01:12:56 picuntu kernel: [  776.057410] mmc0: starting CMD25 arg 00447830 flags 000000b5
Jan  1 01:12:56 picuntu kernel: [  776.057450] mmc0:     blksz 512 blocks 8 flags 00000100 tsac 300 ms nsac 0
Jan  1 01:12:56 picuntu kernel: [  776.057481] mmc0:     CMD12 arg 00000000 flags 0000049d
Jan  1 01:12:56 picuntu kernel: [  776.058925] mmc0: req done (CMD25): 0: 00000900 00000000 00000000 00000000
Jan  1 01:12:56 picuntu kernel: [  776.058959] mmc0:     4096 bytes transferred: 0
Jan  1 01:12:56 picuntu kernel: [  776.058990] mmc0:     (CMD12): 0: 00000000 00000000 00000000 00000000
Jan  1 01:12:56 picuntu kernel: [  776.059153] mmc0: starting CMD25 arg 01c423e0 flags 000000b5
Jan  1 01:12:56 picuntu kernel: [  776.059191] mmc0:     blksz 512 blocks 48 flags 00000100 tsac 300 ms nsac 0
Jan  1 01:12:56 picuntu kernel: [  776.059223] mmc0:     CMD12 arg 00000000 flags 0000049d
Jan  1 01:12:56 picuntu kernel: [  776.061741] mmc0: req done (CMD25): 0: 00000900 00000000 00000000 00000000
Jan  1 01:12:56 picuntu kernel: [  776.061775] mmc0:     24576 bytes transferred: 0
Jan  1 01:12:56 picuntu kernel: [  776.061806] mmc0:     (CMD12): 0: 00000000 00000000 00000000 00000000
Jan  1 01:12:56 picuntu kernel: [  776.062230] mmc0: starting CMD25 arg 01c42410 flags 000000b5
Jan  1 01:12:56 picuntu kernel: [  776.062270] mmc0:     blksz 512 blocks 8 flags 00000100 tsac 300 ms nsac 0
Jan  1 01:12:56 picuntu kernel: [  776.062303] mmc0:     CMD12 arg 00000000 flags 0000049d
Jan  1 01:12:56 picuntu kernel: [  776.067606] mmc0: req done (CMD25): 0: 00000900 00000000 00000000 00000000
Jan  1 01:12:56 picuntu kernel: [  776.067641] mmc0:     4096 bytes transferred: 0
Jan  1 01:12:56 picuntu kernel: [  776.067672] mmc0:     (CMD12): 0: 00000000 00000000 00000000 00000000
Jan  1 01:13:01 picuntu kernel: [  782.015605] mmc0: starting CMD25 arg 01c42418 flags 000000b5
Jan  1 01:13:01 picuntu kernel: [  782.015649] mmc0:     blksz 512 blocks 24 flags 00000100 tsac 300 ms nsac 0
Jan  1 01:13:01 picuntu kernel: [  782.015683] mmc0:     CMD12 arg 00000000 flags 0000049d
Jan  1 01:13:01 picuntu kernel: [  782.018487] mmc0: req done (CMD25): 0: 00000900 00000000 00000000 00000000
Jan  1 01:13:01 picuntu kernel: [  782.018521] mmc0:     12288 bytes transferred: 0
Jan  1 01:13:01 picuntu kernel: [  782.018553] mmc0:     (CMD12): 0: 00000000 00000000 00000000 00000000
Jan  1 01:13:01 picuntu kernel: [  782.018977] mmc0: starting CMD25 arg 01c42430 flags 000000b5
Jan  1 01:13:01 picuntu kernel: [  782.019017] mmc0:     blksz 512 blocks 8 flags 00000100 tsac 300 ms nsac 0
Jan  1 01:13:01 picuntu kernel: [  782.019051] mmc0:     CMD12 arg 00000000 flags 0000049d
Jan  1 01:13:01 picuntu kernel: [  782.021617] mmc0: req done (CMD25): 0: 00000900 00000000 00000000 00000000
Jan  1 01:13:01 picuntu kernel: [  782.021650] mmc0:     4096 bytes transferred: 0
Jan  1 01:13:01 picuntu kernel: [  782.021681] mmc0:     (CMD12): 0: 00000000 00000000 00000000 00000000
Jan  1 01:13:04 picuntu kernel: [  784.045193] dhd_module_init: sdio_register_driver timeout
Jan  1 01:13:04 picuntu kernel: [  784.045428] ## wifi_remove
Jan  1 01:13:04 picuntu kernel: [  784.045452] wifi_set_power = 0
Jan  1 01:13:04 picuntu kernel: [  784.045474] rk29sdk_wifi_power: 0
Jan  1 01:13:04 picuntu kernel: [  784.250360] wifi shut off power
Jan  1 01:13:04 picuntu kernel: [  784.250373] wifi_set_carddetect = 0
Jan  1 01:13:04 picuntu kernel: [  784.250379] rk29sdk_wifi_set_carddetect:0
Jan  1 01:13:04 picuntu kernel: [  784.250387] mmc1: slot status change detected(1-0)
Jan  1 01:13:04 picuntu kernel: [  784.250412]
Jan  1 01:13:04 picuntu kernel: [  784.250414] drivers/mmc/core/core.c...1827..  ===== mmc_rescan Begin....[mmc1]
Jan  1 01:13:04 picuntu kernel: [  784.250422]
Jan  1 01:13:04 picuntu kernel: [  784.250424] =================
Jan  1 01:13:04 picuntu kernel: [  784.250426] mmc_rescan..1834..  ====find no SDMMC host. [mmc1]



So I guess the driver could be the one compiled from bcm40181 or bcmdhd. The problem seems to be the mmc/sdio driver at drivers/mmc/core/core.c
I also have these errors regarding i2c, which I don't know if are related:

Code: Select all

Jan  1 01:00:04 picuntu kernel: [    0.755939] rk30_i2c rk30_i2c.0: i2c-0: RK30 I2C adapter
Jan  1 01:00:04 picuntu kernel: [    0.761464] rk30_i2c rk30_i2c.1: i2c-1: RK30 I2C adapter
Jan  1 01:00:04 picuntu kernel: [    0.766892] rk30_i2c rk30_i2c.2: i2c-2: RK30 I2C adapter
Jan  1 01:00:04 picuntu kernel: [    0.772332] rk30_i2c rk30_i2c.3: i2c-3: RK30 I2C adapter
Jan  1 01:00:04 picuntu kernel: [    0.777746] rk30_i2c rk30_i2c.4: i2c-4: RK30 I2C adapter
Jan  1 01:00:04 picuntu kernel: [    0.783182] rk30-adc rk30-adc: rk30 adc: driver initialized
Jan  1 01:00:04 picuntu kernel: [    0.789028] timed_gpio_probe
Jan  1 01:00:04 picuntu kernel: [    0.792020] Advanced Linux Sound Architecture Driver Version 1.0.24.
Jan  1 01:00:04 picuntu kernel: [    0.799049] cfg80211: Calling CRDA to update world regulatory domain
Jan  1 01:00:04 picuntu kernel: [    0.806213] rk fb probe ok!
Jan  1 01:00:04 picuntu kernel: [    0.809097] wm831x_i2c_init
Jan  1 01:00:04 picuntu kernel: [    0.812146] i2c i2c-1: No ack, Maybe slave(addr: 0x34) not exist or abnormal power-on, retry 2...
Jan  1 01:00:04 picuntu kernel: [    0.821173] i2c i2c-1: No ack, Maybe slave(addr: 0x34) not exist or abnormal power-on, retry 1...
Jan  1 01:00:04 picuntu kernel: [    0.830206] i2c i2c-1: No ack, Maybe slave(addr: 0x34) not exist or abnormal power-on, retry 0...
Jan  1 01:00:04 picuntu kernel: [    0.839096] wm831x 1-0034: Failed to read parent ID: -11
Jan  1 01:00:04 picuntu kernel: [    0.844428] wm831x: probe of 1-0034 failed with error -11
Jan  1 01:00:04 picuntu kernel: [    0.850237] i2c i2c-1: No ack, Maybe slave(addr: 0x2d) not exist or abnormal power-on, retry 2...
Jan  1 01:00:04 picuntu kernel: [    0.859388] i2c i2c-1: No ack, Maybe slave(addr: 0x2d) not exist or abnormal power-on, retry 1...
Jan  1 01:00:04 picuntu kernel: [    0.868533] i2c i2c-1: No ack, Maybe slave(addr: 0x2d) not exist or abnormal power-on, retry 0...
Jan  1 01:00:04 picuntu kernel: [    0.877423] tps65910 1-002d: tps65910_set_bits:read from reg 3f failed
Jan  1 01:00:04 picuntu kernel: [    0.884223] i2c i2c-1: No ack, Maybe slave(addr: 0x2d) not exist or abnormal power-on, retry 2...
Jan  1 01:00:04 picuntu kernel: [    0.893367] i2c i2c-1: No ack, Maybe slave(addr: 0x2d) not exist or abnormal power-on, retry 1...
Jan  1 01:00:04 picuntu kernel: [    0.902508] i2c i2c-1: No ack, Maybe slave(addr: 0x2d) not exist or abnormal power-on, retry 0...
Jan  1 01:00:04 picuntu kernel: [    0.911387] tps65910 1-002d: read from reg 46 failed
Jan  1 01:00:04 picuntu kernel: [    0.916367] tps65910 1-002d: Error in configuring external control EN1
Jan  1 01:00:04 picuntu kernel: [    0.922906] tps65910 1-002d: Failed to initialise ext control config
Jan  1 01:00:04 picuntu kernel: [    0.929600] i2c i2c-1: No ack, Maybe slave(addr: 0x2d) not exist or abnormal power-on, retry 2...
Jan  1 01:00:04 picuntu kernel: [    0.938744] i2c i2c-1: No ack, Maybe slave(addr: 0x2d) not exist or abnormal power-on, retry 1...
Jan  1 01:00:04 picuntu kernel: [    0.947883] i2c i2c-1: No ack, Maybe slave(addr: 0x2d) not exist or abnormal power-on, retry 0...
Jan  1 01:00:04 picuntu kernel: [    0.956772] tps65910 1-002d: tps65910_set_bits:read from reg 20 failed
Jan  1 01:00:04 picuntu kernel: [    0.963309] set_machine_constraints: VIO: failed to enable
Jan  1 01:00:04 picuntu kernel: [    0.968849] tps65910 1-002d: failed to register tps65910-pmic regulator
Jan  1 01:00:04 picuntu kernel: [    0.975483] tps65910-pmic: probe of tps65910-pmic failed with error -11
Jan  1 01:00:04 picuntu kernel: [    0.982240] tps65910_pre_init,line=64
Jan  1 01:00:04 picuntu kernel: [    0.986170] i2c i2c-1: No ack, Maybe slave(addr: 0x2d) not exist or abnormal power-on, retry 2...
Jan  1 01:00:04 picuntu kernel: [    0.995314] i2c i2c-1: No ack, Maybe slave(addr: 0x2d) not exist or abnormal power-on, retry 1...
Jan  1 01:00:04 picuntu kernel: [    1.004454] i2c i2c-1: No ack, Maybe slave(addr: 0x2d) not exist or abnormal power-on, retry 0...
Jan  1 01:00:04 picuntu kernel: [    1.013343] tps65910 1-002d: Read from reg 0x40 failed
Jan  1 01:00:04 picuntu kernel: [    1.018483] Unable to read TPS65910_DEVCTRL2 reg
Jan  1 01:00:04 picuntu kernel: [    1.023111] tps65910 1-002d: pre_init() failed: -11
Jan  1 01:00:04 picuntu kernel: [    1.028117] tps65910: probe of 1-002d failed with error -11
Jan  1 01:00:04 picuntu kernel: [    1.033892] Switching to clocksource timer1


I'm using now picuntu-3.0.8-alok repository with following .config:

Code: Select all

#
# Automatically generated make config: don't edit
# Linux/arm 3.0.8 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_HAVE_SCHED_CLOCK=y
CONFIG_GENERIC_GPIO=y
# CONFIG_ARCH_USES_GETTIMEOFFSET is not set
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_KTIME_SCALAR=y
CONFIG_HAVE_PROC_CPU=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_LOCKBREAK=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_ARCH_HAS_CPUFREQ=y
CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_VECTORS_BASE=0xffff0000
# CONFIG_ARM_PATCH_PHYS_VIRT is not set
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_HAVE_IRQ_WORK=y

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE="arm-linux-gnueabi-"
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_LZO=y
# CONFIG_KERNEL_GZIP is not set
CONFIG_KERNEL_LZMA=y
# CONFIG_KERNEL_LZO is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
# CONFIG_FHANDLE is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
CONFIG_HAVE_GENERIC_HARDIRQS=y

#
# IRQ subsystem
#
CONFIG_GENERIC_HARDIRQS=y
CONFIG_HAVE_SPARSE_IRQ=y
CONFIG_GENERIC_IRQ_SHOW=y
# CONFIG_SPARSE_IRQ is not set

#
# RCU Subsystem
#
CONFIG_TREE_PREEMPT_RCU=y
CONFIG_PREEMPT_RCU=y
# CONFIG_RCU_TRACE is not set
CONFIG_RCU_FANOUT=32
# CONFIG_RCU_FANOUT_EXACT is not set
# CONFIG_TREE_RCU_TRACE is not set
# CONFIG_RCU_BOOST is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=17
CONFIG_CGROUPS=y
CONFIG_CGROUP_DEBUG=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CPUSETS=y
CONFIG_PROC_PID_CPUSET=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_RESOURCE_COUNTERS=y
CONFIG_CGROUP_MEM_RES_CTLR=y
# CONFIG_CGROUP_MEM_RES_CTLR_SWAP is not set
CONFIG_CGROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_RT_GROUP_SCHED=y
CONFIG_BLK_CGROUP=y
# CONFIG_DEBUG_BLK_CGROUP is not set
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
# CONFIG_SCHED_AUTOGROUP is not set
CONFIG_MM_OWNER=y
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE="../../initramfs.cpio"
CONFIG_INITRAMFS_ROOT_UID=0
CONFIG_INITRAMFS_ROOT_GID=0
CONFIG_RD_GZIP=y
# CONFIG_RD_BZIP2 is not set
CONFIG_RD_LZMA=y
# CONFIG_RD_XZ is not set
# CONFIG_RD_LZO is not set
CONFIG_INITRAMFS_COMPRESSION_NONE=y
# CONFIG_INITRAMFS_COMPRESSION_GZIP is not set
# CONFIG_INITRAMFS_COMPRESSION_LZMA is not set
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_PANIC_TIMEOUT=1
CONFIG_EXPERT=y
CONFIG_UID16=y
# CONFIG_SYSCTL_SYSCALL is not set
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
# CONFIG_ELF_CORE is not set
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_ASHMEM=y
CONFIG_AIO=y
CONFIG_EMBEDDED=y
CONFIG_HAVE_PERF_EVENTS=y
CONFIG_PERF_USE_VMALLOC=y

#
# Kernel Performance Events And Counters
#
# CONFIG_PERF_EVENTS is not set
# CONFIG_PERF_COUNTERS is not set
CONFIG_VM_EVENT_COUNTERS=y
# CONFIG_SLUB_DEBUG is not set
CONFIG_COMPAT_BRK=y
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
CONFIG_PROFILING=y
CONFIG_OPROFILE=m
CONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not set
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_USE_GENERIC_SMP_HELPERS=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_CLK=y
CONFIG_HAVE_DMA_API_DEBUG=y

#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_STOP_MACHINE=y
CONFIG_BLOCK=y
CONFIG_LBDAF=y
CONFIG_BLK_DEV_BSG=y
# CONFIG_BLK_DEV_INTEGRITY is not set
# CONFIG_BLK_DEV_THROTTLING is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_CFQ_GROUP_IOSCHED is not set
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
# CONFIG_INLINE_SPIN_TRYLOCK is not set
# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK is not set
# CONFIG_INLINE_SPIN_LOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set
# CONFIG_INLINE_SPIN_UNLOCK is not set
# CONFIG_INLINE_SPIN_UNLOCK_BH is not set
# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set
# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set
# CONFIG_INLINE_READ_TRYLOCK is not set
# CONFIG_INLINE_READ_LOCK is not set
# CONFIG_INLINE_READ_LOCK_BH is not set
# CONFIG_INLINE_READ_LOCK_IRQ is not set
# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set
# CONFIG_INLINE_READ_UNLOCK is not set
# CONFIG_INLINE_READ_UNLOCK_BH is not set
# CONFIG_INLINE_READ_UNLOCK_IRQ is not set
# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set
# CONFIG_INLINE_WRITE_TRYLOCK is not set
# CONFIG_INLINE_WRITE_LOCK is not set
# CONFIG_INLINE_WRITE_LOCK_BH is not set
# CONFIG_INLINE_WRITE_LOCK_IRQ is not set
# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set
# CONFIG_INLINE_WRITE_UNLOCK is not set
# CONFIG_INLINE_WRITE_UNLOCK_BH is not set
# CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set
# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set
CONFIG_MUTEX_SPIN_ON_OWNER=y
CONFIG_FREEZER=y

#
# System Type
#
CONFIG_MMU=y
# CONFIG_ARCH_INTEGRATOR is not set
# CONFIG_ARCH_REALVIEW is not set
# CONFIG_ARCH_VERSATILE is not set
# CONFIG_ARCH_VEXPRESS is not set
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_BCMRING is not set
# CONFIG_ARCH_CLPS711X is not set
# CONFIG_ARCH_CNS3XXX is not set
# CONFIG_ARCH_GEMINI is not set
# CONFIG_ARCH_EBSA110 is not set
# CONFIG_ARCH_EP93XX is not set
# CONFIG_ARCH_FOOTBRIDGE is not set
# CONFIG_ARCH_MXC is not set
# CONFIG_ARCH_MXS is not set
# CONFIG_ARCH_NETX is not set
# CONFIG_ARCH_H720X is not set
# CONFIG_ARCH_IOP13XX is not set
# CONFIG_ARCH_IOP32X is not set
# CONFIG_ARCH_IOP33X is not set
# CONFIG_ARCH_IXP23XX is not set
# CONFIG_ARCH_IXP2000 is not set
# CONFIG_ARCH_IXP4XX is not set
# CONFIG_ARCH_DOVE is not set
# CONFIG_ARCH_KIRKWOOD is not set
# CONFIG_ARCH_LOKI is not set
# CONFIG_ARCH_LPC32XX is not set
# CONFIG_ARCH_MV78XX0 is not set
# CONFIG_ARCH_ORION5X is not set
# CONFIG_ARCH_MMP is not set
# CONFIG_ARCH_KS8695 is not set
# CONFIG_ARCH_W90X900 is not set
# CONFIG_ARCH_NUC93X is not set
# CONFIG_ARCH_TEGRA is not set
# CONFIG_ARCH_PNX4008 is not set
# CONFIG_ARCH_PXA is not set
# CONFIG_ARCH_MSM is not set
# CONFIG_ARCH_SHMOBILE is not set
# CONFIG_ARCH_RPC is not set
# CONFIG_ARCH_SA1100 is not set
# CONFIG_ARCH_S3C2410 is not set
# CONFIG_ARCH_S3C64XX is not set
# CONFIG_ARCH_S5P64X0 is not set
# CONFIG_ARCH_S5PC100 is not set
# CONFIG_ARCH_S5PV210 is not set
# CONFIG_ARCH_EXYNOS4 is not set
# CONFIG_ARCH_SHARK is not set
# CONFIG_ARCH_TCC_926 is not set
# CONFIG_ARCH_U300 is not set
# CONFIG_ARCH_U8500 is not set
# CONFIG_ARCH_NOMADIK is not set
# CONFIG_ARCH_DAVINCI is not set
# CONFIG_ARCH_OMAP is not set
# CONFIG_ARCH_RK29 is not set
CONFIG_ARCH_RK30=y
# CONFIG_PLAT_SPEAR is not set
# CONFIG_ARCH_VT8500 is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_KEYBOARD_GPIO_POLLED is not set
# CONFIG_DDR_TYPE_DDRII is not set
# CONFIG_DDR_TYPE_LPDDR is not set
# CONFIG_DDR_TYPE_DDR3_800D is not set
# CONFIG_DDR_TYPE_DDR3_800E is not set
# CONFIG_DDR_TYPE_DDR3_1066E is not set
# CONFIG_DDR_TYPE_DDR3_1066F is not set
# CONFIG_DDR_TYPE_DDR3_1066G is not set
# CONFIG_DDR_TYPE_DDR3_1333F is not set
# CONFIG_DDR_TYPE_DDR3_1333G is not set
# CONFIG_DDR_TYPE_DDR3_1333H is not set
# CONFIG_DDR_TYPE_DDR3_1333J is not set
# CONFIG_DDR_TYPE_DDR3_1600G is not set
# CONFIG_DDR_TYPE_DDR3_1600H is not set
# CONFIG_DDR_TYPE_DDR3_1600J is not set
# CONFIG_DDR_TYPE_DDR3_1600K is not set
# CONFIG_DDR_TYPE_DDR3_1866J is not set
# CONFIG_DDR_TYPE_DDR3_1866K is not set
# CONFIG_DDR_TYPE_DDR3_1866L is not set
# CONFIG_DDR_TYPE_DDR3_1866M is not set
# CONFIG_DDR_TYPE_DDR3_2133K is not set
# CONFIG_DDR_TYPE_DDR3_2133L is not set
# CONFIG_DDR_TYPE_DDR3_2133M is not set
# CONFIG_DDR_TYPE_DDR3_2133N is not set
CONFIG_DDR_TYPE_DDR3_DEFAULT=y
CONFIG_DDR_SDRAM_FREQ=300
# CONFIG_DDR_FREQ is not set
CONFIG_DDR_TEST=y
CONFIG_DVFS=y

#
# Support for RK power manage
#
CONFIG_CLK_SWITCH_TO_32K=y
CONFIG_RK30_I2C_INSRAM=y
CONFIG_WIFI_CONTROL_FUNC=y
# CONFIG_RK29_VPU is not set
CONFIG_RK29_LAST_LOG=y
CONFIG_RK_EARLY_PRINTK=y
CONFIG_RK_DEBUG_UART=2
# CONFIG_RK_SRAM_DMA is not set
# CONFIG_MACH_RK30_SDK is not set
# CONFIG_MACH_RK3066_SDK is not set
# CONFIG_MACH_RK30_PHONE is not set
# CONFIG_MACH_RK30_BOX is not set
# CONFIG_MACH_RK30_BOX_PIZZA is not set
CONFIG_MACH_RK30_BOX_HOTDOG=y
# CONFIG_MACH_RK30_PHONE_LOQUAT is not set
# CONFIG_MACH_RK30_PHONE_A22 is not set

#
# System MMU
#
CONFIG_PLAT_RK=y

#
# Processor Type
#
CONFIG_CPU_V7=y
CONFIG_CPU_32v6K=y
CONFIG_CPU_32v7=y
CONFIG_CPU_ABRT_EV7=y
CONFIG_CPU_PABRT_V7=y
CONFIG_CPU_CACHE_V7=y
CONFIG_CPU_CACHE_VIPT=y
CONFIG_CPU_COPY_V6=y
CONFIG_CPU_TLB_V7=y
CONFIG_CPU_HAS_ASID=y
CONFIG_CPU_CP15=y
CONFIG_CPU_CP15_MMU=y

#
# Processor Features
#
CONFIG_ARM_THUMB=y
# CONFIG_ARM_THUMBEE is not set
# CONFIG_SWP_EMULATE is not set
# CONFIG_CPU_ICACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_DISABLE is not set
# CONFIG_CPU_BPREDICT_DISABLE is not set
CONFIG_OUTER_CACHE=y
CONFIG_OUTER_CACHE_SYNC=y
CONFIG_MIGHT_HAVE_CACHE_L2X0=y
CONFIG_CACHE_L2X0=y
CONFIG_CACHE_PL310=y
CONFIG_ARM_L1_CACHE_SHIFT=5
CONFIG_ARM_DMA_MEM_BUFFERABLE=y
CONFIG_CPU_HAS_PMU=y
# CONFIG_ARM_ERRATA_430973 is not set
# CONFIG_ARM_ERRATA_458693 is not set
# CONFIG_ARM_ERRATA_460075 is not set
# CONFIG_ARM_ERRATA_742230 is not set
# CONFIG_ARM_ERRATA_742231 is not set
# CONFIG_PL310_ERRATA_588369 is not set
# CONFIG_ARM_ERRATA_720789 is not set
# CONFIG_PL310_ERRATA_727915 is not set
# CONFIG_ARM_ERRATA_743622 is not set
# CONFIG_ARM_ERRATA_751472 is not set
# CONFIG_ARM_ERRATA_753970 is not set
CONFIG_ARM_ERRATA_754322=y
# CONFIG_ARM_ERRATA_754327 is not set
CONFIG_ARM_GIC=y
CONFIG_PL330=y
# CONFIG_FIQ_DEBUGGER is not set

#
# Bus support
#
# CONFIG_PCI_SYSCALL is not set
# CONFIG_ARCH_SUPPORTS_MSI is not set
# CONFIG_PCCARD is not set
CONFIG_ARM_ERRATA_764369=y

#
# Kernel Features
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_HAVE_SMP=y
CONFIG_SMP=y
# CONFIG_SMP_ON_UP is not set
CONFIG_HAVE_ARM_SCU=y
CONFIG_HAVE_ARM_TWD=y
CONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_1G is not set
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_NR_CPUS=2
CONFIG_HOTPLUG_CPU=y
CONFIG_LOCAL_TIMERS=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_HZ=100
# CONFIG_THUMB2_KERNEL is not set
CONFIG_AEABI=y
# CONFIG_OABI_COMPAT is not set
# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
CONFIG_HAVE_ARCH_PFN_VALID=y
CONFIG_HIGHMEM=y
# CONFIG_HIGHPTE is not set
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_COMPACTION=y
CONFIG_MIGRATION=y
# CONFIG_PHYS_ADDR_T_64BIT is not set
CONFIG_ZONE_DMA_FLAG=0
CONFIG_BOUNCE=y
CONFIG_VIRT_TO_BUS=y
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=32768
# CONFIG_CLEANCACHE is not set
CONFIG_FORCE_MAX_ZONEORDER=11
CONFIG_ALIGNMENT_TRAP=y
# CONFIG_UACCESS_WITH_MEMCPY is not set
# CONFIG_SECCOMP is not set
# CONFIG_CC_STACKPROTECTOR is not set
# CONFIG_DEPRECATED_PARAM_STRUCT is not set
# CONFIG_ARM_FLUSH_CONSOLE_ON_RESTART is not set

#
# Boot options
#
# CONFIG_USE_OF is not set
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_CMDLINE="root=LABEL=linuxroot init=/sbin/init loglevel=8 rootfstype=ext4 rootwait mtdparts=rk29xxnand:0x00002000@0x00000000(parameter),0x00002000@0x00002000(misc),0x00004000@0x00004000(kernel),0x00008000@0x00008000(boot),0x00008000@0x00010000(recovery)"
# CONFIG_CMDLINE_FROM_BOOTLOADER is not set
# CONFIG_CMDLINE_EXTEND is not set
CONFIG_CMDLINE_FORCE=y
# CONFIG_XIP_KERNEL is not set
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
# CONFIG_AUTO_ZRELADDR is not set

#
# CPU Power Management
#

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_HOTPLUG is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=m
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
CONFIG_CPU_FREQ_GOV_HOTPLUG=y
CONFIG_CPU_IDLE=y
CONFIG_CPU_IDLE_GOV_LADDER=y
CONFIG_CPU_IDLE_GOV_MENU=y

#
# Floating point emulation
#

#
# At least one emulation must be selected
#
CONFIG_VFP=y
CONFIG_VFPv3=y
CONFIG_NEON=y

#
# Userspace binary formats
#
CONFIG_BINFMT_ELF=y
CONFIG_HAVE_AOUT=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set

#
# Power management options
#
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HAS_WAKELOCK=y
CONFIG_HAS_EARLYSUSPEND=y
CONFIG_WAKELOCK=y
CONFIG_WAKELOCK_STAT=y
CONFIG_USER_WAKELOCK=y
CONFIG_EARLYSUSPEND=y
# CONFIG_NO_USER_SPACE_SCREEN_ACCESS_CONTROL is not set
# CONFIG_CONSOLE_EARLYSUSPEND is not set
CONFIG_FB_EARLYSUSPEND=y
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
CONFIG_PM_RUNTIME=y
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
# CONFIG_APM_EMULATION is not set
CONFIG_PM_RUNTIME_CLK=y
CONFIG_CPU_PM=y
CONFIG_SUSPEND_TIME=y
CONFIG_SUSPEND_SYNC_WORKQUEUE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_XFRM_STATISTICS is not set
CONFIG_XFRM_IPCOMP=y
CONFIG_NET_KEY=y
# CONFIG_NET_KEY_MIGRATE is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
# CONFIG_IP_FIB_TRIE_STATS is not set
CONFIG_IP_MULTIPLE_TABLES=y
# CONFIG_IP_ROUTE_MULTIPATH is not set
# CONFIG_IP_ROUTE_VERBOSE is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE_DEMUX is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
CONFIG_INET_ESP=y
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
CONFIG_INET_TUNNEL=y
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_LRO is not set
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
CONFIG_IPV6=y
CONFIG_IPV6_PRIVACY=y
CONFIG_IPV6_ROUTER_PREF=y
# CONFIG_IPV6_ROUTE_INFO is not set
CONFIG_IPV6_OPTIMISTIC_DAD=y
CONFIG_INET6_AH=y
CONFIG_INET6_ESP=y
CONFIG_INET6_IPCOMP=y
CONFIG_IPV6_MIP6=y
CONFIG_INET6_XFRM_TUNNEL=y
CONFIG_INET6_TUNNEL=y
CONFIG_INET6_XFRM_MODE_TRANSPORT=y
CONFIG_INET6_XFRM_MODE_TUNNEL=y
CONFIG_INET6_XFRM_MODE_BEET=y
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
CONFIG_IPV6_SIT=y
# CONFIG_IPV6_SIT_6RD is not set
CONFIG_IPV6_NDISC_NODETYPE=y
CONFIG_IPV6_TUNNEL=y
CONFIG_IPV6_MULTIPLE_TABLES=y
# CONFIG_IPV6_SUBTREES is not set
# CONFIG_IPV6_MROUTE is not set
# CONFIG_ANDROID_PARANOID_NETWORK is not set
CONFIG_NET_ACTIVITY_STATS=y
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_NETFILTER_ADVANCED=y
CONFIG_BRIDGE_NETFILTER=y

#
# Core Netfilter Configuration
#
CONFIG_NETFILTER_NETLINK=y
CONFIG_NETFILTER_NETLINK_QUEUE=y
CONFIG_NETFILTER_NETLINK_LOG=y
CONFIG_NF_CONNTRACK=y
CONFIG_NF_CONNTRACK_MARK=y
CONFIG_NF_CONNTRACK_EVENTS=y
# CONFIG_NF_CONNTRACK_TIMESTAMP is not set
CONFIG_NF_CT_PROTO_DCCP=y
CONFIG_NF_CT_PROTO_GRE=y
CONFIG_NF_CT_PROTO_SCTP=y
CONFIG_NF_CT_PROTO_UDPLITE=y
CONFIG_NF_CONNTRACK_AMANDA=y
CONFIG_NF_CONNTRACK_FTP=y
CONFIG_NF_CONNTRACK_H323=y
CONFIG_NF_CONNTRACK_IRC=y
CONFIG_NF_CONNTRACK_BROADCAST=y
CONFIG_NF_CONNTRACK_NETBIOS_NS=y
# CONFIG_NF_CONNTRACK_SNMP is not set
CONFIG_NF_CONNTRACK_PPTP=y
CONFIG_NF_CONNTRACK_SANE=y
CONFIG_NF_CONNTRACK_SIP=y
CONFIG_NF_CONNTRACK_TFTP=y
CONFIG_NF_CT_NETLINK=y
CONFIG_NETFILTER_TPROXY=y
CONFIG_NETFILTER_XTABLES=y

#
# Xtables combined modules
#
CONFIG_NETFILTER_XT_MARK=y
CONFIG_NETFILTER_XT_CONNMARK=y

#
# Xtables targets
#
# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=y
CONFIG_NETFILTER_XT_TARGET_CONNMARK=y
# CONFIG_NETFILTER_XT_TARGET_CT is not set
# CONFIG_NETFILTER_XT_TARGET_DSCP is not set
# CONFIG_NETFILTER_XT_TARGET_HL is not set
# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set
# CONFIG_NETFILTER_XT_TARGET_LED is not set
CONFIG_NETFILTER_XT_TARGET_MARK=y
CONFIG_NETFILTER_XT_TARGET_NFLOG=y
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=y
# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set
# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set
# CONFIG_NETFILTER_XT_TARGET_TEE is not set
CONFIG_NETFILTER_XT_TARGET_TPROXY=y
CONFIG_NETFILTER_XT_TARGET_TRACE=y
# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set
# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set

#
# Xtables matches
#
# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set
# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set
CONFIG_NETFILTER_XT_MATCH_COMMENT=y
CONFIG_NETFILTER_XT_MATCH_CONNBYTES=y
CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y
CONFIG_NETFILTER_XT_MATCH_CONNMARK=y
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
# CONFIG_NETFILTER_XT_MATCH_CPU is not set
# CONFIG_NETFILTER_XT_MATCH_DCCP is not set
# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set
# CONFIG_NETFILTER_XT_MATCH_DSCP is not set
# CONFIG_NETFILTER_XT_MATCH_ESP is not set
CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=y
CONFIG_NETFILTER_XT_MATCH_HELPER=y
CONFIG_NETFILTER_XT_MATCH_HL=y
CONFIG_NETFILTER_XT_MATCH_IPRANGE=y
CONFIG_NETFILTER_XT_MATCH_LENGTH=y
CONFIG_NETFILTER_XT_MATCH_LIMIT=y
CONFIG_NETFILTER_XT_MATCH_MAC=y
CONFIG_NETFILTER_XT_MATCH_MARK=y
# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set
# CONFIG_NETFILTER_XT_MATCH_OSF is not set
# CONFIG_NETFILTER_XT_MATCH_OWNER is not set
CONFIG_NETFILTER_XT_MATCH_POLICY=y
# CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y
CONFIG_NETFILTER_XT_MATCH_QTAGUID=y
CONFIG_NETFILTER_XT_MATCH_QUOTA=y
CONFIG_NETFILTER_XT_MATCH_QUOTA2=y
CONFIG_NETFILTER_XT_MATCH_QUOTA2_LOG=y
# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set
# CONFIG_NETFILTER_XT_MATCH_REALM is not set
# CONFIG_NETFILTER_XT_MATCH_RECENT is not set
# CONFIG_NETFILTER_XT_MATCH_SCTP is not set
CONFIG_NETFILTER_XT_MATCH_SOCKET=y
CONFIG_NETFILTER_XT_MATCH_STATE=y
CONFIG_NETFILTER_XT_MATCH_STATISTIC=y
CONFIG_NETFILTER_XT_MATCH_STRING=y
# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set
CONFIG_NETFILTER_XT_MATCH_TIME=y
CONFIG_NETFILTER_XT_MATCH_U32=y
# CONFIG_IP_SET is not set
# CONFIG_IP_VS is not set

#
# IP: Netfilter Configuration
#
CONFIG_NF_DEFRAG_IPV4=y
CONFIG_NF_CONNTRACK_IPV4=y
CONFIG_NF_CONNTRACK_PROC_COMPAT=y
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_MATCH_AH=y
CONFIG_IP_NF_MATCH_ECN=y
CONFIG_IP_NF_MATCH_TTL=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_TARGET_REJECT_SKERR=y
CONFIG_IP_NF_TARGET_LOG=y
# CONFIG_IP_NF_TARGET_ULOG is not set
CONFIG_NF_NAT=y
CONFIG_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP_NF_TARGET_NETMAP=y
CONFIG_IP_NF_TARGET_REDIRECT=y
CONFIG_NF_NAT_PROTO_DCCP=y
CONFIG_NF_NAT_PROTO_GRE=y
CONFIG_NF_NAT_PROTO_UDPLITE=y
CONFIG_NF_NAT_PROTO_SCTP=y
CONFIG_NF_NAT_FTP=y
CONFIG_NF_NAT_IRC=y
CONFIG_NF_NAT_TFTP=y
CONFIG_NF_NAT_AMANDA=y
CONFIG_NF_NAT_PPTP=y
CONFIG_NF_NAT_H323=y
CONFIG_NF_NAT_SIP=y
CONFIG_IP_NF_MANGLE=y
# CONFIG_IP_NF_TARGET_CLUSTERIP is not set
# CONFIG_IP_NF_TARGET_ECN is not set
# CONFIG_IP_NF_TARGET_TTL is not set
CONFIG_IP_NF_RAW=y
CONFIG_IP_NF_ARPTABLES=y
CONFIG_IP_NF_ARPFILTER=y
CONFIG_IP_NF_ARP_MANGLE=y

#
# IPv6: Netfilter Configuration
#
CONFIG_NF_DEFRAG_IPV6=y
CONFIG_NF_CONNTRACK_IPV6=y
# CONFIG_IP6_NF_QUEUE is not set
CONFIG_IP6_NF_IPTABLES=y
# CONFIG_IP6_NF_MATCH_AH is not set
# CONFIG_IP6_NF_MATCH_EUI64 is not set
# CONFIG_IP6_NF_MATCH_FRAG is not set
# CONFIG_IP6_NF_MATCH_OPTS is not set
# CONFIG_IP6_NF_MATCH_HL is not set
# CONFIG_IP6_NF_MATCH_IPV6HEADER is not set
# CONFIG_IP6_NF_MATCH_MH is not set
# CONFIG_IP6_NF_MATCH_RT is not set
# CONFIG_IP6_NF_TARGET_HL is not set
CONFIG_IP6_NF_TARGET_LOG=y
CONFIG_IP6_NF_FILTER=y
CONFIG_IP6_NF_TARGET_REJECT=y
CONFIG_IP6_NF_TARGET_REJECT_SKERR=y
CONFIG_IP6_NF_MANGLE=y
CONFIG_IP6_NF_RAW=y
# CONFIG_BRIDGE_NF_EBTABLES is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
CONFIG_STP=y
CONFIG_BRIDGE=y
# CONFIG_BRIDGE_IGMP_SNOOPING is not set
# CONFIG_NET_DSA is not set
CONFIG_VLAN_8021Q=m
# CONFIG_VLAN_8021Q_GVRP is not set
# CONFIG_DECNET is not set
CONFIG_LLC=y
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
CONFIG_PHONET=y
# CONFIG_IEEE802154 is not set
CONFIG_NET_SCHED=y

#
# Queueing/Scheduling
#
# CONFIG_NET_SCH_CBQ is not set
CONFIG_NET_SCH_HTB=y
# CONFIG_NET_SCH_HFSC is not set
# CONFIG_NET_SCH_PRIO is not set
# CONFIG_NET_SCH_MULTIQ is not set
# CONFIG_NET_SCH_RED is not set
# CONFIG_NET_SCH_SFB is not set
# CONFIG_NET_SCH_SFQ is not set
# CONFIG_NET_SCH_TEQL is not set
# CONFIG_NET_SCH_TBF is not set
# CONFIG_NET_SCH_GRED is not set
# CONFIG_NET_SCH_DSMARK is not set
# CONFIG_NET_SCH_NETEM is not set
# CONFIG_NET_SCH_DRR is not set
# CONFIG_NET_SCH_MQPRIO is not set
# CONFIG_NET_SCH_CHOKE is not set
# CONFIG_NET_SCH_QFQ is not set
CONFIG_NET_SCH_INGRESS=y

#
# Classification
#
CONFIG_NET_CLS=y
# CONFIG_NET_CLS_BASIC is not set
# CONFIG_NET_CLS_TCINDEX is not set
# CONFIG_NET_CLS_ROUTE4 is not set
# CONFIG_NET_CLS_FW is not set
CONFIG_NET_CLS_U32=y
# CONFIG_CLS_U32_PERF is not set
# CONFIG_CLS_U32_MARK is not set
# CONFIG_NET_CLS_RSVP is not set
# CONFIG_NET_CLS_RSVP6 is not set
# CONFIG_NET_CLS_FLOW is not set
# CONFIG_NET_CLS_CGROUP is not set
CONFIG_NET_EMATCH=y
CONFIG_NET_EMATCH_STACK=32
# CONFIG_NET_EMATCH_CMP is not set
# CONFIG_NET_EMATCH_NBYTE is not set
CONFIG_NET_EMATCH_U32=y
# CONFIG_NET_EMATCH_META is not set
# CONFIG_NET_EMATCH_TEXT is not set
CONFIG_NET_CLS_ACT=y
CONFIG_NET_ACT_POLICE=y
CONFIG_NET_ACT_GACT=y
# CONFIG_GACT_PROB is not set
CONFIG_NET_ACT_MIRRED=y
# CONFIG_NET_ACT_IPT is not set
# CONFIG_NET_ACT_NAT is not set
# CONFIG_NET_ACT_PEDIT is not set
# CONFIG_NET_ACT_SIMP is not set
# CONFIG_NET_ACT_SKBEDIT is not set
# CONFIG_NET_ACT_CSUM is not set
# CONFIG_NET_CLS_IND is not set
CONFIG_NET_SCH_FIFO=y
# CONFIG_DCB is not set
CONFIG_DNS_RESOLVER=y
# CONFIG_BATMAN_ADV is not set
CONFIG_RPS=y
CONFIG_RFS_ACCEL=y
CONFIG_XPS=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
CONFIG_BT=m
CONFIG_BT_L2CAP=y
CONFIG_BT_SCO=y
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=m

#
# Bluetooth device drivers
#
CONFIG_BT_HCIBTUSB=m
# CONFIG_BT_HCIBTSDIO is not set
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
# CONFIG_BT_HCIUART_ATH3K is not set
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_HCIBCM203X=m
# CONFIG_BT_HCIBPA10X is not set
# CONFIG_BT_HCIBFUSB is not set
CONFIG_BT_HCIVHCI=m
# CONFIG_BT_MRVL is not set
# CONFIG_BT_ATH3K is not set
# CONFIG_AF_RXRPC is not set
CONFIG_FIB_RULES=y
CONFIG_WIRELESS=y
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_CFG80211=y
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_REG_DEBUG is not set
CONFIG_CFG80211_DEFAULT_PS=y
# CONFIG_CFG80211_DEBUGFS is not set
# CONFIG_CFG80211_INTERNAL_REGDB is not set
CONFIG_CFG80211_WEXT=y
CONFIG_WIRELESS_EXT_SYSFS=y
CONFIG_LIB80211=y
# CONFIG_LIB80211_DEBUG is not set
# CONFIG_CFG80211_ALLOW_RECONNECT is not set
CONFIG_MAC80211=y
CONFIG_MAC80211_HAS_RC=y
# CONFIG_MAC80211_RC_PID is not set
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_MINSTREL_HT=y
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
# CONFIG_MAC80211_MESH is not set
CONFIG_MAC80211_LEDS=y
# CONFIG_MAC80211_DEBUGFS is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
# CONFIG_WIMAX is not set
CONFIG_RFKILL=y
CONFIG_RFKILL_PM=y
CONFIG_RFKILL_LEDS=y
CONFIG_RFKILL_INPUT=y
CONFIG_RFKILL_REGULATOR=y
CONFIG_RFKILL_GPIO=y
# CONFIG_RFKILL_RESET is not set
CONFIG_RFKILL_RK=y
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH=""
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
# CONFIG_FIRMWARE_IN_KERNEL is not set
CONFIG_EXTRA_FIRMWARE=""
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_CONNECTOR is not set
CONFIG_MTD=y
# CONFIG_MTD_DEBUG is not set
# CONFIG_MTD_TESTS is not set
# CONFIG_MTD_REDBOOT_PARTS is not set
CONFIG_MTD_CMDLINE_PARTS=y
# CONFIG_MTD_AFS_PARTS is not set
# CONFIG_MTD_AR7_PARTS is not set

#
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y
# CONFIG_FTL is not set
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
# CONFIG_RFD_FTL is not set
# CONFIG_SSFDC is not set
# CONFIG_SM_FTL is not set
# CONFIG_MTD_OOPS is not set
# CONFIG_MTD_SWAP is not set

#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set

#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PLATRAM is not set

#
# Self-contained MTD device drivers
#
# CONFIG_MTD_DATAFLASH is not set
# CONFIG_MTD_M25P80 is not set
# CONFIG_MTD_SST25L is not set
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
# CONFIG_MTD_MTDRAM is not set
# CONFIG_MTD_BLOCK2MTD is not set

#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOC2000 is not set
# CONFIG_MTD_DOC2001 is not set
# CONFIG_MTD_DOC2001PLUS is not set
CONFIG_MTD_NAND_IDS=y
# CONFIG_MTD_NAND is not set
CONFIG_MTD_RKNAND=y
CONFIG_MTD_NAND_RK29XX=y
CONFIG_MTD_RKNAND_BUFFER=y
# CONFIG_MTD_EMMC_CLK_POWER_SAVE is not set
# CONFIG_MTD_NAND_RK29XX_DEBUG is not set
# CONFIG_MTD_ONENAND is not set

#
# LPDDR flash memory drivers
#
# CONFIG_MTD_LPDDR is not set
# CONFIG_MTD_UBI is not set
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set

#
# DRBD disabled because PROC_FS, INET or CONNECTOR not selected
#
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_UB is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_MG_DISK is not set
# CONFIG_BLK_DEV_RBD is not set
# CONFIG_SENSORS_LIS3LV02D is not set
CONFIG_MISC_DEVICES=y
# CONFIG_AD525X_DPOT is not set
CONFIG_ANDROID_PMEM=y
# CONFIG_INTEL_MID_PTI is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_APDS9802ALS is not set
# CONFIG_ISL29003 is not set
# CONFIG_ISL29020 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_SENSORS_BH1780 is not set
# CONFIG_SENSORS_BH1770 is not set
# CONFIG_SENSORS_APDS990X is not set
# CONFIG_HMC6352 is not set
# CONFIG_SENSORS_AK8975 is not set
# CONFIG_DS1682 is not set
# CONFIG_TI_DAC7512 is not set
CONFIG_UID_STAT=y
# CONFIG_BMP085 is not set
# CONFIG_WL127X_RFKILL is not set
CONFIG_APANIC=y
CONFIG_APANIC_PLABEL="kpanic"
# CONFIG_STE is not set
# CONFIG_MTK23D is not set
# CONFIG_FM580X is not set
# CONFIG_MU509 is not set
# CONFIG_MW100 is not set
# CONFIG_RK29_NEWTON is not set
# CONFIG_RK29_SC8800 is not set
# CONFIG_TDSC8800 is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_AT25 is not set
# CONFIG_EEPROM_LEGACY is not set
# CONFIG_EEPROM_MAX6875 is not set
# CONFIG_EEPROM_93CX6 is not set
# CONFIG_RK29_SUPPORT_MODEM is not set
# CONFIG_RK29_GPS is not set
# CONFIG_MPU_SENSORS_TIMERIRQ is not set
# CONFIG_INV_SENSORS is not set
# CONFIG_IWMC3200TOP is not set

#
# Texas Instruments shared transport line discipline
#
# CONFIG_TI_ST is not set
# CONFIG_SENSORS_LIS3_SPI is not set
# CONFIG_SENSORS_LIS3_I2C is not set
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not set
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set
# CONFIG_CHR_DEV_SCH is not set
CONFIG_SCSI_MULTI_LUN=y
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set
CONFIG_SCSI_WAIT_SCAN=m

#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_ISCSI_BOOT_SYSFS is not set
# CONFIG_LIBFC is not set
# CONFIG_LIBFCOE is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set
# CONFIG_ATA is not set
CONFIG_MD=y
# CONFIG_BLK_DEV_MD is not set
CONFIG_BLK_DEV_DM=y
# CONFIG_DM_DEBUG is not set
CONFIG_DM_CRYPT=y
# CONFIG_DM_SNAPSHOT is not set
# CONFIG_DM_MIRROR is not set
# CONFIG_DM_RAID is not set
# CONFIG_DM_ZERO is not set
# CONFIG_DM_MULTIPATH is not set
# CONFIG_DM_DELAY is not set
CONFIG_DM_UEVENT=y
# CONFIG_DM_FLAKEY is not set
# CONFIG_TARGET_CORE is not set
CONFIG_NETDEVICES=y
# CONFIG_IFB is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_MACVLAN is not set
# CONFIG_EQUALIZER is not set
CONFIG_TUN=m
# CONFIG_VETH is not set
CONFIG_MII=y
CONFIG_PHYLIB=y

#
# MII PHY device drivers
#
# CONFIG_MARVELL_PHY is not set
# CONFIG_DAVICOM_PHY is not set
# CONFIG_QSEMI_PHY is not set
# CONFIG_LXT_PHY is not set
# CONFIG_CICADA_PHY is not set
# CONFIG_VITESSE_PHY is not set
# CONFIG_SMSC_PHY is not set
# CONFIG_BROADCOM_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_REALTEK_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_STE10XP is not set
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_MICREL_PHY is not set
# CONFIG_FIXED_PHY is not set
# CONFIG_MDIO_BITBANG is not set
# CONFIG_NET_ETHERNET is not set
# CONFIG_NETDEV_1000 is not set
# CONFIG_NETDEV_10000 is not set
CONFIG_WLAN=y
# CONFIG_LIBERTAS_THINFIRM is not set
# CONFIG_AT76C50X_USB is not set
# CONFIG_USB_ZD1201 is not set
# CONFIG_USB_NET_RNDIS_WLAN is not set
# CONFIG_RTL8187 is not set
# CONFIG_MAC80211_HWSIM is not set
# CONFIG_ATH_COMMON is not set
# CONFIG_B43 is not set
# CONFIG_B43LEGACY is not set
# CONFIG_BCM4329 is not set
# CONFIG_BCMDHD is not set
# CONFIG_HOSTAP is not set
# CONFIG_IWM is not set
# CONFIG_LIBERTAS is not set
# CONFIG_P54_COMMON is not set
# CONFIG_RT2X00 is not set
# CONFIG_RTL8192SE is not set
# CONFIG_RTL8192CU is not set
# CONFIG_WL1251 is not set
# CONFIG_WL12XX_MENU is not set
# CONFIG_ZD1211RW is not set
# CONFIG_MWIFIEX is not set
# CONFIG_RTL8188EU is not set
# CONFIG_BCM40181 is not set

#
# Enable WiMAX (Networking options) to see the WiMAX drivers
#

#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
CONFIG_USB_USBNET=y
CONFIG_USB_NET_AX8817X=m
# CONFIG_USB_NET_CDCETHER is not set
# CONFIG_USB_NET_CDC_EEM is not set
# CONFIG_USB_NET_CDC_NCM is not set
CONFIG_USB_NET_DM9601=m
CONFIG_USB_NET_SMSC75XX=m
CONFIG_USB_NET_SMSC95XX=m
# CONFIG_USB_NET_GL620A is not set
# CONFIG_USB_NET_NET1080 is not set
# CONFIG_USB_NET_PLUSB is not set
CONFIG_USB_NET_MCS7830=m
# CONFIG_USB_NET_RNDIS_HOST is not set
# CONFIG_USB_NET_CDC_SUBSET is not set
# CONFIG_USB_NET_ZAURUS is not set
# CONFIG_USB_NET_CX82310_ETH is not set
# CONFIG_USB_NET_KALMIA is not set
# CONFIG_USB_HSO is not set
# CONFIG_USB_NET_INT51X1 is not set
# CONFIG_USB_CDC_PHONET is not set
# CONFIG_USB_IPHETH is not set
# CONFIG_USB_SIERRA_NET is not set
CONFIG_USB_NET_QF9700=y
CONFIG_USB_NET_SR9600=y
# CONFIG_WAN is not set

#
# CAIF transport drivers
#
CONFIG_PPP=y
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=y
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_BSDCOMP=y
CONFIG_PPP_MPPE=y
# CONFIG_PPPOE is not set
CONFIG_PPPOLAC=y
CONFIG_PPPOPNS=y
# CONFIG_SLIP is not set
CONFIG_SLHC=y
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_ISDN is not set
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y
CONFIG_INPUT_FF_MEMLESS=y
# CONFIG_INPUT_POLLDEV is not set
# CONFIG_INPUT_SPARSEKMAP is not set

#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
CONFIG_INPUT_KEYRESET=y

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYS_RK29=y
# CONFIG_SYNAPTICS_SO340010 is not set
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ADP5589 is not set
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_GPIO is not set
# CONFIG_KEYBOARD_WM831X_GPIO is not set
# CONFIG_KEYBOARD_TCA6416 is not set
# CONFIG_KEYBOARD_MATRIX is not set
# CONFIG_KEYBOARD_LM8323 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MCS is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_SENTELIC is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_BCM5974 is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_GPIO is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
CONFIG_INPUT_JOYSTICK=y
# CONFIG_JOYSTICK_ANALOG is not set
# CONFIG_JOYSTICK_A3D is not set
# CONFIG_JOYSTICK_ADI is not set
# CONFIG_JOYSTICK_COBRA is not set
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not set
# CONFIG_JOYSTICK_GRIP_MP is not set
# CONFIG_JOYSTICK_GUILLEMOT is not set
# CONFIG_JOYSTICK_INTERACT is not set
# CONFIG_JOYSTICK_SIDEWINDER is not set
# CONFIG_JOYSTICK_TMDC is not set
# CONFIG_JOYSTICK_IFORCE is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
# CONFIG_JOYSTICK_TWIDJOY is not set
# CONFIG_JOYSTICK_ZHENHUA is not set
# CONFIG_JOYSTICK_AS5011 is not set
# CONFIG_JOYSTICK_JOYDUMP is not set
# CONFIG_JOYSTICK_XPAD is not set
CONFIG_INPUT_TABLET=y
# CONFIG_TABLET_USB_ACECAD is not set
# CONFIG_TABLET_USB_AIPTEK is not set
# CONFIG_TABLET_USB_GTCO is not set
# CONFIG_TABLET_USB_HANWANG is not set
# CONFIG_TABLET_USB_KBTAB is not set
# CONFIG_TABLET_USB_WACOM is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
# CONFIG_INPUT_LPSENSOR_ISL29028 is not set
# CONFIG_INPUT_LPSENSOR_CM3602 is not set
# CONFIG_INPUT_LPSENSOR_AL3006 is not set
# CONFIG_INPUT_AD714X is not set
# CONFIG_INPUT_ATI_REMOTE is not set
# CONFIG_INPUT_ATI_REMOTE2 is not set
CONFIG_INPUT_KEYCHORD=y
# CONFIG_INPUT_KEYSPAN_REMOTE is not set
# CONFIG_INPUT_POWERMATE is not set
# CONFIG_INPUT_YEALINK is not set
# CONFIG_INPUT_CM109 is not set
CONFIG_INPUT_UINPUT=y
# CONFIG_INPUT_GPIO is not set
# CONFIG_INPUT_PCF8574 is not set
# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
# CONFIG_INPUT_ADXL34X is not set
# CONFIG_INPUT_CMA3000 is not set
# CONFIG_MAG_SENSORS is not set
# CONFIG_G_SENSOR_DEVICE is not set
# CONFIG_GYRO_SENSOR_DEVICE is not set
# CONFIG_INPUT_JOGBALL is not set
# CONFIG_LIGHT_SENSOR_DEVICE is not set

#
# handle all sensors
#
# CONFIG_SENSOR_DEVICE is not set
CONFIG_ROCKCHIP_REMOTECTL=y
CONFIG_RK_REMOTECTL=y

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_SERPORT=y
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_UNIX98_PTYS=y
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_N_GSM is not set
# CONFIG_TRACE_SINK is not set
CONFIG_DEVMEM=y
CONFIG_DEVKMEM=y

#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not set

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_MAX3100 is not set
# CONFIG_SERIAL_MAX3107 is not set
CONFIG_SERIAL_CORE=y
# CONFIG_SERIAL_TIMBERDALE is not set
CONFIG_SERIAL_RK29=y
CONFIG_UART0_RK29=y
CONFIG_UART0_CTS_RTS_RK29=y
# CONFIG_UART0_DMA_RK29 is not set
# CONFIG_UART1_RK29 is not set
# CONFIG_UART2_RK29 is not set
CONFIG_UART3_RK29=y
CONFIG_UART3_CTS_RTS_RK29=y
# CONFIG_UART3_DMA_RK29 is not set
# CONFIG_SERIAL_RK29_CONSOLE is not set
# CONFIG_SERIAL_SC8800 is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_IFX6X60 is not set
# CONFIG_SERIAL_XILINX_PS_UART is not set
# CONFIG_TTY_PRINTK is not set
# CONFIG_HVC_DCC is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_R3964 is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_DCC_TTY is not set
# CONFIG_RAMOOPS is not set
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
# CONFIG_I2C_COMPAT is not set
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MUX=y

#
# Multiplexer I2C Chip support
#
CONFIG_I2C_MUX_GPIO=y
CONFIG_I2C_MUX_PCA9541=y
CONFIG_I2C_MUX_PCA954x=y
CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_ALGOPCA=y

#
# I2C Hardware Bus support
#

#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
CONFIG_I2C_DESIGNWARE=y
CONFIG_I2C_GPIO=y
CONFIG_I2C_OCORES=y
CONFIG_I2C_PCA_PLATFORM=y
# CONFIG_I2C_PXA_PCI is not set
CONFIG_I2C_SIMTEC=y
CONFIG_I2C_XILINX=y

#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_DIOLAN_U2C is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_TAOS_EVM is not set
# CONFIG_I2C_TINY_USB is not set

#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_STUB is not set
CONFIG_I2C_RK30=y

#
# Now, there are five selectable I2C channels.
#
CONFIG_I2C0_RK30=y
# CONFIG_I2C0_CONTROLLER_RK29 is not set
CONFIG_I2C0_CONTROLLER_RK30=y
CONFIG_I2C1_RK30=y
# CONFIG_I2C1_CONTROLLER_RK29 is not set
CONFIG_I2C1_CONTROLLER_RK30=y
CONFIG_I2C2_RK30=y
# CONFIG_I2C2_CONTROLLER_RK29 is not set
CONFIG_I2C2_CONTROLLER_RK30=y
CONFIG_I2C3_RK30=y
# CONFIG_I2C3_CONTROLLER_RK29 is not set
CONFIG_I2C3_CONTROLLER_RK30=y
CONFIG_I2C4_RK30=y
# CONFIG_I2C4_CONTROLLER_RK29 is not set
CONFIG_I2C4_CONTROLLER_RK30=y
# CONFIG_I2C_GPIO_RK30 is not set
CONFIG_I2C_DEV_RK29=y
CONFIG_I2C_DEBUG_CORE=y
CONFIG_I2C_DEBUG_ALGO=y
CONFIG_I2C_DEBUG_BUS=y
CONFIG_SPI=y
# CONFIG_SPI_DEBUG is not set
CONFIG_SPI_MASTER=y

#
# SPI Master Controller Drivers
#
CONFIG_SPI_ALTERA=y
CONFIG_SPI_BITBANG=y
CONFIG_SPI_GPIO=y
CONFIG_SPI_OC_TINY=y
# CONFIG_SPI_PXA2XX_PCI is not set
# CONFIG_SPI_XILINX is not set
CONFIG_SPIM_RK29=y
CONFIG_SPIM0_RK29=y
CONFIG_SPIM1_RK29=y
# CONFIG_RK_SPIM_TEST is not set
# CONFIG_LCD_USE_SPIM_CONTROL is not set
CONFIG_SPI_DESIGNWARE=y
# CONFIG_SPI_DW_MMIO is not set

#
# SPI Protocol Masters
#
CONFIG_SPI_SPIDEV=y
CONFIG_SPI_TLE62X0=y
CONFIG_ADC=y
# CONFIG_ADC_NULL is not set
CONFIG_ADC_RK30=y

#
# Headset device support
#
# CONFIG_RK_HEADSET_DET is not set
# CONFIG_RK_HEADSET_IRQ_HOOK_ADC_DET is not set

#
# PPS support
#
# CONFIG_PPS is not set

#
# PPS generators support
#

#
# PTP clock support
#

#
# Enable Device Drivers -> PPS to see the PTP clock options.
#
CONFIG_ARCH_REQUIRE_GPIOLIB=y
CONFIG_GPIOLIB=y
# CONFIG_DEBUG_GPIO is not set
# CONFIG_GPIO_SYSFS is not set

#
# Memory mapped GPIO drivers:
#
# CONFIG_GPIO_BASIC_MMIO is not set
# CONFIG_GPIO_IT8761E is not set

#
# I2C GPIO expanders:
#
# CONFIG_GPIO_MAX7300 is not set
# CONFIG_GPIO_MAX732X is not set
# CONFIG_GPIO_PCF857X is not set
# CONFIG_GPIO_SX150X is not set
# CONFIG_GPIO_ADP5588 is not set

#
# PCI GPIO expanders:
#

#
# SPI GPIO expanders:
#
# CONFIG_GPIO_MAX7301 is not set
# CONFIG_GPIO_MCP23S08 is not set
# CONFIG_GPIO_MC33880 is not set
# CONFIG_GPIO_74X164 is not set

#
# AC97 GPIO expanders:
#
# CONFIG_GPIO_PCA9554 is not set
# CONFIG_IOEXTEND_TCA6424 is not set
CONFIG_EXPANDED_GPIO_NUM=0
CONFIG_EXPANDED_GPIO_IRQ_NUM=0
# CONFIG_EXPAND_GPIO_SOFT_INTERRUPT is not set
CONFIG_SPI_FPGA_GPIO_NUM=0
CONFIG_SPI_FPGA_GPIO_IRQ_NUM=0

#
# MODULbus GPIO expanders:
#
CONFIG_GPIO_TPS65910=y
# CONFIG_W1 is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
CONFIG_TEST_POWER=y
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_BQ20Z75 is not set
# CONFIG_BATTERY_BQ27x00 is not set
# CONFIG_BATTERY_MAX17040 is not set
# CONFIG_BATTERY_MAX17042 is not set
# CONFIG_CHARGER_MAX8903 is not set
# CONFIG_CHARGER_GPIO is not set
# CONFIG_BATTERY_RK30_ADC is not set
# CONFIG_POWER_ON_CHARGER_DISPLAY is not set
# CONFIG_WM8326_VBAT_LOW_DETECTION is not set
# CONFIG_HWMON is not set
# CONFIG_THERMAL is not set
# CONFIG_WATCHDOG is not set
CONFIG_SSB_POSSIBLE=y

#
# Sonics Silicon Backplane
#
CONFIG_SSB=m
CONFIG_SSB_SDIOHOST_POSSIBLE=y
CONFIG_SSB_SDIOHOST=y
# CONFIG_SSB_SILENT is not set
# CONFIG_SSB_DEBUG is not set
CONFIG_BCMA_POSSIBLE=y

#
# Broadcom specific AMBA
#
# CONFIG_BCMA is not set
CONFIG_MFD_SUPPORT=y
CONFIG_MFD_CORE=y
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_ASIC3 is not set
# CONFIG_HTC_EGPIO is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_HTC_I2CPLD is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS65010 is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS6586X is not set
CONFIG_MFD_TPS65910=y
# CONFIG_MFD_TPS65912_I2C is not set
# CONFIG_MFD_TPS65912_SPI is not set
# CONFIG_TWL4030_CORE is not set
# CONFIG_AIC3262_CODEC is not set
# CONFIG_MFD_STMPE is not set
# CONFIG_MFD_TC3589X is not set
# CONFIG_MFD_TMIO is not set
# CONFIG_MFD_T7L66XB is not set
# CONFIG_MFD_TC6387XB is not set
# CONFIG_MFD_TC6393XB is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_MAX8997 is not set
# CONFIG_MFD_MAX8998 is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM831X_I2C is not set
# CONFIG_MFD_WM831X_SPI is not set
# CONFIG_MFD_WM831X_SPI_A22 is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_WM8994 is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_MC13XXX is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_EZX_PCAP is not set
# CONFIG_MFD_WL1273_CORE is not set
# CONFIG_MFD_TPS65090 is not set
# CONFIG_MFD_RK610 is not set
# CONFIG_MFD_RK1000 is not set
CONFIG_REGULATOR=y
# CONFIG_REGULATOR_DEBUG is not set
# CONFIG_REGULATOR_DUMMY is not set
# CONFIG_REGULATOR_FIXED_VOLTAGE is not set
# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
# CONFIG_REGULATOR_BQ24022 is not set
# CONFIG_REGULATOR_MAX1586 is not set
# CONFIG_REGULATOR_MAX8649 is not set
# CONFIG_REGULATOR_MAX8660 is not set
# CONFIG_REGULATOR_MAX8952 is not set
CONFIG_REGULATOR_TPS65910=y
# CONFIG_REGULATOR_LP3971 is not set
# CONFIG_REGULATOR_LP3972 is not set
# CONFIG_REGULATOR_TPS65023 is not set
# CONFIG_REGULATOR_TPS6507X is not set
# CONFIG_RK2818_REGULATOR_CHARGE is not set
# CONFIG_RK2818_REGULATOR_LP8725 is not set
# CONFIG_REGULATOR_ACT8891 is not set
# CONFIG_RK29_PWM_REGULATOR is not set
CONFIG_RK30_PWM_REGULATOR=y
# CONFIG_REGULATOR_ISL6271A is not set
# CONFIG_REGULATOR_AD5398 is not set
# CONFIG_REGULATOR_TPS6524X is not set
CONFIG_MEDIA_SUPPORT=y

#
# Multimedia core support
#
# CONFIG_MEDIA_CONTROLLER is not set
CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_V4L2_COMMON=y
# CONFIG_DVB_CORE is not set
CONFIG_VIDEO_MEDIA=y

#
# Multimedia drivers
#
CONFIG_RC_CORE=y
CONFIG_LIRC=y
CONFIG_RC_MAP=y
CONFIG_IR_NEC_DECODER=y
CONFIG_IR_RC5_DECODER=y
CONFIG_IR_RC6_DECODER=y
CONFIG_IR_JVC_DECODER=y
CONFIG_IR_SONY_DECODER=y
CONFIG_IR_RC5_SZ_DECODER=y
CONFIG_IR_LIRC_CODEC=y
# CONFIG_IR_IMON is not set
# CONFIG_IR_MCEUSB is not set
# CONFIG_IR_REDRAT3 is not set
# CONFIG_IR_STREAMZAP is not set
# CONFIG_RC_LOOPBACK is not set
# CONFIG_MEDIA_ATTACH is not set
CONFIG_MEDIA_TUNER=y
CONFIG_MEDIA_TUNER_CUSTOMISE=y

#
# Customize TV tuners
#
# CONFIG_MEDIA_TUNER_SIMPLE is not set
# CONFIG_MEDIA_TUNER_TDA8290 is not set
# CONFIG_MEDIA_TUNER_TDA827X is not set
# CONFIG_MEDIA_TUNER_TDA18271 is not set
# CONFIG_MEDIA_TUNER_TDA9887 is not set
# CONFIG_MEDIA_TUNER_TEA5761 is not set
# CONFIG_MEDIA_TUNER_TEA5767 is not set
# CONFIG_MEDIA_TUNER_MT20XX is not set
# CONFIG_MEDIA_TUNER_MT2060 is not set
# CONFIG_MEDIA_TUNER_MT2266 is not set
# CONFIG_MEDIA_TUNER_MT2131 is not set
# CONFIG_MEDIA_TUNER_QT1010 is not set
# CONFIG_MEDIA_TUNER_XC2028 is not set
# CONFIG_MEDIA_TUNER_XC5000 is not set
# CONFIG_MEDIA_TUNER_MXL5005S is not set
# CONFIG_MEDIA_TUNER_MXL5007T is not set
# CONFIG_MEDIA_TUNER_MC44S803 is not set
# CONFIG_MEDIA_TUNER_MAX2165 is not set
# CONFIG_MEDIA_TUNER_TDA18218 is not set
# CONFIG_MEDIA_TUNER_TDA18212 is not set
CONFIG_VIDEO_V4L2=y
CONFIG_VIDEO_CAPTURE_DRIVERS=y
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
CONFIG_VIDEO_IR_I2C=y

#
# Encoders, decoders, sensors and other helper chips
#

#
# Audio decoders, processors and mixers
#
# CONFIG_VIDEO_TVAUDIO is not set
# CONFIG_VIDEO_TDA7432 is not set
# CONFIG_VIDEO_TDA9840 is not set
# CONFIG_VIDEO_TEA6415C is not set
# CONFIG_VIDEO_TEA6420 is not set
# CONFIG_VIDEO_MSP3400 is not set
# CONFIG_VIDEO_CS5345 is not set
# CONFIG_VIDEO_CS53L32A is not set
# CONFIG_VIDEO_TLV320AIC23B is not set
# CONFIG_VIDEO_WM8775 is not set
# CONFIG_VIDEO_WM8739 is not set
# CONFIG_VIDEO_VP27SMPX is not set

#
# RDS decoders
#
# CONFIG_VIDEO_SAA6588 is not set

#
# Video decoders
#
# CONFIG_VIDEO_ADV7180 is not set
# CONFIG_VIDEO_BT819 is not set
# CONFIG_VIDEO_BT856 is not set
# CONFIG_VIDEO_BT866 is not set
# CONFIG_VIDEO_KS0127 is not set
# CONFIG_VIDEO_SAA7110 is not set
# CONFIG_VIDEO_SAA711X is not set
# CONFIG_VIDEO_SAA7191 is not set
# CONFIG_VIDEO_TVP514X is not set
# CONFIG_VIDEO_TVP5150 is not set
# CONFIG_VIDEO_TVP7002 is not set
# CONFIG_VIDEO_VPX3220 is not set

#
# Video and audio decoders
#
# CONFIG_VIDEO_SAA717X is not set
# CONFIG_VIDEO_CX25840 is not set

#
# MPEG video encoders
#
# CONFIG_VIDEO_CX2341X is not set

#
# Video encoders
#
# CONFIG_VIDEO_SAA7127 is not set
# CONFIG_VIDEO_SAA7185 is not set
# CONFIG_VIDEO_ADV7170 is not set
# CONFIG_VIDEO_ADV7175 is not set
# CONFIG_VIDEO_ADV7343 is not set
# CONFIG_VIDEO_AK881X is not set

#
# Camera sensor devices
#
# CONFIG_VIDEO_OV7670 is not set
# CONFIG_VIDEO_MT9V011 is not set
# CONFIG_VIDEO_TCM825X is not set

#
# Video improvement chips
#
# CONFIG_VIDEO_UPD64031A is not set
# CONFIG_VIDEO_UPD64083 is not set

#
# Miscelaneous helper chips
#
# CONFIG_VIDEO_THS7303 is not set
# CONFIG_VIDEO_M52790 is not set
# CONFIG_VIDEO_VIVI is not set
# CONFIG_VIDEO_CPIA2 is not set
# CONFIG_VIDEO_SR030PC30 is not set
# CONFIG_VIDEO_NOON010PC30 is not set
# CONFIG_SOC_CAMERA is not set
CONFIG_V4L_USB_DRIVERS=y
CONFIG_USB_VIDEO_CLASS=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
CONFIG_USB_GSPCA=m
# CONFIG_USB_M5602 is not set
# CONFIG_USB_STV06XX is not set
# CONFIG_USB_GL860 is not set
# CONFIG_USB_GSPCA_BENQ is not set
# CONFIG_USB_GSPCA_CONEX is not set
# CONFIG_USB_GSPCA_CPIA1 is not set
# CONFIG_USB_GSPCA_ETOMS is not set
# CONFIG_USB_GSPCA_FINEPIX is not set
# CONFIG_USB_GSPCA_JEILINJ is not set
# CONFIG_USB_GSPCA_KINECT is not set
# CONFIG_USB_GSPCA_KONICA is not set
# CONFIG_USB_GSPCA_MARS is not set
# CONFIG_USB_GSPCA_MR97310A is not set
# CONFIG_USB_GSPCA_NW80X is not set
# CONFIG_USB_GSPCA_OV519 is not set
# CONFIG_USB_GSPCA_OV534 is not set
# CONFIG_USB_GSPCA_OV534_9 is not set
# CONFIG_USB_GSPCA_PAC207 is not set
# CONFIG_USB_GSPCA_PAC7302 is not set
# CONFIG_USB_GSPCA_PAC7311 is not set
# CONFIG_USB_GSPCA_SN9C2028 is not set
# CONFIG_USB_GSPCA_SN9C20X is not set
# CONFIG_USB_GSPCA_SONIXB is not set
# CONFIG_USB_GSPCA_SONIXJ is not set
# CONFIG_USB_GSPCA_SPCA500 is not set
# CONFIG_USB_GSPCA_SPCA501 is not set
# CONFIG_USB_GSPCA_SPCA505 is not set
# CONFIG_USB_GSPCA_SPCA506 is not set
# CONFIG_USB_GSPCA_SPCA508 is not set
# CONFIG_USB_GSPCA_SPCA561 is not set
# CONFIG_USB_GSPCA_SPCA1528 is not set
# CONFIG_USB_GSPCA_SQ905 is not set
# CONFIG_USB_GSPCA_SQ905C is not set
# CONFIG_USB_GSPCA_SQ930X is not set
# CONFIG_USB_GSPCA_STK014 is not set
# CONFIG_USB_GSPCA_STV0680 is not set
# CONFIG_USB_GSPCA_SUNPLUS is not set
# CONFIG_USB_GSPCA_T613 is not set
# CONFIG_USB_GSPCA_TV8532 is not set
# CONFIG_USB_GSPCA_VC032X is not set
# CONFIG_USB_GSPCA_VICAM is not set
# CONFIG_USB_GSPCA_XIRLINK_CIT is not set
# CONFIG_USB_GSPCA_ZC3XX is not set
# CONFIG_VIDEO_PVRUSB2 is not set
# CONFIG_VIDEO_HDPVR is not set
# CONFIG_VIDEO_EM28XX is not set
# CONFIG_VIDEO_CX231XX is not set
# CONFIG_VIDEO_USBVISION is not set
# CONFIG_USB_ET61X251 is not set
# CONFIG_USB_SN9C102 is not set
# CONFIG_USB_PWC is not set
# CONFIG_USB_ZR364XX is not set
# CONFIG_USB_STKWEBCAM is not set
# CONFIG_USB_S2255 is not set
# CONFIG_V4L_MEM2MEM_DRIVERS is not set
CONFIG_RADIO_ADAPTERS=y
# CONFIG_I2C_SI4713 is not set
# CONFIG_RADIO_SI4713 is not set
# CONFIG_USB_DSBR is not set
# CONFIG_RADIO_SI470X is not set
# CONFIG_USB_MR800 is not set
# CONFIG_RADIO_TEA5764 is not set
# CONFIG_RADIO_SAA7706H is not set
# CONFIG_RADIO_TEF6862 is not set
# CONFIG_RADIO_WL1273 is not set

#
# Texas Instruments WL128x FM driver (ST based)
#
# CONFIG_RADIO_WL128X is not set
# CONFIG_SMS_SIANO_MDTV is not set

#
# Graphics support
#
# CONFIG_DRM is not set
CONFIG_ION=y
CONFIG_ION_ROCKCHIP=y
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_WMT_GE_ROPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set

#
# Frame buffer hardware drivers
#
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_TMIO is not set
# CONFIG_FB_RK29 is not set
# CONFIG_FB_MIRRORING is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_BROADSHEET is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
# CONFIG_LCD_CLASS_DEVICE is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
# CONFIG_BACKLIGHT_GENERIC is not set
CONFIG_BACKLIGHT_RK29_BL=y
# CONFIG_BACKLIGHT_AW9364 is not set
# CONFIG_BUTTON_LIGHT is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set

#
# Display device support
#
CONFIG_DISPLAY_SUPPORT=y

#
# Display hardware drivers
#
# CONFIG_LCD_NULL is not set
# CONFIG_LCD_LG_LP097X02 is not set
# CONFIG_LCD_TD043MGEA1 is not set
# CONFIG_LCD_HX8357 is not set
# CONFIG_LCD_TJ048NC01CA is not set
# CONFIG_LCD_HL070VM4AU is not set
# CONFIG_LCD_HSD070IDW1 is not set
# CONFIG_LCD_RGB_TFT480800_25_E is not set
# CONFIG_LCD_HSD100PXN is not set
# CONFIG_LCD_HSD07PFW1 is not set
# CONFIG_LCD_BYD8688FTGF is not set
# CONFIG_LCD_B101AW06 is not set
# CONFIG_LCD_LS035Y8DX02A is not set
# CONFIG_LCD_LS035Y8DX04A is not set
# CONFIG_LCD_HSD100PXN_FOR_TDW851 is not set
# CONFIG_LCD_CPTCLAA038LA31XE is not set
# CONFIG_LCD_A060SE02 is not set
# CONFIG_LCD_S1D13521 is not set
# CONFIG_LCD_NT35582 is not set
# CONFIG_LCD_NT35580 is not set
# CONFIG_LCD_IPS1P5680_V1_E is not set
# CONFIG_LCD_MCU_TFT480800_25_E is not set
# CONFIG_LCD_NT35510 is not set
# CONFIG_LCD_ILI9803_CPT4_3 is not set
# CONFIG_LCD_AT070TNA2 is not set
# CONFIG_LCD_AT070TN93 is not set
# CONFIG_LCD_TX23D88VM is not set
# CONFIG_LCD_A050VL01 is not set
# CONFIG_LCD_B101EW05 is not set
# CONFIG_LCD_HJ050NA_06A is not set
# CONFIG_BOX_FB_480P is not set
# CONFIG_BOX_FB_720P is not set
CONFIG_BOX_FB_1080P=y
# CONFIG_DISPLAY_LCD_SUPPORT is not set
# CONFIG_HDMI_ITV is not set
# CONFIG_RK_VGA is not set
# CONFIG_RK_TVENCODER is not set
# CONFIG_DISPLAY_AUTO_SWITCH is not set
# CONFIG_DISPLAY_KEY_LED_CONTROL is not set
CONFIG_FB_ROCKCHIP=y
CONFIG_LCDC_RK30=y
CONFIG_LCDC0_RK30=y
# CONFIG_LCDC1_RK30 is not set
# CONFIG_DUAL_DISP_IN_KERNEL is not set
CONFIG_THREE_FB_BUFFER=y
CONFIG_HDMI_RK30=y
# CONFIG_HDMI_RK30_CTL_CODEC is not set
# CONFIG_HDMI_RK30_DEBUG is not set
# CONFIG_HDCP_RK30 is not set

#
# RGA
#
CONFIG_RGA_RK30=y

#
# Console display driver support
#
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
CONFIG_FONTS=y
# CONFIG_FONT_8x8 is not set
CONFIG_FONT_8x16=y
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_7x14 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set
# CONFIG_FONT_10x18 is not set
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_LOGO_LINUX_CLUT224=y
# CONFIG_LOGO_CHARGER_CLUT224 is not set
# CONFIG_LOGO_G3_CLUT224 is not set
CONFIG_SOUND=y
# CONFIG_SOUND_OSS_CORE is not set
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_JACK=y
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not set
# CONFIG_SND_HRTIMER is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
# CONFIG_SND_RAWMIDI_SEQ is not set
# CONFIG_SND_OPL3_LIB_SEQ is not set
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
# CONFIG_SND_EMU10K1_SEQ is not set
# CONFIG_SND_DRIVERS is not set
# CONFIG_SND_ARM is not set
CONFIG_SND_SPI=y
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=y
# CONFIG_SND_USB_UA101 is not set
# CONFIG_SND_USB_CAIAQ is not set
# CONFIG_SND_USB_6FIRE is not set
CONFIG_SND_SOC=y
# CONFIG_SND_SOC_CACHE_LZO is not set
CONFIG_SND_RK29_SOC=y
CONFIG_SND_RK29_SOC_I2S=y
CONFIG_SND_RK29_SOC_I2S_8CH=y
# CONFIG_SND_RK29_SOC_I2S_2CH is not set
# CONFIG_SND_RK_SOC_I2S2_2CH is not set
# CONFIG_SND_DMA_EVENT_DYNAMIC is not set
CONFIG_SND_DMA_EVENT_STATIC=y
# CONFIG_SND_RK_SOC_SPDIF is not set
# CONFIG_SND_RK29_SOC_WM8988 is not set
# CONFIG_SND_RK29_SOC_WM8900 is not set
# CONFIG_SND_RK29_SOC_RT5621 is not set
# CONFIG_SND_RK29_SOC_RT5631 is not set
# CONFIG_SND_RK29_SOC_RT5625 is not set
# CONFIG_SND_RK29_SOC_CS42L52 is not set
# CONFIG_SND_RK29_SOC_AIC3111 is not set
# CONFIG_SND_RK29_SOC_AIC3262 is not set
CONFIG_SND_RK_SOC_HDMI=y
# CONFIG_SND_RK29_CODEC_SOC_MASTER is not set
CONFIG_SND_RK29_CODEC_SOC_SLAVE=y
# CONFIG_ADJUST_VOL_BY_CODEC is not set
# CONFIG_PHONE_INCALL_IS_SUSPEND is not set
CONFIG_SND_SOC_I2C_AND_SPI=y
# CONFIG_SND_SOC_ALL_CODECS is not set
CONFIG_SND_SOC_RK_HDMI_CODEC=y
# CONFIG_SOUND_PRIME is not set
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
# CONFIG_HIDRAW is not set

#
# USB Input Devices
#
CONFIG_USB_HID=y
# CONFIG_HID_PID is not set
# CONFIG_USB_HIDDEV is not set

#
# Special HID drivers
#
CONFIG_HID_A4TECH=y
CONFIG_HID_ACRUX=y
CONFIG_HID_ACRUX_FF=y
CONFIG_HID_APPLE=y
CONFIG_HID_BELKIN=y
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
# CONFIG_HID_PRODIKEYS is not set
CONFIG_HID_CYPRESS=y
CONFIG_HID_DRAGONRISE=y
CONFIG_DRAGONRISE_FF=y
CONFIG_HID_EMS_FF=y
# CONFIG_HID_ELECOM is not set
CONFIG_HID_EZKEY=y
CONFIG_HID_KEYTOUCH=y
CONFIG_HID_KYE=y
CONFIG_HID_UCLOGIC=y
CONFIG_HID_WALTOP=y
CONFIG_HID_GYRATION=y
CONFIG_HID_TWINHAN=y
CONFIG_HID_KENSINGTON=y
CONFIG_HID_LCPOWER=y
CONFIG_HID_LOGITECH=y
CONFIG_LOGITECH_FF=y
CONFIG_LOGIRUMBLEPAD2_FF=y
CONFIG_LOGIG940_FF=y
CONFIG_LOGIWII_FF=y
# CONFIG_HID_MAGICMOUSE is not set
CONFIG_HID_MICROSOFT=y
CONFIG_HID_MONTEREY=y
CONFIG_HID_MULTITOUCH=y
CONFIG_HID_NTRIG=y
CONFIG_HID_ORTEK=y
CONFIG_HID_PANTHERLORD=y
CONFIG_PANTHERLORD_FF=y
CONFIG_HID_PETALYNX=y
CONFIG_HID_PICOLCD=y
# CONFIG_HID_PICOLCD_FB is not set
# CONFIG_HID_PICOLCD_BACKLIGHT is not set
# CONFIG_HID_PICOLCD_LEDS is not set
CONFIG_HID_QUANTA=y
CONFIG_HID_ROCCAT=y
CONFIG_HID_ROCCAT_COMMON=y
CONFIG_HID_ROCCAT_ARVO=y
CONFIG_HID_ROCCAT_KONE=y
CONFIG_HID_ROCCAT_KONEPLUS=y
CONFIG_HID_ROCCAT_KOVAPLUS=y
CONFIG_HID_ROCCAT_PYRA=y
CONFIG_HID_SAMSUNG=y
CONFIG_HID_SONY=y
CONFIG_HID_SUNPLUS=y
CONFIG_HID_GREENASIA=y
CONFIG_GREENASIA_FF=y
CONFIG_HID_SMARTJOYPLUS=y
CONFIG_SMARTJOYPLUS_FF=y
CONFIG_HID_TOPSEED=y
CONFIG_HID_THRUSTMASTER=y
CONFIG_THRUSTMASTER_FF=y
# CONFIG_HID_WACOM is not set
CONFIG_HID_ZEROPLUS=y
CONFIG_ZEROPLUS_FF=y
CONFIG_HID_ZYDACRON=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y
# CONFIG_USB_ARCH_HAS_OHCI is not set
# CONFIG_USB_ARCH_HAS_EHCI is not set
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y

#
# Miscellaneous USB options
#
# CONFIG_USB_DEVICEFS is not set
CONFIG_USB_DEVICE_CLASS=y
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not set
CONFIG_USB_MON=m
# CONFIG_USB_WUSB is not set
# CONFIG_USB_WUSB_CBAF is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not set
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_ISP1760_HCD is not set
# CONFIG_USB_ISP1362_HCD is not set
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_HWA_HCD is not set
# CONFIG_USB_MUSB_HDRC is not set

#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m
# CONFIG_USB_WDM is not set
# CONFIG_USB_TMC is not set

#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
#

#
# also be needed; see USB_STORAGE Help for more info
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_REALTEK is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_STORAGE_KARMA is not set
# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
# CONFIG_USB_STORAGE_ENE_UB6250 is not set
CONFIG_USB_UAS=m
# CONFIG_USB_LIBUSUAL is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set

#
# USB port drivers
#
CONFIG_USB_SERIAL=y
# CONFIG_USB_SERIAL_CONSOLE is not set
# CONFIG_USB_EZUSB is not set
CONFIG_USB_SERIAL_GENERIC=y
# CONFIG_USB_SERIAL_AIRCABLE is not set
# CONFIG_USB_SERIAL_ARK3116 is not set
# CONFIG_USB_SERIAL_BELKIN is not set
# CONFIG_USB_SERIAL_CH341 is not set
# CONFIG_USB_SERIAL_WHITEHEAT is not set
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
# CONFIG_USB_SERIAL_CP210X is not set
# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
# CONFIG_USB_SERIAL_EMPEG is not set
# CONFIG_USB_SERIAL_FTDI_SIO is not set
# CONFIG_USB_SERIAL_FUNSOFT is not set
# CONFIG_USB_SERIAL_VISOR is not set
# CONFIG_USB_SERIAL_IPAQ is not set
# CONFIG_USB_SERIAL_IR is not set
# CONFIG_USB_SERIAL_EDGEPORT is not set
# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
# CONFIG_USB_SERIAL_GARMIN is not set
# CONFIG_USB_SERIAL_IPW is not set
# CONFIG_USB_SERIAL_IUU is not set
# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
# CONFIG_USB_SERIAL_KEYSPAN is not set
# CONFIG_USB_SERIAL_KLSI is not set
# CONFIG_USB_SERIAL_KOBIL_SCT is not set
# CONFIG_USB_SERIAL_MCT_U232 is not set
# CONFIG_USB_SERIAL_MOS7720 is not set
# CONFIG_USB_SERIAL_MOS7840 is not set
# CONFIG_USB_SERIAL_MOTOROLA is not set
# CONFIG_USB_SERIAL_NAVMAN is not set
# CONFIG_USB_SERIAL_PL2303 is not set
# CONFIG_USB_SERIAL_OTI6858 is not set
# CONFIG_USB_SERIAL_QCAUX is not set
# CONFIG_USB_SERIAL_QUALCOMM is not set
# CONFIG_USB_SERIAL_SPCP8X5 is not set
# CONFIG_USB_SERIAL_HP4X is not set
# CONFIG_USB_SERIAL_SAFE is not set
# CONFIG_USB_SERIAL_SIEMENS_MPI is not set
# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
# CONFIG_USB_SERIAL_SYMBOL is not set
# CONFIG_USB_SERIAL_TI is not set
# CONFIG_USB_SERIAL_CYBERJACK is not set
# CONFIG_USB_SERIAL_XIRCOM is not set
CONFIG_USB_SERIAL_WWAN=y
CONFIG_USB_SERIAL_OPTION=y
# CONFIG_USB_SERIAL_OMNINET is not set
# CONFIG_USB_SERIAL_OPTICON is not set
# CONFIG_USB_SERIAL_VIVOPAY_SERIAL is not set
# CONFIG_USB_SERIAL_ZIO is not set
# CONFIG_USB_SERIAL_SSU100 is not set
# CONFIG_USB_SERIAL_DEBUG is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_SEVSEG is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_ISIGHTFW is not set
# CONFIG_USB_YUREX is not set
# CONFIG_USB_GADGET is not set

#
# OTG and related infrastructure
#
# CONFIG_USB_OTG_WAKELOCK is not set
# CONFIG_USB_GPIO_VBUS is not set
# CONFIG_USB_ULPI is not set
# CONFIG_NOP_USB_XCEIV is not set
# CONFIG_USB11_HOST is not set
CONFIG_USB20_HOST=y
CONFIG_USB20_HOST_EN=y
CONFIG_USB20_OTG=y
CONFIG_DWC_OTG_HOST_ONLY=y
CONFIG_USB20_OTG_EN=y
CONFIG_DWC_OTG_DEBUG=y
# CONFIG_DWC_REMOTE_WAKEUP is not set
CONFIG_DWC_OTG=y
CONFIG_MMC=y
CONFIG_MMC_DEBUG=y
CONFIG_MMC_UNSAFE_RESUME=y
# CONFIG_MMC_CLKGATE is not set
CONFIG_MMC_EMBEDDED_SDIO=y
CONFIG_MMC_PARANOID_SD_INIT=y

#
# MMC/SD/SDIO Card Drivers
#
CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_MINORS=8
CONFIG_MMC_BLOCK_BOUNCE=y
# CONFIG_MMC_BLOCK_DEFERRED_RESUME is not set
CONFIG_SDIO_UART=y
# CONFIG_MMC_TEST is not set

#
# MMC/SD/SDIO Host Controller Drivers
#
CONFIG_SDMMC_RK29=y

#
# Now, there are two SDMMC controllers selected, SDMMC0 and SDMMC1.
#
# CONFIG_SDMMC_RK29_OLD is not set
CONFIG_SDMMC0_RK29=y
# CONFIG_SDMMC0_RK29_WRITE_PROTECT is not set
CONFIG_SDMMC1_RK29=y
# CONFIG_SDMMC1_RK29_WRITE_PROTECT is not set
# CONFIG_RK29_SDIO_IRQ_FROM_GPIO is not set
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PLTFM=y
# CONFIG_MMC_DW is not set
# CONFIG_MMC_VUB300 is not set
# CONFIG_MMC_USHC is not set
# CONFIG_MEMSTICK is not set
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y

#
# LED drivers
#
# CONFIG_LEDS_LM3530 is not set
# CONFIG_LEDS_PCA9532 is not set
CONFIG_LEDS_GPIO=y
CONFIG_LEDS_GPIO_PLATFORM=y
# CONFIG_LEDS_LP3944 is not set
# CONFIG_LEDS_LP5521 is not set
# CONFIG_LEDS_LP5523 is not set
# CONFIG_LEDS_PCA955X is not set
# CONFIG_LEDS_DAC124S085 is not set
# CONFIG_LEDS_REGULATOR is not set
# CONFIG_LEDS_BD2802 is not set
# CONFIG_LEDS_ATT1272 is not set
# CONFIG_LEDS_LT3593 is not set
CONFIG_LEDS_TRIGGERS=y

#
# LED Triggers
#
# CONFIG_LEDS_TRIGGER_TIMER is not set
# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
# CONFIG_LEDS_TRIGGER_GPIO is not set
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
# CONFIG_LEDS_TRIGGER_SLEEP is not set

#
# iptables trigger is under Netfilter config (LED target)
#
# CONFIG_NFC_DEVICES is not set
CONFIG_SWITCH=y
CONFIG_SWITCH_GPIO=y
# CONFIG_ACCESSIBILITY is not set
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
CONFIG_RTC_INTF_ALARM=y
CONFIG_RTC_INTF_ALARM_DEV=y
# CONFIG_AUTO_WAKE_UP is not set
# CONFIG_RTC_DRV_TEST is not set

#
# I2C RTC drivers
#
# CONFIG_RTC_DRV_DS1307 is not set
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_DS3232 is not set
# CONFIG_RTC_DRV_MAX6900 is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_ISL12022 is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_PCF8563 is not set
# CONFIG_RTC_DRV_PCF8583 is not set
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_BQ32K is not set
# CONFIG_RTC_DRV_S35390A is not set
# CONFIG_RTC_DRV_S35392A is not set
# CONFIG_RTC_DRV_FM3130 is not set
# CONFIG_RTC_DRV_RX8581 is not set
# CONFIG_RTC_DRV_RX8025 is not set
# CONFIG_RTC_DRV_EM3027 is not set
# CONFIG_RTC_DRV_RV3029C2 is not set

#
# SPI RTC drivers
#
# CONFIG_RTC_DRV_M41T93 is not set
# CONFIG_RTC_DRV_M41T94 is not set
# CONFIG_RTC_DRV_DS1305 is not set
# CONFIG_RTC_DRV_DS1390 is not set
# CONFIG_RTC_DRV_MAX6902 is not set
# CONFIG_RTC_DRV_R9701 is not set
# CONFIG_RTC_DRV_RS5C348 is not set
# CONFIG_RTC_DRV_DS3234 is not set
# CONFIG_RTC_DRV_PCF2123 is not set

#
# Platform RTC drivers
#
# CONFIG_RTC_DRV_CMOS is not set
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_MSM6242 is not set
# CONFIG_RTC_DRV_BQ4802 is not set
# CONFIG_RTC_DRV_RP5C01 is not set
# CONFIG_RTC_DRV_V3020 is not set

#
# on-CPU RTC drivers
#
CONFIG_TPS65910_RTC=y
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set
CONFIG_STAGING=y
# CONFIG_VIDEO_TM6000 is not set
# CONFIG_USBIP_CORE is not set
# CONFIG_W35UND is not set
# CONFIG_PRISM2_USB is not set
# CONFIG_ECHO is not set
# CONFIG_BRCMUTIL is not set
# CONFIG_ASUS_OLED is not set
# CONFIG_R8712U is not set
# CONFIG_TRANZPORT is not set

#
# Android
#
CONFIG_ANDROID=y
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_LOGGER=y
# CONFIG_ANDROID_RAM_CONSOLE is not set
# CONFIG_ANDROID_TIMED_OUTPUT is not set
# CONFIG_ANDROID_LOW_MEMORY_KILLER is not set
# CONFIG_POHMELFS is not set
# CONFIG_LINE6_USB is not set
# CONFIG_USB_SERIAL_QUATECH2 is not set
# CONFIG_USB_SERIAL_QUATECH_USB2 is not set
# CONFIG_VT6656 is not set
# CONFIG_IIO is not set

#
# IPP
#
CONFIG_RK29_IPP=m
CONFIG_DEINTERLACE=y
# CONFIG_XVMALLOC is not set
# CONFIG_ZRAM is not set
# CONFIG_FB_SM7XX is not set
# CONFIG_LIRC_STAGING is not set
# CONFIG_EASYCAP is not set
CONFIG_MACH_NO_WESTBRIDGE=y
# CONFIG_ATH6K_LEGACY is not set
# CONFIG_USB_ENESTORAGE is not set
# CONFIG_BCM_WIMAX is not set
# CONFIG_FT1000 is not set

#
# Speakup console speech
#
# CONFIG_SPEAKUP is not set
# CONFIG_TOUCHSCREEN_CLEARPAD_TM1217 is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4 is not set

#
# Altera FPGA firmware download module
#
# CONFIG_ALTERA_STAPL is not set

#
# EEPROM AT24C16 FOR RK29
#
# CONFIG_EEPROM_AT24C16 is not set
CONFIG_CLKDEV_LOOKUP=y

#
# CMMB
#
# CONFIG_CMMB is not set
# CONFIG_TEST_CODE is not set
# CONFIG_RK29_SMC is not set

#
# CIR support
#
# CONFIG_RK_CIR is not set

#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_DEFAULTS_TO_ORDERED=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_XATTR=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_DEBUG is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
CONFIG_REISERFS_FS_SECURITY=y
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_FILE_LOCKING=y
CONFIG_FSNOTIFY=y
# CONFIG_DNOTIFY is not set
CONFIG_INOTIFY_USER=y
# CONFIG_FANOTIFY is not set
# CONFIG_QUOTA is not set
# CONFIG_QUOTACTL is not set
# CONFIG_AUTOFS4_FS is not set
CONFIG_FUSE_FS=y
# CONFIG_CUSE is not set
CONFIG_GENERIC_ACL=y

#
# Caches
#
# CONFIG_FSCACHE is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not set
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_CONFIGFS_FS is not set
# CONFIG_MISC_FILESYSTEMS is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_NFS_V4_1=y
CONFIG_PNFS_FILE_LAYOUT=m
# CONFIG_NFS_USE_LEGACY_DNS is not set
CONFIG_NFS_USE_KERNEL_DNS=y
CONFIG_NFS_USE_NEW_IDMAPPER=y
# CONFIG_NFSD is not set
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_NFS_ACL_SUPPORT=m
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=m
CONFIG_SUNRPC_GSS=m
# CONFIG_CEPH_FS is not set
CONFIG_CIFS=y
CONFIG_CIFS_STATS=y
# CONFIG_CIFS_STATS2 is not set
# CONFIG_CIFS_WEAK_PW_HASH is not set
# CONFIG_CIFS_UPCALL is not set
# CONFIG_CIFS_XATTR is not set
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_DFS_UPCALL is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
CONFIG_EFI_PARTITION=y
# CONFIG_SYSV68_PARTITION is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
CONFIG_NLS_CODEPAGE_936=y
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y

#
# Kernel hacking
#
CONFIG_PRINTK_TIME=y
CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=1024
CONFIG_MAGIC_SYSRQ=y
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_UNUSED_SYMBOLS is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not set
# CONFIG_LOCKUP_DETECTOR is not set
# CONFIG_HARDLOCKUP_DETECTOR is not set
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
# CONFIG_SCHED_DEBUG is not set
CONFIG_SCHEDSTATS=y
CONFIG_TIMER_STATS=y
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_SLUB_STATS is not set
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_DEBUG_PREEMPT is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
CONFIG_STACKTRACE=y
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_HIGHMEM is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_WRITECOUNT is not set
# CONFIG_DEBUG_MEMORY_INIT is not set
# CONFIG_DEBUG_LIST is not set
# CONFIG_TEST_LIST_SORT is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not set
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=60
CONFIG_RCU_CPU_STALL_VERBOSE=y
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
# CONFIG_LKDTM is not set
# CONFIG_CPU_NOTIFIER_ERROR_INJECT is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_SYSCTL_SYSCALL_CHECK is not set
# CONFIG_DEBUG_PAGEALLOC is not set
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_RING_BUFFER=y
CONFIG_RING_BUFFER_ALLOW_SWAP=y
CONFIG_TRACING_SUPPORT=y
# CONFIG_FTRACE is not set
# CONFIG_DYNAMIC_DEBUG is not set
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_STRICT_DEVMEM is not set
CONFIG_ARM_UNWIND=y
# CONFIG_DEBUG_USER is not set
# CONFIG_DEBUG_LL is not set
# CONFIG_OC_ETM is not set

#
# Security options
#
CONFIG_KEYS=y
# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_PCOMP2=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
# CONFIG_CRYPTO_GF128MUL is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_PCRYPT is not set
CONFIG_CRYPTO_WORKQUEUE=y
# CONFIG_CRYPTO_CRYPTD is not set
CONFIG_CRYPTO_AUTHENC=y
# CONFIG_CRYPTO_TEST is not set

#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set

#
# Block modes
#
CONFIG_CRYPTO_CBC=y
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not set
CONFIG_CRYPTO_ECB=y
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set

#
# Hash modes
#
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set

#
# Digest
#
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_GHASH is not set
CONFIG_CRYPTO_MD4=y
CONFIG_CRYPTO_MD5=y
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
CONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set

#
# Ciphers
#
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_TEA is not set
CONFIG_CRYPTO_TWOFISH=y
CONFIG_CRYPTO_TWOFISH_COMMON=y

#
# Compression
#
CONFIG_CRYPTO_DEFLATE=y
# CONFIG_CRYPTO_ZLIB is not set
# CONFIG_CRYPTO_LZO is not set

#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not set
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
CONFIG_CRYPTO_HW=y
# CONFIG_BINARY_PRINTF is not set

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_CRC_CCITT=y
CONFIG_CRC16=y
# CONFIG_CRC_T10DIF is not set
CONFIG_CRC_ITU_T=m
CONFIG_CRC32=y
# CONFIG_CRC7 is not set
CONFIG_LIBCRC32C=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
# CONFIG_XZ_DEC is not set
# CONFIG_XZ_DEC_BCJ is not set
CONFIG_DECOMPRESS_GZIP=y
CONFIG_DECOMPRESS_LZMA=y
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_TEXTSEARCH=y
CONFIG_TEXTSEARCH_KMP=y
CONFIG_TEXTSEARCH_BM=y
CONFIG_TEXTSEARCH_FSM=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y
CONFIG_CPU_RMAP=y
CONFIG_NLATTR=y
CONFIG_AVERAGE=y
MK808 as server, waiting for full Mali-400 support
Minix X7 arriving home mid September to bring it full linux support :)
...Itaca te ha dado el bello viaje. Sin ella, nunca habrías salido...

User avatar
leolas
Posts: 90
Joined: Sun Dec 30, 2012 7:56 am

Re: mk808b wifi (bcm40183)

Postby leolas » Tue Feb 12, 2013 2:07 pm

any advance?

tonikasch
Posts: 33
Joined: Mon Feb 04, 2013 12:01 am
Location: Spain
Contact:

Re: mk808b wifi (bcm40183)

Postby tonikasch » Tue Feb 12, 2013 3:20 pm

leolas wrote:any advance?

No, sorry, trying almost everything (even modifying gpio and i2c directions with those found in drivers/net/wireless.orig/bcm4329) but no success.

Currently following the steps of brcm_patchram_plus tool found in /system/bin with a reference in the script /init.rk30board.rc but having a "Cannot execute binary file" issue

Btw, I have found several rock-chips' developers email addresses in the files in the git repository, and have emailed them, but I guess that until end of Chinese New Year the 16th or after I shall not expect any reply.

Any advice or clue on where to go now with this Rk903 issue? :P
MK808 as server, waiting for full Mali-400 support
Minix X7 arriving home mid September to bring it full linux support :)
...Itaca te ha dado el bello viaje. Sin ella, nunca habrías salido...

User avatar
leolas
Posts: 90
Joined: Sun Dec 30, 2012 7:56 am

Re: mk808b wifi (bcm40183)

Postby leolas » Tue Feb 12, 2013 5:20 pm

Sorry, no advances by my side. And I think I must learn a lot before I can help. :?

tonikasch
Posts: 33
Joined: Mon Feb 04, 2013 12:01 am
Location: Spain
Contact:

Re: mk808b wifi (bcm40183)

Postby tonikasch » Tue Feb 12, 2013 7:47 pm

leolas wrote:Sorry, no advances by my side. And I think I must learn a lot before I can help. :?


Don't worry, try to learn and over all, don't worry, things will get better ;)

By the way, I've come to a possible proper BCM4329-compatible RK903 bluetooth chip enabling:
http://htc-linux.org/wiki/index.php?tit ... /Bluetooth

But I haven't managed to get /dev/ttyS0 to accept any commands... I get timeout when accessing the /dev/ttyS0 (/dev/ttyH0 does not and shan't exist):

Code: Select all

root@picuntu:/home/tonic/broadcom-bluetooth# ./brcm_patchram_plus --patchram /android/etc/bluez/rk903_26M.hcd --baudrate 1500000 --enable_lpm --enable_hci /dev/ttyS0
rk_serial rk_serial.0: baud:9600
serial.0 timeout:1000000
rk_serial rk_serial.0: baud:9600
serial.0 timeout:1000000
rk_serial rk_serial.0: baud:115200
serial.0 timeout:1000000


Let's see these files from mk808b android System (Finless 1.5 System ROM, which operates ok, wifi and bt included):

init.rc

Code: Select all

# Copyright (C) 2012 The Android Open Source Project
#
# IMPORTANT: Do not create world writable files or directories.
# This is a common source of Android security bugs.
#

import /init.${ro.hardware}.rc
import /init.trace.rc

on early-init
    # Set init and its forked children's oom_adj.
    write /proc/1/oom_adj -16

    start ueventd

# create mountpoints
    mkdir /mnt 0775 root system

on init

sysclktz 0

loglevel 3

# Edited by Finless Bob.  MK808B 1.5 ROM

# setup the global environment
    export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
    export LD_LIBRARY_PATH /vendor/lib:/system/lib
    export ANDROID_BOOTLOGO 1
    export ANDROID_ROOT /system
    export ANDROID_ASSETS /system/app
    export ANDROID_DATA /data
    export ASEC_MOUNTPOINT /mnt/asec
    export LOOP_MOUNTPOINT /mnt/obb
    export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar
    export HOST_STORAGE_DIRECTORY_EXTERN_0 /mnt/usb_storage/USB_DISK0
    export HOST_STORAGE_DIRECTORY_EXTERN_1 /mnt/usb_storage/USB_DISK1
    export HOST_STORAGE_DIRECTORY_EXTERN_2 /mnt/usb_storage/USB_DISK2
    export HOST_STORAGE_DIRECTORY_EXTERN_3 /mnt/usb_storage/USB_DISK3
    export HOST_STORAGE_DIRECTORY_EXTERN_4 /mnt/usb_storage/USB_DISK4
    export HOST_STORAGE_DIRECTORY_EXTERN_5 /mnt/usb_storage/USB_DISK5

# Backward compatibility
    symlink /system/etc /etc
    symlink /sys/kernel/debug /d

# Right now vendor lives on the same filesystem as system,
# but someday that may change.
    symlink /system/vendor /vendor

# create mountpoints
    mkdir /mnt/sdcard 0000 system system

# Create cgroup mount point for cpu accounting
    mkdir /acct
    mount cgroup none /acct cpuacct
    mkdir /acct/uid

    mkdir /system
    mkdir /data 0771 system system
    mkdir /cache 0770 system cache
    mkdir /config 0500 root root

    # Directory for putting things only root should see.
    mkdir /mnt/secure 0700 root root

    # Directory for staging bindmounts
    mkdir /mnt/secure/staging 0700 root root

    # Directory-target for where the secure container
    # imagefile directory will be bind-mounted
    mkdir /mnt/secure/asec  0700 root root

    # Secure container public mount points.
    mkdir /mnt/asec  0700 root system
    mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000

    # Filesystem image public mount points.
    mkdir /mnt/obb 0700 root system
    mount tmpfs tmpfs /mnt/obb mode=0755,gid=1000

    write /proc/sys/kernel/panic_on_oops 1
    write /proc/sys/kernel/hung_task_timeout_secs 0
    write /proc/cpu/alignment 4
    write /proc/sys/kernel/sched_latency_ns 10000000
    write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000
    write /proc/sys/kernel/sched_compat_yield 1
    write /proc/sys/kernel/sched_child_runs_first 0
    write /proc/sys/kernel/randomize_va_space 2
    write /proc/sys/kernel/kptr_restrict 2
    write /proc/sys/kernel/dmesg_restrict 1
    write /proc/sys/vm/mmap_min_addr 32768
    write /proc/sys/kernel/sched_rt_runtime_us 950000
    write /proc/sys/kernel/sched_rt_period_us 1000000

# Create cgroup mount points for process groups
    mkdir /dev/cpuctl
    mount cgroup none /dev/cpuctl cpu
    chown system system /dev/cpuctl
    chown system system /dev/cpuctl/tasks
    chmod 0660 /dev/cpuctl/tasks
    write /dev/cpuctl/cpu.shares 1024
    write /dev/cpuctl/cpu.rt_runtime_us 950000
    write /dev/cpuctl/cpu.rt_period_us 1000000

    mkdir /dev/cpuctl/apps
    chown system system /dev/cpuctl/apps/tasks
    chmod 0666 /dev/cpuctl/apps/tasks
    write /dev/cpuctl/apps/cpu.shares 1024
    write /dev/cpuctl/apps/cpu.rt_runtime_us 800000
    write /dev/cpuctl/apps/cpu.rt_period_us 1000000

    mkdir /dev/cpuctl/apps/bg_non_interactive
    chown system system /dev/cpuctl/apps/bg_non_interactive/tasks
    chmod 0666 /dev/cpuctl/apps/bg_non_interactive/tasks
    # 5.0 %
    write /dev/cpuctl/apps/bg_non_interactive/cpu.shares 52
    write /dev/cpuctl/apps/bg_non_interactive/cpu.rt_runtime_us 700000
    write /dev/cpuctl/apps/bg_non_interactive/cpu.rt_period_us 1000000

# Allow everybody to read the xt_qtaguid resource tracking misc dev.
# This is needed by any process that uses socket tagging.
    chmod 0644 /dev/xt_qtaguid

on fs
    insmod /rk30xxnand_ko.ko
# mount mtd partitions
    mount ext4 mtd@system /system wait ro noatime nodiratime noauto_da_alloc
    start readahead
    mount ext4 mtd@userdata /data wait noatime nodiratime nosuid nodev noauto_da_alloc
    mount ext4 mtd@cache /cache wait noatime nodiratime nosuid nodev noauto_da_alloc

    insmod /system/lib/modules/ump.ko
    insmod /system/lib/modules/mali.ko mali_dvfs=50,100,133,160,200,266,400 mali_init_clock=50
    insmod /system/lib/modules/rk29-ipp.ko
# Added by Finless based on user request
# Added by finless for cifs, md4, and Xbox controller support
    insmod /system/lib/modules/xpad.ko
    insmod /system/lib/modules/md4.ko
#    insmod /system/lib/modules/cifs.ko - already in kernel
    insmod /system/lib/modules/tun.ko

on post-fs
    # once everything is setup, no need to modify /
    mount rootfs rootfs / ro remount

    # We chown/chmod /cache again so because mount is run as root + defaults
    chown system cache /cache
    chmod 0770 /cache

    # This may have been created by the recovery system with odd permissions
    chown system cache /cache/recovery
    chmod 0770 /cache/recovery

    #change permissions on vmallocinfo so we can grab it from bugreports
    chown root log /proc/vmallocinfo
    chmod 0440 /proc/vmallocinfo

    #change permissions on kmsg & sysrq-trigger so bugreports can grab kthread stacks
    chown root system /proc/kmsg
    chmod 0440 /proc/kmsg
    chown root system /proc/sysrq-trigger
    chmod 0220 /proc/sysrq-trigger

    # create the lost+found directories, so as to enforce our permissions
    mkdir /cache/lost+found 0770 root root

on post-fs-data
    # We chown/chmod /data again so because mount is run as root + defaults
    chown system system /data
    chmod 0771 /data

    # Create dump dir and collect dumps.
    # Do this before we mount cache so eventually we can use cache for
    # storing dumps on platforms which do not have a dedicated dump partition.
    mkdir /data/dontpanic 0750 root log

    # Collect apanic data, free resources and re-arm trigger
    copy /proc/apanic_console /data/dontpanic/apanic_console
    chown root log /data/dontpanic/apanic_console
    chmod 0640 /data/dontpanic/apanic_console

    copy /proc/apanic_threads /data/dontpanic/apanic_threads
    chown root log /data/dontpanic/apanic_threads
    chmod 0640 /data/dontpanic/apanic_threads

    write /proc/apanic_console 1

    # create basic filesystem structure
    mkdir /data/misc 01771 system misc
    mkdir /data/misc/bluetoothd 0770 bluetooth bluetooth
    mkdir /data/misc/bluetooth 0770 system system
    mkdir /data/misc/keystore 0700 keystore keystore
    mkdir /data/misc/keychain 0771 system system
    mkdir /data/misc/vpn 0770 system vpn
    mkdir /data/misc/systemkeys 0700 system system
    # give system access to wpa_supplicant.conf for backup and restore
    mkdir /data/misc/wifi 0770 wifi wifi
    chmod 0660 /data/misc/wifi/wpa_supplicant.conf
    mkdir /data/local 0751 root root

    # For security reasons, /data/local/tmp should always be empty.
    # Do not place files or directories in /data/local/tmp
    mkdir /data/local/tmp 0771 shell shell
    mkdir /data/data 0771 system system
    mkdir /data/app-private 0771 system system
    mkdir /data/app-asec 0700 root root
    mkdir /data/app 0771 system system
    mkdir /data/property 0700 root root
    mkdir /data/ssh 0750 root shell
    mkdir /data/ssh/empty 0700 root root

    # create dalvik-cache, so as to enforce our permissions
    mkdir /data/dalvik-cache 0771 system system

    # create resource-cache and double-check the perms
    mkdir /data/resource-cache 0771 system system
    chown system system /data/resource-cache
    chmod 0771 /data/resource-cache

    # create the lost+found directories, so as to enforce our permissions
    mkdir /data/lost+found 0770 root root

    # create directory for DRM plug-ins - give drm the read/write access to
    # the following directory.
    mkdir /data/drm 0770 drm drm

    # If there is no fs-post-data action in the init.<device>.rc file, you
    # must uncomment this line, otherwise encrypted filesystems
    # won't work.
    # Set indication (checked by vold) that we have finished this action
    #setprop vold.post_fs_data_done 1

    chown system system /sys/class/android_usb/android0/f_mass_storage/lun/file
    chmod 0660 /sys/class/android_usb/android0/f_mass_storage/lun/file
    chown system system /sys/class/android_usb/android0/f_rndis/ethaddr
    chmod 0660 /sys/class/android_usb/android0/f_rndis/ethaddr

on boot
# basic network init
    ifup lo
    hostname localhost
    domainname localdomain
    setprop UserVolumeLabel "RockChips"

# set RLIMIT_NICE to allow priorities from 19 to -20
    setrlimit 13 40 40

# Memory management.  Basic kernel parameters, and allow the high
# level system server to be able to adjust the kernel OOM driver
# parameters to match how it is managing things.
    write /proc/sys/vm/overcommit_memory 1
    write /proc/sys/vm/min_free_order_shift 4
    chown root system /sys/module/lowmemorykiller/parameters/adj
    chmod 0664 /sys/module/lowmemorykiller/parameters/adj
    chown root system /sys/module/lowmemorykiller/parameters/minfree
    chmod 0664 /sys/module/lowmemorykiller/parameters/minfree

    # Tweak background writeout
    write /proc/sys/vm/dirty_expire_centisecs 200
    write /proc/sys/vm/dirty_background_ratio  5

    # Permissions for System Server and daemons.
    chown radio system /sys/android_power/state
    chown radio system /sys/android_power/request_state
    chown radio system /sys/android_power/acquire_full_wake_lock
    chown radio system /sys/android_power/acquire_partial_wake_lock
    chown radio system /sys/android_power/release_wake_lock
    chown system system /sys/power/state
    chown system system /sys/power/wakeup_count
    chown radio system /sys/power/wake_lock
    chown radio system /sys/power/wake_unlock
    chmod 0660 /sys/power/state
    chmod 0660 /sys/power/wake_lock
    chmod 0660 /sys/power/wake_unlock

    chown system system /sys/devices/system/cpu/cpufreq/interactive/timer_rate
    chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/timer_rate
    chown system system /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
    chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
    chown system system /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
    chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
    chown system system /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
    chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
    chown system system /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay
    chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay
    chown system system /sys/devices/system/cpu/cpufreq/interactive/boost
    chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/boost
    chown system system /sys/devices/system/cpu/cpufreq/interactive/boostpulse
    chown system system /sys/devices/system/cpu/cpufreq/interactive/input_boost
    chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/input_boost

    # Assume SMP uses shared cpufreq policy for all CPUs
    chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
    chmod 0660 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

    chown system system /sys/class/timed_output/vibrator/enable
    chown system system /sys/class/leds/keyboard-backlight/brightness
    chown system system /sys/class/leds/lcd-backlight/brightness
    chown system system /sys/class/leds/button-backlight/brightness
    chown system system /sys/class/leds/jogball-backlight/brightness
    chown system system /sys/class/leds/red/brightness
    chown system system /sys/class/leds/green/brightness
    chown system system /sys/class/leds/blue/brightness
    chown system system /sys/class/leds/red/device/grpfreq
    chown system system /sys/class/leds/red/device/grppwm
    chown system system /sys/class/leds/red/device/blink
    chown system system /sys/class/leds/red/brightness
    chown system system /sys/class/leds/green/brightness
    chown system system /sys/class/leds/blue/brightness
    chown system system /sys/class/leds/red/device/grpfreq
    chown system system /sys/class/leds/red/device/grppwm
    chown system system /sys/class/leds/red/device/blink
    chown system system /sys/class/timed_output/vibrator/enable
    chown system system /sys/module/sco/parameters/disable_esco
    chown system system /sys/kernel/ipv4/tcp_wmem_min
    chown system system /sys/kernel/ipv4/tcp_wmem_def
    chown system system /sys/kernel/ipv4/tcp_wmem_max
    chown system system /sys/kernel/ipv4/tcp_rmem_min
    chown system system /sys/kernel/ipv4/tcp_rmem_def
    chown system system /sys/kernel/ipv4/tcp_rmem_max
    chown root radio /proc/cmdline
# for hdmi
       chown root system /sys/class/display/HDMI/enable
       chown root system /sys/class/display/HDMI/mode
       chown root system /sys/class/display/HDMI/scale

# Define TCP buffer sizes for various networks
#   ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
# Changed by Finless for better streaming
    setprop net.tcp.buffersize.default 4096,87380,256960,4096,16384,256960
#    setprop net.tcp.buffersize.default 4096,87380,110208,4096,16384,110208
    setprop net.tcp.buffersize.wifi    524288,1048576,2097152,262144,524288,1048576
    setprop net.tcp.buffersize.lte     524288,1048576,2097152,262144,524288,1048576
    setprop net.tcp.buffersize.umts    4094,87380,110208,4096,16384,110208
    setprop net.tcp.buffersize.hspa    4094,87380,262144,4096,16384,262144
    setprop net.tcp.buffersize.edge    4093,26280,35040,4096,16384,35040
    setprop net.tcp.buffersize.gprs    4092,8760,11680,4096,8760,11680

# set prop for phone carrier to fix market
setprop gsm.operator.numeric 310260
setprop gsm.sim.operator.numeric 310260
setprop gsm.sim.operator.iso-country
setprop gsm.operator.iso-country us
setprop gsm.sim.operator.alpha T-Mobile
setprop gsm.operator.alpha T-Mobile

# Set this property so surfaceflinger is not started by system_init
    setprop system_init.startsurfaceflinger 0

    class_start core
    class_start main

on nonencrypted
    class_start late_start

on charger
    class_start charger

on property:vold.decrypt=trigger_reset_main
    class_reset main

on property:vold.decrypt=trigger_load_persist_props
    load_persist_props

on property:vold.decrypt=trigger_post_fs_data
    trigger post-fs-data

on property:vold.decrypt=trigger_restart_min_framework
    class_start main

on property:vold.decrypt=trigger_restart_framework
    class_start main
    class_start late_start

on property:vold.decrypt=trigger_shutdown_framework
    class_reset late_start
    class_reset main

# Used to disable USB when switching states
on property:sys.usb.config=none
    stop adbd
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/bDeviceClass 0
    setprop sys.usb.state ${sys.usb.config}

# adb only USB configuration
# This should only be used during device bringup
# and as a fallback if the USB manager fails to set a standard configuration
on property:sys.usb.config=adb
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 0bb4
    write /sys/class/android_usb/android0/idProduct 0c01
    write /sys/class/android_usb/android0/functions ${sys.usb.config}
    write /sys/class/android_usb/android0/enable 1
    start adbd
    setprop sys.usb.state ${sys.usb.config}

# USB accessory configuration
on property:sys.usb.config=accessory
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 18d1
    write /sys/class/android_usb/android0/idProduct 2d00
    write /sys/class/android_usb/android0/functions ${sys.usb.config}
    write /sys/class/android_usb/android0/enable 1
    setprop sys.usb.state ${sys.usb.config}

# USB accessory configuration, with adb
on property:sys.usb.config=accessory,adb
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 18d1
    write /sys/class/android_usb/android0/idProduct 2d01
    write /sys/class/android_usb/android0/functions ${sys.usb.config}
    write /sys/class/android_usb/android0/enable 1
    start adbd
    setprop sys.usb.state ${sys.usb.config}

# Used to set USB configuration at boot and to switch the configuration
# when changing the default configuration
on property:persist.sys.usb.config=*
    setprop sys.usb.config ${persist.sys.usb.config}

## Daemon processes to be run by init.
##
service ueventd /sbin/ueventd
    class core
    critical

service console /system/bin/sh
    class core
    console
    disabled
    user shell
    group log

on property:ro.debuggable=1
    start console

# adbd is controlled via property triggers in init.<platform>.usb.rc
service adbd /sbin/adbd
    class core
    disabled

# adbd on at boot in emulator
on property:ro.kernel.qemu=1
    start adbd

# This property trigger has added to imitiate the previous behavior of "adb root".
# The adb gadget driver used to reset the USB bus when the adbd daemon exited,
# and the host side adb relied on this behavior to force it to reconnect with the
# new adbd instance after init relaunches it. So now we force the USB bus to reset
# here when adbd sets the service.adb.root property to 1.  We also restart adbd here
# rather than waiting for init to notice its death and restarting it so the timing
# of USB resetting and adb restarting more closely matches the previous behavior.
on property:service.adb.root=1
    write /sys/class/android_usb/android0/enable 0
    restart adbd
    write /sys/class/android_usb/android0/enable 1

service servicemanager /system/bin/servicemanager
    class core
    user system
    group system
    critical
    onrestart restart zygote
    onrestart restart media
    onrestart restart surfaceflinger
    onrestart restart drm

service displayd /system/bin/displayd
    class main
    socket displayd stream 0660 root system
   
service vold /system/bin/vold
    class core
    socket vold stream 0660 root mount
    ioprio be 2

service netd /system/bin/netd
    class main
    socket netd stream 0660 root system
    socket dnsproxyd stream 0660 root inet
    socket mdns stream 0660 root system

service debuggerd /system/bin/debuggerd
    class main

service ril-daemon /system/bin/rild
    class main
    socket rild stream 660 root radio
    socket rild-debug stream 660 radio system
    user root
    group radio cache inet misc audio sdcard_r sdcard_rw log

service surfaceflinger /system/bin/surfaceflinger
    class main
    user system
    group graphics
    onrestart restart zygote

service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
    class main
    socket zygote stream 660 root system
    onrestart write /sys/android_power/request_state wake
    onrestart write /sys/power/state on
    onrestart restart media
    onrestart restart netd

service drm /system/bin/drmserver
    class main
    user drm
    group drm system inet drmrpc sdcard_r

service media /system/bin/mediaserver
    class main
    user media
    group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc
    ioprio rt 4

service bootanim /system/bin/bootanimation
    class main
    user graphics
    group graphics
    disabled
    oneshot

service dbus /system/bin/dbus-daemon --system --nofork
    class main
    socket dbus stream 660 bluetooth bluetooth
    user bluetooth
    group bluetooth net_bt_admin

service bluetoothd /system/bin/bluetoothd -n
    class main
    socket bluetooth stream 660 bluetooth bluetooth
    socket dbus_bluetooth stream 660 bluetooth bluetooth
    # init.rc does not yet support applying capabilities, so run as root and
    # let bluetoothd drop uid to bluetooth with the right linux capabilities
    group bluetooth net_bt_admin misc
    disabled

service installd /system/bin/installd
    class main
    socket installd stream 600 system system

service flash_recovery /system/etc/install-recovery.sh
    class main
    oneshot

service racoon /system/bin/racoon
    class main
    socket racoon stream 600 system system
    # IKE uses UDP port 500. Racoon will setuid to vpn after binding the port.
    group vpn net_admin inet
    disabled
    oneshot

service mtpd /system/bin/mtpd
    class main
    socket mtpd stream 600 system system
    user vpn
    group vpn net_admin inet net_raw
    disabled
    oneshot

service keystore /system/bin/keystore /data/misc/keystore
    class main
    user keystore
    group keystore drmrpc
    socket keystore stream 666

service dumpstate /system/bin/dumpstate -s
    class main
    socket dumpstate stream 0660 shell log
    disabled
    oneshot

service readahead /sbin/readahead -f
    disabled

service sshd /system/bin/start-ssh
    class main
    disabled

service mdnsd /system/bin/mdnsd
    class main
    user mdnsr
    group inet net_raw
    socket mdnsd stream 0660 mdnsr inet
    disabled
    oneshot

# Init.d support by Finless
service runparts /system/xbin/run-parts /system/etc/init.d
    class main
    oneshot

service whtest /system/bin/whtest.sh
    disabled
    oneshot


init.rk30board.rc

Code: Select all


import init.rk30board.usb.rc

on early-init
    export EXTERNAL_STORAGE /mnt/sdcard
    mkdir /mnt/sdcard 0000 system system
    # for backwards compatibility
    symlink /mnt/sdcard /sdcard

    export SECOND_VOLUME_STORAGE /mnt/external_sd
    mkdir /mnt/external_sd 0000 system system
    export THIRD_VOLUME_STORAGE /mnt/usb_storage/USB_DISK0
    mkdir /mnt/usb_storage 0777 system system

on fs
    #mount vfat mtd@user /mnt/sdcard wait noatime nodiratime  nosuid nodev uid=1000,gid=1015,fmask=0702,dmask=0702

on post-fs-data
    # we will remap this as /mnt/sdcard with the sdcard fuse tool
    mkdir /data/media 0775 media_rw media_rw
    chown media_rw media_rw /data/media
    mkdir /data/misc/ppp 777 system system
    chmod 777 /data/misc/ppp
    copy /etc/ppp/pap-secrets /data/misc/ppp/pap-secrets
    copy /etc/ppp/pppoe.conf /data/misc/ppp/pppoe.conf

on init
    symlink /etc/bluez/bcm432x/BCM4329B1_TestOnly_0237_26MHz_SEMCO_B23.hcd /bcm4329_samsung.hcd
    symlink /etc/bluez/bcm432x/BCM4329B1_USI_WM-BN-BM-01.hcd /bcm4329_usi.hcd
    symlink /etc/bluez/bcm432x/BCM4329B1_002.002.023.0389.0000_Cybertan-Foxconn_Cls2_extLNA_EDRmaxInputLev+PeakDEVM_NT.hcd /bcm4329_cybertan.hcd
# for adobe reader mobile
    export RK_ADOBE_DE_MOBILE 1
    export EBOOK_PAGE_VISIBLE_NUMBER 2 
    export RK_ADEPT_DEVICE_TYPE mobile
    export RK_ADOBE_DE_DOC_FOLDER "/mnt/sdcard/Digital Editions"
    export RK_ADEPT_ACTIVATION_FILE /mnt/sdcard/.adobe-digital-editions/activation.xml
    export RK_ADEPT_DEVICE_FILE /mnt/sdcard/.adobe-digital-editions/device.xml
    export RK_ADEPT_DEVICE_SALT_FILE /mnt/sdcard/.adobe-digital-editions/devicesalt
    export ADOBE_FONTS_DIR  /system/fonts/adobefonts/

on boot
    mount debugfs /sys/kernel/debug /sys/kernel/debug
    chown system system /sys/devices/system/cpu/cpu1/online
    chmod 0660 /sys/devices/system/cpu/cpu1/online
    insmod /system/lib/modules/vpu_service.ko

#backlight
    chown system system /sys/class/backlight/rk28_bl/brightness

# for wifi
    mkdir /data/misc/wifi 0770 wifi wifi
    mkdir /data/misc/wifi/sockets 0770 wifi wifi
    mkdir /data/misc/wifi/sockets/tmp 0440 wifi wifi
    mkdir /data/misc/dhcp 0770 dhcp dhcp
    chown dhcp dhcp /data/misc/dhcp

# bluetooth power up/down interface
    chmod 0660 /dev/ttyS0
    chmod 0660 /dev/ttyS2
    chmod 0660 /dev/vflash
    chown bluetooth bluetooth /dev/vflash
    chown bluetooth bluetooth /dev/ttyS2
    chown bluetooth bluetooth /dev/ttyS0
    chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
    chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
    chmod 0664 /sys/class/rfkill/rfkill0/state

    chown system system /sys/mali400_utility/utility
    chmod 0664 /sys/mali400_utility/utility
# for usb audio
    chmod 0664 /sys/class/switch/usb_audio_playback/state
    chmod 0664 /sys/class/switch/usb_audio_capture/state
    chown system system /sys/class/switch/usb_audio_playback/state
    chown system system /sys/class/switch/usb_audio_capture/state
   
# create virtual SD card at /mnt/sdcard, based on the /data/media directory
# daemon will drop to user/group system/media_rw after initializing
# underlying files in /data/media will be created with user and group media_rw (1023)
#service sdcard /system/bin/sdcard /data/media 1023 1023
#    class late_start

service wpa_supplicant /system/bin/wpa_supplicant \
    -Dnl80211 -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
    #-Dnl80211 -iwlan0 -puse_p2p_group_interface=1 -e/data/misc/wifi/entropy.bin
    #   we will start as root and wpa_supplicant will switch to user wifi
    #   after setting up the capabilities required for WEXT
    #   user wifi
    #   group wifi inet keystore
    class main
    socket wpa_wlan0 dgram 660 wifi wifi
    disabled
    oneshot

#add for wifi direct (gwl)
service p2p_supplicant /system/bin/wpa_supplicant \
    -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -N \
    -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -e/data/misc/wifi/entropy.bin -puse_p2p_group_interface=1
    #   we will start as root and wpa_supplicant will switch to user wifi
    #   after setting up the capabilities required for WEXT
    #   user wifi
    #   group wifi inet keystore
    class main
    socket wpa_wlan0 dgram 660 wifi wifi
    disabled
    oneshot

service rtl_supplicant /system/bin/wpa_supplicant \
    -Dnl80211 -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
    socket wpa_wlan0 dgram 660 wifi wifi
    group wifi inet
    disabled
    oneshot

service hostapd /system/bin/hostapd /data/misc/wifi/hostapd.conf
    class main
    disabled
    oneshot

# for realtek wifi
service hostapd_rtl /system/bin/hostapd_rtl /data/misc/wifi/hostapd.conf
    class main
    disabled
    oneshot

service hciattach [b]/system/bin/brcm_patchram_plus --patchram bychip --baudrate 1500000 --enable_lpm --enable_hci /dev/ttyS0[/b]
    console
    user bluetooth
    group bluetooth net_bt_admin
    disabled
    oneshot

service dhcpcd_wlan0 /system/bin/dhcpcd -ABKL
    class main
    disabled
    oneshot

service iprenew_wlan0 system/bin/dhcpcd -n
    class main
    disabled
    oneshot

service dhcpcd_p2p /system/bin/dhcpcd -aABKL
    class main
    disabled
    oneshot

service iprenew_p2p system/bin/dhcpcd -n
    class main
    disabled
    oneshot
# bugreport is triggered by holding down volume down, volume up and power
service bugreport /system/bin/bugreport.sh
    class main
    disabled
    oneshot
    keycodes 114 115 116

service chrome /system/bin/chrome.sh
    class main
    oneshot

service dhcpcd_eth0 /system/bin/dhcpcd -ABKL
    class main
   disabled
   oneshot
         
service iprenew_eth0 system/bin/dhcpcd -n
    class main
    disabled
    oneshot

service battery_charger /charger
    class charger

service akmd /system/bin/akmd8975
        class main
        user system
        group system
        oneshot

on property:sys.gmali.performance=ui
    start pat_ui

service pat_ui /system/bin/performance ui
    disabled
    oneshot

on property:sys.gmali.performance=video
    start pat_video

service pat_video /system/bin/performance video
    disabled
    oneshot
       
service pppoe_setup /system/bin/pppoe-setup
    disabled
    oneshot

service pppoe_start /system/bin/pppoe-start
    disabled
    oneshot

service pppoe_stop /system/bin/pppoe-stop
    disabled
    oneshot

service cifsmanager /data/etc/cifsmanager.sh
    disabled
    oneshot

See in this /\ the /system/bin/brcm_patchram_plus --patchram bychip --baudrate 1500000 --enable_lpm --enable_hci /dev/ttyS0 line


init.rk30board.usb.rc

Code: Select all

on init
   # write /sys/class/android_usb/android0/iSerial ${ro.serialno}
   # write /sys/class/android_usb/android0/f_rndis/manufacturer RockChip
   # write /sys/class/android_usb/android0/f_rndis/vendorID 2207
   # write /sys/class/android_usb/android0/f_rndis/wceis 1

on boot
   write /sys/class/android_usb/android0/iSerial ${ro.serialno}
   write /sys/class/android_usb/android0/f_rndis/manufacturer RockChip
   write /sys/class/android_usb/android0/f_rndis/vendorID 2207
   write /sys/class/android_usb/android0/f_rndis/wceis 1
    write /sys/class/android_usb/android0/iManufacturer ${ro.product.manufacturer}
    write /sys/class/android_usb/android0/iProduct ${ro.product.model}
    write /sys/class/android_usb/android0/f_mass_storage/inquiry_string $ro.product.usbfactory

on property:sys.usb.config=adb
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 2207
    write /sys/class/android_usb/android0/idProduct 0006
    write /sys/class/android_usb/android0/functions ${sys.usb.config}
    write /sys/class/android_usb/android0/enable 1
    start adbd
    setprop sys.usb.state ${sys.usb.config}
   
on property:sys.usb.config=mtp
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 2207
    write /sys/class/android_usb/android0/idProduct 0001
    write /sys/class/android_usb/android0/functions ${sys.usb.config}
    write /sys/class/android_usb/android0/enable 1
    setprop sys.usb.state ${sys.usb.config}

on property:sys.usb.config=mtp,adb
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 2207
    write /sys/class/android_usb/android0/idProduct 0006
    write /sys/class/android_usb/android0/functions adb
    write /sys/class/android_usb/android0/enable 1
    start adbd
    setprop sys.usb.state ${sys.usb.config}

on property:sys.usb.config=rndis
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 2207
    write /sys/class/android_usb/android0/idProduct 0003
    write /sys/class/android_usb/android0/functions ${sys.usb.config}
    write /sys/class/android_usb/android0/bDeviceClass 224
    write /sys/class/android_usb/android0/enable 1
    setprop sys.usb.state ${sys.usb.config}

on property:sys.usb.config=rndis,adb
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 2207
    write /sys/class/android_usb/android0/idProduct 0003
    write /sys/class/android_usb/android0/functions ${sys.usb.config}
    write /sys/class/android_usb/android0/bDeviceClass 224
    write /sys/class/android_usb/android0/enable 1
    start adbd
    setprop sys.usb.state ${sys.usb.config}

on property:sys.usb.config=ptp
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 2207
    write /sys/class/android_usb/android0/idProduct 0002
    write /sys/class/android_usb/android0/functions ${sys.usb.config}
    write /sys/class/android_usb/android0/enable 1
    setprop sys.usb.state ${sys.usb.config}

on property:sys.usb.config=ptp,adb
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 2207
    write /sys/class/android_usb/android0/idProduct 0006
    write /sys/class/android_usb/android0/functions adb
    write /sys/class/android_usb/android0/enable 1
    start adbd
    setprop sys.usb.state ${sys.usb.config}

on property:sys.usb.config=mass_storage
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 2207
    write /sys/class/android_usb/android0/idProduct 0000
    write /sys/class/android_usb/android0/functions ${sys.usb.config}
    write /sys/class/android_usb/android0/enable 1
    setprop sys.usb.state ${sys.usb.config}

on property:sys.usb.config=mass_storage,adb
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 2207
    write /sys/class/android_usb/android0/idProduct 0010
    write /sys/class/android_usb/android0/functions ${sys.usb.config}
    write /sys/class/android_usb/android0/enable 1
    start adbd
    setprop sys.usb.state ${sys.usb.config}

on property:sys.usb.config=accessory
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 18D1
    write /sys/class/android_usb/android0/idProduct 2D00
    write /sys/class/android_usb/android0/functions ${sys.usb.config}
    write /sys/class/android_usb/android0/enable 1
    setprop sys.usb.state ${sys.usb.config}

on property:sys.usb.config=accessory,adb
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 18D1
    write /sys/class/android_usb/android0/idProduct 2D01
    write /sys/class/android_usb/android0/functions ${sys.usb.config}
    write /sys/class/android_usb/android0/enable 1
    start adbd
    setprop sys.usb.state ${sys.usb.config}

on property:sys.usb.config=acm
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 2207
    write /sys/class/android_usb/android0/idProduct 0005
    write /sys/class/android_usb/android0/functions ${sys.usb.config}
    write /sys/class/android_usb/android0/enable 1
    setprop sys.usb.state ${sys.usb.config}

on property:sys.usb.config=acm,adb
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 2207
    write /sys/class/android_usb/android0/idProduct 0005
    write /sys/class/android_usb/android0/functions ${sys.usb.config}
    write /sys/class/android_usb/android0/enable 1
    start adbd
    setprop sys.usb.state ${sys.usb.config}

on property:sys.usb.config=rndis,dm
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/idVendor 2207
    write /sys/class/android_usb/android0/idProduct 0003
    write /sys/class/android_usb/android0/functions ${sys.usb.config}
    write /sys/class/android_usb/android0/enable 1
    setprop sys.usb.state ${sys.usb.config}
MK808 as server, waiting for full Mali-400 support
Minix X7 arriving home mid September to bring it full linux support :)
...Itaca te ha dado el bello viaje. Sin ella, nunca habrías salido...

tonikasch
Posts: 33
Joined: Mon Feb 04, 2013 12:01 am
Location: Spain
Contact:

Re: mk808b wifi (bcm40183)

Postby tonikasch » Tue Feb 12, 2013 8:00 pm

Regarding mmc1 errors (CMD5), I've found www.sdcard.org/developers/overview/sdio ... d_Spec.pdf with CMD codes.
So CMD5 is IO_SEND_OP_COND to "inquire about the voltage range needed by the I/O card. The normal response to CMD5 is R4 in either SD or SPI format"

So there is some problem there with voltage.
More tomorrow or later!
And I don't have such knowledge, but I get it from the developing action :D
MK808 as server, waiting for full Mali-400 support
Minix X7 arriving home mid September to bring it full linux support :)
...Itaca te ha dado el bello viaje. Sin ella, nunca habrías salido...

tonikasch
Posts: 33
Joined: Mon Feb 04, 2013 12:01 am
Location: Spain
Contact:

Re: mk808b wifi (bcm40183)

Postby tonikasch » Thu Feb 14, 2013 5:24 am

Well, I've changed totally my approach to this by trying to load debian from android and then android again:
http://whiteboard.ping.se/Android/Debian

I've succeded in loading it, _but_ with no wifi nor bluetooth yet (If I insmod rkwifi from chrooted android it says chip is RK901 and doesn't find it in mmc1).

Have to refine "a bit" /etc/init on initial ramdisk, I guess.

Any ideas?
Have to study now and get a shower too!
MK808 as server, waiting for full Mali-400 support
Minix X7 arriving home mid September to bring it full linux support :)
...Itaca te ha dado el bello viaje. Sin ella, nunca habrías salido...

User avatar
leolas
Posts: 90
Joined: Sun Dec 30, 2012 7:56 am

Re: mk808b wifi (bcm40183)

Postby leolas » Thu Feb 14, 2013 8:56 am

I'm very impressed, as I told your knowledge outweigh mine, I am a user of Linux and Android, and except for Linux kernels compiled with full sources and compile some drivers I have not done before something as complicated as this, I'm trying to learn so do not expect much help from me. I'm not an experienced developer.

As to what you mention about the voltage regulator, I noticed that gave errors with kernels compiled by us and in the original ROM makes no reference to wm831x

My dmesg with original kernel patched to 1080p:

Code: Select all

<6>[    0.000000] Initializing cgroup subsys cpu
<5>[    0.000000] Linux version 3.0.8+ (lfwang_V_401j1) (gcc version 4.4.3 (GCC) ) #33 SMP PREEMPT Thu Jan 10 16:45:07 CST 2013
<4>[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c53c7d
<4>[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
<4>[    0.000000] Machine: RK30board
<6>[    0.000000] memory reserve: Memory(base:0x91800000 size:80M) reserved for <ion>
<6>[    0.000000] memory reserve: Memory(base:0x90000000 size:24M) reserved for <fb0>
<6>[    0.000000] memory reserve: Memory(base:0x8e800000 size:24M) reserved for <ipp buf>
<6>[    0.000000] memory reserve: Memory(base:0x8d000000 size:24M) reserved for <fb2>
<6>[    0.000000] memory reserve: Total reserved 152M
<4>[    0.000000] Memory policy: ECC disabled, Data cache writeback
<6>[    0.000000] bootconsole [earlycon0] enabled
<4>[    0.000000] CPU SRAM: copied sram code from c0b4e000 to fef00100 - fef01b68
<4>[    0.000000] CPU SRAM: copied sram data from c0b4fa68 to fef03000 - fef0383c
<6>[    0.000000] L310 cache controller enabled
<6>[    0.000000] l2x0: 16 ways, CACHE_ID 0x4100c0c8, AUX_CTRL 0x76050001, Cache size: 524288 B
<4>[    0.000000] DDR DEBUG: version 1.00 20120608
<4>[    0.000000] DDR DEBUG: DDR3 Device
<4>[    0.000000] DDR DEBUG: 1 CS, ROW=15, Bank=8, COL=10, Total Capability=1024MB
<4>[    0.000000] DDR DEBUG: init success!!! freq=360MHz
<4>[    0.000000] DDR DEBUG: DTONE=0x1, DTERR=0x0, DTIERR=0x0, DTPASS=0x4, DGSL=1 extra clock, DGPS=0
<4>[    0.000000] DDR DEBUG: DTONE=0x1, DTERR=0x0, DTIERR=0x0, DTPASS=0x4, DGSL=1 extra clock, DGPS=0
<4>[    0.000000] DDR DEBUG: DTONE=0x1, DTERR=0x0, DTIERR=0x0, DTPASS=0x4, DGSL=1 extra clock, DGPS=0
<4>[    0.000000] DDR DEBUG: DTONE=0x1, DTERR=0x0, DTIERR=0x0, DTPASS=0x4, DGSL=1 extra clock, DGPS=0
<4>[    0.000000] DDR DEBUG: ZERR=0, ZDONE=0, ZPD=0x0, ZPU=0x0, OPD=0x0, OPU=0x0
<4>[    0.000000] DDR DEBUG: DRV Pull-Up=0xb, DRV Pull-Dwn=0xb
<4>[    0.000000] DDR DEBUG: ODT Pull-Up=0x2, ODT Pull-Dwn=0x2
<4>[    0.000000] rk30_iomux_init
<4>[    0.000000] Boot mode: 0 flag: 0xc3524200
<7>[    0.000000] On node 0 totalpages: 223232
<7>[    0.000000] free_area_init_node: node 0, pgdat c0b4d3c0, node_mem_map c15d1000
<7>[    0.000000]   Normal zone: 1744 pages used for memmap
<7>[    0.000000]   Normal zone: 0 pages reserved
<7>[    0.000000]   Normal zone: 182576 pages, LIFO batch:31
<7>[    0.000000]   HighMem zone: 304 pages used for memmap
<7>[    0.000000]   HighMem zone: 38608 pages, LIFO batch:7
<6>[    0.000000] PERCPU: Embedded 7 pages/cpu @c1dd9000 s7072 r8192 d13408 u32768
<7>[    0.000000] pcpu-alloc: s7072 r8192 d13408 u32768 alloc=8*4096
<7>[    0.000000] pcpu-alloc: [0] 0 [0] 1
<4>[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 221184
<5>[    0.000000] Kernel command line: console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x002D0000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00004000@0x00004000(kernel),0x00008000@0x00008000(boot),0x00008000@0x00010000(recovery),0x000C0000@0x00018000(backup),0x00040000@0x000D8000(cache),0x00400000@0x00118000(userdata),0x00002000@0x00518000(kpanic),0x00100000@0x0051A000(system),-@0x0061A000(user) bootver=2012-08-29#1.16 firmware_ver=4.0.4
<6>[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
<6>[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
<6>[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
<6>[    0.000000] Memory: 720MB 152MB = 872MB total
<5>[    0.000000] Memory: 862724k/862724k available, 185852k reserved, 155648K highmem
<5>[    0.000000] Virtual kernel memory layout:
<5>[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
<5>[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
<5>[    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
<5>[    0.000000]     vmalloc : 0xf7000000 - 0xfe800000   ( 120 MB)
<5>[    0.000000]     lowmem  : 0xc0000000 - 0xf6800000   ( 872 MB)
<5>[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
<5>[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
<5>[    0.000000]       .init : 0xc0408000 - 0xc0510000   (1056 kB)
<5>[    0.000000]       .text : 0xc0510000 - 0xc0afb3b4   (6061 kB)
<5>[    0.000000]       .data : 0xc0afc000 - 0xc0b4dea0   ( 328 kB)
<5>[    0.000000]        .bss : 0xc0b51024 - 0xc15d0138   (10749 kB)
<6>[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
<6>[    0.000000] Preemptible hierarchical RCU implementation.
<6>[    0.000000] NR_IRQS:416
<4>[    0.000000] rk30_gpio_init: 176 gpio irqs in 6 banks
<6>[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
<6>[    0.000000] Console: colour dummy device 80x30
<6>[    0.004812] Calibrating delay loop (skipped) preset value.. 1631.46 BogoMIPS (lpj=8157341)
<6>[    0.013645] pid_max: default: 32768 minimum: 301
<6>[    0.018829] Mount-cache hash table entries: 512
<6>[    0.024340] Initializing cgroup subsys debug
<6>[    0.028990] Initializing cgroup subsys cpuacct
<6>[    0.033866] Initializing cgroup subsys freezer
<6>[    0.038715] CPU: Testing write buffer coherency: ok
<4>[    0.144712] CPU1: Booted secondary processor
<6>[    0.144754] Brought up 2 CPUs
<6>[    0.152653] SMP: Total of 2 processors activated (3262.93 BogoMIPS).
<6>[    0.159846] devtmpfs: initialized
<6>[    0.171005] NET: Registered protocol family 16
<4>[    0.175870] last_log: 0xec900000 0xc0b526b0
<6>[    0.282800] rk29sdk_wifi_bt_gpio_control_init: init finished
<6>[    0.293261] console [ttyFIQ0] enabled, bootconsole disabled
<6>[    0.304916] Registered FIQ tty driver ec88fc00
<6>[    0.321822] bio: create slab <bio-0> at 0
<5>[    0.326351] SCSI subsystem initialized
<6>[    0.330271] usbcore: registered new interface driver usbfs
<6>[    0.335836] usbcore: registered new interface driver hub
<6>[    0.341223] usbcore: registered new device driver usb
<6>[    0.346473] rk30_i2c rk30_i2c.0: i2c-0: RK30 I2C adapter
<6>[    0.351897] rk30_i2c rk30_i2c.1: i2c-1: RK30 I2C adapter
<6>[    0.357312] rk30_i2c rk30_i2c.2: i2c-2: RK30 I2C adapter
<6>[    0.362718] rk30_i2c rk30_i2c.3: i2c-3: RK30 I2C adapter
<6>[    0.368128] rk30_i2c rk30_i2c.4: i2c-4: RK30 I2C adapter
<6>[    0.373533] rk30-adc rk30-adc: rk30 adc: driver initialized
<4>[    0.379372] timed_gpio_probe
<6>[    0.382329] Advanced Linux Sound Architecture Driver Version 1.0.24.
<6>[    0.389065] Bluetooth: Core ver 2.16
<6>[    0.392674] NET: Registered protocol family 31
<6>[    0.397128] Bluetooth: HCI device and connection manager initialized
<6>[    0.403478] Bluetooth: HCI socket layer initialized
<6>[    0.408359] Bluetooth: L2CAP socket layer initialized
<6>[    0.413417] Bluetooth: SCO socket layer initialized
<6>[    0.418552] cfg80211: Calling CRDA to update world regulatory domain
<4>[    0.425662] rk fb probe ok!
<6>[    0.428516] Switching to clocksource timer1
<4>[    0.432922] lcdc0:reg_phy_base = 0x1010c000,reg_vir_base:0xf701c000
<6>[    0.434750] Switched to NOHz mode on CPU #1
<6>[    0.443368] Switched to NOHz mode on CPU #0
<4>[    0.447636] lcdc0: dclk:74250000>>fps:29 rk30_load_screen for lcdc0 ok!
<4>[    0.491535] fb0:phy:90000000>>vir:f8000000>>len:0x1800000
<4>[    0.497100] rk_fb_register>>>>>fb0
<4>[    0.500627] rk_fb_register>>>>>fb1
<4>[    0.504049] lcdc0 wakeup from stanby
<6>[    0.507620] lcdc0 win1 open
<4>[    0.546479] rk30 lcdc0 probe ok!
<6>[    0.552845] rk30-hdmi rk30-hdmi: READ_PARSE_EDID
<6>[    0.561398] NET: Registered protocol family 2
<6>[    0.565886] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>[    0.573371] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
<6>[    0.582639] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
<6>[    0.590313] TCP: Hash tables configured (established 131072 bind 65536)
<6>[    0.597529] TCP reno registered
<6>[    0.600673] UDP hash table entries: 512 (order: 2, 16384 bytes)
<6>[    0.606627] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
<6>[    0.613334] NET: Registered protocol family 1
<4>[    0.617897] RK29 Backlight Driver Initialized.
<6>[    0.622527] Unpacking initramfs...
<6>[    0.633372] rk30-hdmi rk30-hdmi: SYSTEM_CONFIG
<4>[    0.637831] lcdc0: dclk:148500000>>fps:60 rk30_load_screen for lcdc0 ok!
<6>[    0.660190] rk30-hdmi rk30-hdmi: CONFIG_VIDEO
<6>[    0.824971] Freeing initrd memory: 2880K
<6>[    0.829056] rk30-tsadc rk30-tsadc: initialized
<3>[    0.833621] DVFS ERR:   gpu can't get regulator in clk_enable_dvfs
<3>[    0.839627] DVFS ERR:   ddr can't get regulator in clk_enable_dvfs
<3>[    0.845688] DVFS ERR:   cpu can't get regulator in clk_enable_dvfs
<6>[    0.851944] [BT_RFKILL]: ret=0x0
<6>[    0.855279] Loaded driver for PL330 DMAC-1 rk29-pl330
<6>[    0.860331]    DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
<6>[    0.866619] Loaded driver for PL330 DMAC-2 rk29-pl330
<6>[    0.871667]    DBUFF-64x8bytes Num_Chans-7 Num_Peri-20 Num_Events-14
<4>[    0.884464] highmem bounce pool size: 64 pages
<6>[    0.889065] ashmem: initialized
<6>[    0.896850] fuse init (API version 7.16)
<6>[    0.901694] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
<6>[    0.909129] io scheduler noop registered
<6>[    0.913089] io scheduler deadline registered
<6>[    0.917400] io scheduler cfq registered (default)
<6>[    0.927514] rga: Driver loaded succesfully
<6>[    0.931867] rk_serial.0: ttyS0 at MMIO 0x10124000 (irq = 66) is a rk29_serial.0
<6>[    0.962745] rk_serial rk_serial.0: membase 0xf7048000
<6>[    0.967828] rk_serial.3: ttyS3 at MMIO 0x20068000 (irq = 69) is a rk29_serial.3
<6>[    1.012751] rk_serial rk_serial.3: membase 0xf7050000
<6>[    1.018208] Rockchip ion module(version: 1.0) is successfully loaded
<6>[    1.022870] rk30-hdmi rk30-hdmi: CONFIG_AUDIO
<6>[    1.022993] rk30-hdmi rk30-hdmi: PLAY_BACK
<6>[    1.037154] loop: module loaded
<6>[    1.040426] Android kernel panic handler initialized (bind=kpanic)
<6>[    1.048657] PPP generic driver version 2.4.2
<6>[    1.053096] PPP Deflate Compression module registered
<6>[    1.058140] PPP BSD Compression module registered
<6>[    1.063366] PPP MPPE Compression module registered
<6>[    1.068152] NET: Registered protocol family 24
<6>[    1.072647] usbcore: registered new interface driver asix
<6>[    1.078129] usbcore: registered new interface driver cdc_ether
<6>[    1.083997] usbcore: registered new interface driver dm9620
<6>[    1.089588] usbcore: registered new interface driver SR9700_android
<6>[    1.095891] usbcore: registered new interface driver net1080
<6>[    1.101571] usbcore: registered new interface driver cdc_subset
<6>[    1.107554] usbcore: registered new interface driver zaurus
<6>[    1.113143] cdc_ncm: 04-Aug-2011
<6>[    1.116397] usbcore: registered new interface driver cdc_ncm
<4>[    1.122049] Rockchip WiFi SYS interface (V1.00) ...
<6>[    1.127052] Initializing USB Mass Storage driver...
<6>[    1.131966] usbcore: registered new interface driver usb-storage
<6>[    1.137974] USB Mass Storage support registered.
<6>[    1.142670] usbcore: registered new interface driver usbserial
<6>[    1.148559] USB Serial support registered for generic
<6>[    1.153654] usbcore: registered new interface driver usbserial_generic
<6>[    1.160173] usbserial: USB Serial Driver core
<6>[    1.164559] USB Serial support registered for GSM modem (1-port)
<6>[    1.170601] usbcore: registered new interface driver option
<6>[    1.176175] option: v0.7.2:USB Driver for GSM modems
<6>[    1.401638] DWC_OTG: ^^^^^^^^^^^^^^^^^^Host Mode
<6>[    1.406274] usb20_otg usb20_otg: DWC OTG Controller
<6>[    1.411220] usb20_otg usb20_otg: new USB bus registered, assigned bus number 1
<6>[    1.418465] usb20_otg usb20_otg: irq 48, io mem 0x00000000
<6>[    1.423972] DWC_OTG: Init: Port Power? op_state=1
<6>[    1.428668] DWC_OTG: Init: Power Port (0)
<6>[    1.432731] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
<6>[    1.439512] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[    1.446735] usb usb1: Product: DWC OTG Controller
<6>[    1.451432] usb usb1: Manufacturer: Linux 3.0.8+ dwc_otg_hcd
<6>[    1.457091] usb usb1: SerialNumber: usb20_otg
<6>[    1.461798] hub 1-0:1.0: USB hub found
<6>[    1.465566] hub 1-0:1.0: 1 port detected
<6>[    1.469857] DWC_OTG: host20_driver_probe host2.0 reg addr: 0x101c0000 remap:0xf7100000
<6>[    1.688267] DWC_OTG: ^^^^^^^^^^^^^^^^^^Host Mode
<6>[    1.692893] usb20_host usb20_host: DWC OTG Controller
<6>[    1.697962] usb20_host usb20_host: new USB bus registered, assigned bus number 2
<6>[    1.705376] usb20_host usb20_host: irq 49, io mem 0x00000000
<6>[    1.711058] DWC_OTG: Init: Port Power? op_state=1
<6>[    1.715754] DWC_OTG: Init: Power Port (0)
<6>[    1.719800] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
<6>[    1.726591] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[    1.733814] usb usb2: Product: DWC OTG Controller
<6>[    1.738510] usb usb2: Manufacturer: Linux 3.0.8+ host20_hcd
<6>[    1.744084] usb usb2: SerialNumber: usb20_host
<6>[    1.748842] hub 2-0:1.0: USB hub found
<6>[    1.752598] hub 2-0:1.0: 1 port detected
<4>[    1.756858] DWC_OTG: Mode Mismatch Interrupt: currently in Host mode
<6>[    1.764199] android_usb gadget: Mass Storage Function, version: 2009/09/11
<6>[    1.771068] android_usb gadget: Number of LUNs=2
<6>[    1.775695]  lun0: LUN: removable file: (no medium)
<6>[    1.780569]  lun1: LUN: removable file: (no medium)
<6>[    1.785645] android_usb gadget: android_usb ready
<6>[    1.790537] input: rk29-keypad as /devices/platform/rk29-keypad/input/input0
<6>[    1.798236] lirc_dev: IR Remote Control driver registered, major 250
<6>[    1.804698] IR NEC protocol handler initialized
<6>[    1.809222] IR RC5(x) protocol handler initialized
<6>[    1.814018] IR RC6 protocol handler initialized
<6>[    1.818540] IR JVC protocol handler initialized
<6>[    1.823098] IR Sony protocol handler initialized
<6>[    1.827710] IR RC5 (streamzap) protocol handler initialized
<6>[    1.833287] IR LIRC bridge handler initialized
<6>[    1.837723] Linux video capture interface: v2.00
<6>[    1.842413] usbcore: registered new interface driver uvcvideo
<6>[    1.848166] USB Video Class driver (v1.1.0)
<6>[    1.853111] device-mapper: uevent: version 1.0.3
<6>[    1.857950] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
<6>[    1.866593] Bluetooth: HCI UART driver ver 2.2
<6>[    1.871032] Bluetooth: HCI H4 protocol initialized
<6>[    1.875831] Bluetooth: HCILL protocol initialized
<6>[    1.880656] cpuidle: using governor ladder
<6>[    1.884762] cpuidle: using governor menu
<6>[    1.954127]
<6>[    1.954129] drivers/mmc/core/core.c...1827..  ===== mmc_rescan Begin....[mmc0]
<6>[    1.954170] .Line3796..The End of SDMMC-probe Ver.4.06 The last modify date is 2012-09-26.  [sd_mmc]
<6>[    1.954311] .Line3796..The End of SDMMC-probe Ver.4.06 The last modify date is 2012-09-26.  [sdio]
<6>[    1.955501] usbcore: registered new interface driver usbhid
<6>[    1.955507] usbhid: USB HID core driver
<6>[    1.990512] logger: created 256K log 'log_main'
<6>[    1.995127] logger: created 256K log 'log_events'
<6>[    1.995398] rk29_sdmmc_change_clk_div..1921..  newDiv=83, newCLK=298Khz [sd_mmc]
<6>[    2.007273] logger: created 256K log 'log_radio'
<6>[    2.011958] logger: created 256K log 'log_system'
<6>[    2.017539] asoc: hdmi-audio-codec <-> rk29_i2s.0 mapping ok
<6>[    2.023473] ALSA device list:
<6>[    2.026435]   #0: ROCKCHIP HDMI
<6>[    2.029656] GACT probability NOT on
<6>[    2.033170] Mirror/redirect action on
<6>[    2.036825] u32 classifier
<6>[    2.039525]     Actions configured
<6>[    2.042945] Netfilter messages via NETLINK v0.30.
<6>[    2.047684] nf_conntrack version 0.5.0 (13525 buckets, 54100 max)
<6>[    2.053820]
<6>[    2.053823] mmc_attach_sd..1218..  ===== Begin to identify card as SD-card. [mmc0]
<6>[    2.054188] ctnetlink v0.93: registering with nfnetlink.
<6>[    2.054217] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
<6>[    2.054223] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
<6>[    2.054410] xt_time: kernel timezone is -0000
<6>[    2.054539] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[    2.054658] arp_tables: (C) 2002 David S. Miller
<6>[    2.054700] TCP cubic registered
<6>[    2.055112] NET: Registered protocol family 10
<6>[    2.055689] Mobile IPv6
<6>[    2.055714] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[    2.055831] IPv6 over IPv4 tunneling driver
<6>[    2.056405] NET: Registered protocol family 17
<6>[    2.056433] NET: Registered protocol family 15
<5>[    2.056502] Bridge firewalling registered
<6>[    2.056616] Bluetooth: RFCOMM TTY layer initialized
<6>[    2.056629] Bluetooth: RFCOMM socket layer initialized
<6>[    2.056635] Bluetooth: RFCOMM ver 1.11
<6>[    2.056640] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
<6>[    2.056647] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
<6>[    2.056736] NET: Registered protocol family 35
<6>[    2.056860] [BT_RFKILL]: Enter rfkill_rk_init
<6>[    2.056932] [BT_RFKILL]: Request irq for bt wakeup host
<6>[    2.056951] [BT_RFKILL]: ** disable irq
<6>[    2.082731] [BT_RFKILL]: bt shut off power
<6>[    2.112727] [BT_RFKILL]: rk903_26M device registered.
<6>[    2.112768] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
<3>[    2.187605] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
<6>[    2.194137] usbcore: registered new interface driver snd-usb-audio
<6>[    2.200528] Freeing init memory: 1056K
<3>[    2.206183] init: /init.rc: 348: setprop requires 2 arguments
<4>[    2.213049] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
<6>[    2.232855] usb 2-1: new high speed USB device number 2 using usb20_host
<6>[    2.272570] keychord: using input dev rk29-keypad for fevent
<6>[    2.434498] rk29_sdmmc_change_clk_div..1921..  newDiv=0, newCLK=49500Khz [sd_mmc]
<6>[    2.444137] usb 2-1: New USB device found, idVendor=05e3, idProduct=0608
<6>[    2.450831] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
<6>[    2.458002] mmc0: new high speed SDHC card at address 1234
<6>[    2.463554] usb 2-1: Product: USB2.0 Hub
<4>[    2.467882] gp_rknand_info = : 0xeb4cf000
<6>[    2.472090] hub 2-1:1.0: USB hub found
<4>[    2.472097] request IRQ_NANDC irq , ret=0.........
<4>[    2.472170] FlashCopyProgBuf1=0xc1474000
<4>[    2.472198] ATime: 40 ns AHB: 148 timming: 1081
<4>[    2.472209] No.1 FLASH INFO:2c 88 4 4b a9
<4>[    2.472518] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.472670] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.472676] randomizer = 0 , EccBits = 18 pSpec->pReadRetrial = 0
<4>[    2.480247] FlashReadPage error!!,row = 12100
<4>[    2.480253] spare:00 f4
<4>[    2.480257] NAND INFO DUMP....ZYF
<4>[    2.480261] AHB CLK: 148500
<4>[    2.480266] FMCTL: 0x100 ; FMWAIT: 0x1061
<4>[    2.480271] FLCTL: 0x100428 ; BCHCTL: 0x10 ; MTRANS_CFG: 0x1d0
<4>[    2.480277] MTRANS_SADDR0: 0x0 ; MTRANS_SADDR1: 0x0
<4>[    2.480282] MTRANS_STAT: 0x0 ; RANDMZ_CFG: 0x7358
<4>[    2.480287] BCHST[0]: 0x4004007
<4>[    2.480291] BCHST[1]: 0x1086002
<4>[    2.480295] BCHST[2]: 0x529b
<4>[    2.480298] BCHST[3]: 0x4002
<4>[    2.480302] BCHST[4]: 0x4002
<4>[    2.480306] BCHST[5]: 0x4002
<4>[    2.480310] BCHST[6]: 0x4002
<4>[    2.480313] BCHST[7]: 0x4002
<4>[    2.480383] [<c051b1c4>] (unwind_backtrace+0x0/0xf0) from [<bf009198>] (FlashReadErrorDump+0x9c/0xd0 [rk30xxnand_ko])
<4>[    2.480452] [<bf009198>] (FlashReadErrorDump+0x9c/0xd0 [rk30xxnand_ko]) from [<bf00a954>] (FlashReadEnhanced+0x16c/0x260 [rk30xxnand_ko])
<4>[    2.480519] [<bf00a954>] (FlashReadEnhanced+0x16c/0x260 [rk30xxnand_ko]) from [<bf0133f4>] (PwrOnLoadRemapTbl+0x58/0x324 [rk30xxnand_ko])
<4>[    2.480586] [<bf0133f4>] (PwrOnLoadRemapTbl+0x58/0x324 [rk30xxnand_ko]) from [<bf01390c>] (FtlInit+0xc4/0x154 [rk30xxnand_ko])
<4>[    2.480652] [<bf01390c>] (FtlInit+0xc4/0x154 [rk30xxnand_ko]) from [<bf013b48>] (NandInit+0x1ac/0x338 [rk30xxnand_ko])
<4>[    2.480717] [<bf013b48>] (NandInit+0x1ac/0x338 [rk30xxnand_ko]) from [<bf013d40>] (rk29nand_probe+0x6c/0x218 [rk30xxnand_ko])
<4>[    2.480759] [<bf013d40>] (rk29nand_probe+0x6c/0x218 [rk30xxnand_ko]) from [<c05105d8>] (do_one_initcall+0x94/0x164)
<4>[    2.480777] [<c05105d8>] (do_one_initcall+0x94/0x164) from [<c056fd28>] (sys_init_module+0x1134/0x12c4)
<4>[    2.480792] [<c056fd28>] (sys_init_module+0x1134/0x12c4) from [<c0515c80>] (ret_fast_syscall+0x0/0x30)
<4>[    2.480802] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.480923] FlashReadPage error!!,row = 12100
<4>[    2.480928] spare:00 f4
<4>[    2.480933] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.481103] FlashReadPage error!!,row = 12100
<4>[    2.481108] spare:00 f4
<4>[    2.481113] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.481270] FlashReadPage error!!,row = 12120
<4>[    2.481274] spare:00 00
<4>[    2.481279] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.481443] FlashReadPage error!!,row = 12120
<4>[    2.481447] spare:00 00
<4>[    2.481452] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.481623] FlashReadPage error!!,row = 12120
<4>[    2.481627] spare:00 00
<4>[    2.481632] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.482045] FlashReadPage error!!,row = 12180
<4>[    2.482050] spare:00 f4
<4>[    2.482055] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.482218] FlashReadPage error!!,row = 12180
<4>[    2.482223] spare:00 f4
<4>[    2.482228] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.482399] FlashReadPage error!!,row = 12180
<4>[    2.482403] spare:00 f4
<4>[    2.482408] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.482566] FlashReadPage error!!,row = 121a0
<4>[    2.482571] spare:00 00
<4>[    2.482576] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.482746] FlashReadPage error!!,row = 121a0
<4>[    2.482751] spare:00 00
<4>[    2.482757] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.482926] FlashReadPage error!!,row = 121a0
<4>[    2.482930] spare:00 00
<4>[    2.482935] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.483348] FlashReadPage error!!,row = 12200
<4>[    2.483352] spare:01 f4
<4>[    2.483357] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.483520] FlashReadPage error!!,row = 12200
<4>[    2.483525] spare:01 f4
<4>[    2.483530] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.483701] FlashReadPage error!!,row = 12200
<4>[    2.483705] spare:01 f4
<4>[    2.483710] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.483867] FlashReadPage error!!,row = 12220
<4>[    2.483871] spare:00 00
<4>[    2.483876] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.484039] FlashReadPage error!!,row = 12220
<4>[    2.484044] spare:00 00
<4>[    2.484047] NAND INFO DUMP....ZYF
<4>[    2.484051] AHB CLK: 148500
<4>[    2.484055] FMCTL: 0x100 ; FMWAIT: 0x1081
<4>[    2.484060] FLCTL: 0x100428 ; BCHCTL: 0x10 ; MTRANS_CFG: 0x1d0
<4>[    2.484066] MTRANS_SADDR0: 0x0 ; MTRANS_SADDR1: 0x0
<4>[    2.484071] MTRANS_STAT: 0x0 ; RANDMZ_CFG: 0x454
<4>[    2.484075] BCHST[0]: 0x400e007
<4>[    2.484080] BCHST[1]: 0xe007
<4>[    2.484084] BCHST[2]: 0x4007
<4>[    2.484088] BCHST[3]: 0xe002
<4>[    2.484091] BCHST[4]: 0xe007
<4>[    2.484095] BCHST[5]: 0xe007
<4>[    2.484099] BCHST[6]: 0x4007
<4>[    2.484103] BCHST[7]: 0xe002
<4>[    2.484150] [<c051b1c4>] (unwind_backtrace+0x0/0xf0) from [<bf009198>] (FlashReadErrorDump+0x9c/0xd0 [rk30xxnand_ko])
<4>[    2.484215] [<bf009198>] (FlashReadErrorDump+0x9c/0xd0 [rk30xxnand_ko]) from [<bf00a954>] (FlashReadEnhanced+0x16c/0x260 [rk30xxnand_ko])
<4>[    2.484280] [<bf00a954>] (FlashReadEnhanced+0x16c/0x260 [rk30xxnand_ko]) from [<bf0133f4>] (PwrOnLoadRemapTbl+0x58/0x324 [rk30xxnand_ko])
<4>[    2.484347] [<bf0133f4>] (PwrOnLoadRemapTbl+0x58/0x324 [rk30xxnand_ko]) from [<bf01390c>] (FtlInit+0xc4/0x154 [rk30xxnand_ko])
<4>[    2.484411] [<bf01390c>] (FtlInit+0xc4/0x154 [rk30xxnand_ko]) from [<bf013b48>] (NandInit+0x1ac/0x338 [rk30xxnand_ko])
<4>[    2.484475] [<bf013b48>] (NandInit+0x1ac/0x338 [rk30xxnand_ko]) from [<bf013d40>] (rk29nand_probe+0x6c/0x218 [rk30xxnand_ko])
<4>[    2.484514] [<bf013d40>] (rk29nand_probe+0x6c/0x218 [rk30xxnand_ko]) from [<c05105d8>] (do_one_initcall+0x94/0x164)
<4>[    2.484529] [<c05105d8>] (do_one_initcall+0x94/0x164) from [<c056fd28>] (sys_init_module+0x1134/0x12c4)
<4>[    2.484543] [<c056fd28>] (sys_init_module+0x1134/0x12c4) from [<c0515c80>] (ret_fast_syscall+0x0/0x30)
<4>[    2.484551] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.484679] FlashReadPage error!!,row = 12220
<4>[    2.484684] spare:00 00
<4>[    2.484689] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.485100] FlashReadPage error!!,row = 12280
<4>[    2.485105] spare:00 f4
<4>[    2.485110] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.485274] FlashReadPage error!!,row = 12280
<4>[    2.485278] spare:00 f4
<4>[    2.485283] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.485454] FlashReadPage error!!,row = 12280
<4>[    2.485459] spare:00 f4
<4>[    2.485464] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.485620] FlashReadPage error!!,row = 122a0
<4>[    2.485624] spare:00 00
<4>[    2.485629] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.485793] FlashReadPage error!!,row = 122a0
<4>[    2.485797] spare:00 00
<4>[    2.485802] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.485973] FlashReadPage error!!,row = 122a0
<4>[    2.485978] spare:00 00
<4>[    2.485983] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.486395] FlashReadPage error!!,row = 12300
<4>[    2.486399] spare:00 f4
<4>[    2.486404] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.486568] FlashReadPage error!!,row = 12300
<4>[    2.486572] spare:00 f4
<4>[    2.486577] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.486748] FlashReadPage error!!,row = 12300
<4>[    2.486753] spare:00 f4
<4>[    2.486757] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.486914] FlashReadPage error!!,row = 12320
<4>[    2.486918] spare:02 00
<4>[    2.486923] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.487087] FlashReadPage error!!,row = 12320
<4>[    2.487091] spare:02 00
<4>[    2.487096] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.487268] FlashReadPage error!!,row = 12320
<4>[    2.487272] spare:02 00
<4>[    2.487277] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.487689] FlashReadPage error!!,row = 12380
<4>[    2.487693] spare:00 f4
<4>[    2.487698] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.487862] FlashReadPage error!!,row = 12380
<4>[    2.487866] spare:02 f4
<4>[    2.487871] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.488042] FlashReadPage error!!,row = 12380
<4>[    2.488047] spare:02 f4
<4>[    2.488050] NAND INFO DUMP....ZYF
<4>[    2.488053] AHB CLK: 148500
<4>[    2.488058] FMCTL: 0x100 ; FMWAIT: 0x1082
<4>[    2.488063] FLCTL: 0x100428 ; BCHCTL: 0x10 ; MTRANS_CFG: 0x1d0
<4>[    2.488068] MTRANS_SADDR0: 0x0 ; MTRANS_SADDR1: 0x0
<4>[    2.488073] MTRANS_STAT: 0x0 ; RANDMZ_CFG: 0x517a
<4>[    2.488078] BCHST[0]: 0x400e007
<4>[    2.488082] BCHST[1]: 0x4007
<4>[    2.488086] BCHST[2]: 0xe002
<4>[    2.488090] BCHST[3]: 0xe007
<4>[    2.488094] BCHST[4]: 0xe007
<4>[    2.488097] BCHST[5]: 0x4007
<4>[    2.488101] BCHST[6]: 0xe002
<4>[    2.488105] BCHST[7]: 0xe007
<4>[    2.488147] [<c051b1c4>] (unwind_backtrace+0x0/0xf0) from [<bf009198>] (FlashReadErrorDump+0x9c/0xd0 [rk30xxnand_ko])
<4>[    2.488211] [<bf009198>] (FlashReadErrorDump+0x9c/0xd0 [rk30xxnand_ko]) from [<bf00a954>] (FlashReadEnhanced+0x16c/0x260 [rk30xxnand_ko])
<4>[    2.488276] [<bf00a954>] (FlashReadEnhanced+0x16c/0x260 [rk30xxnand_ko]) from [<bf0133f4>] (PwrOnLoadRemapTbl+0x58/0x324 [rk30xxnand_ko])
<4>[    2.488342] [<bf0133f4>] (PwrOnLoadRemapTbl+0x58/0x324 [rk30xxnand_ko]) from [<bf01390c>] (FtlInit+0xc4/0x154 [rk30xxnand_ko])
<4>[    2.488408] [<bf01390c>] (FtlInit+0xc4/0x154 [rk30xxnand_ko]) from [<bf013b48>] (NandInit+0x1ac/0x338 [rk30xxnand_ko])
<4>[    2.488473] [<bf013b48>] (NandInit+0x1ac/0x338 [rk30xxnand_ko]) from [<bf013d40>] (rk29nand_probe+0x6c/0x218 [rk30xxnand_ko])
<4>[    2.488512] [<bf013d40>] (rk29nand_probe+0x6c/0x218 [rk30xxnand_ko]) from [<c05105d8>] (do_one_initcall+0x94/0x164)
<4>[    2.488527] [<c05105d8>] (do_one_initcall+0x94/0x164) from [<c056fd28>] (sys_init_module+0x1134/0x12c4)
<4>[    2.488540] [<c056fd28>] (sys_init_module+0x1134/0x12c4) from [<c0515c80>] (ret_fast_syscall+0x0/0x30)
<4>[    2.488549] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.488662] FlashReadPage error!!,row = 123a0
<4>[    2.488667] spare:00 00
<4>[    2.488672] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.488835] FlashReadPage error!!,row = 123a0
<4>[    2.488839] spare:00 00
<4>[    2.488844] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.489015] FlashReadPage error!!,row = 123a0
<4>[    2.489019] spare:00 00
<4>[    2.489024] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.489445] FlashReadPage error!!,row = 12400
<4>[    2.489449] spare:00 f4
<4>[    2.489454] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.489618] FlashReadPage error!!,row = 12400
<4>[    2.489622] spare:00 f4
<4>[    2.489627] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.489798] FlashReadPage error!!,row = 12400
<4>[    2.489802] spare:00 f4
<4>[    2.489807] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.489964] FlashReadPage error!!,row = 12420
<4>[    2.489968] spare:00 00
<4>[    2.489973] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.490137] FlashReadPage error!!,row = 12420
<4>[    2.490141] spare:00 00
<4>[    2.490146] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.490318] FlashReadPage error!!,row = 12420
<4>[    2.490322] spare:00 00
<4>[    2.490327] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.490739] FlashReadPage error!!,row = 12480
<4>[    2.490744] spare:00 f4
<4>[    2.490749] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.490912] FlashReadPage error!!,row = 12480
<4>[    2.490917] spare:00 f4
<4>[    2.490921] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.491093] FlashReadPage error!!,row = 12480
<4>[    2.491097] spare:00 f4
<4>[    2.491102] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.491259] FlashReadPage error!!,row = 124a0
<4>[    2.491263] spare:00 00
<4>[    2.491268] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.491432] FlashReadPage error!!,row = 124a0
<4>[    2.491436] spare:00 00
<4>[    2.491441] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.491612] FlashReadPage error!!,row = 124a0
<4>[    2.491616] spare:00 00
<4>[    2.491621] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.492033] FlashReadPage error!!,row = 12500
<4>[    2.492038] spare:00 f4
<4>[    2.492041] NAND INFO DUMP....ZYF
<4>[    2.492045] AHB CLK: 148500
<4>[    2.492049] FMCTL: 0x100 ; FMWAIT: 0x1061
<4>[    2.492054] FLCTL: 0x100428 ; BCHCTL: 0x10 ; MTRANS_CFG: 0x1d0
<4>[    2.492059] MTRANS_SADDR0: 0x0 ; MTRANS_SADDR1: 0x0
<4>[    2.492065] MTRANS_STAT: 0x0 ; RANDMZ_CFG: 0x5b22
<4>[    2.492069] BCHST[0]: 0x4004007
<4>[    2.492073] BCHST[1]: 0xe002
<4>[    2.492077] BCHST[2]: 0xe007
<4>[    2.492081] BCHST[3]: 0xe007
<4>[    2.492085] BCHST[4]: 0x4007
<4>[    2.492089] BCHST[5]: 0xe002
<4>[    2.492093] BCHST[6]: 0xe007
<4>[    2.492096] BCHST[7]: 0xe007
<4>[    2.492138] [<c051b1c4>] (unwind_backtrace+0x0/0xf0) from [<bf009198>] (FlashReadErrorDump+0x9c/0xd0 [rk30xxnand_ko])
<4>[    2.492203] [<bf009198>] (FlashReadErrorDump+0x9c/0xd0 [rk30xxnand_ko]) from [<bf00a954>] (FlashReadEnhanced+0x16c/0x260 [rk30xxnand_ko])
<4>[    2.492268] [<bf00a954>] (FlashReadEnhanced+0x16c/0x260 [rk30xxnand_ko]) from [<bf0133f4>] (PwrOnLoadRemapTbl+0x58/0x324 [rk30xxnand_ko])
<4>[    2.492335] [<bf0133f4>] (PwrOnLoadRemapTbl+0x58/0x324 [rk30xxnand_ko]) from [<bf01390c>] (FtlInit+0xc4/0x154 [rk30xxnand_ko])
<4>[    2.492401] [<bf01390c>] (FtlInit+0xc4/0x154 [rk30xxnand_ko]) from [<bf013b48>] (NandInit+0x1ac/0x338 [rk30xxnand_ko])
<4>[    2.492465] [<bf013b48>] (NandInit+0x1ac/0x338 [rk30xxnand_ko]) from [<bf013d40>] (rk29nand_probe+0x6c/0x218 [rk30xxnand_ko])
<4>[    2.492507] [<bf013d40>] (rk29nand_probe+0x6c/0x218 [rk30xxnand_ko]) from [<c05105d8>] (do_one_initcall+0x94/0x164)
<4>[    2.492522] [<c05105d8>] (do_one_initcall+0x94/0x164) from [<c056fd28>] (sys_init_module+0x1134/0x12c4)
<4>[    2.492535] [<c056fd28>] (sys_init_module+0x1134/0x12c4) from [<c0515c80>] (ret_fast_syscall+0x0/0x30)
<4>[    2.492544] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.492664] FlashReadPage error!!,row = 12500
<4>[    2.492669] spare:00 f4
<4>[    2.492675] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.492846] FlashReadPage error!!,row = 12500
<4>[    2.492851] spare:00 f4
<4>[    2.492856] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.493011] FlashReadPage error!!,row = 12520
<4>[    2.493015] spare:40 00
<4>[    2.493021] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.493184] FlashReadPage error!!,row = 12520
<4>[    2.493189] spare:40 00
<4>[    2.493194] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.493365] FlashReadPage error!!,row = 12520
<4>[    2.493369] spare:40 00
<4>[    2.493374] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.495130] FlashReadPage error!!,row = 126a0
<4>[    2.495134] spare:00 00
<4>[    2.495139] ATime: 38 ns AHB: 148 timming: 1081
<4>[    2.495302] FlashReadPage error!!,row = 126a0
<4>[    2.495307] spare:00 00
<4>[    2.495312] ATime: 44 ns AHB: 148 timming: 1082
<4>[    2.495483] FlashReadPage error!!,row = 126a0
<4>[    2.495487] spare:00 00
<4>[    2.495492] ATime: 32 ns AHB: 148 timming: 1061
<4>[    2.562954] FTL INFO:Version = 438,Date = 20121130
<4>[    2.562960] totalLogicBlkRaw  = 1905
<4>[    2.562976] gBootMedia = 0 gSdmmcFwPartOffset =0!
<4>[    2.562982] rknand_buffer.c version: 4.38 20121130!
<5>[    3.052800] 10 cmdlinepart partitions found on MTD device rk29xxnand
<5>[    3.052808] Creating 10 MTD partitions on "rk29xxnand":
<5>[    3.052817] 0x000000400000-0x000000800000 : "misc"
<5>[    3.053810] 0x000000800000-0x000001000000 : "kernel"
<5>[    3.054430] 0x000001000000-0x000002000000 : "boot"
<5>[    3.054989] 0x000002000000-0x000003000000 : "recovery"
<5>[    3.055457] 0x000003000000-0x00001b000000 : "backup"
<5>[    3.056206] 0x00001b000000-0x000023000000 : "cache"
<5>[    3.056797] 0x000023000000-0x0000a3000000 : "userdata"
<5>[    3.058827] 0x0000a3000000-0x0000a3400000 : "kpanic"
<6>[    3.061315] apanic: Bound to mtd partition 'kpanic'
<6>[    3.061321] apanic: No panic data available
<5>[    3.062299] 0x0000a3400000-0x0000c3400000 : "system"
<5>[    3.063374] 0x0000c3400000-0x0001dc400000 : "user"
<4>[    3.067073] startBlk = 119  sysProtAddr = 118
<6>[    3.832129] mmcblk0: mmc0:1234 SA16G 14.8 GiB
<6>[    3.837307] hub 2-1:1.0: 4 ports detected
<6>[    3.841364]
<6>[    3.841368] msdos_partition..461... ==== Begin to parse sdcard-partition.  [mmc0]
<6>[    3.850387] msdos_partition..530... ==== The sdcard has MBR. [mmc0]
<6>[    3.856680] msdos_partition..543... ==== partition-1, size=15618048KB  [mmc0]
<6>[    3.863844] msdos_partition..571... ==== main partition-1....[mmc0]
<6>[    3.870125]  mmcblk0: p1
<6>[    3.873477] mmc_rescan_try_freq..1721..  ===== Initialize SD-card successfully. [mmc0]
<6>[    3.875656] EXT4-fs (mtdblock8): mounted filesystem with ordered data mode. Opts: noauto_da_alloc
<6>[    3.890540]
<6>[    3.890543] drivers/mmc/core/core.c...1827..  ===== mmc_rescan Begin....[mmc1]
<4>[    3.899264]
<4>[    3.899267] =================
<4>[    3.899270] mmc_rescan..1834..  ====find no SDMMC host. [mmc1]
<6>[    4.054431] EXT4-fs (mtdblock6): mounted filesystem with ordered data mode. Opts: noauto_da_alloc
<6>[    4.153729] usb 2-1.1: new low speed USB device number 3 using usb20_host
<6>[    4.166799] EXT4-fs (mtdblock5): mounted filesystem with ordered data mode. Opts: noauto_da_alloc
<4>[    4.177278] UMP: UMP device driver  loaded
<4>[    4.187337] Mali: init_mali_clock mali_clock c0b19900
<4>[    4.193779] Mali: Mali device driver loaded
<4>[    4.198216] rk29_ipp: module is from the staging directory, the quality is unknown, you have been warned.
<4>[    4.208290] ipp irq 47
<4>[    4.210939] IPP init, version rk30-ipp 1.002
<6>[    4.259541] usb 2-1.1: New USB device found, idVendor=0c45, idProduct=8888
<6>[    4.271495] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
<4>[    4.273596] mirroring_init
<4>[    4.273624] set audio_data_to_mirroring bf097350 bf097350
<6>[    4.288049] usb 2-1.1: Product: iPazzPort
<6>[    4.288849] usbcore: registered new interface driver xpad
<6>[    4.300277] usb 2-1.1: Manufacturer: RCMCU
<3>[    4.300457] md4: version magic '3.0.31-g5894150 preempt mod_unload ARMv7 ' should be '3.0.8+ SMP preempt mod_unload ARMv7 '
<6>[    4.317520] tun: Universal TUN/TAP device driver, 1.6
<6>[    4.322570] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<6>[    4.328968] input: RCMCU iPazzPort as /devices/platform/usb20_host/usb2/2-1/2-1.1/2-1.1:1.0/input/input1
<6>[    4.339923] keychord: using input dev RCMCU iPazzPort for fevent
<6>[    4.346114] generic-usb 0003:0C45:8888.0001: input: USB HID v1.11 Keyboard [RCMCU iPazzPort] on usb-usb20_host-1.1/input0
<6>[    4.363514] input: RCMCU iPazzPort as /devices/platform/usb20_host/usb2/2-1/2-1.1/2-1.1:1.1/input/input2
<6>[    4.374421] keychord: using input dev RCMCU iPazzPort for fevent
<6>[    4.380439] generic-usb 0003:0C45:8888.0002: input: USB HID v1.11 Mouse [RCMCU iPazzPort] on usb-usb20_host-1.1/input1
<3>[    4.609101] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
<6>[    4.719875] DWC_OTG: frame_number 0xb84, start 0xb7f, complete: 1vpu: power on
<6>[    4.808394] VPU_SERVICE: checking hw id 4831
<4>[    4.813793] vpu: power off...done
<6>[    4.817150] VPU_SERVICE: init success
<6>[    4.822453] rk_serial rk_serial.0: baud:9600
<4>[    4.826767] serial.0 timeout:1000000
<6>[    4.830740] rk_serial rk_serial.0: baud:9600
<4>[    4.835101] serial.0 timeout:1000000
<3>[    4.839574] init: property 'ro.serialno' doesn't exist while expanding '${ro.serialno}'
<3>[    4.847735] init: cannot expand '${ro.serialno}' while writing to '/sys/class/android_usb/android0/iSerial'
<3>[    4.857875] init: using deprecated syntax for specifying property 'ro.product.usbfactory', use ${name} instead
<3>[    4.868967] android_usb: already disabled
<6>[    4.876368] adb_open
<6>[    5.288348] .412.. MMC0 receive the message sd-No-Media from VOLD.[sd_mmc]
<6>[    5.295583] .443.. MMC0 receive the message No-Media from VOLD. waitTimes=0 [sd_mmc]
<6>[    5.389869] .412.. MMC0 receive the message sd-Pending from VOLD.[sd_mmc]
<4>[    5.392770] Current WiFi chip is RK903.
<6>[    5.401904] .412.. MMC0 receive the message sd-Idle-Unmounted from VOLD.[sd_mmc]
<6>[    8.017763] DWC_OTG: frame_number 0x3294, start 0x328f, complete: 1
<6>[    8.023853] DWC_OTG: frame_number 0x3294, start 0x328f, complete: 1
<6>[    9.281763] DWC_OTG: frame_number 0x1a14, start 0x1a0f, complete: 1
<6>[    9.288045] DWC_OTG: frame_number 0x1a14, start 0x1a0f, complete: 1
<6>[   10.841561] warning: `zygote' uses 32-bit capabilities (legacy support in use)
<6>[   10.873200] usb 2-1.3: new high speed USB device number 4 using usb20_host
<6>[   10.909707] alarm_set_rtc: no RTC, time will be lost on reboot
<6>[   10.973787] usb 2-1.3: New USB device found, idVendor=1058, idProduct=1021
<6>[   10.980855] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<6>[   10.988226] usb 2-1.3: Product: Ext HDD 1021
<6>[   10.992493] usb 2-1.3: Manufacturer: Western Digital
<6>[   10.997955] usb 2-1.3: SerialNumber: 574341563553323731333433
<6>[   11.007470] scsi0 : usb-storage 2-1.3:1.0
<5>[   12.005495] scsi 0:0:0:0: Direct-Access     WD       Ext HDD 1021     2021 PQ: 0 ANSI: 4
<5>[   12.015954] sd 0:0:0:0: [sda] 1953519616 512-byte logical blocks: (1.00 TB/931 GiB)
<5>[   12.026494] sd 0:0:0:0: [sda] Write Protect is off
<7>[   12.031308] sd 0:0:0:0: [sda] Mode Sense: 17 00 10 08
<3>[   12.033472] sd 0:0:0:0: [sda] No Caching mode page present
<3>[   12.039545] sd 0:0:0:0: [sda] Assuming drive cache: write through
<3>[   12.050459] sd 0:0:0:0: [sda] No Caching mode page present
<3>[   12.056053] sd 0:0:0:0: [sda] Assuming drive cache: write through
<6>[   12.079517]  sda: sda1
<3>[   12.088336] sd 0:0:0:0: [sda] No Caching mode page present
<3>[   12.094276] sd 0:0:0:0: [sda] Assuming drive cache: write through
<5>[   12.100506] sd 0:0:0:0: [sda] Attached SCSI disk
<6>[   12.769931] DWC_OTG: frame_number 0x714, start 0x70f, complete: 1
<6>[   12.775889] DWC_OTG: frame_number 0x714, start 0x70f, complete: 1
<6>[   15.352816] [BT_RFKILL]: bt turn on power
<4>[   15.493193] Current WiFi chip is RK903.
<3>[   15.505450] init: no such service 'dhcpcd_'
<4>[   15.552316] =======================================================
<4>[   15.558678] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====
<4>[   15.565166] =======================================================
<4>[   15.571445] RKWIFI WiFi driver (Powered by Rockchip,Ver 4.23) init.
<4>[   15.571463] dhd_module_init: Enter
<4>[   15.571473] =========== WLAN placed in POWER ON ========
<3>[   15.571583] ANDROID-ERROR) ## wifi_probe
<3>[   15.571593] ANDROID-ERROR) wifi_set_power = 1
<6>[   15.571601] rk29sdk_wifi_power: 1
<6>[   15.777356] wifi turn on power
<3>[   15.780414] ANDROID-ERROR) wifi_set_carddetect = 1
<6>[   15.785758] rk29sdk_wifi_set_carddetect:1
<6>[   15.789855] mmc1: slot status change detected(0-1)
<6>[   15.794823] rk29_sdmmc_change_clk_div..1921..  newDiv=42, newCLK=294Khz [sdio]
<4>[   15.803199] Linux Kernel SDIO/MMC Driver
<4>[   15.807529]
<4>[   15.807532] Dongle Host Driver, version 5.90.195.26.1.6.1
<4>[   15.807536] Compiled in drivers/net/wireless/bcmdhd on Aug 24 2012 at 09:28:21
<6>[   15.869371] rk_serial rk_serial.0: baud:9600
<4>[   15.873695] serial.0 timeout:1000000
<6>[   15.877328] rk_serial rk_serial.0: baud:9600
<4>[   15.881612] serial.0 timeout:1000000
<6>[   15.881664] rk_serial rk_serial.0: baud:115200
<4>[   15.881676] serial.0 timeout:1000000
<6>[   15.992877]
<6>[   15.992884] drivers/mmc/core/core.c...1827..  ===== mmc_rescan Begin....[mmc1]
<6>[   16.037536]
<6>[   16.037548] mmc_attach_sdio..800..  ===== Begin to identify card as SDIO-card. [mmc1]
<7>[   16.066511] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
<7>[   16.068536] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
<7>[   16.070535] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
<7>[   16.074408] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
<6>[   16.131790] rk29_sdmmc_change_clk_div..1921..  newDiv=0, newCLK=24750Khz [sdio]
<6>[   16.143249] mmc1: new high speed SDIO card at address 0001
<4>[   16.152835] FW_PATH = /system/etc/firmware/fw_RK903.bin
<4>[   16.152845] NVRAM_PATH = /system/etc/firmware/nvram_RK903_26M.cal
<4>[   16.164776] F1 signature read @0x18000000=0x16044330
<4>[   16.200413] DHD: dongle ram size is set to 294912(orig 294912)
<4>[   16.206544] dhd_bus_select_firmware_name_by_chip: firmware_path=/system/etc/firmware/fw_RK903b2.bin
<4>[   16.217545] wl_create_event_handler thr:14d started
<4>[   16.224417] wl_iw_attach thr:14e started
<4>[   16.228794] wl_iw_bt_init thr:14f started
<4>[   16.233081] dhd_attach thr:150 started
<4>[   16.237463] dhd_attach thr:151 started
<4>[   16.241304] dhd_attach thr:152 started
<3>[   16.245482] ANDROID-ERROR) wifi_get_mac_addr
<4>[   16.249798] Fianl fw_path=/system/etc/firmware/fw_RK903b2.bin
<4>[   16.256295] Fianl nv_path=/system/etc/firmware/nvram_RK903_26M.cal
<4>[   16.324450] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
<3>[   16.508005] ANDROID-ERROR) wifi_get_mac_addr
<4>[   16.514231] Firmware up: op_mode=4, Broadcom Dongle Host Driver mac=00:22:f4:68:43:54
<4>[   16.589703] Wifi driver initialize Country Code : EU
<4>[   16.600339] dhd_preinit_ioctls set keeplive failed -1
<4>[   16.611130] dhd_rx_frame: net device is NOT registered yet. drop packet
<4>[   16.618015] dhd_rx_frame: net device is NOT registered yet. drop packet
<4>[   16.625290] Firmware version = wl0: Jul 15 2012 12:54:29 version 5.90.195.26.3 FWID 01-1180a16f
<4>[   16.639821] Broadcom Dongle Host Driver: register interface [wlan0] MAC: 00:22:f4:68:43:54
<6>[   16.648432] mmc_rescan_try_freq..1678..  ===== Initialize SDIO successfully. [mmc1]
<4>[   16.648547] dhd_module_init: Exit
<4>[   16.779641]
<4>[   16.779645] Dongle Host Driver, version 5.90.195.26.1.6.1
<4>[   16.779649] Compiled in drivers/net/wireless/bcmdhd on Aug 24 2012 at 09:28:21
<4>[   16.793829] wl_android_wifi_on in
<4>[   19.781614] wl_bss_connect_done succeeded
<4>[   19.865615] wl_bss_connect_done succeeded
<6>[   20.612163] acc_open
<6>[   20.614489] acc_release
<6>[   21.113767] rk_serial rk_serial.0: baud:1500000
<4>[   21.118512] serial.0 timeout:1000000
<6>[   25.748828] DWC_OTG: frame_number 0x1cac, start 0x1ca7, complete: 1
<6>[   25.754929] DWC_OTG: frame_number 0x1cac, start 0x1ca7, complete: 1
<3>[   25.989402] init: sys_prop: permission denied uid:10062  name:sys.ghwui.version
<6>[   26.199450] .412.. MMC0 receive the message sd-Checking from VOLD.[sd_mmc]
<6>[   26.216745] .412.. MMC0 receive the message sd-Mounted from VOLD.[sd_mmc]
<7>[   27.762758] wlan0: no IPv6 routers present
<3>[   28.367622] init: sys_prop: permission denied uid:1003  name:service.bootanim.exit
<6>[   29.220854] alarm_set_rtc: no RTC, time will be lost on reboot
<6>[   34.516920] DWC_OTG: frame_number 0x2ead, start 0x2ea7, complete: 1
<6>[   34.523021] DWC_OTG: frame_number 0x2ead, start 0x2ea7, complete: 1
<6>[   39.828782] DWC_OTG: frame_number 0x14ac, start 0x14a7, complete: 1
<6>[   39.835062] DWC_OTG: frame_number 0x14ac, start 0x14a7, complete: 1
<6>[   44.013080] no layer of lcdc0 is used,go to standby!
<6>[   44.018233] lcdc0 win1 closed
<6>[   44.112821] rk30-hdmi rk30-hdmi: Removed.
<6>[   45.232815] rk30-hdmi rk30-hdmi: READ_PARSE_EDID
<6>[   45.273565] rk30-hdmi rk30-hdmi: SYSTEM_CONFIG
<4>[   45.282563] lcdc0: dclk:148500000>>fps:60 rk30_load_screen for lcdc0 ok!
<4>[   45.293356] lcdc0 wakeup from stanby
<6>[   45.298310] lcdc0 win1 open
<6>[   45.302453] rk30-hdmi rk30-hdmi: CONFIG_VIDEO
<6>[   45.662808] rk30-hdmi rk30-hdmi: CONFIG_AUDIO
<6>[   45.667293] rk30-hdmi rk30-hdmi: PLAY_BACK
<3>[   47.367044] init: untracked pid 1061 exited
<3>[   47.615322] init: untracked pid 1069 exited
<6>[   51.612953] DWC_OTG: frame_number 0x4ed, start 0x4e7, complete: 1
<6>[   51.618880] DWC_OTG: frame_number 0x4ed, start 0x4e7, complete: 1
<6>[   52.716903] DWC_OTG: frame_number 0x276d, start 0x2767, complete: 1
<6>[   52.723199] DWC_OTG: frame_number 0x276d, start 0x2767, complete: 1
<3>[   61.106514] init: untracked pid 1486 exited
<6>[  111.372777] DWC_OTG: frame_number 0x106c, start 0x1067, complete: 1
<6>[  111.378868] DWC_OTG: frame_number 0x106c, start 0x1067, complete: 1
<3>[  154.932089] init: untracked pid 1795 exited
<3>[  155.336922] init: sys_prop: permission denied uid:10065  name:sys.ghwui.version
<3>[  158.935592] init: untracked pid 1825 exited
<3>[  158.959202] init: sys_prop: permission denied uid:10031  name:sys.ghwui.version
<3>[  331.514811] init: untracked pid 2008 exited
<3>[  336.575801] init: untracked pid 2039 exited

tonikasch
Posts: 33
Joined: Mon Feb 04, 2013 12:01 am
Location: Spain
Contact:

Re: mk808b wifi (bcm40183)

Postby tonikasch » Thu Feb 14, 2013 7:35 pm

Hmmm, slow advance:

strace when insmod rkwifi.ko in android:

Code: Select all

execve("/system/bin/insmod", ["insmod", "rkwifi.ko"], [/* 37 vars */]) = 0
mprotect(0x400db000, 74824, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x400db000, 77824, PROT_READ|PROT_EXEC) = 0
mprotect(0x400ee000, 4096, PROT_READ)   = 0
gettid()                                = 1113
set_tls(0x400fa66c, 0x400fa630, 0x400fa768, 0x40, 0x400fa630) = 0
getpid()                                = 1113
sigaction(SIGILL, {0x400e0c4d, [], SA_RESTART|SA_SIGINFO}, NULL, 0) = 0
sigaction(SIGABRT, {0x400e0c4d, [], SA_RESTART|SA_SIGINFO}, NULL, 0) = 0
sigaction(SIGBUS, {0x400e0c4d, [], SA_RESTART|SA_SIGINFO}, NULL, 0) = 0
sigaction(SIGFPE, {0x400e0c4d, [], SA_RESTART|SA_SIGINFO}, NULL, 0) = 0
sigaction(SIGSEGV, {0x400e0c4d, [], SA_RESTART|SA_SIGINFO}, NULL, 0) = 0
sigaction(SIGSTKFLT, {0x400e0c4d, [], SA_RESTART|SA_SIGINFO}, NULL, 0) = 0
sigaction(SIGPIPE, {0x400e0c4d, [], SA_RESTART|SA_SIGINFO}, NULL, 0) = 0
mprotect(0x40050000, 95586, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
stat64("/vendor/lib/liblog.so", 0xbe9a73a0) = -1 ENOENT (No such file or directory)
stat64("/system/lib/liblog.so", {st_mode=S_IFREG|0644, st_size=13532, ...}) = 0
open("/system/lib/liblog.so", O_RDONLY) = 16
lseek(16, 0, SEEK_SET)                  = 0
read(16, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 4096) = 4096
lseek(16, -8, SEEK_END)                 = 13524
read(16, "\1\0\0\0\0\0\0\0", 8)         = 8
mmap2(NULL, 20480, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4009d000
madvise(0x4009d000, 20480, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mmap2(0x4009d000, 10621, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 16, 0) = 0x4009d000
madvise(0x4009d000, 10621, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mprotect(0x4009d000, 12288, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0x400a0000, 4116, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 16, 0x2) = 0x400a0000
madvise(0x400a0000, 4116, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
close(16)                               = 0
stat64("/vendor/lib/libc.so", 0xbe9a7308) = -1 ENOENT (No such file or directory)
stat64("/system/lib/libc.so", {st_mode=S_IFREG|0644, st_size=286500, ...}) = 0
open("/system/lib/libc.so", O_RDONLY)   = 16
lseek(16, 0, SEEK_SET)                  = 0
read(16, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 4096) = 4096
lseek(16, -8, SEEK_END)                 = 286492
read(16, "\1\0\0\0\0\0\0\0", 8)         = 8
mmap2(NULL, 331776, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400fc000
madvise(0x400fc000, 331776, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mmap2(0x400fc000, 270816, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 16, 0) = 0x400fc000
madvise(0x400fc000, 270816, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mprotect(0x400fc000, 274432, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0x4013f000, 10248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 16, 0x43) = 0x4013f000
madvise(0x4013f000, 10248, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mmap2(0x40142000, 44955, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40142000
madvise(0x40142000, 44955, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
close(16)                               = 0
mprotect(0x400fc000, 274432, PROT_READ|PROT_EXEC) = 0
stat64("/vendor/lib/libstdc++.so", 0xbe9a7308) = -1 ENOENT (No such file or directory)
stat64("/system/lib/libstdc++.so", {st_mode=S_IFREG|0644, st_size=5332, ...}) = 0
open("/system/lib/libstdc++.so", O_RDONLY) = 16
lseek(16, 0, SEEK_SET)                  = 0
read(16, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 4096) = 4096
lseek(16, -8, SEEK_END)                 = 5324
read(16, "\1\0\0\0\0\0\0\0", 8)         = 8
mmap2(NULL, 12288, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40004000
madvise(0x40004000, 12288, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mmap2(0x40004000, 2668, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 16, 0) = 0x40004000
madvise(0x40004000, 2668, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mprotect(0x40004000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0x40005000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 16, 0) = 0x40005000
madvise(0x40005000, 4096, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mmap2(0x40006000, 16, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40006000
madvise(0x40006000, 16, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
close(16)                               = 0
mprotect(0x40004000, 4096, PROT_READ|PROT_EXEC) = 0
mprotect(0x40005000, 4096, PROT_READ)   = 0
stat64("/vendor/lib/libm.so", 0xbe9a7308) = -1 ENOENT (No such file or directory)
stat64("/system/lib/libm.so", {st_mode=S_IFREG|0644, st_size=87192, ...}) = 0
open("/system/lib/libm.so", O_RDONLY)   = 16
lseek(16, 0, SEEK_SET)                  = 0
read(16, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 4096) = 4096
lseek(16, -8, SEEK_END)                 = 87184
read(16, "\1\0\0\0\0\0\0\0", 8)         = 8
mmap2(NULL, 94208, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40033000
madvise(0x40033000, 94208, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mmap2(0x40033000, 83308, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 16, 0) = 0x40033000
madvise(0x40033000, 83308, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mprotect(0x40033000, 86016, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0x40048000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 16, 0x14) = 0x40048000
madvise(0x40048000, 4096, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mmap2(0x40049000, 32, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40049000
madvise(0x40049000, 32, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
close(16)                               = 0
mprotect(0x40033000, 86016, PROT_READ|PROT_EXEC) = 0
mprotect(0x40048000, 4096, PROT_READ)   = 0
mprotect(0x4009d000, 12288, PROT_READ|PROT_EXEC) = 0
mprotect(0x400a0000, 4096, PROT_READ)   = 0
stat64("/vendor/lib/libcutils.so", 0xbe9a73a0) = -1 ENOENT (No such file or directory)
stat64("/system/lib/libcutils.so", {st_mode=S_IFREG|0644, st_size=63252, ...}) = 0
open("/system/lib/libcutils.so", O_RDONLY) = 16
lseek(16, 0, SEEK_SET)                  = 0
read(16, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 4096) = 4096
lseek(16, -8, SEEK_END)                 = 63244
read(16, "\1\0\0\0\0\0\0\0", 8)         = 8
mmap2(NULL, 126976, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400a2000
madvise(0x400a2000, 126976, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mmap2(0x400a2000, 58272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 16, 0) = 0x400a2000
madvise(0x400a2000, 58272, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mprotect(0x400a2000, 61440, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0x400b1000, 4620, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 16, 0xe) = 0x400b1000
madvise(0x400b1000, 4620, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mmap2(0x400b3000, 57096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400b3000
madvise(0x400b3000, 57096, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
close(16)                               = 0
mprotect(0x400a2000, 61440, PROT_READ|PROT_EXEC) = 0
mprotect(0x400b1000, 4096, PROT_READ)   = 0
stat64("/vendor/lib/libusbhost.so", 0xbe9a73a0) = -1 ENOENT (No such file or directory)
stat64("/system/lib/libusbhost.so", {st_mode=S_IFREG|0644, st_size=9376, ...}) = 0
open("/system/lib/libusbhost.so", O_RDONLY) = 16
lseek(16, 0, SEEK_SET)                  = 0
read(16, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 4096) = 4096
lseek(16, -8, SEEK_END)                 = 9368
read(16, "\1\0\0\0\0\0\0\0", 8)         = 8
mmap2(NULL, 16384, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40075000
madvise(0x40075000, 16384, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mmap2(0x40075000, 6110, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 16, 0) = 0x40075000
madvise(0x40075000, 6110, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mprotect(0x40075000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0x40077000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 16, 0x1) = 0x40077000
madvise(0x40077000, 4096, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mmap2(0x40078000, 16, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40078000
madvise(0x40078000, 16, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
close(16)                               = 0
mprotect(0x40075000, 8192, PROT_READ|PROT_EXEC) = 0
mprotect(0x40077000, 4096, PROT_READ)   = 0
mprotect(0x40050000, 98304, PROT_READ|PROT_EXEC) = 0
mprotect(0x40069000, 4096, PROT_READ)   = 0
mmap2(NULL, 32768, PROT_READ, MAP_SHARED, 13, 0) = 0x4014d000
futex(0x401456d4, FUTEX_WAKE_PRIVATE, 2147483647) = 0
clock_gettime(CLOCK_MONOTONIC, {184, 527009399}) = 0
open("/dev/urandom", O_RDONLY)          = 16
read(16, "ÚâÊÓ", 4)                     = 4
close(16)                               = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401ba000
madvise(0x401ba000, 4096, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
mprotect(0x401ba000, 4096, PROT_READ)   = 0
open("rkwifi.ko", O_RDONLY)             = 16
fstat64(16, {st_mode=S_IFREG|0644, st_size=539869, ...}) = 0
mmap2(NULL, 540672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401c8000
madvise(0x401c8000, 540672, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
read(16, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\1\0(\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 539869) = 539869
close(16)                               = 0
init_module(0x401c8008, 539869, "")     = 0
munmap(0x401c8000, 540672)              = 0
mprotect(0x401ba000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x401ba000, 4096, PROT_READ)   = 0
futex(0x401456cc, FUTEX_WAKE_PRIVATE, 2147483647) = 0
munmap(0x401ba000, 4096)                = 0
exit_group(0)                           = ?



dmesg (stripped down to the rkwifi insmod related part)

Code: Select all

<4>[  184.577439] =======================================================
<4>[  184.577452] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====
<4>[  184.577458] =======================================================
<4>[  184.577465] RKWIFI WiFi driver (Powered by Rockchip,Ver 4.23) init.
<4>[  184.577474] dhd_module_init: Enter
<4>[  184.577482] =========== WLAN placed in POWER ON ========
<3>[  184.577554] ANDROID-ERROR) ## wifi_probe
<3>[  184.577563] ANDROID-ERROR) wifi_set_power = 1
<6>[  184.577571] rk29sdk_wifi_power: 1
<6>[  184.778265] wifi turn on power
<3>[  184.778273] ANDROID-ERROR) wifi_set_carddetect = 1
<6>[  184.778283] rk29sdk_wifi_set_carddetect:1
<6>[  184.778290] mmc1: slot status change detected(0-1)
<6>[  184.778344] rk29_sdmmc_change_clk_div..1921..  newDiv=42, newCLK=294Khz [sdio]
<4>[  184.779306] Linux Kernel SDIO/MMC Driver
<4>[  184.779771]
<4>[  184.779776] Dongle Host Driver, version 5.90.195.26.1.6.1
<4>[  184.779780] Compiled in drivers/net/wireless/bcmdhd on Aug 24 2012 at 09:28:21
<6>[  184.975025]
<6>[  184.975037] drivers/mmc/core/core.c...1827..  ===== mmc_rescan Begin....[mmc1]
<6>[  185.019045]
<6>[  185.019056] mmc_attach_sdio..800..  ===== Begin to identify card as SDIO-card. [mmc1]
<7>[  185.031800] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
<7>[  185.033949] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
<7>[  185.036112] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
<7>[  185.039949] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
<6>[  185.099439] rk29_sdmmc_change_clk_div..1921..  newDiv=0, newCLK=24750Khz [sdio]
<6>[  185.104868] mmc1: new high speed SDIO card at address 0001
<4>[  185.116093] FW_PATH = /system/etc/firmware/fw_RK903.bin
<4>[  185.116113] NVRAM_PATH = /system/etc/firmware/nvram_RK903_26M.cal
<4>[  185.116410] F1 signature read @0x18000000=0x16044330
<4>[  185.148599] DHD: dongle ram size is set to 294912(orig 294912)
<4>[  185.148658] dhd_bus_select_firmware_name_by_chip: firmware_path=/system/etc/firmware/fw_RK903b2.bin
<4>[  185.150971] wl_create_event_handler thr:45a started
<4>[  185.152544] wl_iw_attach thr:45b started
<4>[  185.152604] wl_iw_bt_init thr:45c started
<4>[  185.152663] dhd_attach thr:45d started
<4>[  185.152719] dhd_attach thr:45e started
<4>[  185.152767] dhd_attach thr:45f started
<3>[  185.152985] ANDROID-ERROR) wifi_get_mac_addr
<4>[  185.152996] Fianl fw_path=/system/etc/firmware/fw_RK903b2.bin
<4>[  185.153008] Fianl nv_path=/system/etc/firmware/nvram_RK903_26M.cal
<4>[  185.202397] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
<3>[  185.371712] ANDROID-ERROR) wifi_get_mac_addr
<4>[  185.373095] Firmware up: op_mode=4, Broadcom Dongle Host Driver mac=00:22:f4:8d:22:54
<4>[  185.444709] Wifi driver initialize Country Code : EU
<4>[  185.450015] dhd_preinit_ioctls set keeplive failed -1
<4>[  185.455916] dhd_rx_frame: net device is NOT registered yet. drop packet
<4>[  185.456018] dhd_rx_frame: net device is NOT registered yet. drop packet
<4>[  185.456637] Firmware version = wl0: Jul 15 2012 12:54:29 version 5.90.195.26.3 FWID 01-653a7057
<4>[  185.460128] Broadcom Dongle Host Driver: register interface [wlan0] MAC: 00:22:f4:8d:22:54
<6>[  185.460164] mmc_rescan_try_freq..1678..  ===== Initialize SDIO successfully. [mmc1]
<4>[  185.461220] dhd_module_init: Exit


So.... the driver might be some sort of bcmdhd, but no idea of why bcmdhd.ko compiled from picuntu github tree doesn't work.

Regarding the thing about wm831x, I sincerely have no idea... should we not build support for it at all when building the kernel?

Another thing, leolas, do you own a MK808B? Could you post here your picuntu RC3 (latest kernel available here at the forums) dmesg, please?
MK808 as server, waiting for full Mali-400 support
Minix X7 arriving home mid September to bring it full linux support :)
...Itaca te ha dado el bello viaje. Sin ella, nunca habrías salido...

User avatar
leolas
Posts: 90
Joined: Sun Dec 30, 2012 7:56 am

Re: mk808b wifi (bcm40183)

Postby leolas » Thu Feb 14, 2013 8:23 pm

I own a mk 808b, but I didn't installed picuntu yet, I compiled from a pc with ubuntu from the sources in andewDB and omegamoon github, I am compiling it in my notebook and flashing it to mk808b. I dont have any external wifi or Ethernet dongle so use picuntu is useless without internet conection and I use the stick like media center in my tv. So all my kernels are for android.
Each kernel compilation, I compile, test it and come back to restore a working cwm image :roll: i must let it running for the family.:cry:

User avatar
Omegamoon
Posts: 107
Joined: Mon Oct 15, 2012 5:43 am

Re: mk808b wifi (bcm40183)

Postby Omegamoon » Tue Mar 19, 2013 5:32 pm

@tonikasch, are you still working on this?

I've managed to build a bcmdhd driver but I witness the same behaviour as you describe. Reading back your posts, I see one interesting thing though. On executing "brcm_patchram_plus" from the command line you see:

Code: Select all

rk_serial rk_serial.0: baud:9600
serial.0 timeout:1000000
rk_serial rk_serial.0: baud:9600
serial.0 timeout:1000000
rk_serial rk_serial.0: baud:115200
serial.0 timeout:1000000

This is exactly the same behaviour as is seen in the stock kernel, right after the "launching Wi-Fi driver" message. I'm just thinking if they build the brcm_patchram_plus feature into the kernel... I never looked at brcm_patchram_plus, so I'll have to check what this does. But it may be worth trying!
For updates please visit www.omegamoon.com
A big round of applause to yobikap for donating a MK808 and tonikasch for donating a MK808B!

If you like what I'm doing, consider a small donation by clicking the "Donate" button on my website

User avatar
lewy20041
Posts: 250
Joined: Wed Oct 17, 2012 6:40 am

Re: mk808b wifi (bcm40183)

Postby lewy20041 » Tue Mar 19, 2013 5:47 pm

i am trying to get bt on mk808.
and i get similare output like you.
i can onle get randoms luetuth power on.
do ou know a way o isable rfkill without compiling new kernel?
so bt will alwasy return power on.
Everything is possible if we work together!
Image

User avatar
Omegamoon
Posts: 107
Joined: Mon Oct 15, 2012 5:43 am

Re: mk808b wifi (bcm40183)

Postby Omegamoon » Tue Mar 19, 2013 6:27 pm

@lewy20041, have you checked /sys/class/rfkill to see if it's possible to disable it?

I'm planning to do the following when I have a spare moment.
    1. I'll disable the Wifi/BT driver in the kernel on default.
    2. Boot the device
    3. Run "brcm_patchram_plus" from the command line
    4. Enable the driver (using the sysfs enable/disable feature I added)
Just to see how that works out, before adding the "brcm_patchram_plus" features into the kernel
For updates please visit www.omegamoon.com
A big round of applause to yobikap for donating a MK808 and tonikasch for donating a MK808B!

If you like what I'm doing, consider a small donation by clicking the "Donate" button on my website

tonikasch
Posts: 33
Joined: Mon Feb 04, 2013 12:01 am
Location: Spain
Contact:

Re: mk808b wifi (bcm40183)

Postby tonikasch » Tue Mar 19, 2013 6:42 pm

Omegamoon wrote:@tonikasch, are you still working on this?


Sorry, I have no mk808b available right now, perhaps I'll buy another one next month.

Omegamoon wrote:I've managed to build a bcmdhd driver but I witness the same behaviour as you describe. Reading back your posts, I see one interesting thing though. On executing "brcm_patchram_plus" from the command line you see:

Code: Select all

rk_serial rk_serial.0: baud:9600
serial.0 timeout:1000000
rk_serial rk_serial.0: baud:9600
serial.0 timeout:1000000
rk_serial rk_serial.0: baud:115200
serial.0 timeout:1000000

This is exactly the same behaviour as is seen in the stock kernel, right after the "launching Wi-Fi driver" message. I'm just thinking if they build the brcm_patchram_plus feature into the kernel... I never looked at brcm_patchram_plus, so I'll have to check what this does. But it may be worth trying!



If you execute brcm_patchram_plus -d with the required parameters (sorry, I don't remember them now) you should get stuck somewhere waiting the card to return an answer to a command...
MK808 as server, waiting for full Mali-400 support
Minix X7 arriving home mid September to bring it full linux support :)
...Itaca te ha dado el bello viaje. Sin ella, nunca habrías salido...

jps
Posts: 36
Joined: Wed Mar 13, 2013 3:27 pm

Re: mk808b wifi (bcm40183)

Postby jps » Wed Mar 20, 2013 4:54 am

Hi tonikasch!

I have the same chipset on Minix Neo X5 (bcm 40183 or friendly name RK903). We could join our forces and fight :)

I have compiled my kernel (from omegamoon, 3.0.8+) with the RK903 and i only see the bluetooth but i cant use it (rfkill list). This afternoon i will post dmesg and some output messages from commands.

When you compile the kernel with RK903, do you see bluetooth with "rfkill list" command?

I have the command "brcm_patchram" from picuntu, but i didnt know how to use it. Now, with the link that someone pasted here (i dont remember name :P, sry), I know the arguments to try.

NOTE: Someone has any link with info about how to port android kernel modules to linux kernel modules??

User avatar
lewy20041
Posts: 250
Joined: Wed Oct 17, 2012 6:40 am

Re: mk808b wifi (bcm40183)

Postby lewy20041 » Wed Mar 20, 2013 5:14 am

Omegamoon wrote:@lewy20041, have you checked /sys/class/rfkill to see if it's possible to disable it?

I'm planning to do the following when I have a spare moment.
    1. I'll disable the Wifi/BT driver in the kernel on default.
    2. Boot the device
    3. Run "brcm_patchram_plus" from the command line
    4. Enable the driver (using the sysfs enable/disable feature I added)
Just to see how that works out, before adding the "brcm_patchram_plus" features into the kernel


do you know a way to disable it?
i want rfkill to pick up hci0 insted of rk903_26M wich is only virtual device when used on mk808.
im usink mk808b kernel on mk808 and get random bt dongle power on from ui.
i am thinking abaut blacklisting the rk903_26M module.
do you know what i need to write in /system/etc/bluetooth/blacklist.conf to disable it?
Everything is possible if we work together!
Image

jps
Posts: 36
Joined: Wed Mar 13, 2013 3:27 pm

Re: mk808b wifi (bcm40183)

Postby jps » Wed Mar 20, 2013 10:46 am

Ey!

I research a little bit on google and RK903 is (bcm40183) based on bcm4330 chip. Searching about that i found this URL:

http://linuxwireless.org/en/users/Drivers/brcm80211
"git clone https://android.googlesource.com/platfo ... adcom/wlan"

I clone this and i see all.. but only Makefiles for android... someone know how to port it to linux?

I am going to take a rest, but later i will try to compile that (i dont know if it will work...).

tonikasch
Posts: 33
Joined: Mon Feb 04, 2013 12:01 am
Location: Spain
Contact:

Re: mk808b wifi (bcm40183)

Postby tonikasch » Wed Mar 20, 2013 11:56 am

lewy20041 wrote:
Omegamoon wrote:@lewy20041, have you checked /sys/class/rfkill to see if it's possible to disable it?

I'm planning to do the following when I have a spare moment.
    1. I'll disable the Wifi/BT driver in the kernel on default.
    2. Boot the device
    3. Run "brcm_patchram_plus" from the command line
    4. Enable the driver (using the sysfs enable/disable feature I added)
Just to see how that works out, before adding the "brcm_patchram_plus" features into the kernel


do you know a way to disable it?
i want rfkill to pick up hci0 insted of rk903_26M wich is only virtual device when used on mk808.
im usink mk808b kernel on mk808 and get random bt dongle power on from ui.
i am thinking abaut blacklisting the rk903_26M module.
do you know what i need to write in /system/etc/bluetooth/blacklist.conf to disable it?


lewy20041, mk808 does not have bluetooth, so it is unlikely you will manage to enable it :)
MK808 as server, waiting for full Mali-400 support
Minix X7 arriving home mid September to bring it full linux support :)
...Itaca te ha dado el bello viaje. Sin ella, nunca habrías salido...

User avatar
leolas
Posts: 90
Joined: Sun Dec 30, 2012 7:56 am

Re: mk808b wifi (bcm40183)

Postby leolas » Wed Mar 20, 2013 12:42 pm

tonikasch wrote:
lewy20041 wrote:
Omegamoon wrote:@lewy20041, have you checked /sys/class/rfkill to see if it's possible to disable it?

I'm planning to do the following when I have a spare moment.
    1. I'll disable the Wifi/BT driver in the kernel on default.
    2. Boot the device
    3. Run "brcm_patchram_plus" from the command line
    4. Enable the driver (using the sysfs enable/disable feature I added)
Just to see how that works out, before adding the "brcm_patchram_plus" features into the kernel


do you know a way to disable it?
i want rfkill to pick up hci0 insted of rk903_26M wich is only virtual device when used on mk808.
im usink mk808b kernel on mk808 and get random bt dongle power on from ui.
i am thinking abaut blacklisting the rk903_26M module.
do you know what i need to write in /system/etc/bluetooth/blacklist.conf to disable it?


lewy20041, mk808 does not have bluetooth, so it is unlikely you will manage to enable it :)

He is triying to make bt dongles work

User avatar
lewy20041
Posts: 250
Joined: Wed Oct 17, 2012 6:40 am

Re: mk808b wifi (bcm40183)

Postby lewy20041 » Wed Mar 20, 2013 5:14 pm

tonikasch wrote:
lewy20041 wrote:
Omegamoon wrote:@lewy20041, have you checked /sys/class/rfkill to see if it's possible to disable it?

I'm planning to do the following when I have a spare moment.
    1. I'll disable the Wifi/BT driver in the kernel on default.
    2. Boot the device
    3. Run "brcm_patchram_plus" from the command line
    4. Enable the driver (using the sysfs enable/disable feature I added)
Just to see how that works out, before adding the "brcm_patchram_plus" features into the kernel


do you know a way to disable it?
i want rfkill to pick up hci0 insted of rk903_26M wich is only virtual device when used on mk808.
im usink mk808b kernel on mk808 and get random bt dongle power on from ui.
i am thinking abaut blacklisting the rk903_26M module.
do you know what i need to write in /system/etc/bluetooth/blacklist.conf to disable it?


lewy20041, mk808 does not have bluetooth, so it is unlikely you will manage to enable it :)


heh. really...;p
bt dongle my friend.
Everything is possible if we work together!
Image


Return to “Development”

Who is online

Users browsing this forum: No registered users and 1 guest