Hello Sohail, 2011/8/16 soahil shuaib <[email protected]>: > Dear Andris, > Thank you very much for the information. > Let me take some more guidance and help from you. > After looking for quite a while at the Stanford repository, i think i should > do the following (i am newbie to linux) > > Check what distribution of Ubuntu i am using (i am using jaunty) > See what debian packages are released for that distro > Install them
Yes, this should work, but there's an easyer way: https://help.ubuntu.com/community/Repositories/Ubuntu#Adding%20Other%20Repositories The standord repositorys apt line for jaunty is: "deb http://tinyos.stanford.edu/tinyos/dists/ubuntu/ jaunty" > I already have a tinyos installation, would the above steps remove the > previous installation. Would it work if i just install the avr-gcc debian > package? The tinyos packages (nesc, tinyos, tinyos-tools) are completly independent from the toolchains. The packages from the stanford repo should remove the official ubuntu toolchain, and update the tinyos toolchain and the official ubuntu toolchain should remove the standord packages. If they won't then there's a bug in the package descriptors, please inform me of it. Andris > I would be really grateful if you could give some more help. correct me if i > am following the wrong strategy and describe the necessary course of actions > a bit more specifically. > > Your work with rfa1 would be really helpful. Thank you for sharing the > information. > > > Regards, > Sohail > > > > > ________________________________ > From: Bíró András <[email protected]> > To: soahil shuaib <[email protected]> > Cc: "[email protected]" > <[email protected]> > Sent: Tuesday, August 16, 2011 3:34 PM > Subject: Re: [Tinyos-help] How to upgrade avr-gcc in tinyos to a newer > version? > > Hello! > > Use this repository: > http://tinyos.stanford.edu/tinyos/dists/ubuntu/ > It has a patched toolchain with rfa1 support. Upgrading gcc may cause > problems (better optimisation reveals unfixed bugs in tinyos), but > it's needless for rfa1 support. Binutils and gcc only have to know > that rfa1 uses avr5 asm, and its memory limits. > > By the way, we wrote a bunch of rfa1 code (which will probably go to > the main tinyos svn): > http://sourceforge.net/projects/szte-wsn/develop > > Andris > > On Tue, Aug 16, 2011 at 10:43 AM, soahil shuaib <[email protected]> wrote: >> Hello everyone! >> The avr-gcc version that comes with TinyOS is 4.1.2. I am working on >> atmega128rfa1 and it is not supported by this version. The least version >> that supports it is 4.3.2. Now i tried to install gcc-avr (version >> 4.3.3-1 >> as it appears) using Synaptic package manager in Ubuntu and ended up >> getting >> errors of the like >> >> E: /var/cache/apt/archives/binutils-avr_2.18-4ubuntu1_i386.deb: trying to >> overwrite '/usr/bin/avr-size', which is also in package >> avr-binutils-tinyos >> 0 >> E: /var/cache/apt/archives/gcc-avr_1%3a4.3.3-1_i386.deb: trying to >> overwrite >> '/usr/bin/avr-gcov', which is also in package avr-gcc-tinyos 0 >> >> If any could help me and suggest some solution to this problem it would be >> really appreciated. >> >> Each day new devices are being released and older version of the gcc >> compiler in the toolchain do not support these devices anymore. Why not we >> have the latest versions of compilers and other necessary tools in the >> TinyOS toolchain. It would definitely relieve many of us from troubles and >> errors. I would like the community to discuss this topic. >> >> Thank you very much. >> >> >> Regards, >> Sohail >> >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > > > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
