Android Tablets Forum banner
1 - 3 of 3 Posts

·
Registered
Joined
·
3 Posts
Discussion Starter · #1 ·
Working on porting ICS to the Lanyu 910 / X10 Airpad MID-910. I think the kernel sources used for the Pascal2 could possibly work with the 910 after some config changes.

Basically with the 910 we have no stock kernel source available for reference, no stock configuration, no detailed hardware inside the device.. We know it uses the rk2918 rockchip and I know it uses the SWL-2480 / Marvel 8686, simply from observing the identifying markings on the chip. Other than that, all we know is that it uses a 2.6.32 kernel with android 2.3, has an unknown 7" capacitive touch screen, unknown camera, etc. In order for ICS to work with the 910 we'll have to use a 3.0.8+ kernel or backport all of the required components from 3.x to our working 2.6.32 sources -however we don't have the patched sources for the stock firmware, so we are better off to just use 3.0.8 kernel that the source is available for on many rk2918 devices - of course we'd have to make configuration changes to our specific hardware, and possibly patch the sources with modified/new source code for our specific hardware (if we can obtain it).

Pascal 2 has a realtek based wireless chipset.. 910 uses the SWL-2940 / Marvel 8686, the module for this is also included in the kernel sources. The 910 has an unknown touchscreen, so the kernel for the pascal2 may or may not work with the touch screen settings. It is quiet difficult to work on the kernel without in depth knowledge of all the hardware. The 910 has Lanyu printed on the motherboard, and I'm not successful in finding any detailed hardware information for the board on the 910.

Also I am concerned with the memory mappings since the 910 only has 512mb ram and the pascal2 has 1GB+

Really wish these Chinese tablet manufacturers would follow the rules of GPL and release their source code, it would help A LOT with getting ICS to work with the 910.

As far as the rockchip and the ICS rom that vurrut has put together, I am almost 100% sure that the system.img that he used will work with the 910 as long as I get a working 3.0.8 kernel for ICS reconfigured/recompiled and implement some changes in the boot.img for the init services relating to hardware.

If anyone has the X10 airpad (rk2918 based) or the Lanyu 910 and has some important information regarding the internal hardware, please contact me with details, as I can probably get a working kernel for our device in a matter of hours.

Needed:
Gsensor/Accelerometer MFG/Model
Input Keys Controller - MFG/Model
Battery Sensor Chip - MFG/Model
TouchScreen/Display - MFG/Model
Other mainboard chipsets - MFG/Model (excluding RK2918 Rockchip SoC)

It would be of much help if there was someone here knows the MFG/Model of any of the above hardware, and it would also be a great help if anyone knows what linux kernel drivers are used for any of the components inside the 910.

When I was working with the Kindle Fire kernel I had found a very helpful information page on the internal parts of the device, with very detailed information - it was really helpful. I know that with these generic Chinese tablets finding such info may be much more difficult due to lack of interest and lack of popularity when compared to major brand tablets such as the Kindle Fire - but if anyone out there has ran across similar information it would give us GREAT progress in developing an ICS ROM for the 910. Here is a link to the breakdown of components in the Kindle Fire:
http://www2.electronicproducts.com/Amazon_Kindle_Fire_D01400_Tablet-whatsinside_text-123.aspx

The thread to the ICS ROM for Pacal 2 (rk2918) device is here: http://forum.xda-developers.com/showthread.php?t=1734181

A big thanks to Vurrut for all of his work! Hopefully we can use parts of his ROM to get ICS running on our Lanyu/Airpad!
 

·
Registered
Joined
·
106 Posts
I dont own a LANYU so i cant give any details.

Quite a bit of info of the internal hardware can be extracted from linux

* dmesg right after boot to get the bootlog
* cat /proc/bus/input/devices ofter shows info of gsensor and touchscreen input devices
* you can also get some info from the 2.6 kernel to check what kernel function/drivers are used

cat /proc/kallsyms shows all kernel symbols in the running kernel, you can extract some info from them

like cat /proc/kallsyms|grep battery on my fview gives (among others)
c0934324 t wisky_battery_resume
c0934344 t wisky_battery_suspend
c0934378 t wisky_battery_probe
 

·
Registered
Joined
·
3 Posts
I dont own a LANYU so i cant give any details.

Quite a bit of info of the internal hardware can be extracted from linux

* dmesg right after boot to get the bootlog
* cat /proc/bus/input/devices ofter shows info of gsensor and touchscreen input devices
* you can also get some info from the 2.6 kernel to check what kernel function/drivers are used

cat /proc/kallsyms shows all kernel symbols in the running kernel, you can extract some info from them

like cat /proc/kallsyms|grep battery on my fview gives (among others)
c0934324 t wisky_battery_resume
c0934344 t wisky_battery_suspend
c0934378 t wisky_battery_probe
Yes, thats my only good source of information regarding the hardware, however dmesg /kallsyms doesn't report as much info as we really need. And the default firmware for the airpad/lanyu doesn't have the grep binary either, so you have to do something more like dmesg > /mnt/storage/dmesg.log and grab it from your PC and then grep it haha.

But at this point I am pretty sure I know enough about the hardware to know what kernel drivers need to be compiled, but having trouble getting wm8988 audio codec compiling, as well as the most important thing we all need -- WiFi -- the mv8686 driver fails to compile with both arm-eabi-4.2.0 and 4.4.0 in the 3.0.8 kernel. It appears that the Odys.de and Vurrut kernels for 3.0.8 are basically from mainline and then the rk29 specific code is just ported up from 2.6.32 and patched where needed only for those devices that use different Audio/Wifi hardware. Even there is no code defined in the 3.0.8 kernel for the RK29 board types except for the one that they use on those devices, so that tells me that it is only a partial kernel source.

If someone that was really good with the C programming language and the linux kernel could jump in, this code could probably be patched in no time. Only two things that fail to compile in our needed configuration are the ones I mentioned, wifi&audio.

Here is a diff result of our needed kernel config on the 3.0.8 sources, and the working kernel config for other rk2918 devices such as the pascal2 and Odys Xpress: http://bpaste.net/show/36417/

As you can see there isn't much different at all aside from the wifi, audio, boardtype, and DMA PL330 controller. So those are the 4 things that make the other hardware different from our airpad/lanyu 910 and is restricting us from using their ROMs for ICS. Mainly we need to focus on the Wifi and Audio though, as the PL330 compiles successfully and the board type shouldn't be much of an issue, however if you look into the 3.0.8 sources you will see that the M712HCZ board type is the only one that actually contains any data/source code, picking any other board type will fail, hopefully we can use the M712HCZ board type config after sorting out our issues with wifi/audio, but in a perfect world, we should be using the board config for RK29 SDK DDR3 or just RK29 SDK unless one of the many other RK29 board types matches our "Lanyu" manufactured board.
 
1 - 3 of 3 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top