All times are UTC-06:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Efika MX Serial Input
PostPosted: Wed Mar 10, 2010 2:29 pm 
Offline

Joined: Wed Mar 10, 2010 1:39 pm
Posts: 2
Hello, I was wondering if there is a way to get a serial connection for the Efika MX board. I am trying to figure out a way to access the CAN bus in a vehicle, and this seems like the best solution if there's a way...


Top
   
 Post subject:
PostPosted: Wed Mar 10, 2010 3:10 pm 
Offline
Genesi

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1422
Hi toefraz, we ship all units with a small serial connector board.

R&B :)

_________________
http://bbrv.blogspot.com


Top
   
 Post subject:
PostPosted: Wed Mar 10, 2010 6:21 pm 
Offline

Joined: Fri Nov 17, 2006 8:02 pm
Posts: 22
Location: Paris France
Hi toefraz,

I don't know if it can help but I'm using these RS232/CAN dongles on my laptop via a usb2serial adapter (FTDI ic I believe) driven by a custom software. Knowing that the EfikaMX has 2 usb ports and that linux supports most of the usb2serial devices you should be fine. However I never used them on a vehicle bus directly. It has always been a PC to equipment type of communication.

Unfortunately these CAN dongles aren't cheap. You can probably build your own UART to CAN gateway with one of these dirt cheap MCU (PIC / AVR...) but the final choice here is time vs. money ;-).

Stellae


Top
   
 Post subject:
PostPosted: Wed Mar 10, 2010 6:42 pm 
Offline

Joined: Wed Mar 10, 2010 1:39 pm
Posts: 2
stellae,

We have all the hardware we need to get CAN working, we just needed a way to connect it to the computer :)

Also, I was wondering if there are any ways to decrease boot time. It's taking about 30-35 seconds to boot, and we would like it closer to 10-15 if possible... Is there any NAND or NOR memory on the board we could load the kernel image on to?


Top
   
 Post subject:
PostPosted: Wed Mar 10, 2010 7:21 pm 
Offline

Joined: Fri Nov 17, 2006 8:02 pm
Posts: 22
Location: Paris France
Quote:
We have all the hardware we need to get CAN working, we just needed a way to connect it to the computer :)
Ok awesome :D
Quote:
Also, I was wondering if there are any ways to decrease boot time. It's taking about 30-35 seconds to boot, and we would like it closer to 10-15 if possible... Is there any NAND or NOR memory on the board we could load the kernel image on to?
I haven't worked much with my EfikaMX so far unfortunately :-/ but I would say it all depends on what you need in your linux distribution. The minimum being a bare kernel + busybox (I know this is extreme). Have you tried to tinker with the init. scripts and stripped them down to avoid launching unnecessary daemons ? Other users may have better ideas. I've managed to get much better boot times with the Efika 5k2 by just removing most of the default init. scripts under Debian at the time (and by the way the kernel + busybox was < 5+sec. but limited to network servers type of applications).

sorry for not being more helpful here :-/

Stellae


Top
   
 Post subject:
PostPosted: Mon Mar 15, 2010 9:07 pm 
Offline
Genesi

Joined: Tue Feb 07, 2006 4:49 pm
Posts: 145
Location: San Antonio, TX
If you have access to the uboot environment, the current time out setting for booting is around 10 or 15 seconds - you can set that lower (but keep in mind that if you need to flash a new image you have to reset the environment.) I've got mine set to 3 seconds here, and the Efika MX is available to ssh in to in ~7 seconds (Gentoo)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group