WM8750 vendor kernel source

716 views
Skip to first unread message

Angus Gratton

unread,
Jul 26, 2012, 7:03:22 AM7/26/12
to vt8500-wm8505...@googlegroups.com
Just got an email from the apc.io people, looks like VIA has come to
the party with kernel, uboot source & schematics for their forthcoming
"I can't believe it's not Pi" product based on the WM8750. :)

http://apc.io/library/

The kernel source is even on github, much respect if this means no
more vendor tarballs and (gasp) actual change history.

- Angus

Alexey Charkov

unread,
Jul 26, 2012, 7:56:57 AM7/26/12
to vt8500-wm8505...@googlegroups.com
2012/7/26 Angus Gratton <g...@projectgus.com>:
Wow, that's great news!

Just had a look (https://github.com/apc-io/apc-8750), the kernel is
2.6.32.9 as was the case with 8650.

It also apparently misses some binary blobs (at least in the graphics
part, for HDMI output controllers). Still much better than nothing.

Best,
Alexey

Tony Prisk

unread,
Jul 26, 2012, 12:00:42 PM7/26/12
to vt8500-wm8505...@googlegroups.com
Had a quick look. The code includes a few nice comments that help clear a few things up as well.

eg.
D8000000..D80FFFFF devices are AHB slaves
D8100000..?? devices are APB slaves

It would be interesting to compare this with the old chips and see if the devices are in similar locations.
Would be nice to know which clocks drive what :)

Tony P

Ed Spiridonov

unread,
Jul 26, 2012, 12:24:17 PM7/26/12
to vt8500-wm8505...@googlegroups.com

BTW, today I got spam offering 8850-based tablet, so 8750 is obsolete now

Alexey Charkov

unread,
Jul 26, 2012, 12:50:50 PM7/26/12
to vt8500-wm8505...@googlegroups.com
2012/7/26 Ed Spiridonov <edo...@gmail.com>:
> BTW, today I got spam offering 8850-based tablet, so 8750 is obsolete now

Indeed, here's an example of WM8850 tablet offering (Cortex-A9 chip at
1.5GHz, 256MB RAM, Android 4.0):

http://www.sunsky-online.com/view/260730/T112+Silver++7.0+inch+Resistive+Touch+Screen+Android+4.0+aPad+Style+Tablet+PC+with+WIFI++0.3+Mega+Pixels+Front+Camera++360+Degree+Video+Rotate++4GB+NAND+Flash++CPU++VIA+WM8850+A9++1.5GHz.htm

J T Dsouza

unread,
Jul 26, 2012, 2:44:48 PM7/26/12
to vt8500-wm8505...@googlegroups.com
Shooting self in the foot is a Wondermedia/via trademark. Expect to see WM8850 code, when WM8950 is out.

Tony Prisk

unread,
Jul 26, 2012, 2:36:47 PM7/26/12
to vt8500-wm8505...@googlegroups.com
I just ordered an 8850-based tablet tonight while I was at work. Be interesting to see how much as changed and whether I can get it booting our kernel.

----- Original Message -----
> From: Alexey Charkov <alc...@gmail.com>
> To: vt8500-wm8505...@googlegroups.com
> Cc:
> Sent: Friday, 27 July 2012 4:50 AM
> Subject: Re: WM8750 vendor kernel source
>

Tony Prisk

unread,
Jul 26, 2012, 2:51:05 PM7/26/12
to vt8500-wm8505...@googlegroups.com
That's just so we don't get too much of a headstart supporting their products for them ;)


From: J T Dsouza <jtd...@gmail.com>
To: vt8500-wm8505...@googlegroups.com
Sent: Friday, 27 July 2012 6:44 AM

Subject: Re: WM8750 vendor kernel source

Alexey Charkov

unread,
Jul 26, 2012, 4:01:53 PM7/26/12
to vt8500-wm8505...@googlegroups.com
2012/7/26 Tony Prisk <senti...@yahoo.co.nz>:
> That's just so we don't get too much of a headstart supporting their
> products for them ;)

We actually still do, thanks to your device tree work ;-) Core devices
are still the same (less probably the graphics system, although that
one may also be the same when it comes to simple framebuffer output),
so adding support would be a matter of adapting the dts once all the
groundwork is done.

Best,
Alexey

Angus Gratton

unread,
Jul 26, 2012, 7:51:37 PM7/26/12
to vt8500-wm8505...@googlegroups.com
On Thu, 26 Jul 2012 15:56:57 +0400
Alexey Charkov <alc...@gmail.com> wrote:
> It also apparently misses some binary blobs (at least in the graphics
> part, for HDMI output controllers). Still much better than nothing.

I noticed that too, I was hoping to peek at the HDMI & video
decoding API stuff[*]. I opened an Issue on github, will report back if
I get any answers:
https://github.com/apc-io/apc-8750/issues/2

I wonder if the shipping devices are going to have these components in
kernel modules. Unlike previous products, it seems like the APC.IO board
is VIA/Wondermedia themselves or a closely held subsidary, so there is
more of a concrete entity to deal with than aliexpress vendors. Wishful
thinking, perhaps.

- Angus


[*] About 6 months ago I messed with some Samsung "Android TV"
Cortex A8 set top boxes where all the HDMI output went via v4l2, no
framebuffer. Made a much bigger job to get X11 running on it, there
were patches for a "framebuffer-to-v4l2" bridge that Samsung wrote but
it was pretty proof of concept. Given the prevalence of $60 WM8750 set
top boxes I was interested to try this one out instead.

Tony Prisk

unread,
Aug 7, 2012, 1:41:14 AM8/7/12
to vt8500-wm8505...@googlegroups.com
Finally recieved my WM8850 based tablet today - looks like it might be abit of work to get it ported :)

It almost looks like its a WM8950 to be honest.

Cortex A9 @ 1.5Ghz (supposedly - yet to confirm the speed).
Mali400 GPU
512MB Memory
8.0GB Internal (NAND I'm guessing)

Much nicer screen that previous models I've had as well - 5 point touch capacitive.


Now I just need to figure out how to patch the mali source into my kernel and we might be able to get somewhere,
although I suspect we might need to wait for a vendor source drop on this one :)

Tony P

Alexey Charkov

unread,
Aug 7, 2012, 1:52:17 AM8/7/12
to vt8500-wm8505...@googlegroups.com
2012/8/7 Tony Prisk <li...@prisktech.co.nz>:
Have you rooted it yet? Could you please post dmesg, cpuinfo, iomem,
interrupts and a dump of U-Boot config from mtd? For the curious ones
:-)

Thanks,
Alexey

Tony Prisk

unread,
Aug 7, 2012, 11:19:08 PM8/7/12
to vt8500-wm8505...@googlegroups.com

You don't want much do you :)
 
dmesg, cpuinfo, iomem and interrupts as requested.
included the mtd layout info, but couldn't get access to mtd3/mtd4 because, although it said it was rooted, it doesn't appear to be :)

I'll get it sorted eventually and send you the uboot cfg.

Regards
Tony P
8850_cpuinfo.txt
8850_dmesg.txt
8850_interrupts.txt
8850_iomem.txt
8850_mtd.txt

Tony Prisk

unread,
Aug 8, 2012, 1:00:22 AM8/8/12
to vt8500-wm8505...@googlegroups.com
Missing MTD3 uboot cfg attached (Got around to rooting it properly now).
Must say I love these chinese manufacturers - device id (ADB) is 0123456789ABCEF :)


8850_mtd3.txt

Arnd Bergmann

unread,
Aug 8, 2012, 4:23:32 AM8/8/12
to vt8500-wm8505...@googlegroups.com, Tony Prisk
Maybe we should ask Harald Welte again about his contacts. Last time he was able to get
WonderMedia to ship a tarball, so they might do the same again now;

http://laforge.gnumonks.org/weblog/linux/via/index.html

He also writes that the company has no resources to work on mainline integration, so
we might be able to get some further by just offering help in the right way to the
right people.

Arnd

Tony Prisk

unread,
Aug 10, 2012, 1:22:36 AM8/10/12
to vt8500-wm8505...@googlegroups.com, Tony Prisk
Got ahold of a 3.3v->USB uart cable finally today. Output from WM8850 uboot below - can't see anything really interesting but provided for completeness.

Guess I can retry our kernel on it and see why it fails to boot now.

----- UBOOT LOG -----
                                                    
Power on by power key                               
                                                    
                                                    
WonderMedia Technologies, Inc.
W-Load Version : 0.14.00.04
BUILDID_2012-06-27_10:30:26
UPDATE_ID_1_5_3_2_4_512MB
uboot set plla cmd ..found
wmt.plla.param=1:800:1:2:1:1:1
uboot set pllb cmd ..found
wmt.pllb.param=911:528:2:2:3:2
ethaddr............found
wloader finish

                                                                               
U-Boot 1.1.4 (Jul 11 2012 - 17:19:52)                                          
WonderMedia Technologies, Inc.                                                 
U-Boot Version : 0.13.00.00                                                    
U-Boot code: 03F80000 -> 03FCD42C  BSS: -> 03FEF0EC                            
U-Boot BUILD_ID:BUILDID_2012-07-11_17:19:41                                    
boot from spi flash.                                                           
SF0: ManufID = EF, DeviceID = 3013 (Missing or Unknown FLASH)                  
     Use Default - Total size = 8MB, Sector size = 64KB                        
SF1: ManufID = 0, DeviceID = 0 (Missing or Unknown FLASH)                      
     Use Default - Total size = 8MB, Sector size = 64KB                        
flash:                                                                         
     Bank1: FF800000 -- FFFFFFFF                                               
     Bank2: FF000000 -- FF7FFFFF                                               
Flash: 16 MB                                                                   
sfboot: NAND init:env nand config fail, use default flash id list info         
pllb=0x2b0101, spec_clk=0x281e32c8                                             
T1=4, clk1=18, div1=10, Thold=2, tREA=40+delay(9)                              
T2=3, clk2=20, div2=11, Thold2=2, comp=1                                       
Tim1=884736 , Tim2=819200                                                      
T2=2, clk2=29, div2=16, Thold2=2, comp=1                                       
Tim1=819200 , Tim2=950272                                                      
T2 is greater and not use                                                      
T2=1, clk2=56, div2=31, Thold2=1, comp=1                                       
Tim1=819200 , Tim2=917504                                                      
T2 is greater and not use                                                      
T=3, clk=20, divisor=11, Thold=0x302                                           
divisor is set 0x9, NFC_timing=0x2424                                          
USE_HW_ECC ECC24bitPer1K                                                       
1 flash chips found. Total nand size: 8192 MB                                  
nand->id: 0x88044b is_randomizer = 0                                           
Micron nand flash feature is: 0x04000000                                       
wakeup status: 0x4002                                                          
reset status: 0x0                                                              
hsp3 status: 0x1                                                               
                                                                               
Initial SD/MMC Card Fail!                                                      
No MMC card found                                                              
lcd power control pin (setting): 0:1:6:d8110042:d8110082:d81100c2              
Battery power. Exit play charge animation                                      
memtotal: 448 MB, framebuf addr: 0x1c100000                                    
display dual : 1                                                               
display param 0 : 2:2:24:800:480:60                                            
boot parm vo 2 opt 2,24, 800x480@60                                            
## Warning: wmt.display.param2 not defined                                     
[VOUT] dual display                                                            
## Warning: wmt.display.regop not defined                                      
## Warning: wmt.display.tmr not defined                                        
{lcd_set_mode} option 6,1                                                      
[LCD] INNOLUX AT707TN83 (id 2,bpp 24)                                          
[VOUT] info 0,mask 0x2,GOVRH2,800x480@60                                       
[VOUT] info 1,mask 0x1,GOVRH,1024x768@60                                       
PWM param (sz setting) : scalar,period,duty = 10:50:1000:1000                  
lcd power control pin (setting): 0:1:0:d8110040:d8110080:d81100c0              
[UBOOT] img(800,480),fb(800,480)                                               
[UBOOT] img(1024,768),fb(1024,768)                                             
[HDMI] *W* DDC reset                                                           
[HDMI] *W* DDC reset                                                           
[HDMI] *W* DDC reset                                                           
[HDMI] set option(8-HDMI,6-AUDIO) 0x0                                          
wmt_graphic_init ok                                                            
In:    serial                                                                  
Out:   serial                                                                  
Err:   serial                                                                  
block4095 tag=42627430  version =1                                             
block4094 tag=31746242  version =1                                             
bbt table is found                                                             
Load Image From NAND Flash page=0x0                                            
USE_HW_ECC ECC24bitPer1K                                                       
                                                                               
Read NAND Flash OK                                                             
Load Image From NAND Flash page=0x80                                           
USE_HW_ECC ECC24bitPer1K                                                       
                                                                               
Read NAND Flash OK                                                             
Load Image From NAND Flash page=0x400                                          
USE_HW_ECC ECC24bitPer1K                                                       
                                                                               
Read NAND Flash OK                                                             
adc_val=0xeeb                                                                  
Hit any key to stop autoboot:  0                                               
                                                                               
Initial SD/MMC Card Fail!                                                      
No MMC card found                                                              
nand partition offset=0x01000000                                               
load_kernel = 0xe00000 load_ramdisk=0x1400000, nand offset = 0x1000000         
Load Image From NAND Flash page=0x800                                          
USE_HW_ECC ECC24bitPer1K                                                       
                                                                               
Read NAND Flash OK                                                             
kernel_size = 0x3edac8 ramdisk_size = 0x136d88, page_size=0x800                
read kernel from offset = 0x1000000 to mem = 0x1400000, size=0x525850          
Load Image From NAND Flash page=0x800                                          
USE_HW_ECC ECC24bitPer1K                                                       
                                                                               
Read NAND Flash OK                                                             
                                                                               
## Checking Image at 00e00000 ...                                              
   Image Name:   Linux-3.0.8+                                                  
   Image Type:   ARM Linux Kernel Image (uncompressed)                         
   Data Size:    4119176 Bytes =  3.9 MB                                       
   Load Address: 00008000                                                      
   Entry Point:  00008000                                                      
   Verifying Checksum ... OK                                                   
## Booting image at 00e00000 ...                                               
   Image Name:   Linux-3.0.8+                                                  
   Image Type:   ARM Linux Kernel Image (uncompressed)                         
   Data Size:    4119176 Bytes =  3.9 MB                                       
   Load Address: 00008000                                                      
   Entry Point:  00008000                                                      
   Verifying Checksum ... OK                                                   
OK                                                                             
                                                                               
Starting kernel ...

Tony Prisk

unread,
Aug 10, 2012, 2:47:13 AM8/10/12
to vt8500-wm8505...@googlegroups.com, Tony Prisk
Arnd,

I have sent an email to Harold requesting his assistance - no reply as yet.


Everyone,

I have also had a rather pleasant, if not disappointing, discussion with a gentleman named Rocky from Eken.

After several back-and-forth emails regarding the GPL violation (particularly on their W70 WM8850 tablet) he requested that we continue the discussion on Skype. I spent a good 45 minutes chatting with him about various issues around the license and violations and its quite a shame that it wasn't his decision to make because I think he actually understood the problem but was powerless to do anything about it.

The end result is that Eken believes their code is proprietary and will not release the source code - apparently because their code will only work with their tablets, it makes it their software (This is my understanding of their position as they put it to me).

I think I may have enlightened him on a few points regarding GPL and how they actually got the software they are putting on their laptops.

Maybe one day, if he becomes the CEO of Eken, we might see some changes :)

malfiant...@gmail.com

unread,
Jun 29, 2013, 12:49:29 AM6/29/13
to vt8500-wm8505...@googlegroups.com, g...@projectgus.com
Where i can find WM8950 driver for my asus memopad tablet??
Reply all
Reply to author
Forward
0 new messages