Announcement
Collapse
No announcement yet.
Announcement
Collapse
No announcement yet.
MK808B Custom Kernel Possible?
Collapse
X
-
I need a mk808b kernel that is compiled from source code that works with RK903 wifi.
This kernel https://github.com/Galland/rk3x_kernel_3.0.36 works but RK903 wifi can't turn on.
This kernel https://github.com/omegamoon/rockchip-rk3188-mk908 also have my wifi driver but no one knows how to get the wifi turned on yet.
I want a custom kernel with working wifi and source code so that someone can overclock the cpu,gpu so that XBMC 1080p videos can play better and device can be more stable.
Comment
-
Noone got it yet, we don't know why we cant activate rk903 wifi&BT. The rest of the kernel works fine.
leolasREMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.My devices:
Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
MK902 & MK902II(Sponsored by RKM)
Beelink M8B & Beelink R89 (Sponsored by Beelink)
Tronsmart VEGA S89H (Sponsored by Gearbest.com)
MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png
Comment
-
Hi Everyone
News of my patch.
I am new to kernel modification and cannot make omegamoon's kernel source to boot my picuntu, so I fall back to Galland's source.
I have done some rough testings on Galland's 3.0.36+ kernel for my MK808B for my patch of wifi
I have normal dmesg messages and can verify my stick can now connect to my wireless router by issuing some wgets
Actually, I use the bundled bcm40181 module as the driver and done some 'hacking' on the sdmmc driver. The hack is kind of rough and should fail when the module is rmmod and be modprobed again. I think the bcm40181 de-init function have request my modified pin so my hack fails. I did not drill down the problem at the moment.
I will attach the patch tonight(I am at UTC+8) and my .config for everyone who's interested to improve it or try it.
Basically it is just few lines of code for enabling the pwm2 pin with the right register config to enable the RK903 module, inspect the code if you are worried.
I will go into detail if someone is interested.
Thanks.
Please refer to my replies on armtvtech for a description of what I have done.
Comment
-
Here are my test results for MK808B Kernels
Omegamoon 3.0.8 kernel(Android)
Can build for Android 4.1.1 with MK808_720_DVI_Config, but wifi is not working.
Omegamoon 3.0.36 MK908 RK3188 kernel(Android)
After copying arch/arm/mach-rk30/board-rk30-sdk-rfkill.c arch/arm/mach-rk30/clock_data.c arch/arm/configs/rk30_hotdog_defconfig from https://github.com/mazen912/rk30_r-box_kernel to this kernel I can compile with rk30_hotdog_defconfig & MK808_720_DVI_Config if vpu service & intrmfs in menuconfig is unselected.
RK30-r-box-kernel(Android, for TV Sticks & Boxes from SDK, newer than Galland's kernel which was actually for a tablet and then adapted)
Can compile after disabling vpu service & intrmfs in menuconfig for rk30_hotdog_defconfig & MK808_720_DVI_Config
Galland 3.0.36 kernel(Looks like only linux works)
Have to disable MTK_Combo at bottom of one of the settings.
Compiles successfully but doesn't boot on android, only linux.
This kernel has lot's more Broadcom wifi settings in menuconfig than other kernels.
Omegamoon 3.0.36 MK908 RK3188 kernel & RK30-r-box-kernel - both show 2 penguins on android for 5 seconds then there is no signal and then penguins comes back on, this keeps on repeating as is the blue light on the device turning on/off every 5 to 10 seconds.
Is there maybe a way to compile with RK3066B successfully as this might enable wifi & bluetooth?
When I compile with RK3066B it complains about RK3066B_clockdata files, I copy it over from RK30-r-box-kernel, but I get lots of warnings & errors.
mawkish or anyone - Is there a way to make your patch compatible with Omegamoon 3.0.8 kernel(Android) since I get this one working on Android or RK30-r-box-kernel since this is a lot newer and files are much bigger?
Are there other GPIO pin numbers that have to be changed in board-rk30-sdk-sdmmc.c other than
#define WIFI_HOST_WAKE RK30_PIN3_PD2
should be updated to:
#ifdef CONFIG_RK903
#define WIFI_HOST_WAKE RK30_PIN6_PA7
#else
#define WIFI_HOST_WAKE RK30_PIN3_PD2
#endif?
Can someone modify the MK808_720p_DVI_OMEGAMOON_DEFCONFIG in Omegamoon 3.0.8 kernel to make it compatible with the above kernels(3.0.36) so that it boots android and don't have the problem with the penguins above?
Comment
-
Originally posted by mo123 View PostHere are my test results for MK808B Kernels
Omegamoon 3.0.8 kernel(Android)
Can build for Android 4.1.1 with MK808_720_DVI_Config, but wifi is not working.
Omegamoon 3.0.36 MK908 RK3188 kernel(Android)
After copying arch/arm/mach-rk30/board-rk30-sdk-rfkill.c arch/arm/mach-rk30/clock_data.c arch/arm/configs/rk30_hotdog_defconfig from https://github.com/mazen912/rk30_r-box_kernel to this kernel I can compile with rk30_hotdog_defconfig & MK808_720_DVI_Config if vpu service & intrmfs in menuconfig is unselected.
RK30-r-box-kernel(Android, for TV Sticks & Boxes from SDK, newer than Galland's kernel which was actually for a tablet and then adapted)
Can compile after disabling vpu service & intrmfs in menuconfig for rk30_hotdog_defconfig & MK808_720_DVI_Config
Galland 3.0.36 kernel(Looks like only linux works)
Have to disable MTK_Combo at bottom of one of the settings.
Compiles successfully but doesn't boot on android, only linux.
This kernel has lot's more Broadcom wifi settings in menuconfig than other kernels.
Omegamoon 3.0.36 MK908 RK3188 kernel & RK30-r-box-kernel - both show 2 penguins on android for 5 seconds then there is no signal and then penguins comes back on, this keeps on repeating as is the blue light on the device turning on/off every 5 to 10 seconds.
Is there maybe a way to compile with RK3066B successfully as this might enable wifi & bluetooth?
When I compile with RK3066B it complains about RK3066B_clockdata files, I copy it over from RK30-r-box-kernel, but I get lots of warnings & errors.
mawkish or anyone - Is there a way to make your patch compatible with Omegamoon 3.0.8 kernel(Android) since I get this one working on Android or RK30-r-box-kernel since this is a lot newer and files are much bigger?
Are there other GPIO pin numbers that have to be changed in board-rk30-sdk-sdmmc.c other than
#define WIFI_HOST_WAKE RK30_PIN3_PD2
should be updated to:
#ifdef CONFIG_RK903
#define WIFI_HOST_WAKE RK30_PIN6_PA7
#else
#define WIFI_HOST_WAKE RK30_PIN3_PD2
#endif?
Can someone modify the MK808_720p_DVI_OMEGAMOON_DEFCONFIG in Omegamoon 3.0.8 kernel to make it compatible with the above kernels(3.0.36) so that it boots android and don't have the problem with the penguins above?
Sorry I don't use android at all and I now replace the stock android system completely with my picuntu setup to the nand as an headless server so I may not test android kernel for you.
But I made a diff between Galland's sdmmc.c with Omegamoon's 3.0.8 kernel sdmmc.c.
on line 79, the use of RK30_PIN3_PC5 troubles me. I think it should be RK30_PIN3_PC4.
Try to copy my modification around rk29sdk_wifi_bt_gpio_control_init to omegamoon's sdmmc.c.
I think the general logic in the driver should work since it works well with MK808's bcm40181 module
The only thing we (MK808B users) miss is probably the enabling of pwm2 at correct clock setting.
So I just placed it on an init function that is called before we enable the module.
Try and see if dmesg reports you something useful.
Comment
What's Going On
Collapse
There are currently 1491 users online. 1 members and 1490 guests.
Most users ever online was 63,956 at 18:56 on 20 March 2025.
Comment