cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
7,413 Views
Registered: ‎02-11-2015

benefits with µweb in PetaLinux

Hi, I have installed PetaLinux on a Zynq SoC and am currently just checking out the functionality of the tehnology. I came across the built in web server µWeb, which can be used for different purposes. I want to share a file from my eMMC flash memory to a tablet. Is it a good idea to make a symbolic link from the flash memory into the /home/httpd folder and then use that to share the content from the flash memory? 

Will the web server use much resources from the processing system? 

Would also appreciate if I could be given some scenarios where a web server would be useful on a Zynq board.

0 Kudos
1 Reply
Highlighted
7,398 Views
Registered: ‎03-27-2014

Re: benefits with µweb in PetaLinux


Would also appreciate if I could be given some scenarios where a web server would be useful on a Zynq board.


you can use a server to access your applications through web browsers: that would be one way to remote access the system. Basically you need a server as long as you need to answer data requests from clients over a network (example: sharing files, databases).


I want to share a file from my eMMC flash memory to a tablet. Is it a good idea to make a symbolic link from the flash memory into the /home/httpd folder and then use that to share the content from the flash memory? 

Well, I am not an expert but when it comes to network, one should always care about security: so keep that in mind especially if you control hardware in the end. As long as you put a file into the server exported folders, it is shared and accessible by clients.

 

You could use SMB or NFS to share specific folders (probably more secured) but the time spent managing it might be important.


Will the web server use much resources from the processing system? 


Hosting, especialy http, I highly doubt so. But if you need to handle a lot of (regular) requests and do complex stuff, definitely.

Altough, in my opinion accessing network(s) and multitasking are the only interests for running an OS. As long as you run an OS, power consumption will hardly be less than a Watt and the time spent doing something is no longer deterministic. I once measured +1.2W on a beaglebone just by pluging in an RJ45 cable - sometimes an MCU is more than enough :p

 

G.W.,
NIST - Time Frequency metrology
0 Kudos