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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

20090523 porting open_suse_to_mips_cp1

330
views

Published on


0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
330
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
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 MIPS Chapter One:   Preparation  and  Mistakes      guaneryu@gmail.com  2009-5-23
  • 2. Agenda 1. Why GSoC 2. Apply for GSoC Project 3. The Goal of the Porting Project 4. HOWTO 5. Mistakes 6. Problems with/without Solutions 7. 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 : Coly's Message  ● Feb. : First Gathering This Year  ● Mar.-Apr. : Write Proposal  ● 21th Apr. : Be Selected
  • 5. Goal of Project Porting OpenSuSE to MIPS Platform   ● Gdium  ● Loongson2f   ● mipsel  ● Prototype  ● rpmbuild
  • 6. HOWTO 1. 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 I've 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. Mistakes 1. Build Cross-Compile Env. for Loongson2f 2. 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  ● OpenSuSE's 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&A The End Thanks