190 likes | 352 Views
Presented by They Yu Shu 12 August 2005. An Implementation of iSCSI initiator on a Zaurus PDA. Storage Problem. Limitation of storage spaces on handheld devices Solutions: -Hardware(CF card, SD card, Memory stick, mini harddisk...) -Network storage(NAS, iSCSI...). What is iSCSI.
E N D
Presented by They Yu Shu 12 August 2005 An Implementation of iSCSI initiator on a Zaurus PDA
Storage Problem • Limitation of storage spaces on handheld devices • Solutions: • -Hardware(CF card, SD card, Memory stick, mini harddisk...) • -Network storage(NAS, iSCSI...)
What is iSCSI • An IP-Storage protocol • Allow SCSI command to be send over network • Performing I/O task on Target Device
Advantages of using iSCSI on a hendheld device • Higher Performance (block I/O to file I/O) • Low cost • Less technology requirement
Setting up an iSCSI target • Download, compile and install UNH iSCSI 1.5.03 on a linux based computer with SCSI hard disk • Configuring the iSCSI target using iscsi_manage tool in bash script. • target portal group tag • header digest • data digest • max connection • others • Run the script
Setting up an iSCSI initiator on Zaurus PDA • Install the tools required for cross-compiling • The gcc cross-compiler • The glibc libraries • The header files(include files) • Common tools
Preparing kernel source tree • Linux kernel 2.4.18 • + patch-2.4.18-rmk7 (ARM patch) • + diff-2.4.18-rmk7-pxa3 (ARM patch) • + linux-2.4.18-rmk7-pxa3-embedix-sl6000-20040311-rom1_11 (Zaurus SL6000 patch) • =Linux kernel 2.4.18-rmk7-pxa3-embedix
Configuring the Makefile of UNH iSCSI 1.5.03 for cross-compiling • default compiler = gcc cross-compiler • default kernel = Linux kernel 2.4.18-rmk7-pxa3-embedix • Set the appropriate version for the kernel in /opt/Embedix/tools/arm/linux/include/linux/version.h • Compile the UNH iscsi source code and correct the errors and warnings.
Prepare the initiator module and tools. • unh_iscsi_initiator.o (initiator module) • iscsi_config (iSCSI configuration tool) • iscsi_manage (iSCSI management tool) • Prepare the bash script and copy them to the PDA.
Using iSCSI on Zaurus PDA • Make sure the iSCSI target is available • Run the bash script on Zaurus PDA. • Mount the SCSI device with the PDA.
Using iSCSI with camera application • CE AG-06 • Camera CF card for Zaurus • Supported storage device • internal Storage • CF card • SD card • Default image storing path in SD card • /mnt/card/Documents/Image_files (primary) • /mnt/card/ (secondary)
Mount /mnt/card/Documents/Image_files with the connected SCSI device.
Using iSCSI on cam coder application • Default • Operating system= OpenPDA Lineo OS • Desktop environment = qt desktop • Camera application = qpe camera • To use the cam coder application we have to change them to • Operating system= OpenZaurus 3.5.3 • Desktop environment = Opie Desktop • Camera application = ope camera