Yes, your post is quite helpfull. I find it strange that Onion dont tag it accordingly, but hey guess they have to leave some work for us.
Hi Onion Community,
Im a little confused around building from source for a specific build. I am aware that onion has been releasing official builds available firstly @
and then later @
Considering the Omega Onion 2 +, The latest firmware refers to version 0.3.2 build 222. Each version is seen to have multiple builds.
However how do I build from source for version 0.3.2 build 220 or version 0.2.2 build 200 for example. Is this possible? I noticed that the only tags in git is "0.2.0" "0.2.1" "0.2.2" but if I checkout on tag they do not seem to allow one to specify the build.
I have setup a new/fresh Ubuntu 19 cloud server and did apt-get update/upgrade/dist upgrade so that everything is latest as of 28/06/2019.
The make is failing:
make -C feeds/packages/mail/postfix compile make -r world: build failed. Please re-run make with -j1 V=s to see what's going on make: *** [/opt/onionfirmware/source/include/toplevel.mk:218: world] Error 1
When running Verbose mode:
make: Entering directory '/opt/onionfirmware/source/build_dir/target-mipsel_24kc_musl/postfix-3.3.0/src/util' mipsel-openwrt-linux-musl-gcc -DNO_NIS -DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/opt/onionfirmware/source/staging_dir/target-mipsel_24kc_musl/usr/include/sasl -DHAS_LDAP -DHAS_CDB -DNO_DB -DHAS_SQLITE -I/opt/onionfirmware/source/staging_dir/target-mipsel_24kc_musl/usr/include/ -DHAS_PCRE -I/opt/onionfirmware/source/staging_dir/target-mipsel_24kc_musl/usr/include/ -DNO_EAI -DDEF_DB_TYPE=\"cdb\" -g -O -I. -DLINUX5 -c alldig.c cc1: note: someone does not honour COPTS correctly, passed 0 times In file included from alldig.c:29:0: ./sys_defs.h:1257:2: error: #error "unsupported platform" #error "unsupported platform" ^~~~~ ./sys_defs.h:1320:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK" ^~~~~ ./sys_defs.h:1324:2: error: #error "define DEF_MAILBOX_LOCK" #error "define DEF_MAILBOX_LOCK" ^~~~~ ./sys_defs.h:1328:2: error: #error "define INTERNAL_LOCK" #error "define INTERNAL_LOCK" ^~~~~ ./sys_defs.h:1336:2: error: #error "define USE_STATFS or USE_STATVFS" #error "define USE_STATFS or USE_STATVFS" ^~~~~ In file included from alldig.c:29:0: ./sys_defs.h:1347:57: error: unknown type name 'SOCKADDR_SIZE' extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE); ^~~~~~~~~~~~~ make: *** [Makefile:187: alldig.o] Error 1 make: Leaving directory '/opt/onionfirmware/source/build_dir/target-mipsel_24kc_musl/postfix-3.3.0/src/util' make: *** [Makefile:92: update] Error 1 make: Leaving directory '/opt/onionfirmware/source/build_dir/target-mipsel_24kc_musl/postfix-3.3.0' make: *** [Makefile:269: /opt/onionfirmware/source/build_dir/target-mipsel_24kc_musl/postfix-3.3.0/.built] Error 2 make: Leaving directory '/opt/onionfirmware/source/feeds/packages/mail/postfix' Command exited with non-zero status 2 time: package/feeds/packages/postfix/compile#0.18#0.03#0.38 make: *** [package/Makefile:109: package/feeds/packages/postfix/compile] Error 2 make: Leaving directory '/opt/onionfirmware/source' make: *** [package/Makefile:103: /opt/onionfirmware/source/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2 make: Leaving directory '/opt/onionfirmware/source' make: *** [/opt/onionfirmware/source/include/toplevel.mk:218: world] Error 2
Any idea how I can fix this?
@luz , Thanks!
I have followed the instructions to build firmware from source and I have applied the two patches mentioned. however I do not see the required MAX98357A option anywhere in
Ive used the search option with no luck. is their something that I could possibly be missing in the process?
Just adding some info from onions logs in the hope it point someone in the right direction:
New Firmware (0.2.2 b200)
Fri May 24 06:36:52 2019 kern.info kernel: [ 12.122322] ralink-i2s 10000a00.i2s: mclk 480KHz Fri May 24 06:36:52 2019 kern.err kernel: [ 12.130308] max98090 0-0010: Failed to reset codec: -6 Fri May 24 06:36:52 2019 kern.err kernel: [ 12.135792] max98090 0-0010: Failed to read device revision: -1 Fri May 24 06:36:52 2019 kern.err kernel: [ 12.141799] max98090 0-0010: ASoC: failed to probe component -1 Fri May 24 06:36:52 2019 kern.err kernel: [ 12.148456] asoc-simple-card sound: ASoC: failed to instantiate card -1 Fri May 24 06:36:52 2019 kern.warn kernel: [ 12.155350] asoc-simple-card: probe of sound failed with error -1
Old Firmware (0.2.0 b193)
Tue Jul 17 23:48:36 2018 kern.info kernel: [ 11.947660] ralink-i2s 10000a00.i2s: mclk 480KHz Tue Jul 17 23:48:36 2018 kern.err kernel: [ 11.986476] max98090 0-0010: Unrecognized revision 0xff Tue Jul 17 23:48:36 2018 kern.warn kernel: [ 11.991794] max98090 0-0010: Mismatch in DT specified CODEC type. Tue Jul 17 23:48:36 2018 kern.info kernel: [ 12.000577] max98090 0-0010: use default 2.8v micbias Tue Jul 17 23:48:36 2018 kern.info kernel: [ 12.020403] asoc-simple-card sound: HiFi <-> 10000a00.i2s mapping ok
Good Day Onion Team and Community,
Can we please get an acknowledgement that I2S has not been functional since b193?
Please can you share any information that may be relevant to this issue so that the community can help debug.
Both Audio OUT and IN are required for a project that I am doing and I would really like to be on the latest Build including all the nice work you guys have been doing.
I bought a few Omega's for my projects a few months back as its price was good at $5 and $9 for the 2 and 2+ respectively.
I was shocked today to find out the price has increased more than double to $10.75 and $13.
What happened guys?? You are now in the realm of the Pi Zero W, which I would personally choose over the Omega as costs are the same.
@George-Gerber, it is there, you may miss it because it falls under 0.1.10 i.e. omega2p-v0.1.10-b160.bin
@Sergiy-Tarasov, I have had some success using what is most likely a hack and not recommended.
Then proceed with the insmod as before.
Im glad you guys found this useful!
@Jeff-Seese Thanks for the additional information on spinning up multiple I2C channels (useful when you have fixed I2C address based devices).
@Jan-Breuer I will certainly look into this. It would be amazing if "real" I2C worked on the Omega.
You should be able to use any pair of GPIO pins to act in "bitbang" i2C mode. This way you can have multiple i2C lines.
Please refer to this post in order to set this up:
So possibly a bit of a weird one.
I have a log file that my application writes to in the /root folder. After about a month I find that the onion is reporting the log file size as 91MB using:
however the disk free command
Indicates that the filesystem size for / is only 25MB.
What am I missing?
Apologies if I may be far off base... But it seams to me that what you are doing is incorrect?
You are effectively "back-powering" the expansion dock with your own 5V source while trying to power the expansion dock through the micro USB port????
The 5V on the pin header is not an "input" while the expansion dock is being powered by the micro USB port. It would be an output?
Have a look at the expansion dock schematics:
It appears that 5V is being supplied from the micro USB port (to the 5V header pin) irrespective of switch position. the switch only enables the 3.3V power supply chip.
Im answering this in a question manner as it is possible I may have misunderstood this whole thing.
Looks like your connection to Community was lost, please wait while we try to reconnect.