[mc1322x] Contiki tree resync
Jon Smirl
jonsmirl at gmail.com
Fri Oct 30 13:41:50 EDT 2009
On Fri, Oct 30, 2009 at 1:11 PM, Mariano Alvira <mar at devl.org> wrote:
> On Fri, Oct 30, 2009 at 12:56:58PM -0400, Jon Smirl wrote:
>>
>> For a start...
>> Does it compile?
>> Does it boot?
>> Do two or three random sample apps still work?
>
> well yeah.
>
>> That's enough for this project. The quality control just needs to
>> ensure that the mainline does not get into a completely
>> non-functioning state.
>
> I agree that this is good enough for you, me, and the few other people
> using this. It would be nice to get to a point where >10 people use it
> though...
>
>> The maintainer for this project should really be a Freescale employee
>> and you are a trusted lieutenant. But we haven't done enough yet to
>> get Freescale to abandon IAR. Freescale employees now maintain their
>> ARCH ports on Linux.
>
> ...I agree that this would be best, but this seems like a hopeless
> cause to me.
>
>> A more cost effective way to do a gateway is to use a $60
>> Linksys/Dlink wireless router with USB printer support. Reflash it
>> with dd-wrt or openwrt and add the driver for the 802.15.4 USB stick.
>> ipv6 is already enabled in the WRT kernels. You can do this with your
>> existing hardware but I haven't gotten around to it yet. I'm still
>> using my desktop PC as the router and a Raven USB stick.
>>
>> With IPV6 it's not a gateway, it a router. Since they contain state
>> gateways are a completely unreliable pain. It is always better to go
>> routable IP everywhere and eliminate the gateway.
>
> I probably misused the word gateway then.
>
> Also, are you talking about the 802.15.4 linux stack? and the serial
> driver for that? Because that's another thing that should get resync'd
> someday.
The 802.15.4 serial driver is not an approach I have tried. It is
designed around having a serially connect radio with no embedded CPU.
The contiki support for the Atmel Raven USB stick makes it look like
an USB Ethernet adapter. The 802.15.4 MAC runs in the Raven stick so
Linux is not aware it is doing 802.15.4. You don't need any special
support in the kernel. This model works with the stock Ubuntu kernel
and WRT router software (you need to enable the USB Ethernet driver in
WRT).
If you're going to build a USB stick for this purpose the TI CC2531 is
a better chip. USB, CPU and radio all in a single chip solution. I
have a TI CC253x development kit sitting here for that reason but I
haven't opened it yet.
>
> -Mar.
>
--
Jon Smirl
jonsmirl at gmail.com
More information about the mc1322x
mailing list