Your SlideShare is downloading. ×
20090523 porting open_suse_to_mips_cp1
20090523 porting open_suse_to_mips_cp1
20090523 porting open_suse_to_mips_cp1
20090523 porting open_suse_to_mips_cp1
20090523 porting open_suse_to_mips_cp1
20090523 porting open_suse_to_mips_cp1
20090523 porting open_suse_to_mips_cp1
20090523 porting open_suse_to_mips_cp1
20090523 porting open_suse_to_mips_cp1
20090523 porting open_suse_to_mips_cp1
20090523 porting open_suse_to_mips_cp1
20090523 porting open_suse_to_mips_cp1
20090523 porting open_suse_to_mips_cp1
20090523 porting open_suse_to_mips_cp1
20090523 porting open_suse_to_mips_cp1
20090523 porting open_suse_to_mips_cp1
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

20090523 porting open_suse_to_mips_cp1

251

Published on

Published in: Technology
1 Comment
1 Like
Statistics
Notes
  • I wish that you can give me some advice and files.
    Thank you.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
251
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
1
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. My GSoC 2009:Porting OpenSuSE to MIPSChapter One:  Preparation  and  Mistakes      guaneryu@gmail.com  2009-5-23
  • 2. Agenda1. Why GSoC2. Apply for GSoC Project3. The Goal of the Porting Project4. HOWTO5. Mistakes6. Problems with/without Solutions7. Where I am 8. The Future
  • 3. Why GSoC  ● Job hunting  ● Improve Myself  ● Interest   ● What can I do  ● US Dollars
  • 4. Apply for GSoC Project ● Winter Vacation : Colys Message ● Feb. : First Gathering This Year ● Mar.-Apr. : Write Proposal ● 21th Apr. : Be Selected
  • 5. Goal of ProjectPorting OpenSuSE to MIPS Platform  ● Gdium ● Loongson2f  ● mipsel ● Prototype ● rpmbuild
  • 6. HOWTO1. Cross-Compile the Whole System  ● Build cross-compiling environment ● Build cross-rpmbuild environment ● Cross-rpmbuild RPM packages ● Install RPM packages (Do NOT think about it deeply)
  • 7. HOWTO (cont.)2. Cross-Compile RPM-Building Env.  ● Build cross-compiling environment ● Cross-compile base building env. ● Build RPM pkgs using qemu ● Install RPM packages  (This is what Ive written in proposal)
  • 8. HOWTO (cont.)3. Cross-Compile RPM-Installing Env.  ● Build cross-compiling environment ● Cross-compile base system with rpm(1) ● Build RPM pkgs using qemu (Debian) ● Install RPM packages  (This is a big mistake!)
  • 9. HOWTO (cont.)4. Details. ● Cross tool-chain (gcc,binutils)    --target=mipsel-suse-linux    --host=i386-cross-linux    --with-sysroot=/media/sda10
  • 10. HOWTO (cont.)4. Details. ● Cross-Compile    --build=i386-cross-linux    --host=mipsel-suse-linux    --target=mipsel-suse-linux
  • 11. Mistakes1. Build Cross-Compile Env. for Loongson2f2. Build RPM Packages in Debian 3. Cross-Compile Base System Using Non-SuSE SRC
  • 12. Problems solved ● Howto build cross-compile env.    CLFS2.0 《手把手》 ● Howto setup qemu-mips emulation env.    Debian Demo ● Howto build RPM packages    Maximum RPM  spec file rpmbuild(1) ● Several problems when building rpm on Debian    System/RPM configuration    
  • 13. Problems unsolved ● OpenSuSEs kernel patch ● Complex dependencies ● Some errors when building RPMs  ● Cross-compile Perl etc.  ● Segmentation fault(halt) ● Boot process (readonly fs)    
  • 14. Where I am ● Before May : Make Mistakes ● 9th May : Cross-Compile Environment ● 17th May : Basic Bootable System ● Now : Hello World
  • 15. The Future ● Before 15th Jun. :     RPM-Build Environment (at least) ● Before 15th Jul. :    Build all needed RPMs ● Before 1st Aug. :    Install RPMs & Mid-term evaluation ● Before 10th Aug. :    Running Gdium ● Before 20th Aug. :    Documents
  • 16. Q&AThe EndThanks

×