Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #24925

Re: SMB/CIFS for uTasker/Coldfire?

Path csiph.com!feeder.erje.net!2.us.feeder.erje.net!news.glorb.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date Wed, 07 Sep 2016 21:10:31 -0500
From Randy Yates <yates@digitalsignallabs.com>
Newsgroups comp.arch.embedded
Subject Re: SMB/CIFS for uTasker/Coldfire?
Organization Digital Signal Labs
References <87wpip57eq.fsf@digitalsignallabs.com> <87inu865j1.fsf@digitalsignallabs.com> <nqp1f9$j4f$1@dont-email.me> <nqp5kh$2q8$1@dont-email.me>
Date Wed, 07 Sep 2016 22:10:31 -0400
Message-ID <87d1kf3zvs.fsf@digitalsignallabs.com> (permalink)
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
Cancel-Lock sha1:zT75Ipqb4v7koEyaqa63CnOqAro=
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
Lines 70
X-Trace sv3-0czi1TEQYszxaG5NMH3epcn9ZAJKJEYlbOO7xDtaPts3SomsVhJOlg7mSbU5sVfWWA4HjrQM4Yb0xSd!UXGqf9TJs+NhN8honNdXmr/63Izk31junoFUryvH2R8SS9D4lTfaIf8vtkhlXqaFXi+NHNEF
X-Complaints-To www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 4464
Xref csiph.com comp.arch.embedded:24925

Show key headers only | View raw


Dimiter_Popoff <dp@tgi-sci.com> writes:

> On 07.9.2016 г. 15:33, David Brown wrote:
>> On 07/09/16 00:13, Randy Yates wrote:
>>> Randy Yates <yates@digitalsignallabs.com> writes:
>>>
>>>> Hello Folks,
>>>>
>>>> I have a need for an SMB/CIFS client for uTasker on a Coldfire MCF52235.
>>>> I've searched and it doesn't seem to exist. Can someone here either
>>>> correct or confirm?
>>>>
>>>> While I'm here, I also would like to ask opinions on using ucLinux
>>>> instead for this processor. Is it well-supported? It appears ucLinux
>>>> does have a SMB/CIFS client available.
>>>>
>>>> I personally *think* I would MUCH prefer ucLinux, although I've never
>>>> used it. I have recently done work on "real" embedded linux via debian
>>>> and the BeagleBone Black and I found it to be a superb development
>>>> environment.
>>>
>>> Doh! I've already been through this and forgot: ucLinux will not run
>>> with just the piddly 32 kB internal RAM of the MCF52235. You must have
>>> external RAM.
>>>
>>
>> I was thinking the same thing...
>>
>> The smallest ucLinux system I have seen, on a Coldfire v2, had 2 MB
>> flash and 4 MB ram.  But that was an old system, with a 2.0 or 2.2
>> kernel and very limited functionality.  ucLinux is now part of mainline
>> Linux as the "no mmu" architectures, rather than a separate project -
>> but it is not much used.  A decent ARM Cortex A or MIPS device capable
>> of running proper Linux is so cheap that very few people use non-mmu
>> Linux now.
>>
>> Back to your idea of using SMB/CIFS on something other than Linux - I
>> don't think such clients exist.  I am not sure how much of the SMB/CIFS
>> client code is in the Linux kernel or in user space.  Certainly the
>> Samba "smbclient" utility is available for other *nix systems and for
>> Windows - but I don't see it being suitable for a 32 KB microcontroller.
>>
>> I think you would need to look at something much smaller and simpler for
>> such a device.  Would tftp be suitable?  It would let your
>> microcontroller read and write remote files, and should be fine to
>> implement on such a device.
>>
>
> TFTP might be a good idea indeed - mostly because it does not need
> tcp. The higher level would not take much once he has tcp - e.g. I
> can look at the dps ftp client and it is just 22k of code (for power).
> But tcp is another matter, something like 200-300k - and the worst
> part is the incoming buffering it takes. True I have only implemented
> it on a power machine with 64M+ RAM and buffering has never been an
> issue at 100 Mbps, but even taking the trickiest tcp approach will
> run into serious problems with a total of 32k system RAM, I would
> not seriously consider such a system (especially nowadays as you
> mentioned, some time ago some 10Mbps or even UART/ppp ideas might
> have been explored :).
>
> Dimiter

Thanks David and Dimiter. TFTP does sound like a great solution and is
probably the way I'll go. There was a miscommunication in the
requirements and I thought we HAD to implement a SMB/CIFS client.
Apparently that is not the case.
-- 
Randy Yates, DSP/Embedded Firmware Developer
Digital Signal Labs
http://www.digitalsignallabs.com

Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

SMB/CIFS for uTasker/Coldfire? Randy Yates <yates@digitalsignallabs.com> - 2016-09-06 12:18 -0400
  Re: SMB/CIFS for uTasker/Coldfire? Randy Yates <yates@digitalsignallabs.com> - 2016-09-06 18:13 -0400
    Re: SMB/CIFS for uTasker/Coldfire? Dimiter_Popoff <dp@tgi-sci.com> - 2016-09-07 01:58 +0300
    Re: SMB/CIFS for uTasker/Coldfire? David Brown <david.brown@hesbynett.no> - 2016-09-07 14:33 +0200
      Re: SMB/CIFS for uTasker/Coldfire? Dimiter_Popoff <dp@tgi-sci.com> - 2016-09-07 16:44 +0300
        Re: SMB/CIFS for uTasker/Coldfire? Randy Yates <yates@digitalsignallabs.com> - 2016-09-07 22:10 -0400
          Re: SMB/CIFS for uTasker/Coldfire? David Brown <david.brown@hesbynett.no> - 2016-09-08 08:54 +0200
            Re: SMB/CIFS for uTasker/Coldfire? Randy Yates <yates@digitalsignallabs.com> - 2016-09-08 12:10 -0400
          Re: SMB/CIFS for uTasker/Coldfire? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-09-08 09:54 +0300
            Re: SMB/CIFS for uTasker/Coldfire? Randy Yates <yates@digitalsignallabs.com> - 2016-09-08 12:08 -0400
          Re: SMB/CIFS for uTasker/Coldfire? Don Y <blockedofcourse@foo.invalid> - 2016-09-08 01:08 -0700
            Re: SMB/CIFS for uTasker/Coldfire? Randy Yates <yates@digitalsignallabs.com> - 2016-09-08 11:59 -0400
              Re: SMB/CIFS for uTasker/Coldfire? Don Y <blockedofcourse@foo.invalid> - 2016-09-08 10:02 -0700
              Re: SMB/CIFS for uTasker/Coldfire? George Neuner <gneuner2@comcast.net> - 2016-09-08 13:23 -0400
                Re: SMB/CIFS for uTasker/Coldfire? Don Y <blockedofcourse@foo.invalid> - 2016-09-08 14:28 -0700
                Re: SMB/CIFS for uTasker/Coldfire? David Brown <david.brown@hesbynett.no> - 2016-09-09 09:03 +0200
                Re: SMB/CIFS for uTasker/Coldfire? Don Y <blockedofcourse@foo.invalid> - 2016-09-09 01:05 -0700
                Re: SMB/CIFS for uTasker/Coldfire? David Brown <david.brown@hesbynett.no> - 2016-09-09 12:20 +0200
                Re: SMB/CIFS for uTasker/Coldfire? Don Y <blockedofcourse@foo.invalid> - 2016-09-09 04:05 -0700
                Re: SMB/CIFS for uTasker/Coldfire? David Brown <david.brown@hesbynett.no> - 2016-09-09 14:01 +0200
                Re: SMB/CIFS for uTasker/Coldfire? Don Y <blockedofcourse@foo.invalid> - 2016-09-09 10:18 -0700
                Re: SMB/CIFS for uTasker/Coldfire? "mjbcswitzerland" <62911@EmbeddedRelated> - 2016-10-03 06:23 -0500
                Re: SMB/CIFS for uTasker/Coldfire? upsidedown@downunder.com - 2016-09-09 12:39 +0300

csiph-web