ลง ScratchBox สำหรับพัฒนา Nokia N770
ครั้งก่อน ได้ลง OS 2008HE ไป แต่ไม่ปลื้ม เพราะว่า พอใช้ wireless แล้วเปิดเว็บ เกิดอาหารแฮงค์ รีบูตตัวเองบ่อยครั้ง
เลยโหลด OS2007HE มาลงเหมือนเดิม สุดท้ายก็เหลือปัญหาภาษาไทย ที่ต้องจัดการ เอาไว้เขียนตอนหน้าละกัน
เริ่มต้น ต้องลง scrachbox ซึ่งเป็น development toolkit ตัวหนึ่ง สำหรับ cross compile โปรแกรมต่าง ๆ ลงบน embeded device โดยที่ตัว Maemo และ Nokia ได้สนับสนุนการทำงานโดยมี sdk เสริมเข้ามา
เท่าที่เพิ่งลองเล่น ข้อดีอีกอย่าง คือสามารถ emulate ได้เลยทันทีก่อนไปลงเครื่อง สะดวกสบายพอสมควร
สำหรับ OS2007HE ที่ลงนั้น ใช้ Maemo 3.1 หรือ bora เครื่องที่ผมใช้เป็น Ubuntu8.10 ครับ
ไปที่ http://repository.maemo.org/stable/3.1/ เพื่อโหลดสคริปในการติดตั้งมา โดยสคริป จะดาวน์โหลดตัว gz มา แต่จริง ๆ สามารถใช้เป็น .deb ได้ แต่ที่ผมลงแล้วรู้สึกเพี้ยน ๆ เลยลงแบบ gz ดีกว่า
-
sake@sake-laptop:~/project/Embeded/N770/maemosdk$ wget http://repository.maemo.org/stable/3.1/maemo-scratchbox-install_3.1.sh
-
sake@sake-laptop:~/project/Embeded/N770/maemosdk$ sudo ./maemo-scratchbox-install_3.1.sh -u sake -s /scratchbox
-
This script will install Scratchbox 1.0.7 'apophis' release to your computer.
-
-
Install options
-
---------------
-
-
Install from packages=tgz
-
Scratchbox install path=/scratchbox
-
Scratchbox group=sbox
-
armel compiler=cs2005q3.2-glibc-arm
-
i386 compiler=cs2005q3.2-glibc-i386
-
armel devkits=perl:debian-sarge:maemo3-debian:maemo3-tools:cputransp
-
i386 devkits=perl:debian-sarge:maemo3-debian:maemo3-tools:doctools
-
armel CPU transparency=qemu-arm-0.8.2-sb2
-
-
Checking for prerequisites
-
--------------------------
-
-
Running as user root...
-
Running as user root inside fakeroot...
-
Running outside of scratchbox...
-
Running on Linux kernel...
-
Running on i386 architecture...
-
Host kernel binfmt_misc support...
-
Host kernel VDSO support...
-
Host kernel SELinux extensions...
-
Host kernel local IPv4 port range...
-
Which wget tool in path...
-
Scratchbox install path is sane...
-
Scratchbox installation not existing...
-
Scratchbox user names... sake
-
Everything seems ok.






