Android Tablets Forum banner
1 - 13 of 13 Posts

·
Registered
Joined
·
353 Posts
Wow - will check it out soon!
Issue is to understand which tablet revision this code corresponds to...
 

·
Registered
Joined
·
353 Posts
Quickly looking for renesas-specific files in the Kernel, I found these a least:

$ find . -name "*emxx*"
./arch/arm/mach-emxx
./arch/arm/mach-emxx/include/mach/emxx_cam.h
./arch/arm/mach-emxx/include/mach/emxx_hdmi_adv7523.h
./arch/arm/mach-emxx/include/mach/emxx_imc.h
./arch/arm/mach-emxx/include/mach/emxx_mem.h
./arch/arm/mach-emxx/include/mach/emxx_v4l2.h
./drivers/i2c/busses/i2c-emxx.c
./drivers/i2c/busses/i2c-emxx.h
./drivers/ide/emxx_ide.c
./drivers/ide/emxx_ide.h
./drivers/imc/emxx_imc.c
./drivers/imc/emxx_imc.h
./drivers/input/keyboard/emxx_max7318.c
./drivers/input/keyboard/emxx_max7318.h
./drivers/media/video/emxx
./drivers/media/video/emxx/emxx_v4l2_core.c
./drivers/media/video/emxx/emxx_v4l2_core.h
./drivers/media/video/emxx/emxx_v4l2_debug.h
./drivers/media/video/emxx/emxx_v4l2_perf.h
./drivers/media/video/emxx/emxx_v4l2_time.h
./drivers/media/video/emxx_cam
./drivers/media/video/emxx_cam/emxx_cam.c
./drivers/media/video/emxx_cam/emxx_cam.h
./drivers/media/video/emxx_cam/emxx_mega.c
./drivers/mmc/host/emxx_sdc.c
./drivers/mmc/host/emxx_sdc.h
./drivers/mmc/host/emxx_sdio.c
./drivers/mmc/host/emxx_sdio.h
./drivers/mmc/host/emxx_sdio1.c
./drivers/nts/emxx_adv7179.c
./drivers/nts/emxx_nts.c
./drivers/nts/emxx_nts.h
./drivers/nts/emxx_ntshw.c
./drivers/nts/emxx_ntshw.h
./drivers/nts/emxx_nts_common.h
./drivers/nts/emxx_nts_image.c
./drivers/nts/emxx_nts_image.h
./drivers/power/emxx_battery.c
./drivers/power/emxx_battery.h
./drivers/rtc/rtc-emxx.c
./drivers/usb/gadget/emxx_udc.c
./drivers/usb/gadget/emxx_udc.h
./drivers/usb/host/ehci-emxx.c
./drivers/usb/host/ehci-emxx.h
./drivers/usb/host/ohci-emxx.c
./drivers/video/emxx
./drivers/video/emxx/emxx_adv7523.c
./drivers/video/emxx/emxx_adv7523.h
./drivers/video/emxx/emxx_common.h
./drivers/video/emxx/emxx_fb.c
./drivers/video/emxx/emxx_fb.h
./drivers/video/emxx/emxx_fb_blit.c
./drivers/video/emxx/emxx_fb_blit.h
./drivers/video/emxx/emxx_lcd.c
./drivers/video/emxx/emxx_lcd.h
./drivers/video/emxx/emxx_lcdhw.c
./drivers/video/emxx/emxx_lcdhw.h
./drivers/video/emxx/emxx_lcd_common.h
./drivers/video/emxx/emxx_lcd_perf.h
./drivers/watchdog/emxx_wdt.c
./include/sound/emxx_pcm_ioctl.h
./sound/arm/emxx-cs8427.c
./sound/arm/emxx-mixer.c
./sound/arm/emxx-mixer.h
./sound/arm/emxx-pcm.c
./sound/arm/emxx-pcm.h

While randomly looking at the chipset drivers, I found "adv7523" to be an HDMI transmitter chip. But, the photograph taken somewhere else here show a different chip to make that function: IT6610, which doesn't look (to me at least) compatible with the adv7523.

Similar discrepancy for the battery & power module. In ./drivers/power/emxx_battery.c I can read a DA9052 power manager chip is used for the A/D. On the photo I can see that function is made by an AXP192. Another pin-to-pin compatible, cheaper clone? Doesn't look like...

So, I may be wrong, but this is to just to say the SDK could be for a relatively old version of the Rena tablet (a prototype?).

Still, very interesting to see more of the internals... and maybe useful to modify/recompile some of the kernel modules.
 

·
Registered
Joined
·
46 Posts
I have wondered if the codebase is so old as to be somewhat unuseful. The files in the archive were dated April 2011.

Just thinking aloud. Technically are not the rom development for our device bound by gpl 2.0 to make the sdk opensource?
 

·
Registered
Joined
·
353 Posts
Or maybe is not a matter of age of the code, but a different branch, for yet another hardware version.
Indeed, a similar issue with GPL is applicable to a list of different tablet classes (http://projectgus.com/2010/07/open-source-in-android-tablets/).
I wonder if we should start a similar claim for this one too.
 

·
Registered
Joined
·
9 Posts
Could someone get back to Eric Wong and tell him the code he provided is incomplete? All of the .S files are missing so a kernel cannot be compiled.
 

·
Registered
Joined
·
353 Posts
@cAPSLOCK - Please find attached here the .S files to add to your repository.
I'm not sure at all they are from the same branch and version of the rest of the Kernel. In spite of that, compilation went fine (as said).
 

Attachments

  • 1.6 MB Views: 24

·
Registered
Joined
·
353 Posts
Issue now is with the new Kernel of the Android 2.3 release, which has a 2.6.35.7 baselines.
Someone who has seen the sources around?
 

·
Registered
Joined
·
353 Posts
I've just pushed the missing .S files into my fork of cAPSLOCK's 2.6.29 kernel, found at https://github.com/ffxx68/EVBSP-Kernel .

I've extracted the .config from my real device, added the CONFIG_NETFILTER=y and related entries (for iptables support) and successfully compiled it into this:

Image Name: Linux-2.6.29
Created: Wed Dec 14 09:18:33 2011
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4624608 Bytes = 4516.22 kB = 4.41 MB
Load Address: 0x40008000
Entry Point: 0x40008000
Image arch/arm/boot/uImage is ready
Building modules, stage 2.
MODPOST 3 modules
CC arch/arm/mach-emxx/inter_dsp.mod.o
LD [M] arch/arm/mach-emxx/inter_dsp.ko
CC drivers/ave/em_ave.mod.o
LD [M] drivers/ave/em_ave.ko
CC drivers/scsi/scsi_wait_scan.mod.o
LD [M] drivers/scsi/scsi_wait_scan.ko
 

·
Registered
Joined
·
353 Posts
I'm now trying to see if the Kernel image built like that can safely replace the one found in the latest 2.2 stock release (which is 0908).

Before simply having a "blind" test, that is replace the uImage4 found in the zip with mine, recalc the MD5 in and give it a try flashing to tablet, I'd like to match the correct module drivers as well.

These are the drivers found in the stock firmware, in the android-fs /lib/modules:

-rw-r--r-- 1 1000 1000 5282033 Aug 24 04:16 8192cu.ko
-rw-r--r-- 1 1000 1000 255881 Dec 15 09:22 em_ave.ko
-rw-r--r-- 1 1000 1000 249144 Dec 15 09:24 fw_bcm4329.bin
-rw-r--r-- 1 1000 1000 206144 Dec 15 09:25 inter_dsp.ko
-rw-r--r-- 1 1000 1000 1315 Aug 24 04:16 nvram.txt
-rw-r--r-- 1 1000 1000 2887102 Aug 24 04:16 pvrsrvkm.ko
-rw-r--r-- 1 1000 1000 1747051 Aug 24 04:16 wlan.ko

Out of these, only em_ave.ko, fw_bcm4329.bin, nvram.txt and inter_dsp.ko were re-built along with the kernel.

Googling around, I managed to realize the following:

8192cu.ko is for the Realtek RTL8192C WiFi chipset, which we don't have onboard... I wonder why it's there.
pvrsrvkm.ko is for the PowerVRSGX530 built-in graphic coprocessor. Can be reused I think.
wlan.ko is the actual WiFi module driver, which I'm worried the most about. I'm not sure if I can leave the stock firmware, or if I should find a way to rebuild it, as I rebuilt the bcm4329 (wireless chipset) firmware along with the Kernel.

One thing I don't understand is that the kernel build produced also this .ko:

drivers/net/wireless/bcm4329/dhd.ko

which should be our wlan.ko, but filename and size are very different!

Someone who can shed some light on this? Thanks!
 

·
Registered
Joined
·
353 Posts

·
Registered
Joined
·
353 Posts
This is mainly for cAPSLOCK, who obtained the BSP SDK and kindly shared here with us.

I've tried using it for rebuiding Androoid, but the BSP appears to be incomplete

http://groups.google.com/group/android-porting/browse_thread/thread/d9738313fc68e26d

Infact, I'm missing the directory where to get the framebuffer header:

bionic/libc/kernel/common/linux/fbcommon.h

and proably much more...

Is there any way to ask Eric Wong about providing the complete BSP? Or at least that header (to start with).
 
1 - 13 of 13 Posts
Top