nxhack / openwrt-intel-iot-devkit

MRAA now Eclipse Project | Intel® IoT Developer Kit packages for OpenWrt (support node.js v8.x)
GNU General Public License v2.0
0 stars 0 forks source link

Mraa + Upm on latest OpenWrt. #1

Open nxhack opened 6 years ago

nxhack commented 6 years ago

(We opened issue here.) https://github.com/nxhack/openwrt-node-packages/issues/8

tcpipchip commented 6 years ago

Got some progress! Python / node can talk with i2c libmraa/upm now!

I see that in the Makefile linkit (fork) packages list are missing if you compare with the original Linkit makefile

tcpipchip commented 6 years ago

I added some kmod files and menuconfig changes

tcpipchip commented 6 years ago

More progress! Gpio maps (pin id number) are incorrect, if you usually use those defined by Seeed Linkit Smart 7688

tcpipchip commented 6 years ago

I2c WORKING, GPIO WORKING... Where is in the Kernel MAP to GPIOS ? For example, pin = mraa.Gpio(30) access the gpio where i put a led. But, how i know physically where is this pin ? And where is this 30 specification ?

nxhack commented 6 years ago

I do not have a target machine, so I can not pursue it in detail...

https://docs.labs.mediatek.com/resource/linkit-smart-7688/en/documentation https://github.com/intel-iot-devkit/mraa/blob/master/src/mips/mediatek.c

tcpipchip commented 6 years ago

Well, I am satisfied for a while because LIMRAA and LIBUPM works with node-red.

Can you help me with WIFI to MEDIATEK 7688 LINKIT ?

nxhack commented 6 years ago

The OSS version driver should be included in OpenWrt.

https://github.com/openwrt/openwrt/blob/master/target/linux/ramips/mt76x8/target.mk https://github.com/openwrt/openwrt/blob/master/package/kernel/mt76/Makefile https://github.com/openwrt/mt76

tcpipchip commented 6 years ago

How do i include those files and where ?

nxhack commented 6 years ago

How did you build the your firmware of MT7688?

tcpipchip commented 6 years ago

make -j2

nxhack commented 6 years ago

Which OpenWrt version?, repository? Which linkit-smart-feed repository?

tcpipchip commented 6 years ago

LEDE, 4.4.120

src-git packages https://git.lede-project.org/feed/packages.git;lede-17.01 src-git linkit https://github.com/MediaTek-Labs/linkit-smart-7688-feed.git src-git node https://github.com/nxhack/openwrt-node-packages.git src-git inteliot https://github.com/nxhack/openwrt-intel-iot-devkit.git

nxhack commented 6 years ago

https://openwrt.org/docs/guide-user/network/wifi/start

tcpipchip commented 6 years ago

Do you mean that is a configuration error ?

AP-MODE works, CLIENT-MODE fails

tcpipchip commented 6 years ago

hi can you verify if node-node-red-contrib-gpio compiles for you ? Make menuconfig

tcpipchip commented 6 years ago

error on serialport...