about JetQi Patch

Bootloader development related

about JetQi Patch

Postby sitoumei » Tue Nov 16, 2010 3:11 am

http://code.google.com/p/jetdroid/wiki/ ... erVersions
dopi711 said:

The idea of the jetQi patches was to provide binary patches (using bsdiff) to patch all compatible bootloader versions to the working S8000XPIJ7 version.

This is the reason why I included the MD5 hashes in this table. What we need is a bsdiff patch for each individual boot_loader.mbn (identified by MD5) that creates the working JetQi bootloader (based on S8000XPIJ7).

I just did not have time to do this. Anyone interested to do this?


How to do jetQi patch for S8000UZCJC1 ?
Do you know, far too many chinese wait it.
sitoumei
Forum Moderator
Forum Moderator
 
Posts: 26
Joined: Tue Oct 26, 2010 8:10 am

Advertisement

       

Re: about JetQi Patch

Postby Dopi » Tue Nov 16, 2010 12:49 pm

sitoumei wrote:How to do jetQi patch for S8000UZCJC1 ?
Do you know, far too many chinese wait it.


Our bootloader code makes calls to the original Samsung bootloader. Adresses for these calls change with every bootlaoder version. To create a patch for any of the chinese (DX) bootloaders the boot_loader.mbn needs to be disassembled and analyzed to find the adresses of the functions we call.

The calls to these functions are in following the JetQi source files (as available in the github repo)
Code: Select all
src/cpu/s3c6410/boot_loader_interface.c
src/cpu/s3c6410/pre_start.S

All absolute adresses in this code and maybe even parts of the assembly codes (as it may also reference to parts of the bootloader) need to be changed. The way to do this is see what the function is like in the bootloaer that is currently used ( I can supply the disassembly file) and search the same function in the new bootlader. Then the call adresses need to be updated and the binary images from the new bootloader needs to be included. If anyone is interested in this task I can provide more explanation. Currently I don't have enought time to do it myself, but I can help.

Cheers,
Dopi

P.S.: I moved this topic to the JetQi section as it clearly related to the bootloader.
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Re: about JetQi Patch

Postby sitoumei » Wed Nov 17, 2010 1:41 am

Thank you. All chinese thank you. ;)
We can do is just waiting!
sitoumei
Forum Moderator
Forum Moderator
 
Posts: 26
Joined: Tue Oct 26, 2010 8:10 am

Re: about JetQi Patch

Postby Dopi » Wed Nov 17, 2010 7:56 am

sitoumei wrote:Thank you. All chinese thank you. ;)

没关系

sitoumei wrote:We can do is just waiting!

Why wait? Is there no one in China who could help patch the bootloader?

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Re: about JetQi Patch

Postby sitoumei » Wed Nov 17, 2010 1:58 pm

Dopi wrote:Why wait? Is there no one in China who could help patch the bootloader?

Cheers,
Dopi


Someone who can do,but he is not interested, someone who has interest, but he can't do.
I hope i can help do this. But my program is not good, my english is not good.

JetQi , this name is very cool, "Qi" is "启" in chinese, means "start".
sitoumei
Forum Moderator
Forum Moderator
 
Posts: 26
Joined: Tue Oct 26, 2010 8:10 am

Re: about JetQi Patch

Postby Dopi » Wed Nov 17, 2010 11:00 pm

sitoumei wrote:Someone who can do,but he is not interested, someone who has interest, but he can't do.
I hope i can help do this. But my program is not good, my english is not good.


We can work on this together on this. I will do my best to help as much as I can. The main task is finding the function calls in the DX bootloader. This is a bit like looking at two pictures and finding similarities.

If language is a problem you can also write to me in Chinese. It will take me very long to read but I am learning to be faster ;)

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Re: about JetQi Patch

Postby sitoumei » Thu Nov 18, 2010 6:55 am

Dopi wrote:We can work on this together on this. I will do my best to help as much as I can. The main task is finding the function calls in the DX bootloader. This is a bit like looking at two pictures and finding similarities.

If language is a problem you can also write to me in Chinese. It will take me very long to read but I am learning to be faster ;)

Cheers,
Dopi

That's great.
I have installed virtualBox and Ubuntu. I'm learning Repo. I'll ask help when i have any problem.
Thank you.
sitoumei
Forum Moderator
Forum Moderator
 
Posts: 26
Joined: Tue Oct 26, 2010 8:10 am

Re: about JetQi Patch

Postby sitoumei » Wed Nov 24, 2010 3:56 am

Please help me.
I build JetDroid environment by http://code.google.com/p/jetdroid/wiki/ ... nvironment
When I type ./build.sh, system said "-bash: ./build.sh: Permission denied"
How do I change the rights for this?
sitoumei
Forum Moderator
Forum Moderator
 
Posts: 26
Joined: Tue Oct 26, 2010 8:10 am

Re: about JetQi Patch

Postby vaclavpe » Wed Nov 24, 2010 6:39 am

sitoumei wrote:Please help me.
I build JetDroid environment by http://code.google.com/p/jetdroid/wiki/ ... nvironment
When I type ./build.sh, system said "-bash: ./build.sh: Permission denied"
How do I change the rights for this?

You do not have rights. If you try "ls -l" you'll see right to execute ?

Try "chmod a+x build.sh"

Vasek
vaclavpe
Dev Team
Dev Team
 
Posts: 116
Joined: Wed Oct 27, 2010 8:58 am
Location: Prague, Czech

Re: about JetQi Patch

Postby sitoumei » Thu Nov 25, 2010 1:57 am

vaclavpe wrote:You do not have rights. If you try "ls -l" you'll see right to execute ?

Try "chmod a+x build.sh"

Vasek


Thanks for your help.
sitoumei
Forum Moderator
Forum Moderator
 
Posts: 26
Joined: Tue Oct 26, 2010 8:10 am


Return to JetQi

Who is online

Users browsing this forum: No registered users and 1 guest

  • Advertisement
cron