Chat freely about anything...

User avatar
By sej7278
#5325
Harold L. wrote:I think the espressif guys have already made the symbolic links in the toolchain(http://bbs.espressif.com/viewtopic.php?f=5&t=2):
$ ls /opt/xtensa-lx106-elf/bin/
Screenshot from 2014-12-21.png


ah so you're using the xtensa-lx106-elf.tar.bz2 file, not crosstool-NG toolchain from the wiki.

i've got you now. hmm, not many people bother with that method anymore.

still doesn't seem to work for me, now because it can't find some headers e.g. #include <xtensa/simcall-errno.h>
Last edited by sej7278 on Sun Dec 21, 2014 10:49 am, edited 1 time in total.
User avatar
By nnylyj
#5326
Harold L. wrote:
Hmm...Have you ever seen a line like this: NodeLua 1.0.20141218 (With liblua 5.1.5) Copyright (C) 2014 NodeLua.org free mem=32960
And what is the toolchain you are using?


I haven't seen anything else after 'user code done'
I used 0.9.3 SDK.
User avatar
By Harold L.
#5327
sej7278 wrote:
Harold L. wrote:I think the espressif guys have already made the symbolic links in the toolchain(http://bbs.espressif.com/viewtopic.php?f=5&t=2):
$ ls /opt/xtensa-lx106-elf/bin/
Screenshot from 2014-12-21.png


ah so you're using the xtensa-lx106-elf.tar.bz2 file, not crosstool-NG toolchain from the wiki.

i've got you now. hmm, not many people bother with that method anymore as its 32-bit only.


Yep, I'm running 64bit linux too, but with ia32 compatible packages. So I didn't notice its 32-bit only at all :roll:
Anyway I'd like to try crosstool-NG and make NodeLua work with it when I've enough time ;)
User avatar
By sej7278
#5328 ok so i've managed to compile it now using the old tarball, also note you have to comment out this line in xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/sys/errno.h as the simcall-errno.h header file doesn't exist in the entire toolchain:

Code: Select all//#include <xtensa/simcall-errno.h>


"make install" then works and after a reboot i get the line:

Code: Select allNodeLua 1.0.20141219 (With liblua 5.1.5) Copyright (C) 2014 NodeLua.org free mem=32880


and can setup my wifi. but then what? how do we connect to websites or run a server etc? i'm not interested in using the cloud service.