Community
cancel
Showing results for 
Search instead for 
Did you mean: 
dvian
New Contributor I
1,753 Views

GITHUB > intel edison

Hi, I see many intel edison project with GitHub file. But how do faires are run on intel edison ??

5 Replies
Pablo_M_Intel
Employee
43 Views

Hi vianney,

Could you please share some more details about what you want to do so we can help you better? What do you mean by "faires"?

Regards,

PabloM_Intel

dvian
New Contributor I
43 Views

hey, I'm sorry I do not speak good English, I am French. I made gréât looking and finally I find. I install:

echo src/gz all http://repo.opkg.net/edison/repo/all http://repo.opkg.net/edison/repo/all > /etc/opkg/base-feeds.conf

echo src/gz edison http://repo.opkg.net/edison/repo/allsrc/gz http://repo.opkg.net/edison/repo/allsrc/gz >> /etc/opkg/base-feeds.conf

echo src/gz core2-32 http://repo.opkg.net/edison/repo/allsrc/gz http://repo.opkg.net/edison/repo/allsrc/gz >> /etc/opkg/base-feeds.conf

echo src all http://iotdk.intel.com/repos/1.1/iotdk/all http://iotdk.intel.com/repos/1.1/iotdk/all >> /etc/opkg/base-feeds.conf

echo src x86 http://iotdk.intel.com/repos/1.1/iotdk/x86 http://iotdk.intel.com/repos/1.1/iotdk/x86 >> /etc/opkg/base-feeds.conf

echo src i586 http://iotdk.intel.com/repos/1.1/iotdk/i586 http://iotdk.intel.com/repos/1.1/iotdk/i586 >> /etc/opkg/base-feeds.conf

and now I can make git clone without it corrupting my image

dvian
New Contributor I
43 Views

echo src/gz all http://repo.opkg.net/edison/repo/all http://repo.opkg.net/edison/repo/all > /etc/opk g/base-feeds.conf

 

root@vianney:~# echo src/gz edison http://repo.opkg.net/edison/repo/allsrc/gz http://repo.opkg.net/edison/repo/allsrc/gz > > /etc/opkg/base-feeds.conf

 

root@vianney:~# echo src/gz core2-32 http://repo.opkg.net/edison/repo/allsrc/gz http://repo.opkg.net/edison/repo/allsrc/gz >> /etc/opkg/base-feeds.conf

 

root@vianney:~# opkg update

 

Downloading http://repo.opkg.net/edison/repo/all/Packages.gz http://repo.opkg.net/edison/repo/all/Packages.gz.

 

Inflating http://repo.opkg.net/edison/repo/all/Packages.gz http://repo.opkg.net/edison/repo/all/Packages.gz.

 

Updated list of available packages in /var/lib/opkg/all.

 

Downloading http://repo.opkg.net/edison/repo/allsrc/gz/Packages.gz http://repo.opkg.net/edison/repo/allsrc/gz/Packages.gz.

 

Downloading http://repo.opkg.net/edison/repo/allsrc/gz/Packages.gz http://repo.opkg.net/edison/repo/allsrc/gz/Packages.gz.

 

Downloading http://iotdk.intel.com/repos/1.1/intelgalactic/Packages http://iotdk.intel.com/repos/1.1/intelgalactic/Packages.

 

Updated list of available packages in /var/lib/opkg/maa-upm.

 

Downloading http://iotdk.intel.com/repos/1.5/intelgalactic/Packages http://iotdk.intel.com/repos/1.5/intelgalactic/Packages.

 

Updated list of available packages in /var/lib/opkg/iotkit.

 

Downloading http://iotdk.intel.com/repos/1.1/intelgalactic/Packages http://iotdk.intel.com/repos/1.1/intelgalactic/Packages.

 

Updated list of available packages in /var/lib/opkg/mraa-upm.

 

Collected errors:

 

* opkg_download: Failed to download http://repo.opkg.net/edison/repo/allsrc/gz/ http://repo.opkg.net/edison/repo/allsrc/gz/ Packages.gz, wget returned 8.

 

* opkg_download: Failed to download http://repo.opkg.net/edison/repo/allsrc/gz/ http://repo.opkg.net/edison/repo/allsrc/gz/ Packages.gz, wget returned 8.

 

root@vianney:~# opkg install bluez5-dev

 

Package bluez5-dev (5.24-r0) installed in root is up to date.

 

root@vianney:~# npm install -g async

 

async@1.4.2 /usr/lib/node_modules/async

 

root@vianney:~# npm install noble

 

npm WARN package.json mraa@0.8.0 No repository field.

 

npm WARN optional dep failed, continuing xpc-connection@0.1.4

 

|

 

> usb@1.0.6 install /home/root/node_modules/noble/node_modules/bluetooth-hci-soc ket/node_modules/usb

 

> node-pre-gyp install --fallback-to-build

make: Entering directory '/home/root/node_modules/noble/node_modules/bluetooth-h ci-socket/node_modules/usb/build'

 

CC(target) Release/obj.target/libusb/libusb/libusb/core.o

 

CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o

 

CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o

 

CC(target) Release/obj.target/libusb/libusb/libusb/io.o

 

CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o

 

CC(target) Release/obj.target/libusb/libusb/libusb/sync.o

 

CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o

 

CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o

 

../libusb/libusb/os/threads_posix.c:24:0: warning: "_GNU_SOURCE" redefined

 

# define _GNU_SOURCE

 

^

 

:0:0: note: this is the location of the previous definition

 

CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o

 

CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o

 

../libusb/libusb/os/linux_udev.c:40:21: fatal error: libudev.h: No such file or directory

 

# include

 

^

 

compilation terminated.

 

libusb.target.mk:121: recipe for target 'Release/obj.target/libusb/libusb/libusb /os/linux_udev.o' failed

 

make: *** [Release/obj.target/libusb/libusb/libusb/os/linux_udev.o] Error 1

 

make: Leaving directory '/home/root/node_modules/noble/node_modules/bluetooth-hc i-socket/node_modules/usb/build'

 

gyp ERR! build error

 

gyp ERR! stack Error: `make` failed with exit code: 2

 

gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_module ...
dvian
New Contributor I
43 Views

is it good???

Pablo_M_Intel
Employee
43 Views

Hi vianney,

It should be this way:

echo src/gz all http://repo.opkg.net/edison/repo/all/ http://repo.opkg.net/edison/repo/all/ > /etc/opkg/base-feeds.conf

 

echo src/gz core2-32 http://repo.opkg.net/edison/repo/core2-32/ http://repo.opkg.net/edison/repo/core2-32/ >> /etc/opkg/base-feeds.conf

 

echo src/gz edison http://repo.opkg.net/edison/repo/edison/ http://repo.opkg.net/edison/repo/edison/ >> /etc/opkg/base-feeds.conf

Remember that just one greater than sign (>) will overwrite any text that is in the file, and two greater than signs (>>) will append or add the new data to the existing text, it won't delete the text that is already in the file.

Also, make sure that the file names from the AlexT repo and the IoT repository don't share the same names as it would probably give errors when downloading.

Regards,

PabloM_Intel