[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
8devices Community
https://www.8devices.com/community/

Requirement for my project
https://www.8devices.com/community/viewtopic.php?f=13&t=849
Page 1 of 2

Author:  hanhoe [ 14 Dec 2014, 13:03 ]
Post subject:  Requirement for my project

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

Author:  Giedrius [ 15 Dec 2014, 08:37 ]
Post subject:  Re: Requirement for my project

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.

Author:  hanhoe [ 15 Dec 2014, 08:55 ]
Post subject:  Re: Requirement for my project

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!

Author:  hanhoe [ 15 Dec 2014, 10:27 ]
Post subject:  Re: Requirement for my project

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!

Author:  Giedrius [ 15 Dec 2014, 11:26 ]
Post subject:  Re: Requirement for my project

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).

Author:  hanhoe [ 16 Dec 2014, 06:06 ]
Post subject:  Re: Requirement for my project

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!

Author:  Giedrius [ 16 Dec 2014, 07:47 ]
Post subject:  Re: Requirement for my project

sysupgrade command does not alter bootloader, so as long as you use it to upgrade firmware, everything should be fine.

Author:  hanhoe [ 16 Dec 2014, 08:00 ]
Post subject:  Re: Requirement for my project

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

Author:  FPeter [ 16 Dec 2014, 08:15 ]
Post subject:  Re: Requirement for my project


Author:  Giedrius [ 16 Dec 2014, 08:16 ]
Post subject:  Re: Requirement for my project

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.

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/