Page 3 of 7 FirstFirst 1234567 LastLast
Results 21 to 30 of 62

Thread: How to get this to work on an ARM processor?

  1. #21
    Constant Bitrate
    Join Date
    Aug 2007
    Location
    Northern VA
    Posts
    135
    To be clear, leave tail running and then plug in the obd device. It needs to be plugged in to power up, and the car ignition on to get real data. But at the very least it needs to be plugged in to power up and have linux see it.

    Also, what do you get for

    Code:
    ls -l /lib/modules/*/kernel/drivers/usb/serial/ftdi_sio.ko

  2. #22
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,364
    Blog Entries
    2
    Quote Originally Posted by cgalpin View Post
    To be clear, leave tail running and then plug in the obd device. It needs to be plugged in to power up, and the car ignition on to get real data. But at the very least it needs to be plugged in to power up and have linux see it.

    Also, what do you get for

    Code:
    ls -l /lib/modules/*/kernel/drivers/usb/serial/ftdi_sio.ko
    Okay, "No such file or directory." Looks like ftdi is not installed. I'll see what I can do about getting that.
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  3. #23
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,364
    Blog Entries
    2
    Quote Originally Posted by chunkyks View Post
    See what lsmod shows on its own, without piping it into grep.

    When running tail -f /var/log/messages, did you not get anything when you plugged and unplugged the device? What about if you run "dmesg" after?

    Gary (-;
    Code:
    bugbyte@iPlug:/dev$ dmesg
    Linux version 2.6.22.18 (dhaval@devbox) (gcc version 4.2.1) #1 Thu Mar 19 14:46:22 IST 2009
    CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053177
    Machine: Feroceon-KW
    Using UBoot passing parameters structure
    Memory policy: ECC disabled, Data cache writeback
    On node 0 totalpages: 131072
      DMA zone: 1024 pages used for memmap
      DMA zone: 0 pages reserved
      DMA zone: 130048 pages, LIFO batch:31
      Normal zone: 0 pages used for memmap
    CPU0: D VIVT write-back cache
    CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
    CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
    Built 1 zonelists.  Total pages: 130048
    Kernel command line: console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none
    PID hash table entries: 2048 (order: 11, 8192 bytes)
    Console: colour dummy device 80x30
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    Memory: 256MB 256MB 0MB 0MB = 512MB total
    Memory: 515456KB available (3864K code, 257K data, 104K init)
    Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    NET: Registered protocol family 16
    
    CPU Interface
    -------------
    SDRAM_CS0 ....base 00000000, size 256MB 
    SDRAM_CS1 ....base 10000000, size 256MB 
    SDRAM_CS2 ....disable
    SDRAM_CS3 ....disable
    PEX0_MEM ....base e8000000, size 128MB 
    PEX0_IO ....base f2000000, size   1MB 
    INTER_REGS ....base f1000000, size   1MB 
    NFLASH_CS ....base fa000000, size   2MB 
    SPI_CS ....base f4000000, size  16MB 
    BOOT_ROM_CS ....no such
    DEV_BOOTCS ....no such
    CRYPT_ENG ....base f0000000, size   2MB 
    
      Marvell Development Board (LSP Version KW_LSP_4.2.7_patch2)-- SHEEVA PLUG  Soc: 88F6281 A0 LE
    
     Detected Tclk 200000000 and SysClk 400000000 
    MV Buttons Device Load
    Marvell USB EHCI Host controller #0: c08b8600
    PEX0 interface detected no Link.
    PCI: bus0: Fast back to back transfers enabled
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    NET: Registered protocol family 2
    Time: kw_clocksource clocksource has been installed.
    IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
    TCP established hash table entries: 65536 (order: 7, 524288 bytes)
    TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
    TCP: Hash tables configured (established 65536 bind 65536)
    TCP reno registered
    RTC registered
    Use the XOR engines (acceleration) for enhancing the following functions:
      o RAID 5 Xor calculation
      o kernel memcpy
      o kenrel memzero
    Number of XOR engines to use: 4
    cesadev_init(c000c894)
    mvCesaInit: sessions=640, queue=64, pSram=f0000000
    Warning: TS unit is powered off.
    MV Buttons Driver Load
    NTFS driver 2.1.28 [Flags: R/O].
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
    serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
    Loading Marvell Ethernet Driver:
      o Cached descriptors in DRAM
      o DRAM SW cache-coherency
      o Single RX Queue support - ETH_DEF_RXQ=0
      o Single TX Queue support - ETH_DEF_TXQ=0
      o TCP segmentation offload enabled
      o Receive checksum offload enabled
      o Transmit checksum offload enabled
      o Network Fast Processing (Routing) supported
      o Driver ERROR statistics enabled
      o Driver INFO statistics enabled
      o Proc tool API enabled
      o Rx descripors: q0=128
      o Tx descripors: q0=532
      o Loading network interface(s):
        o eth0, ifindex = 1, GbE port = 0
        o eth1, ifindex = 2, GbE port = 1
    
    mvFpRuleDb (dfd00000): 16384 entries, 65536 bytes
    Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
    Copyright (c) 1999-2006 Intel Corporation.
    e100: Intel(R) PRO/100 Network Driver, 3.5.17-k4-NAPI
    e100: Copyright(c) 1999-2006 Intel Corporation
    
    Warning Sata is Powered Off
    NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
    NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
    Scanning device for bad blocks
    Bad eraseblock 607 at 0x04be0000
    Bad eraseblock 608 at 0x04c00000
    Bad eraseblock 648 at 0x05100000
    Bad eraseblock 1676 at 0x0d180000
    2 cmdlinepart partitions found on MTD device nand_mtd
    Using command line partition definition
    Creating 2 MTD partitions on "nand_mtd":
    0x00100000-0x00500000 : "uImage"
    0x00500000-0x20000000 : "rootfs"
    ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
    ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
    ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
    ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
    USB Universal Host Controller Interface driver v3.0
    usbcore: registered new interface driver usblp
    drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    i2c /dev entries driver
    Linux telephony interface: v1.00
    Marvell Telephony Driver:
    mvBoardVoiceAssembleModeGet: TDM not supported(boardId=0x9)
    assembly=-1,irq=-1
    mp_check_config: Error, invalid voice assembley mode
    md: linear personality registered for level -1
    md: raid0 personality registered for level 0
    md: raid1 personality registered for level 1
    raid6: int32x1     97 MB/s
    raid6: int32x2    114 MB/s
    raid6: int32x4    122 MB/s
    raid6: int32x8    110 MB/s
    raid6: using algorithm int32x4 (122 MB/s)
    md: raid6 personality registered for level 6
    md: raid5 personality registered for level 5
    md: raid4 personality registered for level 4
    raid5: measuring checksumming speed
       arm4regs  :  1084.000 MB/sec
       8regs     :   754.800 MB/sec
       32regs    :   900.000 MB/sec
    raid5: using function: arm4regs (1084.000 MB/sec)
    device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: [email protected]
    dm_crypt using the OCF package.
    sdhci: Secure Digital Host Controller Interface driver
    sdhci: Copyright(c) Pierre Ossman
    mvsdmmc: irq =28 start f1090000
    mvsdmmc: no IRQ detect
    usbcore: registered new interface driver usbhid
    drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
    Advanced Linux Sound Architecture Driver Version 1.0.14 (Thu May 31 09:03:25 2007 UTC).
    mvCLAudioCodecRegGet: Error while reading register!
    mvCLAudioCodecInit: Error - Invalid Cirrus Logic chip/rev ID!
    Error - Cannot initialize audio decoder.at address =0xff<6>ALSA device list:
      #0: Marvell mv88fx_snd ALSA driver
    TCP cubic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    eth0: link down
    eth0: started
    IP-Config: Complete:
          device=eth0, addr=10.4.50.4, mask=255.255.255.0, gw=10.4.50.5,
         host=DB88FXX81, domain=, nis-domain=(none),
         bootserver=10.4.50.5, rootserver=10.4.50.5, rootpath=
    md: Autodetecting RAID arrays.
    md: autorun ...
    md: ... autorun DONE.
    Empty flash at 0x00495eb0 ends at 0x00496000
    eth0: link up, full duplex, speed 100 Mbps
    Empty flash at 0x1d17e7fc ends at 0x1d17e800
    VFS: Mounted root (jffs2 filesystem).
    Freeing init memory: 104K
    JFFS2 notice: (651) check_node_data: wrong data CRC in data node at 0x1d17e000: read 0xf0dc137e, calculated 0xb6a6b8f0.
    bugbyte@iPlug:/dev$
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  4. #24
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,364
    Blog Entries
    2
    Quote Originally Posted by cgalpin View Post
    To be clear, leave tail running and then plug in the obd device. It needs to be plugged in to power up, and the car ignition on to get real data. But at the very least it needs to be plugged in to power up and have linux see it.

    Also, what do you get for

    Code:
    ls -l /lib/modules/*/kernel/drivers/usb/serial/ftdi_sio.ko
    Ack! I can't get it out to the car right now. If I apply 12 volts to the proper OBDII pins on the plug, will that at least wake it up?
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  5. #25
    Constant Bitrate
    Join Date
    Aug 2007
    Location
    Northern VA
    Posts
    135
    Yes it should. This is something I am considering doing due to the PITA it is to test this obd stuff. I have not tried it, but according to

    http://en.wikipedia.org/wiki/On-Boar...nostics#OBD-II

    You need 12v on pin 16 and ground pin 4 and it should be live

    charles

  6. #26
    Constant Bitrate
    Join Date
    Aug 2007
    Location
    Northern VA
    Posts
    135
    I just tested this and it works fine (in so far as at least registering as a USB device and loading the driver).

  7. #27
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,364
    Blog Entries
    2
    Sorry for being a noob, but I found an ftdi package and am trying to build it. What is the variable issue?

    Code:
    bugbyte@iPlug:~/build$ cmake libftdi-0.16
    -- The C compiler identification is GNU
    -- The CXX compiler identification is GNU
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Build type: Debug
    -- Could NOT find LIBUSB  (missing:  LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIR)
    -- Boost not found, won't build libftdi++
    -- SWIG was not found. Please specify Swig executable location
    -- Could NOT find PythonLibs  (missing:  PYTHON_LIBRARIES PYTHON_INCLUDE_PATH)
    -- Looking for doxygen...
    -- Looking for doxygen... - NOT found
    -- Looking for dot tool...
    -- Looking for dot tool... - NOT found
    CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    LIBUSB_INCLUDE_DIR (ADVANCED)
       used as include directory in directory /home/bugbyte/build/libftdi-0.16
       used as include directory in directory /home/bugbyte/build/libftdi-0.16/src
       used as include directory in directory /home/bugbyte/build/libftdi-0.16/ftdipp
       used as include directory in directory /home/bugbyte/build/libftdi-0.16/bindings
       used as include directory in directory /home/bugbyte/build/libftdi-0.16/examples
       used as include directory in directory /home/bugbyte/build/libftdi-0.16/packages
    LIBUSB_LIBRARIES (ADVANCED)
        linked by target "ftdi" in directory /home/bugbyte/build/libftdi-0.16/src
        linked by target "bitbang" in directory /home/bugbyte/build/libftdi-0.16/examples
        linked by target "bitbang2" in directory /home/bugbyte/build/libftdi-0.16/examples
        linked by target "bitbang_cbus" in directory /home/bugbyte/build/libftdi-0.16/examples
        linked by target "bitbang_ft2232" in directory /home/bugbyte/build/libftdi-0.16/examples
        linked by target "find_all" in directory /home/bugbyte/build/libftdi-0.16/examples
        linked by target "simple" in directory /home/bugbyte/build/libftdi-0.16/examples
    
    -- Configuring incomplete, errors occurred!
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  8. #28
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    You're missing the libusb development tools.

    sudo apt-get install libusb-dev

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  9. #29
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,364
    Blog Entries
    2
    Beautiful! Thanks. It made just fine.

    I now have obdiigpslogger compiled on the ARM and also FTDI installed.

    I'll test it tomorrow.
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  10. #30
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    Woo!
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

Page 3 of 7 FirstFirst 1234567 LastLast

Similar Threads

  1. Aopen i945gtt-vfa Users: Processor Question
    By cyu06 in forum General Hardware Discussion
    Replies: 7
    Last Post: 11-01-2006, 05:22 PM
  2. Does FluxMedia own rights to our skins?
    By justintime in forum CF Skins
    Replies: 13
    Last Post: 09-03-2006, 07:22 PM
  3. Replies: 22
    Last Post: 01-05-2005, 12:47 PM
  4. Mobo and processor choices
    By quickshot56 in forum General Hardware Discussion
    Replies: 7
    Last Post: 10-20-2004, 06:16 PM
  5. Frodo: Work Harder, Work Faster..
    By hevnsnt in forum FrodoPlayer
    Replies: 13
    Last Post: 09-24-2004, 03:09 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •