+ Reply to Thread
Results 861 to 880 of 2415
[project]Port android to meizu M8
This is a discussion on [project]Port android to meizu M8 within the Meizu M8 Android forums, part of the M8 Firmware category; Originally Posted by evow04 MaikelRunia, what fw do you use? Fixed now, i did something wrong...
-
11-14-2009 #861
-
11-14-2009 #862Member
- Join Date
- Mar 2009
- Posts
- 127
- Thanks
- 1
Thanked 113 Times in 35 PostsI'll go to buy a 16G SE for test right now.
My friend & co worker totally use 8GB version.
I hope next release can contain 16GB or wlan fix, haha
-
11-14-2009 #863Freshman
- Join Date
- Oct 2009
- Posts
- 32
- Thanks
- 0
Thanked 12 Times in 6 Posts
-
11-14-2009 #864
Hi Banxian,
I have a 16 GB first edition, production year 18.08.09, I will open @Sunday to become more Information about the 16 GB Chip and will post the Photos and hope this will help to run Android on 16 GB Meizu..
I found a interested Photo from a 8GB model and I see they are using Samsung Nand flash(Because they are using for 16GB model too?)

I found this on Google, I dont know will help:
http://www.samsung.com/global/busine...do?fmly_id=672
http://www.samsung.com/global/busine...do?fmly_id=159
On the homepage gives 2 PDFs to Download :
Device ID Table
Part Number Decoder
But on Sunday we know more about the inside from 16 GB vesrion
And a question,is there a second battery on the board for the bios?? When I put out my battery and put it 10 min later in the Phone, my Time and location is correct, there restored not to default??
Itīs importend for me when I open my Phone....Last edited by forty7eleven; 11-14-2009 at 05:48 AM.
How to thank me: Click on the 'Thanks' button
-
Member who thanked forty7eleven for the post:
-
11-14-2009 #865Member
- Join Date
- Mar 2009
- Posts
- 127
- Thanks
- 1
Thanked 113 Times in 35 PostsI visted two Meizu shop (People's Squre and Xikawei) in Shanghai today. they told me Meizu factroy don't send 16GB version M8 SE to them as request recently.
even I can't get a old 16GB M8 in those shop.
Here is a tested nightly build of portrait loader. you can make you own dualboot firmware by LiteXipBuilder.
Loader_rev3_portrait.zip
maybe I'll continue to add smooth corner and some animation effects next week.
@forty7eleven:
don't open your M8, I already have 16GB photo but take no help.
there a small 2016 (or thicker) button cell battery for RTC.
if your phone time get reset after you remove main battery, you must check the cell battery.Last edited by banxian; 11-14-2009 at 10:53 AM.
-
Member who thanked banxian for the post:
-
11-14-2009 #866Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsOKay Bill, any help on this would be highly appriciated...
so here are the infos:
I use the spi_s3c.driver from the samsung kernel
We can just use the one from 2.6.28 because the other seems not to supports 6410.
So the sources fromt he driver are here:
http://git.kernel.org/?p=linux/kerne...2.6.28-samsung
you will nthis one too (from samung 28 tree)
linux/arch/arm/plat-s3c/include/plat/spi.h
One must change some kernel parts to get it compiled.. A notable change is the setting of the spi platform device is not longer in arch/arm/plat-s3c64xx/devs.c but in arch/arm/plat64xx/dev-spi.c you must get this file from the samsugn 28-tree and copy it to you kernel. For any question just ask, i got i conmpiled but failed to load because of the spi_register_master() function failes.
PS you cant really relay on the search from this site, sometime it fins things in files and then says the file is not there but going there on the tree shows the file.
Just ask. i something is unclear and together we will bring the wlan upLast edited by r3wDy; 11-14-2009 at 11:34 AM.
-
11-14-2009 #867Freshman
- Join Date
- Oct 2009
- Posts
- 32
- Thanks
- 0
Thanked 12 Times in 6 PostsThere is a gspi8686 driver in here:
ftp://ftp.ingenic.cn/3sw/01linux/04u...z-20080607.tgz
I think we can create folder src_gspi8686-jz-20080607\io\gspi\s3c6410,in this folder we can finished gspi.ko.
btw,jz4740 create their gspi.ko too, we can study he.
the readme file will tell us how to run the *.ko:
1) FOR DRIVER INSTALL
a) Copy helper_gspi.bin and gspi8686.bin to /lib/firmware/ directory
b) insmod gspi.o (or gspi.ko)
c) insmod gspi8686.o (or gspi8686.ko) helper_name=/lib/firmware/helper_sd.bin fw_name=/lib/firmware/gspi8686.bin
To install SD83xx Driver with user-specified helper file /lib/firmware/helper_sd.bin and
MFG firmware file /lib/firmware/sd83xxmfg.bin, using the following command:
insmod gspi.o
insmod sd83xx.o mfgmode=1 helper_name=/lib/firmware/helper_sd.bin fw_name=/lib/firmware/sd83xxmfg.bin
-
11-14-2009 #868Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 Poststhe problem right now is not the wlan driver. i have a compiles gspi driver but we need to get spi_s3c driver from samung kernel to run cause this is the busmaster
-
11-14-2009 #869Freshman
- Join Date
- Oct 2009
- Posts
- 32
- Thanks
- 0
Thanked 12 Times in 6 Postsin gspi.ko, it define these functions interface use by gspi8686.ko.
EXPORT_SYMBOL(register_user);
EXPORT_SYMBOL(unregister_user);
EXPORT_SYMBOL(gspi_read_reg);
EXPORT_SYMBOL(gspi_write_reg);
EXPORT_SYMBOL(gspi_read_data_direct);
EXPORT_SYMBOL(gspi_write_data_direct);
EXPORT_SYMBOL(gspi_register_irq);
EXPORT_SYMBOL(gspi_unregister_irq);
EXPORT_SYMBOL(gspi_reset);
So I think we can define these functions for s3c6410 in our gspi.ko too.We can study how finished from samung spi_s3c.c.
Then we can insmod gspi8686.o (or gspi8686.ko) helper_name=/lib/firmware/helper_sd.bin fw_name=/lib/firmware/gspi8686.binLast edited by bill; 11-14-2009 at 04:07 PM.
-
11-14-2009 #870Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 Poststry it if you want, but i doubt that these routines are writing through the spi busmaster driver. And furthermore we should be sure that there no other slaves on the spi bus. if there is another slave connected we may need the busmaster.
but evertything what worx will be good eneugh at first :P
-
11-14-2009 #871Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Posts
-
11-15-2009 #872Member
- Join Date
- Mar 2009
- Posts
- 127
- Thanks
- 1
Thanked 113 Times in 35 Postsgood news:
I bought a 16GB M8 SE from a "background" shop.
hope it can support in next week.
mmc0: unrecognised EXT_CSD structure version 3
mmc0: error -22 whilst initialising MMC card
bad news:
new M8 report 3 bad mapping in booting.
my other two M8 / M8 SE just have 1 / 0 bad block...
@evow04:
here is a picture of boot

portrait package only have loader. people would need kernel from old landscape package.Last edited by banxian; 11-15-2009 at 12:04 PM.
-
2 members have thanked banxian:
-
11-15-2009 #873Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Poststhat is bad news

btw how many m8īs do you own by now?
Meizu should be providing them for free to you
-
11-15-2009 #874Administrator
- Join Date
- Mar 2007
- Location
- Budapest, Hungary
- Posts
- 4,485
- Thanks
- 237
Thanked 1,024 Times in 375 Postsbanxian that looks really cool
It's been probably asked before but I couldn't find it...would it be possible to run android in portrait mode too? What are the requirements for that? Some missing drivers?
-
11-15-2009 #875Member
- Join Date
- Mar 2009
- Posts
- 127
- Thanks
- 1
Thanked 113 Times in 35 PostsI made some fix to framebuffer / lcd / pwm / mem and passed 2.6.29 branch compile of linux-2.6-samsung.
but boot failed after uncompress zimage. as same as newest offical kernel.
I found samsung 2.6.29 branch is older than aesop one. I heared linux branch maintained by samsung is buggy, some patch from Ben is not merged in it.
-
11-15-2009 #876Dutch Moderator
- Join Date
- Jan 2009
- Location
- The Netherlands
- Posts
- 1,583
- Thanks
- 117
Thanked 173 Times in 72 PostsBen je Nederlands?
Dan kan je ook gewoon in de Nederlandse sectie reageren en vragen: http://www.meizume.com/dutch
-
11-16-2009 #877Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsThe problem here is i cant load the s3c driver because of spi_register_mster failes. I searched the codes and foun (sriver/spi/spi.c) in commecnts fo this function that it will fail if the bus is already taken. i gave busid 0 and 1 the the spi devices...I found samsung 2.6.29 branch is older than aesop one. I heared linux branch maintained by samsung is buggy, some patch from Ben is not merged in it.
Im really unsure why i doenst laod right now, im thinking of some modifications in the kernel which we dont have.
If we cant take the complete 29 kernel (28 would do too) we should see what they did with the spi framework to get it done
This weekend i was too busy getting my motobike repaired and then getting drunk so i couldnt do anything :D
This evening i will printk my way through the spi core to see what where failesLast edited by r3wDy; 11-16-2009 at 08:35 AM.
-
11-16-2009 #878Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Postsand you dare to wonder why it does not work
woot
you mean a source or from any working device?If we cant take the complete 29 kernel (28 would do too)
what if.. you would try with your kernel you mounted in the beginning to see if you can acces the bus..?i cant load the s3c driver because of spi_register_mster failes. I searched the codes and foun (sriver/spi/spi.c) in commecnts fo this function that it will fail if the bus is already taken.
Banxian,I made some fix to framebuffer / lcd / pwm / mem
can those patches be applied in the aesop kernel?
It would be usefull to have all patches logged in the android wiki to speed up the process
?
Btw anyone has an update on the marvell wifi chip for SE users?
ps, android 2.0 source is been launched :-)
edit:
pfuh!
mdroid
Last edited by evow04; 11-16-2009 at 06:37 PM.
-
11-17-2009 #879Member
- Join Date
- Mar 2009
- Posts
- 127
- Thanks
- 1
Thanked 113 Times in 35 Posts16GB worked now.
these definations used in mmc_start_host / mmc_init_card is related for 16GB compatible. I merged them from 2.6.29 n 2.6.31-samsung.Code:#define MMC_CAP_8_BIT_DATA (1 << 6) /* Can the host do 8 bit transfers */ #define MMC_BUS_WIDTH_8 3
bad news:
when I generate patch from linux-2.6.27-m8-bill I found some files have xxx@meizu.com singture.
I confirm these people exists in meizu company...
they told me "we only exchange these file between samsung".
I don't know we can redist these source under gpl.Last edited by banxian; 11-17-2009 at 04:14 PM.
-
11-17-2009 #880Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 Postshum dunno, i thought if you take something from gpl you have to release it under gpl too.
I took the plat and mach folders from the samsung tree and try to build our kernel with them to get the spi working
Similar Threads
-
PROJECT: Meizu M8 Nederlandse taal
By MaikelRunia in forum DutchReplies: 47Last Post: 09-02-2009, 10:11 AM -
Port Meizu OS to Samsung Omnia i900
By natedogg20050 in forum Modding & DevelopmentReplies: 8Last Post: 08-17-2009, 12:09 PM -
What does the Meizu Rockbox project need?
By Err0r in forum RockboxReplies: 21Last Post: 05-17-2008, 12:12 PM -
Meizu M8 Project On Temporary Hold
By Err0r in forum Meizu M8 NewsReplies: 68Last Post: 04-20-2008, 04:02 AM -
The USB port
By vipert in forum TechnicalReplies: 3Last Post: 05-03-2007, 04:03 PM





Reply With Quote
, but that will be integrated in the future, i hope)
