+ Reply to Thread
Page 44 of 121 FirstFirst ... 34 42 43 44 45 46 54 94 ... LastLast
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...

  1. #861
    Member
    Join Date
    Jan 2009
    Location
    Leeuwarden, NL
    Posts
    141
    Thanks
    12
    Thanked 4 Times in 2 Posts
    Quote Originally Posted by evow04 View Post
    MaikelRunia, what fw do you use?
    Fixed now, i did something wrong

  2. #862
    Member
    Join Date
    Mar 2009
    Posts
    127
    Thanks
    1
    Thanked 113 Times in 35 Posts
    I'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

  3. #863
    Freshman
    Join Date
    Oct 2009
    Posts
    32
    Thanks
    0
    Thanked 12 Times in 6 Posts
    Quote Originally Posted by r3wDy View Post
    just compiled the spi_s3c.ko driver for the 2.6.27 (was harder than expected to get it compiled) and loaded to -> just a shitload garbage n my screen and no end in sight...
    Dear r3wDy , Where can I download your source code of spi_s3c.ko and spi 8686 ? I want to try it too.

  4. #864
    Valued Member
    Join Date
    Aug 2009
    Location
    Germany
    Posts
    675
    Thanks
    91
    Thanked 263 Times in 93 Posts
    Quote Originally Posted by banxian View Post
    I'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


    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


  5. Member who thanked forty7eleven for the post:


  6. #865
    Member
    Join Date
    Mar 2009
    Posts
    127
    Thanks
    1
    Thanked 113 Times in 35 Posts
    I 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.

  7. Member who thanked banxian for the post:


  8. #866
    Senior Member
    Join Date
    Sep 2009
    Posts
    380
    Thanks
    3
    Thanked 138 Times in 53 Posts
    OKay 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 up
    Last edited by r3wDy; 11-14-2009 at 11:34 AM.

  9. #867
    Freshman
    Join Date
    Oct 2009
    Posts
    32
    Thanks
    0
    Thanked 12 Times in 6 Posts
    Quote Originally Posted by r3wDy View Post
    OKay Bill, any help on this would be highly appriciated...
    There 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

  10. #868
    Senior Member
    Join Date
    Sep 2009
    Posts
    380
    Thanks
    3
    Thanked 138 Times in 53 Posts
    the 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. #869
    Freshman
    Join Date
    Oct 2009
    Posts
    32
    Thanks
    0
    Thanked 12 Times in 6 Posts
    Quote Originally Posted by r3wDy View Post
    the 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
    in 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.bin
    Last edited by bill; 11-14-2009 at 04:07 PM.

  12. #870
    Senior Member
    Join Date
    Sep 2009
    Posts
    380
    Thanks
    3
    Thanked 138 Times in 53 Posts
    try 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

  13. #871
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    Quote Originally Posted by banxian View Post
    Here is a tested nightly build of portrait loader. you can make you own dualboot firmware by LiteXipBuilder.
    Loader_rev3_portrait.zip
    Ok, i fixed this link on page 1 and the wiki.
    Also added the aesop sourcecode download link to page 1 and wiki.

    i would love to see some pictures/video from the new bootloader in action ***hint***

  14. #872
    Member
    Join Date
    Mar 2009
    Posts
    127
    Thanks
    1
    Thanked 113 Times in 35 Posts
    good 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.

  15. 2 members have thanked banxian:


  16. #873
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    that is bad news

    btw how many m8īs do you own by now?
    Meizu should be providing them for free to you

  17. #874
    Administrator
    Join Date
    Mar 2007
    Location
    Budapest, Hungary
    Posts
    4,485
    Thanks
    237
    Thanked 1,024 Times in 375 Posts
    banxian 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?

  18. #875
    Member
    Join Date
    Mar 2009
    Posts
    127
    Thanks
    1
    Thanked 113 Times in 35 Posts
    I 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.

  19. #876
    LVL
    LVL nincs online
    Dutch Moderator
    Join Date
    Jan 2009
    Location
    The Netherlands
    Posts
    1,583
    Thanks
    117
    Thanked 173 Times in 72 Posts
    Quote Originally Posted by nice2know_u View Post
    banxian 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?
    I want that to!
    I would love to see android in portrait mode.
    (And with wifi, gsm etc of course, but that will be integrated in the future, i hope)
    Ben je Nederlands?
    Dan kan je ook gewoon in de Nederlandse sectie reageren en vragen: http://www.meizume.com/dutch

  20. #877
    Senior Member
    Join Date
    Sep 2009
    Posts
    380
    Thanks
    3
    Thanked 138 Times in 53 Posts
    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.
    The 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...
    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 failes
    Last edited by r3wDy; 11-16-2009 at 08:35 AM.

  21. #878
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    Quote Originally Posted by r3wDy View Post
    This weekend i was too busy getting ..... drunk so i ....
    and you dare to wonder why it does not work woot

    If we cant take the complete 29 kernel (28 would do too)
    you mean a source or from any working device?

    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.
    what if.. you would try with your kernel you mounted in the beginning to see if you can acces the bus..?


    I made some fix to framebuffer / lcd / pwm / mem
    Banxian,
    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.

  22. #879
    Member
    Join Date
    Mar 2009
    Posts
    127
    Thanks
    1
    Thanked 113 Times in 35 Posts
    16GB worked now.
    Code:
    #define MMC_CAP_8_BIT_DATA (1 << 6) /* Can the host do 8 bit transfers */
     
    #define MMC_BUS_WIDTH_8  3
    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.

    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.

  23. #880
    Senior Member
    Join Date
    Sep 2009
    Posts
    380
    Thanks
    3
    Thanked 138 Times in 53 Posts
    hum 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

  1. PROJECT: Meizu M8 Nederlandse taal
    By MaikelRunia in forum Dutch
    Replies: 47
    Last Post: 09-02-2009, 10:11 AM
  2. Port Meizu OS to Samsung Omnia i900
    By natedogg20050 in forum Modding & Development
    Replies: 8
    Last Post: 08-17-2009, 12:09 PM
  3. What does the Meizu Rockbox project need?
    By Err0r in forum Rockbox
    Replies: 21
    Last Post: 05-17-2008, 12:12 PM
  4. Meizu M8 Project On Temporary Hold
    By Err0r in forum Meizu M8 News
    Replies: 68
    Last Post: 04-20-2008, 04:02 AM
  5. The USB port
    By vipert in forum Technical
    Replies: 3
    Last Post: 05-03-2007, 04:03 PM