<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with custom]]></title><description><![CDATA[A list of topics that have been tagged with custom]]></description><link>http://community.onion.io/tags/custom</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Mar 2026 04:12:31 GMT</lastBuildDate><atom:link href="http://community.onion.io/tags/custom.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 Jul 2024 18:13:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[openwrt-imagebuilder-wrapper for omega2lte]]></title><description><![CDATA[@thomas166 So there  few components to your requirements. The first is that you don't want to have the firmware misimatch issue.  The only solution to that is you need to that is to create a DTS for the lte, since sysupgrade reads the device type from from /tmp/bard.json and /etc/board.json, these are created when the device tree is loaded, so you need to create a dts with the correct identifier in it.
Here is a link to a patch I created that will add the lte device and include the lte-base in the build. This is a patch for OpenWrt 23.05.3 so you may have to merge it in manually.
]]></description><link>http://community.onion.io/topic/5067/openwrt-imagebuilder-wrapper-for-omega2lte</link><guid isPermaLink="true">http://community.onion.io/topic/5067/openwrt-imagebuilder-wrapper-for-omega2lte</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Thu, 18 Jul 2024 18:13:00 GMT</pubDate></item><item><title><![CDATA[Custom web page for IO Monitoring etc]]></title><description><![CDATA[@SpiderKenny Yes fastgpio is better but I showed code that uses the file system instead as I'm not sure of your level of experience and this method is easy to implement.
]]></description><link>http://community.onion.io/topic/5042/custom-web-page-for-io-monitoring-etc</link><guid isPermaLink="true">http://community.onion.io/topic/5042/custom-web-page-for-io-monitoring-etc</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Fri, 23 Feb 2024 19:37:57 GMT</pubDate></item><item><title><![CDATA[User-created Omega2 Dock on Crowd Supply]]></title><description><![CDATA[I saw the dock a couple of weeks ago, seems like a good idea but personally I prefer discreet functional expansions.
]]></description><link>http://community.onion.io/topic/4208/user-created-omega2-dock-on-crowd-supply</link><guid isPermaLink="true">http://community.onion.io/topic/4208/user-created-omega2-dock-on-crowd-supply</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Fri, 10 Jul 2020 19:56:27 GMT</pubDate></item><item><title><![CDATA[Replacing &#x2F;etc&#x2F;banner]]></title><description><![CDATA[@crispyoz
UCI defaults is a special directory where you can drop scripts to do initial device setups or configurations on first boot.
]]></description><link>http://community.onion.io/topic/3635/replacing-etc-banner</link><guid isPermaLink="true">http://community.onion.io/topic/3635/replacing-etc-banner</guid><dc:creator><![CDATA[cas]]></dc:creator><pubDate>Mon, 24 Jun 2019 11:39:32 GMT</pubDate></item><item><title><![CDATA[Custom kernel .config options - best practice?]]></title><description><![CDATA[<p dir="auto">What is the best way to maintain your own kernel .config options?</p>
<p dir="auto">I recently added an RTC (DS3231) which involves adding RTC support and driver to the O2+ kernel.</p>
<p dir="auto">Currently I hacked a couple of scripts which I can run after resetting the config files with <code>git</code>. These set the necessary options manually in both the kernel and package config files, but is there a better (proper?) way to do this?</p>
<p dir="auto">Probably the different options should be set manually after running <code>make menuconfig</code>? But I don't know if the resulting .config file (after <code>make menuconfig</code> and saving .config) will build the same kernel as the one built with the .config from the Onion source repo. I'm doubtful that it will.</p>
<p dir="auto">fwiw, here are the scripts I wrote in case anyone else finds them useful. I did some light testing, so <strong>use at own risk</strong>:</p>
<pre><code>set-kerneloptions-RTCds1307.sh
#! /bin/sh

setoption() {
 local loption=$1
 local lstate=$2
 local lconfigfile=$3

 grep "${loption}\(=\| \)" ${lconfigfile} &gt; /dev/null
 if [ $? -eq 0 ]; then
  # set it to the required value
  echo -n Set: ${loption}
  sed -i -r "s/^(${loption}=.*|# ${loption} is not set)/${loption}=${lstate}/" ${lconfigfile}
 else
  # Add the option
  echo -n Add: ${loption}
  echo "${loption}=${lstate}" &gt;&gt; ${lconfigfile}
 fi
 echo " Now: `grep "${loption}\(=\| \)" ${lconfigfile}`"
}

unsetoption() {
 local loption=$1
 local lconfigfile=$2

 grep "${loption}\(=\| \)" ${lconfigfile} &gt; /dev/null
 if [ $? -eq 0 ]; then
  # set it to the required value
  echo -n Unset: ${loption}
  sed -i -r "s/^(${loption}=.*)/# ${loption} is not set/" ${lconfigfile}
 else
  # Add the option
  echo -n Add: ${loption}
  echo "# ${loption} is not set" &gt;&gt; ${lconfigfile}
 fi
 echo " Now: `grep "${loption}\(=\| \)" ${lconfigfile}`"
}

CONFIGFILE="target/linux/ramips/mt7688/config-4.4"

for configoption in CONFIG_RTC_CLASS \
                        CONFIG_RTC_DRV_DS1307 \
                        CONFIG_RTC_SUPPORT
do
 setoption "${configoption}" "y" "${CONFIGFILE}"
done

unsetoption "CONFIG_RTC_HCTOSYS" "${CONFIGFILE}"
</code></pre>
<p dir="auto">Execution is as follows:</p>
<pre><code>root@122126d368fa:~/source# git checkout target/linux/ramips/mt7688/config-4.4
root@122126d368fa:~/source# ./set-kerneloptions-RTCds1307.sh
Add: CONFIG_RTC_CLASS Now: CONFIG_RTC_CLASS=y
Add: CONFIG_RTC_DRV_DS1307 Now: CONFIG_RTC_DRV_DS1307=y
Add: CONFIG_RTC_SUPPORT Now: CONFIG_RTC_SUPPORT=y
Add: CONFIG_RTC_HCTOSYS Now: # CONFIG_RTC_HCTOSYS is not set
root@122126d368fa:~/source#
</code></pre>
<pre><code>set-packages-RTCds1307.sh
#! /bin/sh

setoption() {
 local loption=$1
 local lstate=$2
 local lconfigfile=$3

 grep "${loption}\(=\| \)" ${lconfigfile} &gt; /dev/null
 if [ $? -eq 0 ]; then
  # set it to the required value
  echo -n Set: ${loption}
  sed -i -r "s/^(${loption}=.*|# ${loption} is not set)/${loption}=${lstate}/" ${lconfigfile}
 else
  # Add the option
  echo -n Add: ${loption}
  echo "${loption}=${lstate}" &gt;&gt; ${lconfigfile}
 fi
 echo " Now: `grep "${loption}\(=\| \)" ${lconfigfile}`"
}

unsetoption() {
 local loption=$1
 local lconfigfile=$2

 grep "${loption}\(=\| \)" ${lconfigfile} &gt; /dev/null
 if [ $? -eq 0 ]; then
  # set it to the required value
  echo -n Unset: ${loption}
  sed -i -r "s/^(${loption}=.*)/# ${loption} is not set/" ${lconfigfile}
 else
  # Add the option
  echo -n Add: ${loption}
  echo "# ${loption} is not set" &gt;&gt; ${lconfigfile}
 fi
 echo " Now: `grep "${loption}\(=\| \)" ${lconfigfile}`"
}

CONFIGFILE=".config"

for configoption in CONFIG_PACKAGE_kmod-i2c-core \
                        CONFIG_PACKAGE_kmod-i2c-algo-bit \
                        CONFIG_PACKAGE_kmod-i2c-gpio \
                        CONFIG_PACKAGE_kmod-i2c-gpio-custom \
                        CONFIG_PACKAGE_hwclock \
                        CONFIG_PACKAGE_i2c-tools \
                        CONFIG_PACKAGE_kmod-rtc-ds1307
do
 setoption "${configoption}" "y" "${CONFIGFILE}"
done
</code></pre>
<p dir="auto">Execution is as follows:</p>
<pre><code>root@122126d368fa:~/source# git checkout .config
root@122126d368fa:~/source# ./set-packages-RTCds1307.sh
Set: CONFIG_PACKAGE_kmod-i2c-core Now: CONFIG_PACKAGE_kmod-i2c-core=y
Set: CONFIG_PACKAGE_kmod-i2c-algo-bit Now: CONFIG_PACKAGE_kmod-i2c-algo-bit=y
Set: CONFIG_PACKAGE_kmod-i2c-gpio Now: CONFIG_PACKAGE_kmod-i2c-gpio=y
Set: CONFIG_PACKAGE_kmod-i2c-gpio-custom Now: CONFIG_PACKAGE_kmod-i2c-gpio-custom=y
Set: CONFIG_PACKAGE_hwclock Now: CONFIG_PACKAGE_hwclock=y
Set: CONFIG_PACKAGE_i2c-tools Now: CONFIG_PACKAGE_i2c-tools=y
Add: CONFIG_PACKAGE_kmod-rtc-ds1307 Now: CONFIG_PACKAGE_kmod-rtc-ds1307=y
root@122126d368fa:~/source#
</code></pre>
]]></description><link>http://community.onion.io/topic/3355/custom-kernel-config-options-best-practice</link><guid isPermaLink="true">http://community.onion.io/topic/3355/custom-kernel-config-options-best-practice</guid><dc:creator><![CDATA[cas]]></dc:creator><pubDate>Thu, 13 Dec 2018 10:25:17 GMT</pubDate></item><item><title><![CDATA[Build with added python modules]]></title><description><![CDATA[<p dir="auto">Is there documentation somewhere that explains how to include additional python modules during build?</p>
<p dir="auto">I also need to add a handful of files and change default muxing of some gpio ports. Can someone<br />
here explain where to start to atleast please point in to the proper documentation?</p>
]]></description><link>http://community.onion.io/topic/3266/build-with-added-python-modules</link><guid isPermaLink="true">http://community.onion.io/topic/3266/build-with-added-python-modules</guid><dc:creator><![CDATA[Steven Lutz 0]]></dc:creator><pubDate>Thu, 15 Nov 2018 10:05:04 GMT</pubDate></item><item><title><![CDATA[Set CountryRegion for channel 12~14  in Warp Core]]></title><description><![CDATA[<p dir="auto">Hello, Onioneers.</p>
<p dir="auto">I wonder how to enable WiFi channel 12~14 in 0.2.0 b196</p>
<p dir="auto">In 0.10.0 b159 , I could set CountryRegion in /lib/wifi/ralink.sh but couldn't in b196</p>
]]></description><link>http://community.onion.io/topic/3200/set-countryregion-for-channel-12-14-in-warp-core</link><guid isPermaLink="true">http://community.onion.io/topic/3200/set-countryregion-for-channel-12-14-in-warp-core</guid><dc:creator><![CDATA[Lee James]]></dc:creator><pubDate>Mon, 08 Oct 2018 00:35:33 GMT</pubDate></item><item><title><![CDATA[Custom Firmware based of Omega]]></title><description><![CDATA[@Chris-Drake I've tried it too.
]]></description><link>http://community.onion.io/topic/2385/custom-firmware-based-of-omega</link><guid isPermaLink="true">http://community.onion.io/topic/2385/custom-firmware-based-of-omega</guid><dc:creator><![CDATA[Rudá Cunha]]></dc:creator><pubDate>Fri, 13 Oct 2017 11:52:32 GMT</pubDate></item></channel></rss>