I would be interested in trading some docs for the Oboo clock. I have:
Omega2
Omega Exp doc
Omega 2 I2C shield
Omega IoT interface adapter
Let me know if you are interested.
I would be interested in trading some docs for the Oboo clock. I have:
Omega2
Omega Exp doc
Omega 2 I2C shield
Omega IoT interface adapter
Let me know if you are interested.
@Luciano-S. So does Onion still need to release more of their source code to be compliant with GPL? Example, do they need to release the source for their custom wifi driver?
Odd that the Onion guys weren't able to get half duplex mode working.
What is the best way to get a kernel image with the SPI fix? If you could point me to the information on how you created your kernel image I would greatly appreciate it.
I'm new to the Linux world, I apologize for the basic question.
Onion has updated their post indicating a SPI driver fix planned for Q3/Q4 of 2017 to state: "So far, we've tried fully disabling Full-Duplex transmissions, however, this still causes data corruption in Half-Duplex transmissions."
I've had a discussion with Pavel and Lazar concerning the SPI interface. They indicated that they are not spending much time working on it once they discovered the switch to half duplex did not fix the issue.
Their recommendation is to go with the SW bit-bang driver or if higher performance is needed add an external processor to handle the SPI communications or a hardware bridge to the SPI interface such as an i2c to SPI bridge.
Just curious how the open source aspect works...
If Onion is modifying open source drivers, doesn't that make those changes a derived work and therefore subject to the same open source license? And if that is the case, doesn't Onion have an obligation to make the source available if a customer requests it?
I'm doing a build on an omega2, (using the USB for extra storage). When I tried linking my project with the /usr/lib/liboniondebug.so library that was installed using opkg install I got an error that the onionPrint symbol is unresolved.
If I try to list the symbols in /usr/lib/liboniondebug.so the results are:
root@Omega-B82F:/# nm -Ca /usr/lib/liboniondebug.so
nm -Ca /usr/lib/liboniondebug.so
nm: /usr/lib/liboniondebug.so: no symbols
root@Omega-B82F:/# ls -l /usr/lib/liboniondebug.so
-rwxr-xr-x 1 root root 2091 Feb 2 2017 /usr/lib/liboniondebug.so
If I build the liboniondebug.so as part of the git repo for i2c-exp-driver the size is:
root@Omega-B82F:/# ls -l /git/i2c-exp-driver/lib/liboniondebug.so
-rwxr-xr-x 1 root root 7552 Oct 29 01:52 /git/i2c-exp-driver/lib/liboniondebug.so
and if I list the symbols:
root@Omega-B82F:/# nm -Ca /git/i2c-exp-driver/lib/liboniondebug.so
00000000 a
00000118 r .MIPS.abiflags
000009c0 t .MIPS.stubs
00010a90 b .bss
00000000 n .comment
00010a30 d .ctors
00000000 N .debug_abbrev
00000000 N .debug_aranges
00000000 N .debug_frame
00000000 N .debug_info
00000000 N .debug_line
00000000 N .debug_str
00010a38 d .dtors
00000148 r .dynamic
00000420 r .dynstr
000002d0 r .dynsym
00000a2c r .eh_frame
000009e0 t .fini
00000000 n .gnu.attributes
00000540 r .gnu.version
0000056c r .gnu.version_r
00010a40 d .got
00000230 r .hash
0000059c t .init
00000000 n .mdebug.abi32
00000000 n .pdr
00000130 r .reginfo
0000058c r .rel.dyn
00010a88 s .sbss
00010a84 g .sdata
00000620 t .text
00000000 a /usr/lib/gcc/mipsel-openwrt-linux-musl/5.4.0/crtbeginS.o
00000000 a /usr/lib/gcc/mipsel-openwrt-linux-musl/5.4.0/crtendS.o
00000148 a _DYNAMIC
00010a40 a GLOBAL_OFFSET_TABLE
w _ITM_deregisterTMCloneTable
w _ITM_registerTMCloneTable
000009c0 t MIPS_STUBS
00010a34 d CTOR_END
00010a30 d CTOR_LIST
00010a3c d DTOR_END
00010a38 d DTOR_LIST
00000a2c r EH_FRAME_BEGIN
00000a2c r FRAME_END
00010a40 d TMC_END
00010a88 S __bss_start
w __cxa_finalize
w __deregister_frame_info@@GLIBC_2.0
00000960 t __do_global_ctors_aux
000006c0 t __do_global_dtors_aux
00010a84 g __dso_handle
w __register_frame_info@@GLIBC_2.0
00010a88 G _edata
00010ab0 B _end
00010a88 S _fbss
00010a40 D _fdata
000009e0 T _fini
00000620 T _ftext
00018a30 d _gp
00018a30 A _gp_disp
0000059c T _init
00010a90 b completed.4816
00000620 t deregister_tm_clones
00010a94 b dtor_idx.4818
000007e4 t frame_dummy
00010a98 b object.4828
00000884 T onionGetVerbosity
000008bc T onionPrint
00000840 T onionSetVerbosity
00010a88 S onionVerbosityLevel
0000066c t register_tm_clones
00000000 a src/lib/onion-debug.c
U vprintf
root@Omega-B82F:/#
I just followed the guide on compileing C & C++ programs on the Omega, the installation of gcc is failing.
root@Omega-B82F:/# opkg update
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/reboot_base.
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/base/Packages.sig.
Signature check passed.
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/reboot_packages.
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/Packages.sig.
Signature check passed.
Downloading http://repo.onion.io/omega2/packages/core/Packages.gz.
Updated list of available packages in /var/opkg-lists/omega2_core.
Downloading http://repo.onion.io/omega2/packages/core/Packages.sig.
Signature check passed.
Downloading http://repo.onion.io/omega2/packages/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/omega2_base.
Downloading http://repo.onion.io/omega2/packages/base/Packages.sig.
Signature check passed.
Downloading http://repo.onion.io/omega2/packages/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/omega2_packages.
Downloading http://repo.onion.io/omega2/packages/packages/Packages.sig.
Signature check passed.
Downloading http://repo.onion.io/omega2/packages/onion/Packages.gz.
Updated list of available packages in /var/opkg-lists/omega2_onion.
Downloading http://repo.onion.io/omega2/packages/onion/Packages.sig.
Signature check passed.
root@Omega-B82F:/# opkg --verbosity=2 install gcc
opkg_conf_parse_file: Loading conf file /etc/opkg.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/customfeeds.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/distfeeds.conf.
pkg_hash_load_feeds:
pkg_hash_load_status_files:
pkg_info_preinstall_check: Updating file owner list.
Installing gcc (5.4.0-2) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/gcc_5.4.0-2_mipsel_24kc.ipk.
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
Collected errors:
I have the omega2 setup to boot from usb, and edited the /etc/opkg/distfeeds.conf.
help