Wednesday, December 26, 2012

export the path of the proxy

$ export HTTP_PROXY=http://<proxy_user_id>:<proxy_password>@<proxy_server>:<proxy_port>
$ export HTTPS_PROXY=http://<proxy_user_id>:<proxy_password>@<proxy_server>:<proxy_port>

Wednesday, December 5, 2012

Printing using the CUPS

CUPS(common unix printing system)
For setting the printer using the command prompt:

1. copy the ppd file of the printer driver to the target. (like Hewlett-Packard-hp-LaserJet-4250.ppd)                     
2. Run (lpadmin -p laserjet -v socket://ip_address_of_printer -P printer_ppd_filename_with_path)
         (example : lpadmin -p laserjet -v socket://10.1.8.20 -P Hewlett-Packard-hp-LaserJet-4250.ppd)
3. Run (cupsaccept laserjet)
4. Run (cupsenable laserjet)
5. Run (lpoptions -d laserjet)
6. Run lpq command (for checking the status of printer)
7. Run lpstat -d (for checking the default printer )




[SOMETHING]-FILEFORMAT
        |
        |   [something]tops
        V
   APPLICATION/POSTSCRIPT
        |
        |   pstops
        V
   APPLICATION/VND.CUPS-POSTSCRIPT-----------+
                                             |
                    +------------------------v------------------------------+
                    |                                                       |
                    |       Ghostscript at work....                         |
                    |          (= a "postscript interpreter")               |
                    |                                                       |
                    | * * * * * * * * * * * * * * * * * * * * * * * * * * * |
                    |                        *                              |
                    |  run with commandline  *                              |
                    |  parameter             *                              |
                    |       "-sDEVICE=cups"  *                              |
                    |                        *                              |
                    |  called by pstoraster  *   run with commandline       |
                    | (CUPS standard filter) *   parameter                  |
                    |                        *        "-sDEVICE=[s.th.]"    |
                    +------------------v-----+                              |
                                       |     |                              |
   APPLICATION/VND.CUPS-RASTER <-------+     |                              |
        |                                    |   called by foomatic-rip     |
        |  rasterto[something]               | (openprinting.org extension)|
        |   (= "raster driver")              |                              |
        |                                    +----------------v-------------+
        |                                                     |
   SOMETHING-DEVICE-SPECIFIC <--------------------------------+
        |
        V
       backend

refer:
http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/cupsdocumentation

Tuesday, December 4, 2012

How to setup the build root for building any module for the target


These are the following steps:

A:  run the (make menuconfig) and set the following things

1.TARGET Architeccture-->ARM(little endian)
2.TARGET Architecute Variant----->cortex -A9
3.Target ABI--> EABI

4. TOOLCHAIN::::
--------------------------
4.1: Toolchain Type: External toolchain
4.2: Toolchain ---->Sourcery CodeBench ARM2010q1
4.3: Toolchain origin----> Pre-installed toolchain
4.4: toolchain path::---> /opt/arm2010q1

------------------------------------------
get the rootfs from the path:(/buildroot/output/images-->rootfs.tar)

If we wana see the libarary and all these things then we can see it (/buildroot/output/target/usr/lib)


commands:

1. make
2. make clean

Qualcomm Short Term

  113 is the SL. 1st Target by mid July.

Total Pageviews