[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4694: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4695: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4696: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
8devices Community - View topic - Requirement for my project
www.8devices.com
View unanswered posts | View active topics It is currently 25 Apr 2024, 16:52



Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
 Requirement for my project 
Author Message

Joined: 14 Dec 2014, 12:58
Posts: 12
Hello!

Can someobe please answer, if I can do all my wishes with Carambola 2?:

a) Linuxbased and can run my own Java/C++ application?
b) I can disable openWRT? I need no Webserver or other Routing features!
c) IPv6 is possible?
d) The 2 Ethernet ports can I set as 2-Port switch?
e) I can use 12 outputs and 8 inputs?
f) How long does it take until Linux is complete booted?

Thanks!!

hanhoe


14 Dec 2014, 13:03
Profile

Joined: 11 Jun 2014, 14:45
Posts: 135
Hi hanhoe,

I'll get straight to the point:

a) Yes, although Java is not recommended, but if you build/install JVM it works.
b) OpenWRT is a linux distribution name, so you can't disable it as per say. You can however disable the services and set it up in a way that you like.
b (routing), c, d) Yes, but you should be familiar with linux network configuration.
e) Do you mean GPIO? Carambola2 has 23 GPIOs, but on the development board only about 12 of them are usable. However you can use GPIO extender chip.
f) About 30 seconds to serial console.


15 Dec 2014, 08:37
Profile

Joined: 14 Dec 2014, 12:58
Posts: 12
Hi Giedrius!

Many thanks for your answer!
a) Ok, maybe I wrote a C++ application or maybe also Pyton
b) Ah, ok ... well, then I just have to disable Webserver and other function. I already read about image generation
c) + d) I hope I found this in other forums. Configure a Linux should be possible by me (and internet)
e) Yes, i see. So I try to use I2C communication. Then I can expand the Inputs and Outputs
f) hmmm ... thats long ... this mean my application is in around 40sec ready? Does it helps to disable functions that I don´t need?

Wish you a good start in the week!


15 Dec 2014, 08:55
Profile

Joined: 14 Dec 2014, 12:58
Posts: 12
Hi Giedrius!

There is one more question!

I guess when I set the 2 ethernet Ports in Linux as switch, the latency is much higher as a "real" switch, right?

I would connect 30 Carambola 2 as Daisy Chain ... so I think now, the last module has a high latency.
But maybe you can tell me how much it is?

Thank you!


15 Dec 2014, 10:27
Profile

Joined: 11 Jun 2014, 14:45
Posts: 135
I have no experience with such exotic setup, so can't give any real numbers. However, theoretically the packet roundtrip in linux kernel + drivers is around 1-2ms (assuming no heavy traffic), which gives 30-60ms for the end node. If you want less and are brave enough, you can dive into linux driver waters and configure the hardware switch in a way that you want - this should give you less than a millisecond roundtrip per node, so less than 30ms end node delay (once again at no heavy traffic).


15 Dec 2014, 11:26
Profile

Joined: 14 Dec 2014, 12:58
Posts: 12
Hello Giedrius!

Thank you!
I will search in den Internet for such information and try to build a absolute minimum Image of openWRT.

Maybe you know which module in the image pack I doesn´t should delete? I doesn´t want to "kill" the bootloader and then I can´t flash again.

Thanks!


16 Dec 2014, 06:06
Profile

Joined: 11 Jun 2014, 14:45
Posts: 135
sysupgrade command does not alter bootloader, so as long as you use it to upgrade firmware, everything should be fine.


16 Dec 2014, 07:47
Profile

Joined: 14 Dec 2014, 12:58
Posts: 12
Oh, perfect.

Just to be sure: i use this methode to build image:
http://www.8devices.com/wiki/carambola:2:gettingstarted

So it is not dangerous? :-)

hanhoe


16 Dec 2014, 08:00
Profile

Joined: 21 Aug 2013, 21:21
Posts: 101


16 Dec 2014, 08:15
Profile

Joined: 11 Jun 2014, 14:45
Posts: 135
Everything on that page is safe and by that I mean "device can be recovered by software". Even if you install a corrupt linux image, you can still recover it from a bootloader.


16 Dec 2014, 08:16
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users


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
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.