+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 21 to 35 of 35

[Project] Uboot

This is a discussion on [Project] Uboot within the Modding & Development forums, part of the Meizu M8 category; How could this kill the device? Is Uboot going to overwrite eboot, or what?...

  1. #21
    LVL
    LVL nincs online
    Dutch Moderator
    Join Date
    Jan 2009
    Location
    The Netherlands
    Posts
    1,589
    Thanks
    117
    Thanked 173 Times in 72 Posts
    How could this kill the device?
    Is Uboot going to overwrite eboot, or what?
    Ben je Nederlands?
    Dan kan je ook gewoon in de Nederlandse sectie reageren en vragen: http://www.meizume.com/dutch

  2. #22
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    Hi LVL, that's been a while.

    It's not (yet) going to overwrite eboot.
    In the future that's my goal but before we can do that we should be sure that its fully functional ofcourse.

    Thing is that I am not fully sure how the nand operations in uboot work (stil need to research this) I presume it will not try to write towards nand.
    But if it works in a similar way like a linux kernel we might end up with a problem like r3wdy if you remind that one.
    So the reason i inform that it may be dangerous, is due that fact

    On the other hand, I did not change the base from uboot yet before merging to the xip.bin, so It may be that uboot wont boot due a bad base address :P

  3. #23
    Valued Member
    Join Date
    May 2009
    Location
    Netherlands, The
    Posts
    1,117
    Thanks
    100
    Thanked 481 Times in 147 Posts
    Evow04, I tested your Uboot XIP and unfortuantly it doesn't work

    Current Phone: HTC Desire HD
    My Meizu: Meizu M8SE 8GB White Edition (sold)
    My Programs: MyLang - Wix.com/HondaRacer2/MyLang

  4. #24
    Member
    Join Date
    Oct 2010
    Posts
    130
    Thanks
    5
    Thanked 14 Times in 12 Posts
    Quote Originally Posted by HondaRacer View Post
    Evow04, I tested your Uboot XIP and unfortuantly it doesn't work

    oh yeah, thank you for sacrificing you phone
    did you was able to rebuild it?

    Meizu M8 SE 8GB - Firmware: dao89 n450 (based on 0.9.9.18) - Own UI

  5. #25
    Valued Member
    Join Date
    May 2009
    Location
    Netherlands, The
    Posts
    1,117
    Thanks
    100
    Thanked 481 Times in 147 Posts
    Quote Originally Posted by misi66 View Post
    oh yeah, thank you for sacrificing you phone
    did you was able to rebuild it?

    Yes, I was able to fix it. I talked to Evow04 about what settings he choose in MPack. It isn't more danger than installing a Android firmware.
    Current Phone: HTC Desire HD
    My Meizu: Meizu M8SE 8GB White Edition (sold)
    My Programs: MyLang - Wix.com/HondaRacer2/MyLang

  6. #26
    Junior Member
    Join Date
    Nov 2010
    Location
    Serbia
    Posts
    71
    Thanks
    10
    Thanked 0 Times in 0 Posts
    So did he figured out what might be a problem?

  7. #27
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    Thanks for the video HondaRacer,
    I think it might be a wrong base address, or a kernel crash but we can only know this by using a debug cable

    I`m having little time today so I will see when I can try again to build an other package.

    figured out what might be a problem
    Let´s hope we do soon :-)


    Anyone having an USB debug cable and M8?

  8. #28
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    Alright,
    made a new build v0.2 :-)

    It should start up (I hope),
    but not yet boot into android, it´s a build to see if I can get Uboot up and running.

    For those who want to know the risk, no more then v0.1 & according HondaRacer that means no more risk then using Android on M8.
    Xip.bin is made with Mpack using the default settings like you use to build a dualboot.

    If it runs there will still be a lot of work to do :-)

    -made previous download link for v0.1 privat since it did not work -

  9. #29
    Member
    Join Date
    Oct 2010
    Posts
    130
    Thanks
    5
    Thanked 14 Times in 12 Posts
    Why you can't test this version?!
    You don't have a M8 and try to help us?
    Meizu M8 SE 8GB - Firmware: dao89 n450 (based on 0.9.9.18) - Own UI

  10. #30
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    during the day time I am at work, so I have no access to USB ports :-)
    & Made this build last night just before I went to sleep but just managed to pack it in a xip during a boring meeting:P So I am interested to know if it works without needing to wait until this late evening :-)

  11. #31
    Valued Member
    Join Date
    May 2009
    Location
    Netherlands, The
    Posts
    1,117
    Thanks
    100
    Thanked 481 Times in 147 Posts
    Quote Originally Posted by evow04 View Post
    during the day time I am at work, so I have no access to USB ports :-)
    & Made this build last night just before I went to sleep but just managed to pack it in a xip during a boring meeting:P So I am interested to know if it works without needing to wait until this late evening :-)
    No problem Evow04, I build a Uboot XIP and post my results
    Current Phone: HTC Desire HD
    My Meizu: Meizu M8SE 8GB White Edition (sold)
    My Programs: MyLang - Wix.com/HondaRacer2/MyLang

  12. #32
    Valued Member
    Join Date
    May 2009
    Location
    Netherlands, The
    Posts
    1,117
    Thanks
    100
    Thanked 481 Times in 147 Posts
    Tested v0.2. It has the same problem as v0.1 (stuck on 'Meizu' screen)
    Current Phone: HTC Desire HD
    My Meizu: Meizu M8SE 8GB White Edition (sold)
    My Programs: MyLang - Wix.com/HondaRacer2/MyLang

  13. #33
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    @HondaRacer, yes I forgot to implement
    Code:
    CONFIG_SHOW_BOOT_PROGRESS
    So the only real output should come via serial out, very stupid of me !

    I'll try a next build this weekend so I can check for myself, but see your PM's, I have send something interesting to you.

  14. Member who thanked evow04 for the post:


  15. #34
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    Damned, some good & bad news.

    the good, managed to build a new debug cable, worked fine on M8SE.
    the bad, I finished my current work and I broke my plug & ttl convertor :@

    I'll try to fix it but it's a tiny piece of crap so I might end up buying a new TTL convertor & will look for some one who can solder better then me to make stronger connections on the usb plug.

    And in some other news, apparently we all overlooked the fact that Sepa had a uboot build that was up and running. But not in the way I want;
    eboot load tinyloader load uboot load dnw & that one finally loaded Zimage over USB.
    I want (in phase 1):
    eboot load tinyloader load uboot mount Movinand boot Zimage

    So I looked at SEPA & Bills code to find out they are similar, So I tried my own v0.2 build on my SE without luck, but I tried SEPA build.. also with no luck.

    For the ones interested here is a stripped debug, they hang at a code "K45"
    Code:
    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2011.03.18 20:21:26 =~=~=~=~=~=~=~=~=~=~=~=
    //////////////////////////////////////////Evow04 build///////////////////////////////////////////////
    ::IUD_IOControl:FLASHIMAGE!!
    ::FlashImage:begin to write os image to boot media!!
    +WriteOSImageToBootMedia: g_dwTocEntry =1, ImageStart: 0x80100000, ImageLength: 0x7f00528, LaunchAddr:0x8010e294
    Progress Percent:2%
    Progress Percent:100%
    
    LaunchAddr=0x80030000 PhysicalJump=0x50030000
    Microsoft Windows CE Bootloader Common Library Version 1.4 Built Aug 20 2009 18:21:23
    Microsoft Windows CE Bootloader for the Samsung SMDK6410 Version 2.4 Built Sep 20 2009(2)
    [Eboot] ++InitializeDisplay()
    Press [SPACE] to enter boot monitor.
    Press [ENTER] to download image stored on boot media, or [SPACE] to enter boot monitor.
    Initiating image download in 2 seconds. 
    Starting auto-download ... 
    
    ++ShadowNK()
    M8TinyLoader: Check UART2.
    
    Selected Android.
    Found zImage magic at 0x518785A4.
    
    K45
    
    //////////////////////////////////////////sepa build///////////////////////////////////////////////
    Windows CE Kernel for ARM (Thumb Enabled) Built on Oct 20 2009 at 18:39:19
    -- Shadow Eboot --
    LaunchAddr=0x80030000 PhysicalJump=0x50030000
    Microsoft Windows CE Bootloader Common Library Version 1.4 Built Aug 20 2009 18:21:23
    Microsoft Windows CE Bootloader for the Samsung SMDK6410 Version 2.4 Built Sep 20 2009(2)
    Press [SPACE] to enter boot monitor.
    .Press [ENTER] to download image stored on boot media, or [SPACE] to enter boot monitor.
    Initiating image download in 2 seconds. 
    Starting auto-download ... 
    
    ++ShadowNK()
    M8TinyLoader: Check UART2.
    
    Selected Android.
    Selected Android.
    Found zImage magic at 0x518785A4.
    
    K45
    So It seems to be normal that HondaRacer couldn't run my build.

    ps, I also found out that onscreen debug should need a LCD driver, but I am sure we can rip this from Bill's or LBE's source . Only need to find out to activate it in uboot source code.

  16. #35
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    if someone wanted to know if I made any progress:
    I did not spend any time on it for now, I should try to make a new build where I edit the config.mk to get TEXT_BASE on 0x518785A4 (it matches the found location in the above log file, my current text base is 0x50107000).

    I hope that this mod would solve my issue that it wont start.
    But I am not in the mood to reflash my M8 again cause I am tired to backup & restore all the time:-)
    in a few weeks I´ve got some time off, maybe I will try it at that moment.

    but for those that would try to do some own stuff I added the sources to our wiki
    http://wiki.meizume.com/Meizu_M8_Uboot
    http://wiki.meizume.com/Meizu_M8_Uboot_Build

    UPDATE 11/05/11
    So I just made my new build like documented above.
    The uboot binary is uploaded here & will try it tomorow in the evening.
    Can do it right now since i need to search my ttl debug cable first
    Last edited by evow04; 05-11-2011 at 08:34 PM.


 

Similar Threads

  1. [Project] Localizing the M9
    By Coninsan in forum Meizu M9 Rooting & Modding
    Replies: 8
    Last Post: 02-27-2011, 02:11 PM
  2. [project] Windows CE 6
    By evow04 in forum Modding & Development
    Replies: 29
    Last Post: 01-11-2011, 06:49 PM
  3. [project] TwitterClient
    By crimson05 in forum Modding & Development
    Replies: 69
    Last Post: 01-28-2010, 09:05 PM
  4. project shazam
    By mj_71 in forum Modding & Development
    Replies: 1
    Last Post: 12-29-2009, 12:09 PM
  5. [project] M8Jabber
    By trash in forum Modding & Development
    Replies: 18
    Last Post: 12-01-2009, 10:32 PM