On 2/1/07, Robert Bloom <[EMAIL PROTECTED]> wrote:

Hi,

I've been tasked with getting owfs to work on our embedded Linux platform
which runs an older 2.6.10 kernel. I just finished back porting the latest
w1 ds2482 and fuse kernel modules. My initial goal is to talk to a w1
ds2450
over i2c and eventually hang other w1 slaves off the ds2482 master.


Not that old. (2.4 also should work) -- but each version/platform may have
issues.


Now, I'm trying to build an owfs that is very lightweight for the embedded
environment. I've turned off most everything except i2c and owfs. (see
info
below)


Should be fine.

With my very reduced config, multithreading is also turned off. I get a
compile error in ow_presence.c:
  ow_presence.c:172: error: structure has no member named 'devices'
  ow_presence.c:177: error: structure has no member named 'device'


Fixed in the CVS -- thank you.

Checking the discussion, it looks like non-multithreading is not the typical
environment. It builds fine with MT enabled.


True, it is less commonly tested. Multithreading is useful with multiple
clients, or when autodiscovery is used. Also owftpd needs multithreading.

My first question is: is my lightweight config valid? For now, I just need a
way to get to the 2450 via i2c. Another question is can I build owfs to
run
without shared libraries?


You'll need libfuse. There is no reason why it can't be statically linked.

Any other suggestions on building a lightweight owfs is greatly appreciated.


Once it works, you can configure without debugging code.
Also strip the binaries.

regards,
Bob Bloom


owfs version: owfs-2.6p1


Compile-time options:
                  Caching is enabled
                      USB is DISABLED
                      I2C is enabled
                   HA7Net is DISABLED
           Multithreading is DISABLED
    Parallel port DS1410E is DISABLED
        TAI8570 barometer is DISABLED
             Thermocouple is DISABLED
         Zeroconf/Bonjour is DISABLED
             Debug-output is enabled
                Profiling is DISABLED

Module configuration:
        owfs is enabled
     owhttpd is DISABLED
      owftpd is DISABLED
    owserver is DISABLED
      owcapi is DISABLED
        swig is DISABLED
      owperl is DISABLED
       owphp is DISABLED
    owpython is DISABLED
       owtcl is DISABLED


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to