Tag Archive: ipaq


You will need a serial sync cable or serial sync cradle.

The dual USB/Serial cradle that comes with the H3800 and H3900 will also work. You will need to use a terminal program such as minicom, kermit, or Hyperterminal. If you use minicom or kermit, you will need to use an external ymodem program such as sb, which is available in the Linux lrzsz package.

1. Hold down the joypad and push the reset button on the iPAQ. You will need to remove it from the cradle to access the reset button.

* For non-H5xxx: When the bootloader splash screen appears, release the joypad.

* For H5xxx: When the iPAQ buzzes, release the joypad. The screen will not change from whatever was previously displayed (blank, PocketPC, etc). If the iPAQ does not stop vibrating, remove the AC adapter and the battery, then reinsert the battery and the AC adapter and perform try this step again.

2. Press the calendar button on the iPAQ. This is the leftmost action button, labelled “Serial Bootldr Console” on the screen.

3. Make sure the terminal emulator is up and running, and is properly interacting with the bootloader. Proper interaction consists of being able to issue commands, and get responses (e.g. the help command should return the bootloader usage). Your terminal emulator must be set to 115200 8N1 serial configuration, no flow control, no hardware handshaking. Failing to use these settings will lead to trouble, so double and triple check all settings. If you cannot interact with the bootloader, make sure your terminal settings are correct, the iPAQ is properly connected to the host computer, and the iPAQ is actually on. If everything seems fine, try restarting the host terminal emulator and resetting the iPAQ again. Hyperterminal is particularly ill-behaved. Sometimes it uses 100% of the CPU without allowing any interaction with the iPAQ. In that case, you will need to use the task manager to terminate Hyperterminal before you can restart it.

4. At the “boot>” prompt, issue the following command: load root

5. Proceed to send or “upload” the jffs2 file (from the tarball that you downloaded earlier) with ymodem, using the terminal emulator. If you have not used ymodem before or you have any trouble with this command, please see handhelds-faq/getting-started.html#USING-XYZMODEM. Note that the bootldr now expects ymodem by default, not xmodem as in earlier versions. If you are unable to use ymodem for some reason, you can revert to xmodem operation with the command set ymodem 0 You should see something like: boot> load root loading flash region root ready for YMODEM download.. Erasing sector 00140000

Erasing sector 00180000

Erasing sector 001C0000

Erasing sector 00200000 . . .

addr: 00360000 data: 781590DB

addr: 00370000 data: 642637AE

addr: 00380000 data: E0021985

addr: 00390000 data: 15DA97EC

Erasing sector 00FC0000 writing flash..

addr: 00100000 data: E0021985

addr: 00110000 data: E3BAD617

addr: 00120000 data: 0FA1F57B

addr: 00130000 data: 9343AEEB . . .

addr: 00600000 data: E0021985

addr: 00610000 data: FFFFFFFF

addr: 00620000 data: FFFFFFFF

addr: 00630000 data: FFFFFFFF

verifying … formatting … done. boot>

6. At the “boot>” prompt, issue the following command: boot Linux should now start booting.

Bu iş de bu kadar, Kusura bakmayın Türkçeleştirecek vaktim yoktu.

Installing bootloader using ActiveSync

Please install required files from : http://familiar.handhelds.org/releases/v0.8.4/install/download.html

Please note that this manual does not cover the HP iPAQ H2200, Hx4700, and H6300 series of devices yet. Please do not even try to apply the existing instructions from the installation guide on any of the HP iPAQ H2200, Hx4700, and H6300 series of devices. The installation will fail and in a worst case you may end up with a bricked device. We hope to be able to rectify the documentation situation shortly and appologize for the delay. * Transfer BootBlaster and bootldr to your iPAQ using ActiveSync.

1. If ActiveSync isn’t already installed on your Windows PC, install it by inserting the iPAQ Pocket PC Companion CD-ROM into the PC’s drive and following the ensuing instructions.

2. Copy the BootBlaster and bootldr files that came with your Familiar Linux distribution to your Windows PC if they’re not already there. o If you’re installing on an H3900 iPAQ, the files are named BootBlaster3900-2.6.exe and bootldr-pxa-2.20.4.bin. o Otherwise, they’re named BootBlaster_1.19.exe and bootldr-sa-2.20.4.bin.

3. Plug the iPAQ cradle into an AC power outlet.

4. Connect the USB connector from the cradle to the Windows PC.

5. Slide the iPAQ into its cradle. If a “Set Up a Partnership” screen appears on the PC, choose “No” and then click Next.

6. Copy BootBlaster_1.19.exe or BootBlaster3900-2.6.exe to the default folder on the iPAQ by clicking Explore in ActiveSync and dragging their icons there. Ignore any “may need to convert” messages.

7. Do the same thing for bootldr-sa-2.20.4.bin or bootldr-pxa-2.20.4.bin.

* Start BootBlaster.

1. Select “Start -> Programs” on the iPAQ touchscreen.

2. Tap on File Explorer.

3. Tap on BootBlaster.

* Save your PocketPC image for later restoration, if desired.

1. Execute “Flash -> Save Bootldr .gz Format” in BootBlaster to save the bootloader in file “\My Documents\saved_bootldr.gz” on the iPAQ. Note that the Linux Bootloader will also boot PocketPC, so restoration of this file is not generally required. Right at the moment, there is a bug in the Linux Bootloader which causes PocketPC to reinitialize itself every few boots. You may indeed wish to keep and restore this bootloader if you restore PocketPC.

2. Execute “Flash -> Save Wince .gz Format” in BootBlaster to save the PocketPC image in file “\My Documents\wince_image.gz” on the iPAQ. This takes two to three minutes. If no backup of Pocket PC is desired, you can skip this step entirely. Note that this procedure saves your bootloader and Pocket PC executable image: it does not preserve any data you may have entered in your iPAQ under Pocket PC. So also synchronize your iPAQ to your host to preserve this data.

Note that Familiar does not *yet* have any way to resynchronize this data to Linux (we hope/expect to have Linux<->Host synchronization in a near future release). * Copy saved_bootldr.gz and wince_image.gz to your Windows PC.

1. Select “View -> Refresh” in the ActiveSync Explore window on the PC. Icons for the saved_bootldr.gz and wince_image.gz files should appear.

2. Drag the saved_bootldr.gz and wince_image.gz icons from the ActiveSync Explore window to a local folder on your PC. As with any backup files, please store saved_bootldr.gz and wince_image.gz in a safe place. We highly recommend verifying the built-in gzip checksum in both files before presuming your backup is safe (see the gzip man page for details).

* Install the bootloader. Before continuing, be sure that the iPAQ is plugged into external power, and that the battery is charged, to protect against the small chance of power failure during the very limited period the iPAQ is reprogramming the bootloader flash. Do NOT touch the power button or reset button on your iPAQ until you have performed the “Verify” step below. From the “Flash” menu on BootBlaster, select “Program”. A file dialog will open allowing you to select the bootloader to use. Select bootldr.bin.gz, which may have a version number embedded in it. We use a gzip file because it has an internal checksum. Wait patiently. It takes about 15 seconds to program the bootloader.

Do not interrupt this process, or the iPAQ may be left in an unusable state. From the “Flash” menu on BootBlaster, select “Verify”.

1. If it does not say that you have a valid bootloader, do NOT reset your iPAQ, do NOT turn off your iPAQ.

2. Instead, try programming the flash again.

3. If that doesn’t work, program your flash with your saved bootloader.

4. If that doesn’t work, send e-mail to bootldr@handhelds.org and/or get on the IRC and ask for help.

Leave the iPAQ plugged in and do NOT reset it or turn it off. If everything has gone well, you have successfully installed the CRL bootldr program, which can run either Linux or PocketPC. As yet, your PocketPC image is intact and should restart normally; the next step actually installs Linux (overwriting Pocket PC).

HP / Compaq ipaq pda ya yüklenebilen familiar-linux için cross tools yükleyerek yazdığımız c kodlarını pda için derleyip çalıştırabiliriz!

Öncelikle aşağıdaki dosyalar indirilmelidir, eğer bu dosyalar yoksa bir üst versiyonları da indirilebilir.
Dikkat! Bu klavuz 5 Şubat 2010′da yazılmıştır, verilen dosya adları değişiklik gosterebilir uygun dosyaları www.scratchbox.org/download/files/ dan edinin.

http://www.scratchbox.org/download/files/sbox-releases/stable/tarball/scratchbox-core-1.0.6-i386.tar.gz

http://www.scratchbox.org/download/files/sbox-releases/stable/tarball/scratchbox-libs-1.0.6-i386.tar.gz

http://www.scratchbox.org/download/files/sbox-releases/stable/tarball/scratchbox-toolchain-arm-gcc3.4-uclibc0.9.28-1.0.4-i386.tar.gz

sonra bu paketlerin hepsi scratchbox dosyası içine açılır,

/scratchbox/run_me_first.sh
komutu çalıştırılır. Bir kaç soru ile karşılaşılacak bunlara varsayınlar degerleri girip devam ediniz.

sonrasında ise:
/scratchbox/sbin/sbox_adduser kullanici_adi
komutu uygulanarak sbox’a kullanıcı kaydedilir. DİKKAT!!! kullanici adi olarak root kullanmayınız!!!!

Artık işlem tamamdır.

Çelıştığından emin olmak için deneme yapalım:

#include <stdio.h>
int main(void) {
printf(“hyetik.wordpress.com ile ipaq’a merhaba\n”);
return 0;
}

bu küçük kodu hello.c olarak kaydediyoruz.

gcc -Wall -o hello hello.c
./hello
kodu ile bilgisayarımız için derliyoruz ve deniyoruz, çıktısı;

hyetik.wordpress.com ile ipaq’a merhaba

file hello   komutunun çıktısı;
hello: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.2.0, dynamically linked (uses shared libs), not stripped

/home/hasan/ipaq/scratchbox/compilers/arm-gcc3.4-uclibc0.9.28/bin/arm-linux-gcc -Wall -o arm-hello hello.c
komutu ile hello.c kodunu arm-hello adında bir dosya adı verip derliyoruz.

file arm-hello   komutunun çıktısı;
arm-hello: ELF 32-bit LSB executable, ARM, version 1 (ARM), for
GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped

arm-hello arm için derlendiği için kendi pc mizde çalışmaz. arm-hello dosyasını hemen ipaq’a atıp deneyip sonucu kendimizde görebiliriz.

WordPress.com'dan blog alın. | Tema Motion, volcanic tarafından yapılmıştır.
Takip Et

Get every new post delivered to your Inbox.