<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>UP Board Linux — upcommunity</title>
        <link>https://forum.up-community.org/</link>
        <pubDate>Thu, 21 May 2026 01:27:51 +0000</pubDate>
        <language>en</language>
            <description>UP Board Linux — upcommunity</description>
    <atom:link href="https://forum.up-community.org/categories/up-board-linux/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>What Linux OS / AI do I download/load?</title>
        <link>https://forum.up-community.org/discussion/35118/what-linux-os-ai-do-i-download-load</link>
        <pubDate>Thu, 02 Oct 2025 06:02:56 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Dazz</dc:creator>
        <guid isPermaLink="false">35118@/discussions</guid>
        <description><![CDATA[<p>Hi<br />
I think I have maybe the earliest model of Up.  It has been sitting in storage for a few years.   The box says "Up bridge the gap."  It looks a lot like a Raspberry Pi.  It has 2GB RAM, 16GB eMMC.  The part number is : UP-CHT01-A12-0216.</p>

<p>I want to try using it to run some home security CCTV.  Ideally I'd like to apply some AI.</p>

<p>I need to update the Linux OS, and maybe the BIOS.  I have looked at the download page, and nothing quite matches my board by name.</p>

<p>I run a few actual Raspberry Pi's with headless Ubuntu so I am comfortable working from the CLI.</p>

<p>Any pointers please?</p>

<p>Dazz</p>
]]>
        </description>
    </item>
    <item>
        <title>UP-Board, Yocto-Dunfell, STMCubeProgrammer</title>
        <link>https://forum.up-community.org/discussion/5009/up-board-yocto-dunfell-stmcubeprogrammer</link>
        <pubDate>Thu, 15 Sep 2022 13:12:20 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Munawar</dc:creator>
        <guid isPermaLink="false">5009@/discussions</guid>
        <description><![CDATA[<p>Hello,</p>

<p>I have build an Image for UP-Board using Yocto Dunfell branch. The image is upboard-image-sato. I want ti install STMCubeProgrammer in it, but I am not able to do so. It would be great if I can install STMCUBEProgrammer in it.</p>

<p>STMCubeProgramme installer: <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwww.st.com%2Fen%2Fdevelopment-tools%2Fstm32cubeprog.html">https://www.st.com/en/development-tools/stm32cubeprog.html</a><br />
Installation instruction on LINUX: <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fkaro-electronics.github.io%2Fdocs%2Fsoftware-documentation%2Fflashtools%2Fstm32-programmer%2Findex.html">https://karo-electronics.github.io/docs/software-documentation/flashtools/stm32-programmer/index.html</a></p>
]]>
        </description>
    </item>
    <item>
        <title>Up board booting issue</title>
        <link>https://forum.up-community.org/discussion/34997/up-board-booting-issue</link>
        <pubDate>Thu, 09 Jan 2025 07:34:32 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>aaron_pulikkottil</dc:creator>
        <guid isPermaLink="false">34997@/discussions</guid>
        <description><![CDATA[<p>Hi,</p>

<p>I built a Yocto image (dunfell 3.1.7) for the Upboard and copied the generated .hdd image to a bootable USB drive. However, after connecting the USB drive to the Upboard for flashing the eMMC, the system does not boot and keeps looping in the boot menu.</p>

<p>I followed the instructions provided in this link for building the Yocto image : <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2FAaeonCM%2Fmeta-up-board%2Ftree%2Fdunfell%3Ftab%3Dreadme-ov-file">https://github.com/AaeonCM/meta-up-board/tree/dunfell?tab=readme-ov-file</a></p>

<p>I have also attached the image for reference.</p>

<p><img src="https://us.v-cdn.net/6030431/uploads/editor/gp/2au3jrab9c7t.jpeg" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6030431/uploads/editor/gp/2au3jrab9c7t.jpeg 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6030431/uploads/editor/gp/2au3jrab9c7t.jpeg 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6030431/uploads/editor/gp/2au3jrab9c7t.jpeg 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6030431/uploads/editor/gp/2au3jrab9c7t.jpeg 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6030431/uploads/editor/gp/2au3jrab9c7t.jpeg 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6030431/uploads/editor/gp/2au3jrab9c7t.jpeg 2000w, https://us.v-cdn.net/6030431/uploads/editor/gp/2au3jrab9c7t.jpeg" sizes="100vw" /></p>
]]>
        </description>
    </item>
    <item>
        <title>iTCO watchdog in Ubuntu</title>
        <link>https://forum.up-community.org/discussion/4638/itco-watchdog-in-ubuntu</link>
        <pubDate>Thu, 29 Apr 2021 02:39:24 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>roar</dc:creator>
        <guid isPermaLink="false">4638@/discussions</guid>
        <description><![CDATA[<p>Hi,</p>

<p>In Ubilinux 4 running on our UP Boards, we can see the TCO watchdog:<br /><img src="https://us.v-cdn.net/6030431/uploads/editor/zt/wulbzb6aohxe.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6030431/uploads/editor/zt/wulbzb6aohxe.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6030431/uploads/editor/zt/wulbzb6aohxe.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6030431/uploads/editor/zt/wulbzb6aohxe.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6030431/uploads/editor/zt/wulbzb6aohxe.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6030431/uploads/editor/zt/wulbzb6aohxe.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6030431/uploads/editor/zt/wulbzb6aohxe.png 2000w, https://us.v-cdn.net/6030431/uploads/editor/zt/wulbzb6aohxe.png" sizes="100vw" /></p>

<p>We cannot get the iTCO watchdog to show up under /dev/watchdog in Ubuntu. Have followed the <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2Fup-board%2Fup-community%2Fwiki%2FiTCO_Watchdog">instructions on your Github</a> and set up Ubuntu desktop 20.04 correctly as per <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2Fup-board%2Fup-community%2Fwiki%2FUbuntu_20.04">these instructions</a> yet the iTCO watchdog doesn't display.</p>

<p>What kernel should we have installed to get the watchdog working? We installed:<br /><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2Fup-board%2Fup-community%2Fwiki%2FUbuntu_20.04%23install-ubuntu-kernel-540-from-ppa-on-ubuntu-2004">Linux upxtreme-UP-WHL01 5.4.0-1-generic #2~upboard2-Ubuntu SMP Thu Jul 25 13:35:27 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux</a> as per the instructions.</p>

<p>Should we be using a different kernel to get the iTCO watchdog on an UP Board? We don't want to use Ubilinux anymore so need this to work in Ubuntu.</p>

<p>P.S. we need the iTCO watchdog, not a softdog.</p>
]]>
        </description>
    </item>
    <item>
        <title>UP-3GHAT-A20-0001 - device disconnected</title>
        <link>https://forum.up-community.org/discussion/34965/up-3ghat-a20-0001-device-disconnected</link>
        <pubDate>Wed, 23 Oct 2024 01:17:20 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>ethicalshields</dc:creator>
        <guid isPermaLink="false">34965@/discussions</guid>
        <description><![CDATA[<p>Hi Teams,</p>

<p>I have problems with the UP-3GHAT-A20-0001 module, on several occasions it disconnects from the USB bus and it is necessary to reselect the bus.<br />
For example: ttyUSB6 connection disconnects, it is necessary to reselect ttyUSB0.<br />
I have Linux Debian 12 installed:</p>

<p>[100931.181219] option1 ttyUSB6: GSM modem (1-port) converter now disconnected from ttyUSB6<br />
[100931.181344] option 1-7.2.4:1.3: device disconnected<br />
[100931.184994] qmi_wwan 1-7.2.4:1.4 wwan0: unregister 'qmi_wwan' usb-0000:00:14.0-7.2.4, WWAN/QMI device<br />
[100934.732589] usb 1-7.2.4: new high-speed USB device number 9 using xhci_hcd<br />
[100934.834395] usb 1-7.2.4: New USB device found, idVendor=05c6, idProduct=9003, bcdDevice= 0.00<br />
[100934.834410] usb 1-7.2.4: New USB device strings: Mfr=3, Product=2, SerialNumber=4<br />
[100934.834416] usb 1-7.2.4: Product: UMTS/HSPA Module<br />
[100934.834420] usb 1-7.2.4: Manufacturer: Quectel, Incorporated<br />
[100934.841241] option 1-7.2.4:1.0: GSM modem (1-port) converter detected<br />
[100934.841430] usb 1-7.2.4: GSM modem (1-port) converter now attached to ttyUSB0<br />
[100934.841613] option 1-7.2.4:1.1: GSM modem (1-port) converter detected<br />
[100934.841770] usb 1-7.2.4: GSM modem (1-port) converter now attached to ttyUSB1<br />
[100934.841944] option 1-7.2.4:1.2: GSM modem (1-port) converter detected<br />
[100934.842091] usb 1-7.2.4: GSM modem (1-port) converter now attached to ttyUSB2<br />
[100934.842253] option 1-7.2.4:1.3: GSM modem (1-port) converter detected<br />
[100934.842400] usb 1-7.2.4: GSM modem (1-port) converter now attached to ttyUSB3</p>

<p>Regards</p>

<p>Ruben</p>
]]>
        </description>
    </item>
    <item>
        <title>PPS through GPIO 26</title>
        <link>https://forum.up-community.org/discussion/4304/pps-through-gpio-26</link>
        <pubDate>Tue, 02 Jun 2020 09:27:48 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>zajacik</dc:creator>
        <guid isPermaLink="false">4304@/discussions</guid>
        <description><![CDATA[<p>Hi,<br />
I would like to use UP Board as GPS time server. There is no problem connecting GPS module to the board using uart or usb. I need more precise time measurements, leading to time synchronization via PPS pulse produced by GPS chip.</p>

<p>I would like to use some free GPIO pin (eg. pin 26) as a PPS device. Can anyone point me at a right direction of doing that? Kernel has pps-gpio module, but it needs to specify device in device tree, which is sadly not possible on x86 arch od UP Board.</p>
]]>
        </description>
    </item>
    <item>
        <title>How to access TPM on UP4000?</title>
        <link>https://forum.up-community.org/discussion/5381/how-to-access-tpm-on-up4000</link>
        <pubDate>Tue, 23 Jan 2024 14:40:28 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>torntrousers</dc:creator>
        <guid isPermaLink="false">5381@/discussions</guid>
        <description><![CDATA[<p>Hello, can anyone help with how to use the TPM chip on an UP4000 board running Debian? Just can't get the device to appear.</p>

<p>For other platforms there are guides about how to enable it, eg <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwww.infineon.com%2Fdgdl%2FInfineon-OPTIGA-TPM-Quick-Start-Guide-AdditionalProductInformation-v03_00-EN.pdf%3FfileId%3D5546d4626cb27db2016d05dfaac31284">here</a> for a Pi, or <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fforums.developer.nvidia.com%2Ft%2Fhow-to-enable-tpm%2F266719">this</a> for Nvidia.</p>

<p>Any ideas what to do for UP4000?</p>
]]>
        </description>
    </item>
    <item>
        <title>How to access GPIO pins with Python on an UP4000 running Debian?</title>
        <link>https://forum.up-community.org/discussion/5325/how-to-access-gpio-pins-with-python-on-an-up4000-running-debian</link>
        <pubDate>Thu, 30 Nov 2023 21:40:24 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>torntrousers</dc:creator>
        <guid isPermaLink="false">5325@/discussions</guid>
        <description><![CDATA[<p>Hello.</p>

<p>Could anyone help with how to access GPIO pins from Python on an UP4000 running Debian?</p>

<p>Many thanks in advance.</p>
]]>
        </description>
    </item>
    <item>
        <title>eMMC not recognized</title>
        <link>https://forum.up-community.org/discussion/3328/emmc-not-recognized</link>
        <pubDate>Sat, 27 Oct 2018 14:31:32 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>ryanbhuvam</dc:creator>
        <guid isPermaLink="false">3328@/discussions</guid>
        <description><![CDATA[<p>I just got the up board with 2GB RAM and 32GB eMMC. The eMMC doesn't show up in the BIOS nor in the EFI shell.<br />
Attached is the snapshot of the EFI shell screen.<br />
Do I need to change the BIOS setting to enable the eMMC?<br />
Thanks,</p>
]]>
        </description>
    </item>
    <item>
        <title>UP Squared Pro 7000 and UP HDMI IN Carrier Board</title>
        <link>https://forum.up-community.org/discussion/5291/up-squared-pro-7000-and-up-hdmi-in-carrier-board</link>
        <pubDate>Fri, 20 Oct 2023 06:15:42 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>MakotoA67</dc:creator>
        <guid isPermaLink="false">5291@/discussions</guid>
        <description><![CDATA[<p>Now, I am trying using UP HDMI IN Carrier Board, which has some HDMI to MIPI converter chip LT6911UXC, as the first image capture device in the UP platform.</p>

<p>UP HDMI IN Carrier Board<br /><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fup-shop.org%2Fdefault%2Fup-hdmi-in-carrier-board.html">https://up-shop.org/default/up-hdmi-in-carrier-board.html</a></p>

<p>Could you please let me know how to set up the environment for this carrier board?</p>

<p>For now, I'm going to show my current status in the following:</p>

<p>up-board/up-community Wiki<br /><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2Fup-board%2Fup-community%2Fwiki%2FUbuntu-2004-LTS-GSG">https://github.com/up-board/up-community/wiki/Ubuntu-2004-LTS-GSG</a></p>

<p>I installed Ubuntu Desktop 20.04 image showed in the above page, and, applied the kernel patches provided in the following link.</p>

<p>Kernel repo link:<br /><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2Fintel%2Flinux-kernel-overlay%2Ftree%2Flts2021-ubuntu">https://github.com/intel/linux-kernel-overlay/tree/lts2021-ubuntu</a></p>

<p>And, I found the string "INTC10C0" in the BIOS setting and the source file "ipu6-acpi.c".</p>

<p>BIOS:</p>

<ul><li>Sensor Model: [User Custom]</li>
<li>Custom HID: INTC10C0</li>
</ul><p>ipu6-acpi.c:</p>

<ul><li>{ "INTC10C0", AR0234_NAME, get_sensor_pdata, NULL, 0, TYPE_DIRECT, NULL },    // AR0234 HID</li>
<li>{ "INTC10B1", LT6911UXC_NAME, get_sensor_pdata, NULL, 0, TYPE_DIRECT, NULL }, // Lontium HID</li>
</ul><p>I also found the string LT6911UXC, so, by changing INTC10C0 to INTC10B1, and I could see the string "lt6911uxc". And, I found the I2C slave address of the chip LT6911UXC somewhere. I guessed the address is 0x2b, and by setting it in the BIOS setting, probably, the probing process of the chip LT6911UXC seemed to be passed.</p>

<p>And, refering to the document "Enable HDMI Capture on Yocto Tutorial.pdf" found in the page "UP HDMI IN Carrier Board", I using the sample Gstreamer command showed in the document, but, it doesn't work. The error message is like the following...</p>

<p>WARNING: erroneous pipeline: could not link camerasrcc0 to videoconvert0, neither element can handle caps video/xraw, format=(string)UYVY, width=(int)1920, height=(int)1080</p>

<p>I'm not familiar to gstreamer framework...</p>

<p>That is it for now. Any help would be greatly appreciated.<br />
Thanks</p>
]]>
        </description>
    </item>
    <item>
        <title>Support for Up-Board with Ubuntu 20.04LTS</title>
        <link>https://forum.up-community.org/discussion/4464/support-for-up-board-with-ubuntu-20-04lts</link>
        <pubDate>Mon, 26 Oct 2020 16:43:43 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>muawijhe</dc:creator>
        <guid isPermaLink="false">4464@/discussions</guid>
        <description><![CDATA[<p>Hi,<br />
first of all, congrats for the nice product <img src="https://forum.up-community.org/resources/emoji/smile.png" title=":)" alt=":)" height="20" /></p>

<p>We are a SME operating within the Marine Robotics field. We are currently developing a monitoring sea buoy for emergency robotics scenario.</p>

<p>For the sea buoy (and to evaluate the solution for coming fleet of autonomous underwater  systems) we bought the up-board.</p>

<p>First impression is very good and also performances testing compiling time of large ROS2 projects. However, I noticed that SPI is not properly detected.</p>

<p>Did I miss something?</p>

<p>I noticed that support for Ubuntu 20.04 LTS was scheduled for Q3 2020. What is the status?</p>

<p>I hope you can help me, our demonstration deadline is in December and we need SPI to enable voltage monitoring onboard of the sea buoy through a raspberry-shield using both SPI and I2C (io explorer from abelectronics).</p>

<p>We already successfully used the shield in a raspberry pi 4 project (the rugged portable control station of this project). However, in the long term we would like to consider migration to x64 for all the subsystems.</p>

<p>Hope to receive help soon,</p>

<p>Vincenzo Calabrò<br />
MDM Team CTO</p>
]]>
        </description>
    </item>
    <item>
        <title>UPBoard  with Ububtu 22.04 and mraa ?</title>
        <link>https://forum.up-community.org/discussion/5293/upboard-with-ububtu-22-04-and-mraa</link>
        <pubDate>Sun, 22 Oct 2023 08:56:09 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Lubo</dc:creator>
        <guid isPermaLink="false">5293@/discussions</guid>
        <description><![CDATA[<p>I sucesfully installed ubuntu 22.04, however I am not able to run mraa on it.<br />
I always just see that mraa is running on "Unknown platform" ... and there is "No pins" writen as response on marr-gpio list command....<br />
Is there any way to run Ubuntu22.04 with working mraa on UPBoard ?</p>
]]>
        </description>
    </item>
    <item>
        <title>Is yocto kirkstone supposed to be compatible with the upboard?</title>
        <link>https://forum.up-community.org/discussion/5267/is-yocto-kirkstone-supposed-to-be-compatible-with-the-upboard</link>
        <pubDate>Wed, 20 Sep 2023 08:19:57 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>taranto</dc:creator>
        <guid isPermaLink="false">5267@/discussions</guid>
        <description><![CDATA[<p>Readme.md file doesn't have the upboard as a supported board, but there is a upboard MACHINE target. Tried booting the target on the upboard but it's hanging at the startup. Dunfell also looks unmaintained, I was not able to build because of (i believe) expired sources on the packages download.</p>

<p>We have quite a bunch of upboards and are now introducing the up-4000, ideally we would have yocto across the fleet, what would be the suggested approach for this?</p>
]]>
        </description>
    </item>
    <item>
        <title>New I2C LCD not detected.</title>
        <link>https://forum.up-community.org/discussion/5262/new-i2c-lcd-not-detected</link>
        <pubDate>Mon, 18 Sep 2023 13:28:52 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>eokerson</dc:creator>
        <guid isPermaLink="false">5262@/discussions</guid>
        <description><![CDATA[<p>We are currently using the DFR0063 in a product with an UpBoard model UP-CHT01-A20-0432-A11 as the controller, but want to switch to the DFR0555. When we plug in the DFR0555 the i2c bus slows way down. It takes almost 2 minutes to scan the bus with i2cdetect and it does not detect the LCD. It works fine with the DFR0063. Both LCD's are detected fine on a RaspberryPi 4. Any suggestions?</p>
]]>
        </description>
    </item>
    <item>
        <title>Failed to detect i2c device after kernel upgrade</title>
        <link>https://forum.up-community.org/discussion/4637/failed-to-detect-i2c-device-after-kernel-upgrade</link>
        <pubDate>Mon, 26 Apr 2021 15:14:06 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>robogil</dc:creator>
        <guid isPermaLink="false">4637@/discussions</guid>
        <description><![CDATA[<p>Hi, I have updated my upboard to use kernel 5.4.0-1-generic for Ubuntu 18.04 server and since then I do not see my i2c device (mlx90641).<br />
When listing the i2c devices using <code spellcheck="false" tabindex="0">i2cdetect -l</code>i see</p>

<blockquote><div>
  <p>i2c-3 i2c         Synopsys DesignWare I2C adapter     I2C adapter<br />
  i2c-10    i2c         i915 gmbus dpb                      I2C adapter<br />
  i2c-1 i2c         Synopsys DesignWare I2C adapter     I2C adapter<br />
  i2c-8 i2c         i915 gmbus panel                    I2C adapter<br />
  i2c-6 i2c         i915 gmbus ssc                      I2C adapter<br />
  i2c-4 i2c         Synopsys DesignWare I2C adapter     I2C adapter<br />
  i2c-11    i2c         i915 gmbus dpd                      I2C adapter<br />
  i2c-2 i2c         Synopsys DesignWare I2C adapter     I2C adapter<br />
  i2c-0 i2c         Synopsys DesignWare I2C adapter     I2C adapter<br />
  i2c-9 i2c         i915 gmbus dpc                      I2C adapter<br />
  i2c-7 i2c         i915 gmbus vga                      I2C adapter<br />
  i2c-5 i2c         Synopsys DesignWare I2C adapter     I2C adapter<br />
  i2c-12    i2c         DPDDC-D                             I2C adapter</p>
</div></blockquote>

<p><code spellcheck="false" tabindex="0">i2cdetect -r -y 0</code></p>

<blockquote><div>
  <p>0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f<br />
  00:          -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
  10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
  20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
  30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
  40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
  50: -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- -- <br />
  60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
  70: -- -- -- -- -- -- -- --</p>
</div></blockquote>

<p>I have an additional upboard with the previous kernel (4.4.0-2-upboard) here is looks sorted:</p>

<blockquote><div>
  <p>i2c-0 i2c         Synopsys DesignWare I2C adapter     I2C adapter<br />
  i2c-1 i2c         Synopsys DesignWare I2C adapter     I2C adapter<br />
  i2c-2 i2c         Synopsys DesignWare I2C adapter     I2C adapter<br />
  i2c-3 i2c         i915 gmbus ssc                      I2C adapter<br />
  i2c-4 i2c         Synopsys DesignWare I2C adapter     I2C adapter<br />
  i2c-5 i2c         Synopsys DesignWare I2C adapter     I2C adapter<br />
  i2c-6 i2c         Synopsys DesignWare I2C adapter     I2C adapter<br />
  i2c-7 i2c         i915 gmbus vga                      I2C adapter<br />
  i2c-8 i2c         i915 gmbus panel                    I2C adapter<br />
  i2c-9 i2c         i915 gmbus dpc                      I2C adapter<br />
  i2c-10    i2c         i915 gmbus dpb                      I2C adapter<br />
  i2c-11    i2c         i915 gmbus dpd                      I2C adapter<br />
  i2c-12    i2c         DPDDC-D                             I2C adapter</p>
</div></blockquote>

<p>And I can see the device here where is should be (0X33):</p>

<p><code spellcheck="false" tabindex="0">i2cdetect -r -y 0</code></p>

<blockquote><div>
  <p>0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f<br />
  00:          -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
  10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
  20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
  30: -- -- -- 33 -- -- -- -- -- -- -- -- -- -- -- -- <br />
  40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
  50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
  60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
  70: -- -- -- -- -- -- -- --</p>
</div></blockquote>

<p>What am I missing?</p>
]]>
        </description>
    </item>
    <item>
        <title>Installation Node-RED</title>
        <link>https://forum.up-community.org/discussion/5255/installation-node-red</link>
        <pubDate>Thu, 07 Sep 2023 10:56:04 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Wojtulo</dc:creator>
        <guid isPermaLink="false">5255@/discussions</guid>
        <description><![CDATA[<p>Is possible instalation Node-Red on this hardware?<br />
I have Ubuntu 20.04 installed and when I try to install a package NodeRedfor Debian I get an error</p>
]]>
        </description>
    </item>
    <item>
        <title>how to connect internet to UP board(intel atom x5-Z8350) using wifi adaptor</title>
        <link>https://forum.up-community.org/discussion/5246/how-to-connect-internet-to-up-board-intel-atom-x5-z8350-using-wifi-adaptor</link>
        <pubDate>Wed, 30 Aug 2023 05:26:56 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>rajam</dc:creator>
        <guid isPermaLink="false">5246@/discussions</guid>
        <description><![CDATA[<p>I took an UP board, where we flashed an image which is with kernel 4.9.45 ubilinux, I included the Wi-Fi driver(rtl8821au) in the image itself.<br />
After flashing the image, tp-link usb is getting detected and working fine, but I am not getting how to connect the board to Wi-Fi using Wi-Fi adaptor (TL-wn823n).<br />
note: There is no GUI interface we are using, we need to connect to Wi-Fi through terminal.</p>

<p>Thanks in advance for any response.</p>
]]>
        </description>
    </item>
    <item>
        <title>MIPI CSI</title>
        <link>https://forum.up-community.org/discussion/1055/mipi-csi</link>
        <pubDate>Sun, 18 Dec 2016 23:40:26 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Dan</dc:creator>
        <guid isPermaLink="false">1055@/discussions</guid>
        <description><![CDATA[We have a custom board to connect a HDMI to CSI chip (TC358743) to the Up-Board, but it is not currently working.<br /><br />
I have added the TC358743 driver to the kernel image, but I am unsure if the CSI driver is even available. So I am looking for some information on how to check if the CSI interface is enabled or not, what kernel config option is used to do this and what Up-Board trees support it (Yocto, Ubilinux, Ubuntu etc).<br /><br />
Any help would be greatly appreciated.<br /><br />
Thanks]]>
        </description>
    </item>
    <item>
        <title>Installing Ubuntu on UP-Extreme i12</title>
        <link>https://forum.up-community.org/discussion/5216/installing-ubuntu-on-up-extreme-i12</link>
        <pubDate>Wed, 19 Jul 2023 20:03:26 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>techpharaoh</dc:creator>
        <guid isPermaLink="false">5216@/discussions</guid>
        <description><![CDATA[<p>Hi,</p>

<p>I have an UP-Xtreme i12 and I want to install an Ubuntu 20.04 server. <br />
I tried using Ubuntu 20.04.03, 20.04.05, and 20.04.06.  I burnt the image on a USB stick using etcher. I am following the guidelines in <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2Fup-board%2Fup-community%2Fwiki%2FUbuntu_20.04">https://github.com/up-board/up-community/wiki/Ubuntu_20.04</a></p>

<p>Unfortunately, with any of these versions, I get the same error during installation. <br />
The error is "block probing did not discover any disks".</p>

<p>Any idea how to solve this issue?</p>
]]>
        </description>
    </item>
    <item>
        <title>Could not boot Linux from mmc</title>
        <link>https://forum.up-community.org/discussion/5225/could-not-boot-linux-from-mmc</link>
        <pubDate>Sat, 29 Jul 2023 08:17:59 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Konstantin</dc:creator>
        <guid isPermaLink="false">5225@/discussions</guid>
        <description><![CDATA[<p>Hi:</p>

<p>I am having very weird problem which I have not able to figure out (yet). I have one of the first generation up-board which runs Debian with patched kernel 4.9 (<a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2Femutex%2Fubilinux-kernel%2Fcommits%2Fupboard-4.9%29">https://github.com/emutex/ubilinux-kernel/commits/upboard-4.9)</a>. When I try to use different generic kernel version (5.19 amd64) I am getting weird error during the boot:</p>

<p>mmc0: unrecognised CSD structure version 0<br />
mmc0: error -22 whilst initialising MMC card</p>

<p>Now if I boot Ubuntu with kernel version 5.19 from usb flash drive I can see the mmc and I can access it.</p>

<p>Any ideas what could be the issue?</p>

<p>Board: AAEON UP-CHT01/UP-CHT01, BIOS UPC1BM0S 06/04/2016<br />
Ram: 4GB<br />
MMC : 32GB</p>

<p>Thanks</p>
]]>
        </description>
    </item>
    <item>
        <title>Support for Ubuntu 22.04</title>
        <link>https://forum.up-community.org/discussion/4921/support-for-ubuntu-22-04</link>
        <pubDate>Sun, 29 May 2022 05:57:01 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>mstuder</dc:creator>
        <guid isPermaLink="false">4921@/discussions</guid>
        <description><![CDATA[<p>Hi Up Team</p>

<p>First of all. Congratulation for a so nice Product (Up Board). We now have more than 200 pcs online for building automation.</p>

<p>After a long period of time we switch our main OS to Ubuntu 22.04. Are there any scedule to make a kernel for this Ubuntu version? I think it is very simular to Ubuntu 20.04. Our goal is, to bring out the image on autumn this year.</p>

<p>And ist the first HW-Version from the year 2016 compatible with it?</p>

<p>Greetings from Switzerland</p>
]]>
        </description>
    </item>
    <item>
        <title>Ubuntu 18.04 EoL End of standard support 05/31/2023</title>
        <link>https://forum.up-community.org/discussion/5172/ubuntu-18-04-eol-end-of-standard-support-05-31-2023</link>
        <pubDate>Sun, 21 May 2023 19:29:13 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>UpBored</dc:creator>
        <guid isPermaLink="false">5172@/discussions</guid>
        <description><![CDATA[<p><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fubuntu.com%2Fblog%2F18-04-end-of-standard-support">https://ubuntu.com/blog/18-04-end-of-standard-support</a></p>
]]>
        </description>
    </item>
    <item>
        <title>UP Squared Pro, High Speed COM1</title>
        <link>https://forum.up-community.org/discussion/5088/up-squared-pro-high-speed-com1</link>
        <pubDate>Tue, 17 Jan 2023 16:18:28 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>ryan_mulder_antrum</dc:creator>
        <guid isPermaLink="false">5088@/discussions</guid>
        <description><![CDATA[<p>Can I configure the baud rate on COM1/2 on the Up Squared Pro to be higher than 115200?</p>
]]>
        </description>
    </item>
    <item>
        <title>HDMI Audio: no hw mixer</title>
        <link>https://forum.up-community.org/discussion/5110/hdmi-audio-no-hw-mixer</link>
        <pubDate>Thu, 09 Feb 2023 16:05:57 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>fga</dc:creator>
        <guid isPermaLink="false">5110@/discussions</guid>
        <description><![CDATA[<p>Hi,</p>

<p>We are able to use HDMI with audio using kernel driver snd_hdmi_lpe_audio, but it looks like the audio card does not define any controls, so it is not possible to have multiple<br />
sources streaming towards HDMI/audio concurrently. <br />
Has anyone had the same problem ? Is there a way to solve this ?.</p>

<p>Br,</p>
]]>
        </description>
    </item>
    <item>
        <title>Ubuntu 20.04 won&#39;t install on the UP Board</title>
        <link>https://forum.up-community.org/discussion/5125/ubuntu-20-04-wont-install-on-the-up-board</link>
        <pubDate>Wed, 08 Mar 2023 14:11:53 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>boli256</dc:creator>
        <guid isPermaLink="false">5125@/discussions</guid>
        <description><![CDATA[<p>I have flashed this iso file onto an empty 8 gb flash drive: <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Freleases.ubuntu.com%2F20.04%2Fubuntu-20.04.5-desktop-amd64.iso">https://releases.ubuntu.com/20.04/ubuntu-20.04.5-desktop-amd64.iso</a></p>

<p>After selecting things on the menu, it will eventually ask me to take out the flash drive and hit enter. After I did that, the installation is still not done and it has been over 24 hours. I also have Ethernet connected to the UP board so I'm not sure if that will have an effect on anything.</p>

<p>I am new to UP board so any help will be appreciated.</p>

<p>Thank you in advance</p>
]]>
        </description>
    </item>
    <item>
        <title>UP Board benchmark slow</title>
        <link>https://forum.up-community.org/discussion/5115/up-board-benchmark-slow</link>
        <pubDate>Wed, 15 Feb 2023 14:43:03 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>3cells</dc:creator>
        <guid isPermaLink="false">5115@/discussions</guid>
        <description><![CDATA[<p>I am just setting up a new UPBoard (Ubuntu 18.04) and have noticed it is particularly slow to respond. So I ran it through geekbench5 to see if this was indeed the case. It scored very low. so I tested one of our older boards and got Single CPU 178 and Multi-Core 393. Looking at other UPBoard scores I note that around 178 for single CPU is correct but some machines are in the 600's for multi-core. I would like to know why some machines - like mine are slow and what needs to be done to get some speed back?<br /><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fbrowser.geekbench.com%2Fsearch%3Futf8%3D%25E2%259C%2593%26q%3DCHT01">https://browser.geekbench.com/search?utf8=%E2%9C%93&amp;q=CHT01</a></p>
]]>
        </description>
    </item>
    <item>
        <title>Kernel 6 on UpBoard</title>
        <link>https://forum.up-community.org/discussion/5109/kernel-6-on-upboard</link>
        <pubDate>Wed, 08 Feb 2023 07:50:19 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>maghost</dc:creator>
        <guid isPermaLink="false">5109@/discussions</guid>
        <description><![CDATA[<p>Hi Up Board community!</p>

<p>I tried to install newest linux arch kernel on Up Board (6.1).<br />
All works well except GPIO.</p>

<p>I know, it requires a additional driver compliated with kernel.<br />
I tried to merge only this driver (from older repo), but without much success.</p>

<p>I need only GPIO controll, without I2C, SPI etc.</p>

<p>Does anyone compile 6.x Linux kernel on Up Board?<br />
Is it even possible for support to help me with that?</p>

<p>Thanks,<br />
Marcin</p>
]]>
        </description>
    </item>
    <item>
        <title>SanDisk storage only reading 30.6 MB capacity after board reset</title>
        <link>https://forum.up-community.org/discussion/4756/sandisk-storage-only-reading-30-6-mb-capacity-after-board-reset</link>
        <pubDate>Fri, 24 Sep 2021 07:57:24 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>jon</dc:creator>
        <guid isPermaLink="false">4756@/discussions</guid>
        <description><![CDATA[<p>Hello, we have a few UP-CHT01-A20-0432-A11 boards that accidentally had the reset button pressed, and it wiped the Sandisk eMMC storage. When we went to reinstall Ubuntu Linux on mmcblk0, the capacity only reads as 30.6 MB now instead of 32 GB as expected. Does anyone know why this happens and how to fix it? We have tried updating the BIOS to UPC1DM23 but it didn't change this behavior.</p>

<p>I've attached a log from Ubuntu's boot-repair tool below in case it is helpful. Thanks in advance for your assistance!</p>

<hr /><pre spellcheck="false" tabindex="0">boot-repair-4ppa130                                              [20210921_1938]

============================== Boot Info Summary ===============================

 =&gt; No boot loader is installed in the MBR of /dev/mmcblk0.

sda: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


================================ 0 OS detected =================================


============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 18.04.5 LTS, bionic, x86_64)


===================================== UEFI =====================================

BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.

efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001
Boot0001* UEFI: Memorex USB Flash Drive PMAP, Partition 1   PciRoot(0x0)/Pci(0x14,0x0)/USB(6,0)/USB(0,0)/HD(1,MBR,0x483122d5,0x35d8,0x1340)..BO
This session has been detected as 'live' because /proc/cmdline contains (boot=casper)
This session has been detected as 'live' because df -Th / contains overlay



============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________


Partitions info (1/3): _________________________________________________________


Partitions info (2/3): _________________________________________________________


Partitions info (3/3): _________________________________________________________


fdisk -l (filtered): ___________________________________________________________

Disk mmcblk0: 30.6 MiB, 32096256 bytes, 62688 sectors
Disk sda: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Disk identifier: 0x483122d5
      Boot Start     End Sectors  Size Id Type
sda1  *        0 4284223 4284224    2G  0 Empty
sda2       13784   18711    4928  2.4M ef EFI (FAT-12/16/32)

parted -lm (filtered): _________________________________________________________

sda:31.5GB:scsi:512:512:unknown:Memorex USB Flash Drive:;
mmcblk0:32.1MB:sd/mmc:512:512:unknown:MMC SDM032:;

blkid (filtered): ______________________________________________________________

NAME    FSTYPE   UUID                                 PARTUUID                             LABEL                    PARTLABEL
sda     iso9660  2020-08-06-22-59-01-00                                                    Ubuntu 18.04.5 LTS amd64 
├─sda1  iso9660  2020-08-06-22-59-01-00               483122d5-01                          Ubuntu 18.04.5 LTS amd64 
└─sda2  vfat     EC34-71CF                            483122d5-02                          Ubuntu 18.04.5 LTS amd64 
mmcblk0                                                                                                             

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda         0 100% /cdrom

Mount options: __________________________________________________________________

sda    ro,noatime,nojoliet,check=s,map=n,blocksize=2048

====================== sda/boot/grub/grub.cfg (filtered) =======================

Try Ubuntu without installing
Install Ubuntu
OEM install (for manufacturers)
Check disc for defects

==================== sda: Location of files loaded by Grub =====================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sda

00000000  45 52 08 00 00 00 90 90  00 00 00 00 00 00 00 00  |ER..............|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.&gt;@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....&gt;b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....&lt;.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  94 80 00 00 00 00 00 00  d5 22 31 48 00 00 80 00  |........."1H....|
000001c0  01 00 00 82 e0 fd 00 00  00 00 40 5f 41 00 00 fe  |..........@_A...|
000001d0  ff ff ef fe ff ff d8 35  00 00 40 13 00 00 00 00  |.......5..@.....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[80550]) leaked on lvs invocation. Parent PID 7838: /bin/bash

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would not act on the boot.

</pre>
]]>
        </description>
    </item>
    <item>
        <title>Installing Raspberry Pi Desktop on Up Board</title>
        <link>https://forum.up-community.org/discussion/5021/installing-raspberry-pi-desktop-on-up-board</link>
        <pubDate>Thu, 29 Sep 2022 03:57:56 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>keith_smarta</dc:creator>
        <guid isPermaLink="false">5021@/discussions</guid>
        <description><![CDATA[<p>Is it possible to install the <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwww.raspberrypi.com%2Fsoftware%2Fraspberry-pi-desktop%2F">Raspberry Pi Desktop OS</a> on the Up Board?</p>
]]>
        </description>
    </item>
    <item>
        <title>Up Board MCP2515 CAN BUS Ubuntu 18.04 Intel CPU</title>
        <link>https://forum.up-community.org/discussion/5062/up-board-mcp2515-can-bus-ubuntu-18-04-intel-cpu</link>
        <pubDate>Fri, 02 Dec 2022 17:20:48 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>royerboat</dc:creator>
        <guid isPermaLink="false">5062@/discussions</guid>
        <description><![CDATA[<p>Hello,</p>

<p>I have the Waveshare 2-CH CAN Hat (<a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwww.waveshare.com%2Fwiki%2F2-CH_CAN_HAT%29">https://www.waveshare.com/wiki/2-CH_CAN_HAT)</a> that I am trying to get working correctly with the Up board.</p>

<p>I have gotten the HAT to work on the Up Squared thanks to the instructions in the posts <a href="https://forum.up-community.org/discussion/3811/solved-mcp2515-can-bus-ubuntu-18-04-intel-cpu#latest" rel="nofollow">https://forum.up-community.org/discussion/3811/solved-mcp2515-can-bus-ubuntu-18-04-intel-cpu#latest</a> and <a href="https://forum.up-community.org/discussion/96/canbus-hat-support" rel="nofollow">https://forum.up-community.org/discussion/96/canbus-hat-support</a>. I also used the kernel module code from <a href="https://forum.up-community.org/profile/nukular" rel="nofollow">@nukular</a>, but tweaked a couple of things:</p>

<ul><li>oscillator_frequency was set to 16000000</li>
<li>max_speed_hz is 10 * 1000 * 1000</li>
</ul><p>The settings I passed to the kernel module which worked on the Up Squared are:</p>

<ul><li>gpio_int pin Linux 471 (or GPIO pin 23).</li>
<li>busnum was 1</li>
<li>chip_select 0</li>
</ul><p>On the Up board, I've discovered that the busnum has to be 2 and the chip select has to be 1. Otherwise, I get errors in the dmesg logs.</p>

<p>My setup:<br />
I have one Up Squared with the CAN hat and kernel module installed. I've verified it can talk over the CAN hat to another Up Squared with the same CAN hat and kernel module running.</p>

<p>I have one Up board with the CAN hat and kernel module installed.</p>

<p>The Up board and Up Squared board have wires connecting each other on the CAN0 interface, CAN0_H on the Up Squared is connected to CAN0_H on the UP board and CAN0_L on the Up Squared is connected to CAN0_L on the Up board.</p>

<p>The test I've been doing is to run <code spellcheck="false" tabindex="0">candump can0</code> on the Up Squared and <code spellcheck="false" tabindex="0">cansend can0 000#11.22.33.44</code> on the Up board.</p>

<p>Things I've tried:<br />
I've tried using the following gpio pin options when loading the kernel module:</p>

<ul><li>471</li>
<li>22</li>
<li>23</li>
</ul><p>After using <code spellcheck="false" tabindex="0">insmod</code> to load the kernel module with one of the above options and setting up the can0 interface, I tried using <code spellcheck="false" tabindex="0">cansend</code> to send a message to the Up Squared. The Up Squared never receives the message.</p>

<p>Has anyone else been able to get the waveshare 2-CH CAN Hat working with the Up board?</p>

<p>Here is the output of dmesg logs:</p>

<pre spellcheck="false" tabindex="0">[  941.544179] mcp2515_init: init
[  941.544206] mcp2515_init: irq for pin 471 is 157
[  941.559150] mcp2515_init: device created!
[  941.573040] CAN device driver interface
[  941.617122] mcp251x spi2.1 can0: MCP2515 successfully initialized.
[  969.439637] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
[ 1644.014597] can: controller area network core (rev 20170425 abi 9)
[ 1644.014735] NET: Registered protocol family 29
[ 1644.026087] can: raw protocol (rev 20170425)
[ 1964.268386] mcp2515_init: exit
[ 2067.185173] mcp2515_init: init
[ 2067.185269] mcp2515_init: irq for pin 23 is 158
[ 2067.236835] mcp251x spi2.1 can0: MCP2515 successfully initialized.
[ 2067.236927] mcp2515_init: device created!
[ 2114.461978] up_irq_chip_set_type_parent: type:2, gc-&gt;label:up-pinctrl, offset:23
[ 2114.461984] up_irq_chip_set_type_parent: pin-&gt;irq:158, pin-&gt;soc_gpio.irq:138
[ 2114.461986] up_irq_chip_set_type_parent: no NULL
[ 2114.479256] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
[ 2200.669503] x86/PAT: alsa-sink-HdmiL:2800 map pfn RAM range req uncached-minus for [mem 0x3c500000-0x3c556fff], got write-combining
[ 2234.067601] x86/PAT: alsa-sink-HdmiL:2800 map pfn RAM range req uncached-minus for [mem 0x3c500000-0x3c556fff], got write-combining
[ 2241.640608] mcp2515_init: exit
[ 2347.534458] mcp2515_init: init
[ 2347.534561] mcp2515_init: irq for pin 22 is 159
[ 2347.582054] mcp251x spi2.1 can0: MCP2515 successfully initialized.
[ 2347.582183] mcp2515_init: device created!
[ 2367.080299] up_irq_chip_set_type_parent: type:2, gc-&gt;label:up-pinctrl, offset:22
[ 2367.080305] up_irq_chip_set_type_parent: pin-&gt;irq:159, pin-&gt;soc_gpio.irq:137
[ 2367.080307] up_irq_chip_set_type_parent: no NULL
[ 2367.103268] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
[ 2843.670977] mcp2515_init: exit
</pre>

<p>For reference, here is the kernel module code:</p>

<pre spellcheck="false" tabindex="0">#include &lt;linux/init.h&gt;
#include &lt;linux/module.h&gt;
#include &lt;linux/spi/spi.h&gt;
#include &lt;linux/can/platform/mcp251x.h&gt;
#include &lt;linux/gpio.h&gt;
#include &lt;linux/interrupt.h&gt;

int busnum = 2;
int chip_select = 1;
int gpio_int = 471;

module_param(busnum, int, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
MODULE_PARM_DESC(busnum, "busnum of spi bus to use");

module_param(gpio_int, int, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
MODULE_PARM_DESC(gpio_int, "linux gpio number of INT gpio");

module_param(chip_select, int, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
MODULE_PARM_DESC(chip_select, "spi chip select");

int gpio_requested = 0;

struct spi_device *dev1;
static struct mcp251x_platform_data mcp251x_info = {
    .oscillator_frequency = 16000000,
};

static struct spi_board_info spi_device_info = {
    .modalias = "mcp2515",
    .platform_data = &amp;mcp251x_info,
    .irq = -1,
    .max_speed_hz = 10 * 1000 * 1000,
};

static int __init mcp2515_init(void)
{
    int ret;
    struct spi_master *master;

    printk("mcp2515_init: init\n");

    ret = gpio_request(gpio_int, "sysfs");

    if(ret)
    {
        printk("mcp2515_init: could not request gpio %d\n", gpio_int);
        goto error_postgpio;
    }
    gpio_requested = 1;

    gpio_direction_input(gpio_int);

    ret = gpio_to_irq(gpio_int);
    printk("mcp2515_init: irq for pin %d is %d\n", gpio_int, ret);
    spi_device_info.irq = ret;
    spi_device_info.bus_num = busnum;
    spi_device_info.chip_select = chip_select;

    master = spi_busnum_to_master( spi_device_info.bus_num );
    if( !master )
    {
        printk("mcp2515_init: MASTER not found.\n");
        ret = -ENODEV;
        goto error_postgpio;
    }

    // create a new slave device, given the master and device info
    dev1 = spi_new_device( master, &amp;spi_device_info );

    if( !dev1)
    {
        printk("mcp2515_init: FAILED to create slave.\n");
        ret = -ENODEV;
        goto error_postgpio;
    }

    printk("mcp2515_init: device created!\n");

    return 0;

    error_postgpio:
        gpio_free(gpio_int);
        return ret;
}

static void __exit mcp2515_exit(void)
{
    printk("mcp2515_init: exit\n");

    if( dev1 )
    {
        spi_unregister_device(dev1);
    }

    if(gpio_requested)
    {
        gpio_free(gpio_int);
    }
}

module_init(mcp2515_init);
module_exit(mcp2515_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Jeff");
MODULE_DESCRIPTION("MCP2515 init");
</pre>
]]>
        </description>
    </item>
    <item>
        <title>Unable to set UP board I2C clock speed to 100khz</title>
        <link>https://forum.up-community.org/discussion/5051/unable-to-set-up-board-i2c-clock-speed-to-100khz</link>
        <pubDate>Tue, 08 Nov 2022 18:47:34 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>sdo91</dc:creator>
        <guid isPermaLink="false">5051@/discussions</guid>
        <description><![CDATA[<p>I am trying to set the I2C speed on my UP board to 100khz, but it doesn't seem to be working.</p>

<p>I set up the board using these instructions: <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2Fup-board%2Fup-community%2Fwiki%2FUbuntu_18.04">https://github.com/up-board/up-community/wiki/Ubuntu_18.04</a></p>

<p>I changed the I2C Speed setting in the BIOS under Advanced -&gt; HAT Configuration, but the when I measure the clock speed using a logic analyzer I still see a frequency of ~385 khz.</p>

<p>I am using i2c-5 (physical pins 3/5).</p>

<p>I think I have the latest BIOS/kernel versions installed:<br />
BIOS version: UPC1DM25<br />
kernel version: 5.4.0-1-generic #0~upboard5-Ubuntu SMP Fri Jan 7 11:53:57 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux</p>

<p>I also tried changing the I2C mode from ACPI to PCI, as suggested <a rel="nofollow" href="https://forum.up-community.org/discussion/3850/up-board-ubuntu-18-04-i2c-speed-select">here</a>, but I see no difference.</p>

<p>So, how can I change the I2C speed to 100khz?</p>
]]>
        </description>
    </item>
    <item>
        <title>[Solved] Tutorial: GPIO/I2C/SPI-access without root-permissions</title>
        <link>https://forum.up-community.org/discussion/2141/solved-tutorial-gpio-i2c-spi-access-without-root-permissions</link>
        <pubDate>Sat, 12 Aug 2017 18:51:48 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>WereCatf</dc:creator>
        <guid isPermaLink="false">2141@/discussions</guid>
        <description><![CDATA[As you may have noticed, by default you do not have access to the GPIO-pins, the SPI-bus or the I2C-bus as a normal user and you have to use 'sudo' to access them or run an application that utilizes them; it is generally a good idea to limit access to such things for security, but on a dev-board like the UP and UP^2 it may be convenient to do development and testing as a regular user. The fix is reasonably simple, as we set the udev-system to change the ownership of the SPI/I2C/GPIO -devices.<br /><div>
<b><span>Quick setup</span></b>
</div>
To quickly set things up, you can just download the attachment in this post, extract the script and run that script as the user who you want to be able to use GPIO without root -- <i>no need to run the script with sudo or as root, just run it as your regular user.</i> After a reboot, you can just straight ahead down to the section "Using the GPIO as non-root in your code" to get started!<br /><div>
<b><span>Manual setup</span></b>
</div>
If you do not wish to use the script, you can set things up manually as follows:<br /><div>
<b><span>SPI-bus access</span></b>
</div>
For SPI-bus access create the file <b>/etc/udev/rules.d/50-spi.rules</b> with the following contents:
<pre spellcheck="false" tabindex="0">SUBSYSTEM=="spidev", GROUP="spiuser", MODE="0660"
</pre>
<br />
Next, copy and paste or type these lines into the terminal as the user you want to give access to the bus:
<pre spellcheck="false" tabindex="0">sudo groupadd spiuser&#13;
sudo adduser "$USER" spiuser
</pre>

<div>
<b><span>I2C-bus access</span></b>
</div>
For I2C-bus access create the file <b>/etc/udev/rules.d/50-i2c.rules</b> with the following contents:
<pre spellcheck="false" tabindex="0">SUBSYSTEM=="i2c-dev", GROUP="i2cuser", MODE="0660"
</pre>
<br />
Similar to above, copy and paste or type these lines into the terminal as the user you want to give access to the bus:
<pre spellcheck="false" tabindex="0">sudo groupadd i2cuser&#13;
sudo adduser "$USER" i2cuser
</pre>

<div>
<b><span>GPIO-access</span></b>
</div>
For GPIO access create the file <b>/etc/udev/rules.d/50-gpio.rules</b> with the following contents:
<pre spellcheck="false" tabindex="0">SUBSYSTEM=="gpio*", PROGRAM="/bin/sh -c '\&#13;
        chown -R root:gpiouser /sys/class/gpio &amp;&amp; chmod -R 770 /sys/class/gpio;\&#13;
        chown -R root:gpiouser /sys/devices/virtual/gpio &amp;&amp; chmod -R 770 /sys/devices/virtual/gpio;\&#13;
        chown -R root:gpiouser /sys$devpath &amp;&amp; chmod -R 770 /sys$devpath\&#13;
'"
</pre>
<br />
Again, copy and paste or type these lines into the terminal as the user you want to give access to the bus:
<pre spellcheck="false" tabindex="0">sudo groupadd gpiouser&#13;
sudo adduser "$USER" gpiouser
</pre>
<br />
Now, there is nothing else to do with the SPI-bus or I2C-bus other than to reboot.<br /><br /><div>
<b><span>Using the GPIO as non-root in your code</span></b>
</div>
With non-root GPIO-access there is one thing that you need to keep in mind: it takes a little bit of time for udev to set the permissions for all the virtual files the Linux-kernel creates every time you initialize  -- <i>or "export", to be more precise</i> -- the pins and in your code you need to take this into account.<br /><br />
Here is a small application in C that simply toggles a pin HIGH and LOW:
<pre spellcheck="false" tabindex="0">#include &lt;unistd.h&gt;&#13;
#include &lt;stdlib.h&gt;&#13;
#include &lt;stdio.h&gt;&#13;
#include &lt;errno.h&gt;&#13;
#include &lt;string.h&gt;&#13;
#include &lt;fcntl.h&gt;&#13;
#include &lt;getopt.h&gt;&#13;
#include &lt;sys/ioctl.h&gt;&#13;
#include &lt;linux/gpio.h&gt;&#13;
#include &lt;time.h&gt;&#13;
#include &lt;mraa.h&gt;&#13;
&#13;
#define HEADERPIN 11&#13;
&#13;
void sleepMillis(uint32_t millis) {&#13;
  struct timespec sleep;&#13;
  sleep.tv_sec = millis / 1000;&#13;
  sleep.tv_nsec = (millis % 1000) * 1000000L;&#13;
  while(clock_nanosleep(CLOCK_MONOTONIC, 0, &amp;sleep, &amp;sleep) &amp;&amp; errno == EINTR);&#13;
}&#13;
&#13;
int main(int argc, char **argv)&#13;
{&#13;
	mraa_init();&#13;
	mraa_gpio_context gpio;&#13;
&#13;
	if (!(gpio = mraa_gpio_init(HEADERPIN))) {&#13;
		fprintf(stderr, "Error exporting pin %d!\n", HEADERPIN);&#13;
		mraa_deinit();&#13;
		exit(1);&#13;
	}&#13;
&#13;
	/* Check if the binary has root-permissions: if not,&#13;
	sleep for 100ms to give udev time to set the GPIO-permissions&#13;
	correctly for us to use the pin we just initialized above.&#13;
	!IMPORTANT! */&#13;
	/* Try uncommenting this or changing the amount of time&#13;
	we sleep and see what happens. */&#13;
	if(geteuid()) sleepMillis(100);&#13;
&#13;
	if(mraa_gpio_dir(gpio, MRAA_GPIO_OUT) != MRAA_SUCCESS){&#13;
		fprintf(stderr, "Error setting pin-direction!\n");&#13;
		mraa_gpio_close(gpio);&#13;
		mraa_deinit();&#13;
		exit(1);&#13;
	}&#13;
	printf("Blink HIGH..\n");&#13;
	mraa_gpio_write(gpio, 1);&#13;
	sleepMillis(1000); //Sleep one second&#13;
	printf("Blink LOW..\n");&#13;
	mraa_gpio_write(gpio, 0);&#13;
	sleepMillis(1000); //Sleep one second&#13;
	mraa_gpio_dir(gpio, MRAA_GPIO_IN);&#13;
	mraa_gpio_close(gpio);&#13;
	mraa_deinit();&#13;
	exit(0);&#13;
}
</pre>
<br />
As you may notice, there is a call to geteuid() after mraa_gpio_init() -- mraa_gpio_init() initializes, or exports, the pin we wish to use, then geteuid() call is used to check if the app is running with root-permissions or not. If the application is running with root-permissions, there is no need for a delay as root can access all the file they want, but for non-root permissions a call to sleepMillis() is added to sleep 100ms, so udev hopefully has enough time to set the permissions correctly.<br /><br />
The above convention has to be followed with other languages, too, including shell-scripts:
<pre spellcheck="false" tabindex="0">#!/bin/bash&#13;
#Export GPIO3, or pin number 11 on the UP1-board&#13;
echo 3 &gt; /sys/class/gpio/export&#13;
#Test if we have root-permissions and, if not, sleep for 100ms&#13;
if [ $EUID -gt 0 ]; then sleep 0.1; fi&#13;
echo out &gt; /sys/class/gpio/gpio3/direction&#13;
echo 1 &gt; /sys/class/gpio/gpio3/value&#13;
sleep 1&#13;
echo 0 &gt; /sys/class/gpio/gpio3/value&#13;
sleep 1&#13;
#Set the pin back as INPUT and unexport it&#13;
echo in &gt; /sys/class/gpio/gpio3/direction&#13;
echo 3 &gt; /sys/class/gpio/unexport
</pre>
<br />
And Python:
<pre spellcheck="false" tabindex="0">import RPi.GPIO as GPIO&#13;
import time&#13;
#We need this&#13;
from os import geteuid&#13;
&#13;
# Pin Definitions:&#13;
ledPin = 4&#13;
&#13;
# Pin Setup:&#13;
GPIO.setmode(GPIO.BCM)&#13;
GPIO.setup(ledPin, GPIO.OUT) # LED pin set as output&#13;
#If we're not root, sleep 100ms in order for udev to set&#13;
#the permissions on the exported GPIO right&#13;
if(geteuid() &gt; 0):&#13;
	time.sleep(0.1)&#13;
&#13;
print("Here we go! Press CTRL+C to exit")&#13;
try:&#13;
	while 1:&#13;
		GPIO.output(ledPin, GPIO.HIGH)&#13;
		time.sleep(0.5)&#13;
		GPIO.output(ledPin, GPIO.LOW)&#13;
		time.sleep(0.5)&#13;
except KeyboardInterrupt: # If CTRL+C is pressed, exit cleanly:&#13;
	GPIO.cleanup() # cleanup all GPIO
</pre>
]]>
        </description>
    </item>
    <item>
        <title>UP 4000 GPIOs</title>
        <link>https://forum.up-community.org/discussion/5037/up-4000-gpios</link>
        <pubDate>Wed, 26 Oct 2022 21:11:38 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>JOSHUA SIRKIN</dc:creator>
        <guid isPermaLink="false">5037@/discussions</guid>
        <description><![CDATA[<p>For Linux, are the UP 4000 gpios currently supported?  Do they use the same drivers as the original up board?</p>
]]>
        </description>
    </item>
    <item>
        <title>LCD HDMI Touchscreen in UP Board Ubilinux</title>
        <link>https://forum.up-community.org/discussion/5022/lcd-hdmi-touchscreen-in-up-board-ubilinux</link>
        <pubDate>Mon, 03 Oct 2022 07:37:05 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Yuusa</dc:creator>
        <guid isPermaLink="false">5022@/discussions</guid>
        <description><![CDATA[<p>Hi I'm new to UP Board, and I'm trying to make a project that uses LCD HDMI Touchscreen with Up Board that has Ubilinux as OS. Most the driver installation tutorial referring for Raspberry Pi. Is there any tutorial I can follow to install the driver in Up Board Intel Atom?</p>
]]>
        </description>
    </item>
    <item>
        <title>How Can I Read Analog Input From GPIO Pins</title>
        <link>https://forum.up-community.org/discussion/4975/how-can-i-read-analog-input-from-gpio-pins</link>
        <pubDate>Thu, 04 Aug 2022 08:33:09 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>voxventi</dc:creator>
        <guid isPermaLink="false">4975@/discussions</guid>
        <description><![CDATA[<p>Hi UPForum.<br />
I use DHT11 Temperature and Humidity sensor. I want read analog sensor's input from GPIO pins. Im working on Clasiccal UPBoard and writing code with python. Can anyone help me about that?</p>
]]>
        </description>
    </item>
    <item>
        <title>RPi.GPIO library using error.</title>
        <link>https://forum.up-community.org/discussion/4976/rpi-gpio-library-using-error</link>
        <pubDate>Fri, 05 Aug 2022 10:39:03 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>voxventi</dc:creator>
        <guid isPermaLink="false">4976@/discussions</guid>
        <description><![CDATA[<p>When I try RPi.GPIO example from <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2Fup-board%2Fup-community%2Fwiki%2FRPi.GPIO">wiki</a> And code here;</p>

<pre spellcheck="false" tabindex="0">import RPi.GPIO as GPIO
import time

# Pin Definitons:
ledPin = 4

# Pin Setup:
GPIO.setmode(GPIO.BCM)
GPIO.setup(ledPin, GPIO.OUT) # LED pin set as output

print("Here we go! Press CTRL+C to exit")
try:
 while 1:
     GPIO.output(ledPin, GPIO.HIGH)
     time.sleep(0.5)
     GPIO.output(ledPin, GPIO.LOW)
     time.sleep(0.5)
except KeyboardInterrupt: # If CTRL+C is pressed, exit cleanly:
 GPIO.cleanup() # cleanup all GPIO

</pre>

<p>And I run this command on terminal:</p>

<pre spellcheck="false" tabindex="0">python3 ledblink.py 
</pre>

<p>I get this error message;</p>

<pre spellcheck="false" tabindex="0">Traceback (most recent call last):
  File "ledblink.py", line 1, in &lt;module&gt;
    import RPi.GPIO as GPIO
  File "/home/rnd/.local/lib/python3.8/site-packages/RPi/GPIO/__init__.py", line 23, in &lt;module&gt;
    from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!
</pre>

<p>How can i fix that?</p>

<p>Edit1: According to wiki UPBoard supports RPi.GPIO library</p>
]]>
        </description>
    </item>
    <item>
        <title>I/O error during installation and sudden restarts during usage</title>
        <link>https://forum.up-community.org/discussion/4974/i-o-error-during-installation-and-sudden-restarts-during-usage</link>
        <pubDate>Mon, 01 Aug 2022 07:32:30 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>wetglasses</dc:creator>
        <guid isPermaLink="false">4974@/discussions</guid>
        <description><![CDATA[<p>I am using UP boards for more than two years now. I have used 3 different versions. But never found this specific issue I am describing here.<br />
Recently I bought 4 new Up-boards for my new project. Their part number is <strong>UP-CHT01-A22-0432-B10</strong><br />
For my purpose, I use Ubuntu 16.04 as OS. 3 of the 4 boards were completely fine. But one board is showing problems from the very beginning:</p>

<ol><li>During OS installation, the board hung up after I clicked "Install now".  It should go to the next step within seconds. After waiting for around 10 minutes, I restarted the board and started over.</li>
<li>In my second attempt, it proceeded to the file copy step. But then showed an error message- "Error during copying files". It said that the hard disk might be faulty. I am attaching the screenshot here. Note that the USB drive I am using for OS installation is the same one I used to set up the other three boards (before and after). All worked without any problem.</li>
<li>I restarted the board and tried again. This time the OS was successfully installed. (3rd time)</li>
<li>After OS installation, when I started to use the board, it restarted several times suddenly without any reason.</li>
</ol><p>Does anyone have any idea what could be the reason?</p>

<p><img src="https://us.v-cdn.net/6030431/uploads/editor/l9/83wiam7ly2gl.jpg" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6030431/uploads/editor/l9/83wiam7ly2gl.jpg 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6030431/uploads/editor/l9/83wiam7ly2gl.jpg 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6030431/uploads/editor/l9/83wiam7ly2gl.jpg 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6030431/uploads/editor/l9/83wiam7ly2gl.jpg 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6030431/uploads/editor/l9/83wiam7ly2gl.jpg 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6030431/uploads/editor/l9/83wiam7ly2gl.jpg 2000w, https://us.v-cdn.net/6030431/uploads/editor/l9/83wiam7ly2gl.jpg" sizes="100vw" /></p>
]]>
        </description>
    </item>
    <item>
        <title>PPA repos are no longer available</title>
        <link>https://forum.up-community.org/discussion/4907/ppa-repos-are-no-longer-available</link>
        <pubDate>Thu, 05 May 2022 14:08:46 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>languille11</dc:creator>
        <guid isPermaLink="false">4907@/discussions</guid>
        <description><![CDATA[<p>Hello, I am looking to install the upxtreme-UP-WHL01 5.4.0-1-generic linux kernel but the repos is no longer available.<br />
If I add the ppa's I get this error:<br />
he user named '~aaeon-cm' has no PPA named 'ubuntu/5.4-upboard'</p>

<p>This url doesn't work either<br /><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Flaunchpad.net%2F%7Eaaeon-cm%2F%2Barchive%2Fubuntu%2F5.4-upboard%2F%2Bpackages">https://launchpad.net/~aaeon-cm/+archive/ubuntu/5.4-upboard/+packages</a></p>

<p>Where can I find the packages allowing to install this kernel on an up<br />
Thank you</p>
]]>
        </description>
    </item>
    <item>
        <title>Please upgrade the kernel for Ubuntu 18.04 and 20.04 to fix kernel regression bug!</title>
        <link>https://forum.up-community.org/discussion/4804/please-upgrade-the-kernel-for-ubuntu-18-04-and-20-04-to-fix-kernel-regression-bug</link>
        <pubDate>Mon, 29 Nov 2021 10:17:07 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Pieter Jordaan</dc:creator>
        <guid isPermaLink="false">4804@/discussions</guid>
        <description><![CDATA[<p>Hi</p>

<p>There is a regression issue in kernel 5.4.0 relating to the i915 driver. The GPU hangs when doing hardware rendering or video decoding/encoding which we make plenty use of.</p>

<p>See the related launchpad issue: <br /><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fbugs.launchpad.net%2Fubuntu%2F%2Bsource%2Flinux%2F%2Bbug%2F1861395">system hang: i915 Resetting rcs0 for hang on rcs0</a></p>

<p>In general, isn't there an alternative to patching the kernel in order to obtain GPIO etc? Wouldn't a module suffice? I'm asking as a layman in all things kernel.</p>
]]>
        </description>
    </item>
    <item>
        <title>Kernel driver registration GPIO no response</title>
        <link>https://forum.up-community.org/discussion/4950/kernel-driver-registration-gpio-no-response</link>
        <pubDate>Fri, 01 Jul 2022 07:29:37 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>mailonghua</dc:creator>
        <guid isPermaLink="false">4950@/discussions</guid>
        <description><![CDATA[<p>I am currently using the UP2-Celeron processor</p>

<p>The kernel successfully registers the GPIO interrupt, but when the GPIO external signal changes, the interrupt function is not triggered and the number of corresponding interrupts counted by /proc/interrupts is always 0</p>

<p>My test code:</p>

<h1 data-id="define-imu-tdk-42688-irq-num-430">define IMU_TDK_42688_IRQ_NUM 430</h1>

<p>static irqreturn_t  irq_handler(int irq, void *dev_id)<br />
{<br />
    printk("Interrupt in ");<br />
    return IRQ_HANDLED;<br />
}<br />
int init_irq_gpio_num(int gpio_num)<br />
{<br />
    int irq_num = 0 ;<br />
    int ret = 0;<br />
    if(gpio_num &lt;= 0)<br />
    {<br />
        pr_err("%s:Get gpio num error...",<strong>FUNCTION</strong>);<br />
        return -1;<br />
    }<br />
    if(gpio_request_one(gpio_num, GPIOF_IN, "MCU_sel") &lt; 0) {<br />
        printk(KERN_ALERT "GPIO %d cannot be used\n", IMU_TDK_42688_IRQ_NUM);<br />
        return -EBUSY;<br />
    }<br />
    irq_num = gpio_to_irq(gpio_num);//GPIO to IRQ NUM<br />
    if(irq_num &lt; 0)<br />
    {<br />
        pr_err("%s:gpio_to_irq error",<strong>FUNCTION</strong>);<br />
        return -5;<br />
    }</p>

<pre spellcheck="false" tabindex="0">// ret = request_irq(irq_num,irq_handler , IRQF_TRIGGER_RISING|IRQF_TRIGGER_FALLING, "my_test_interrupt", NULL); 
ret = request_irq(irq_num,irq_handler , IRQF_TRIGGER_HIGH, "my_test_interrupt", NULL); //IRQF_TRIGGER_HIGH
if(ret != 0) {
    printk(KERN_ERR "can not get irq\n");
    return ret;
} 
printk("%s:Get imu irq succsess(irq_num=%d,gpio_num=%d)...",__FUNCTION__,irq_num,gpio_num);
ret = enable_irq_wake(irq_num);
printk("the enable_irq_wake  result is: %d\n", ret);



return irq_num;
</pre>

<p>}</p>

<p>static int __init test_interrupt_init(void)<br />
{<br />
    printk("Start test_interrupt_init");<br />
    irq_num_test = init_irq_gpio_num(IMU_TDK_42688_IRQ_NUM);<br />
    if(irq_num_test &lt; 0){<br />
        printk("test_interrupt_init failed!!");<br />
        return irq_num_test;<br />
    }<br />
    else{<br />
        printk("requist irq num =%d\r\n",irq_num_test);<br />
        return 0;<br />
    }</p>

<p>}<br />
static void __exit test_interrupt_exit(void)<br />
{</p>

<pre spellcheck="false" tabindex="0">if(irq_num_test &gt;0)
    free_irq(irq_num_test,irq_handler);
else
    printk("Skip free_irq irq_num=%d",irq_num_test);

gpio_free(IMU_TDK_42688_IRQ_NUM);

printk("Exit test_interrupt_exit");
</pre>

<p>}</p>
]]>
        </description>
    </item>
    <item>
        <title>Bare metal programming</title>
        <link>https://forum.up-community.org/discussion/4936/bare-metal-programming</link>
        <pubDate>Thu, 16 Jun 2022 17:22:12 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>amir</dc:creator>
        <guid isPermaLink="false">4936@/discussions</guid>
        <description><![CDATA[<p>Hi,<br />
we at our company, would like to use something similar to your up board to do bare metal programming. so we do not want to use linux or windows, but rather program the board ourselves. let's say we want to write a program that takes keyboard input and displays it on the monitor. how is easy or hard it is to write that ? how much support can we expect from up or intel for this ? thanks in advance ...</p>
]]>
        </description>
    </item>
    <item>
        <title>Installing kernel on Ubuntu 20.04?</title>
        <link>https://forum.up-community.org/discussion/4821/installing-kernel-on-ubuntu-20-04</link>
        <pubDate>Sun, 26 Dec 2021 21:49:04 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>mwomack</dc:creator>
        <guid isPermaLink="false">4821@/discussions</guid>
        <description><![CDATA[<p>I am trying to follow the instructions <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2Fup-board%2Fup-community%2Fwiki%2FUbuntu_20.04">at this link</a>, and it immediately fails at the first command</p>

<p>sudo add-apt-repository ppa:aaeon-cm/5.4-upboard</p>

<p>with an error that '~aaeon-cm' user or team does not exist.</p>

<p>What do I do to fix this?</p>

<p>Also, BTW, the <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Freleases.ubuntu.com%2F20.04%2Fubuntu-20.04.2.0-desktop-amd64.iso">https://releases.ubuntu.com/20.04/ubuntu-20.04.2.0-desktop-amd64.iso</a> does not exist, but I used the 20.04.3 version for my install image.</p>

<p>-Mark</p>
]]>
        </description>
    </item>
    <item>
        <title>How not to have uboot env partition on SPI flash?</title>
        <link>https://forum.up-community.org/discussion/4910/how-not-to-have-uboot-env-partition-on-spi-flash</link>
        <pubDate>Tue, 10 May 2022 09:06:14 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>gangadhar</dc:creator>
        <guid isPermaLink="false">4910@/discussions</guid>
        <description><![CDATA[<p>Is there a way to remove the uboot env partition on SPI flash?<br />
I always want uboot to use the “default env” that is part of uboot.bin.<br />
I want only uboot.bin on SPI flash and no separate uboot env partition on flash.</p>
]]>
        </description>
    </item>
    <item>
        <title>Problema uart tra raspberry Pi model B+ e RandA</title>
        <link>https://forum.up-community.org/discussion/4895/problema-uart-tra-raspberry-pi-model-b-e-randa</link>
        <pubDate>Wed, 20 Apr 2022 15:51:34 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Optimus</dc:creator>
        <guid isPermaLink="false">4895@/discussions</guid>
        <description><![CDATA[<p>Ho attualmente collegato tra loro un raspberry PI Model B+ V 1.2 e una<br />
scheda randa. Ho installato come sistema operativo questa immagine che si<br />
trova sul web "RandAV1.5-Raspbian-jessie-2016-05-27".Voglio che comunichino<br />
per via seriale con GPIO 14 e 15. Per abilitare l'uart ho settato i<br />
seguenti parametri:<br />
. sul file config.txt:</p>

<h1 data-id="switch-serial1-with-serial0">switch serial1 with serial0</h1>

<p>enable_uart=1<br />
. sul file cmdline.txt<br />
dwc_otg.lpm_enable=0  console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4<br />
elevator=deadline fsck.repair=yes root wait<br />
Ho riavviato il tutto, provo tramite Arduino IDE installato sul raspberry<br />
ha caricare uno sketch ma non lo carica.<br />
Come posso risolvere questo problema?</p>
]]>
        </description>
    </item>
    <item>
        <title>kernel5.4 can’t run rt preempt5.4.66-rt.It will be dump.</title>
        <link>https://forum.up-community.org/discussion/4745/kernel5-4-can-t-run-rt-preempt5-4-66-rt-it-will-be-dump</link>
        <pubDate>Tue, 14 Sep 2021 08:47:31 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>zerosky</dc:creator>
        <guid isPermaLink="false">4745@/discussions</guid>
        <description><![CDATA[<p>I want to complie a rt-preempt kernel, and the kernel version must &gt;4.19.<br />
So I get the upboard kernel source from <br /><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Flaunchpad.net%2F%7Eaaeon-cm%2F%2Barchive%2Fubuntu%2F5.4-upboard%2F%2Bsourcefiles%2Flinux-hwe-5.4%2F5.4.0-1.0%7Eupboard2%2Flinux-hwe-5.4_5.4.0-1.0%7Eupboard2.tar.gz">https://launchpad.net/~aaeon-cm/+archive/ubuntu/5.4-upboard/+sourcefiles/linux-hwe-5.4/5.4.0-1.0~upboard2/linux-hwe-5.4_5.4.0-1.0~upboard2.tar.gz</a></p>

<p>And I get the rt-preempt patch from <br /><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fmirrors.edge.kernel.org%2Fpub%2Flinux%2Fkernel%2Fprojects%2Frt%2F5.4%2Folder%2F">https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/5.4/older/</a><br />
the rt-preempt version is 5.4.66-rt38</p>

<p>It compile ok!</p>

<p>when I load this kernel,  after the ubuntu 18.04 start ok a few minute. The kernel will be dump, I can't use keyboard mouse ssh-remote and so on.</p>

<p>so how to solve this problom??<br />
or where can get a other kernel which support upboard??</p>
]]>
        </description>
    </item>
    <item>
        <title>Using Pi Accessories on UP Board</title>
        <link>https://forum.up-community.org/discussion/4857/using-pi-accessories-on-up-board</link>
        <pubDate>Sun, 13 Feb 2022 22:31:02 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>User1234</dc:creator>
        <guid isPermaLink="false">4857@/discussions</guid>
        <description><![CDATA[<p>Hey all,</p>

<p>Stupid question-- is there a straightforward way to tweak Python modules/libraries for Raspberry Pi accessories so they're compatible with the UP Board?   I was able get get some relay boards working by using MRAA and the appropriate MRAA numbering, but other serial-based relay boards and things like a PiJuice elude me.</p>

<p>Any pointers?</p>

<p>Thanks!</p>
]]>
        </description>
    </item>
    <item>
        <title>Available serial ports on the UP</title>
        <link>https://forum.up-community.org/discussion/1222/available-serial-ports-on-the-up</link>
        <pubDate>Wed, 15 Mar 2017 08:04:56 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>P</dc:creator>
        <guid isPermaLink="false">1222@/discussions</guid>
        <description><![CDATA[Dear all,<br /><br />
as I understand the documentation there are two serial ports on the UP: One via the 40-pin GPIO on pins 8 and 10 (named "UART") and one via the additional breakout cable for connector CN7 on pins 9 and 10 (named "UART0").<br />
I assume they are not the same UART but different ones?<br />
I read that the one via CN7 breakout cable is /dev/ttyS0 and also features the serial console of the UP. Is the one on the GPIO header also preoccupied by some special functions (like the serial console) or is this a plain vanilla serial port. Is that port on the GPIO then /dev/ttyS1?<br /><br />
Additional question: Due to <a href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fup-community.org%2Fforum%2Fpublic-ubilinux%2F1050-blank-screen%233590" rel="nofollow">graphics errors with the UP-kernel 4.4.0 on Lubuntu</a>, I now use the HWE stack of Lubuntu 16.04.2 which features kernel 4.8. Are those serial ports also accessible under kernel 4.8, i.e., not using the custom UP-kernel?<br /><br />
Best regards<br />
uppetite]]>
        </description>
    </item>
    <item>
        <title>Installing Real Time Kernel on ub board - Ubuntu 18</title>
        <link>https://forum.up-community.org/discussion/4839/installing-real-time-kernel-on-ub-board-ubuntu-18</link>
        <pubDate>Fri, 21 Jan 2022 12:21:16 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>dood</dc:creator>
        <guid isPermaLink="false">4839@/discussions</guid>
        <description><![CDATA[<p>Hello! Is there a way to build/install a Real Time Kernel on Ubuntu 18?<br />
I saw this repository, <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2Fqiayuanliao%2FUbuntu-RT-UP-Board">https://github.com/qiayuanliao/Ubuntu-RT-UP-Board</a><br />
But it is based for Ubuntu 16.</p>
]]>
        </description>
    </item>
    <item>
        <title>How do I get hibernate to work on the UP-CHT01-A22-0432-A11 board?</title>
        <link>https://forum.up-community.org/discussion/4815/how-do-i-get-hibernate-to-work-on-the-up-cht01-a22-0432-a11-board</link>
        <pubDate>Mon, 20 Dec 2021 22:20:08 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Randy_Richardson</dc:creator>
        <guid isPermaLink="false">4815@/discussions</guid>
        <description><![CDATA[<p>I am trying to sey up a system using the UP-CHT01-A22-0432-A11 board that run the ubuntu 20.04.3 version of Linux.  As near as I can tell, running sudo systemctl hibernate shuts the system down correctly with a current '/swapfile', however, when I turn the power back on, the system goes to BIOS and runs a complete re-boot (2 - 3 minutes).  I need the system to re-start from power off in less than 30 seconds.  Much less if possible.  I am also battery powered, so power use is of great concern.  Would appreciate any guidance.  Thanks.</p>
]]>
        </description>
    </item>
    <item>
        <title>UP board - Cannot use install mraa with npm</title>
        <link>https://forum.up-community.org/discussion/4814/up-board-cannot-use-install-mraa-with-npm</link>
        <pubDate>Sat, 18 Dec 2021 11:00:42 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>rarestohanean</dc:creator>
        <guid isPermaLink="false">4814@/discussions</guid>
        <description><![CDATA[<p>Hi!</p>

<p>I bought a new UP board CHT01-A10-0232. My intention is to control GPIO using NodeJs.<br />
I installed the new kernel from <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwiki.up-community.org%2FUbuntu_18.04">https://wiki.up-community.org/Ubuntu_18.04</a><br />
I can control the pins with instructions from here: <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2Fup-board%2Fup-community%2Fwiki%2FPinout_UP2">https://github.com/up-board/up-community/wiki/Pinout_UP2</a><br />
When I try to install mraa following this: <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2Fup-board%2Fup-community%2Fwiki%2FMRAA">https://github.com/up-board/up-community/wiki/MRAA</a><br />
when I run <br />
sudo apt-get install nodejs nodejs-legacy npm <br />
I get:</p>

<p>Note, selecting 'nodejs' instead of 'nodejs-legacy'<br />
nodejs is already the newest version (8.17.0-1nodesource1).<br />
Some packages could not be installed. This may mean that you have<br />
requested an impossible situation or if you are using the unstable<br />
distribution that some required packages have not yet been created<br />
or been moved out of Incoming.<br />
The following information may help to resolve the situation:</p>

<p>The following packages have unmet dependencies:<br />
 nodejs : Conflicts: npm<br />
E: Unable to correct problems, you have held broken packages.</p>

<p>And then when I run npm install mraa<br />
I get <br />
/root/.cache/node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’<br />
   declarator <strong>attribute</strong>((deprecated(message)))<br />
   ^<br />
../src/mraajsJAVASCRIPT_wrap.cxx: At global scope:<br />
../src/mraajsJAVASCRIPT_wrap.cxx:907:7: error: ‘Handle’ in namespace ‘v8’ does not name a template type<br />
   v8::Handle err;</p>

<p>I am stuck here.<br />
Can somebody help me please? <br />
Thank you!</p>
]]>
        </description>
    </item>
    <item>
        <title>Setting up wireless access point</title>
        <link>https://forum.up-community.org/discussion/4811/setting-up-wireless-access-point</link>
        <pubDate>Sat, 11 Dec 2021 18:31:20 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>wilsonz91</dc:creator>
        <guid isPermaLink="false">4811@/discussions</guid>
        <description><![CDATA[<p>Hi,</p>

<p>I have an UP board and the wifi kit. I've been trying to set the wifi to act as a wireless access point/hotspot but to no avail. The 'hotspot' option from GUI is unavailable and following instructions used on PI like <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Flearn.sparkfun.com%2Ftutorials%2Fsetting-up-a-raspberry-pi-3-as-an-access-point%2Fall">here</a> failed as well.</p>

<p>The only difference I've made from the instructions is changing wlan0 to my interface which is something like wlx7cdd******* (tried wlan0 but doesn't work as well).</p>

<p>Does the wifi kit support access point? And if yes, any suggestions on where have I gone wrong?</p>
]]>
        </description>
    </item>
    <item>
        <title>Ubuntu 20.04 bundled with everything for Up Board, where?</title>
        <link>https://forum.up-community.org/discussion/4788/ubuntu-20-04-bundled-with-everything-for-up-board-where</link>
        <pubDate>Thu, 11 Nov 2021 20:47:09 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>UpBored</dc:creator>
        <guid isPermaLink="false">4788@/discussions</guid>
        <description><![CDATA[<p>Title. Doing this manually still has bugs and is frustrating with all of the freezes to even get it half working. There isn't even a meta-package in the PPA to ensure all possible files and settings have been installed and executed. The kernel is also never updated but could easily cover most boards.</p>
]]>
        </description>
    </item>
    <item>
        <title>UPboard Ubilinux Freezing</title>
        <link>https://forum.up-community.org/discussion/3197/upboard-ubilinux-freezing</link>
        <pubDate>Sat, 11 Aug 2018 12:55:46 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>David</dc:creator>
        <guid isPermaLink="false">3197@/discussions</guid>
        <description><![CDATA[<p>OS: ubilinux 4.9.45-ubilinux+</p>

<p>I have 100s of UPBoards deployed remotely i do not have physical access to them.<br />
1. They do not have screens attached to them<br />
2. they are running 24/7</p>

<p>I have had some issues of the devices freezing. <br />
the only way to fix this issue is to hard reset the device (unplugging and plugging back in again)... this is a major problem for me as i cannot gain access to them myself and they should not be freezing like they do..</p>

<p>On problematic devices i have pulled the sys and kernel logs and there is nothing in between the timespan of the device being down.</p>

<p>The last line logged in the Sys log was:<br />
Aug  9 00:17:01 ubilinux CRON[14157]: (root) CMD (   cd / &amp;&amp; run-parts --report /etc/cron.hourly)<br />
and then a complete system crash...</p>

<p>Rough Hardware Info:<br />
1. I am powering the device over the 5V GPIO pin with a UPS designed specifically for the UPBoard... <br />
2. I also am utilizing 2 USB ports (1 for  a custom BLE dongle, 2 for a Wifi dongle)<br />
3. I have a Custom PCB attached getting powered by the UPS<br />
4. The Custom PCB Utilizes the C7 10 pin connector to connect to a 3G mini-PCie Telit Cellular module</p>

<p>That is a rough description of the hardware.. and most of the time everything seems fine..<br />
however we do seem to "randomly" get complete OS freezes and the only fix is to recycle the power..</p>

<p>Is there any logs / things you can think of that i can look at to get a better understanding of what the problem is.. or do you have a possible solution that will fix the issue at its core.</p>

<p>This is urgent, as i say i have 100's nearly 1000's of UPboards and they are "randomly" experiencing this issue..</p>

<p>Regards,<br />
David Hutchinson</p>
]]>
        </description>
    </item>
    <item>
        <title>Wrtiting and SPI Program for Upboard</title>
        <link>https://forum.up-community.org/discussion/4781/wrtiting-and-spi-program-for-upboard</link>
        <pubDate>Fri, 29 Oct 2021 02:12:42 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>AdamB</dc:creator>
        <guid isPermaLink="false">4781@/discussions</guid>
        <description><![CDATA[<p>Hi, I am new to the Upboard environment. I have never used a device like this before; my experience is limited to Arduino. I can’t seem to find any examples online on how to use it.</p>

<p>My plan is to use the SPI pins on the board to send data to a DAC, and use additional pins to control Chip Select and LDAC, which is easy enough after looking through documentation.</p>

<p>But for directly using the SPI pins, I am using RPi.GPIO, and I’m not sure if it has direct support to perform an SPI transfer. If there is a better library for this, I would like to know. So, after all that, my question is: How do you write a program to use SPI on the Upboard in Python?</p>

<p>As a secondary question, Python presumably has ways to read in a .csv file from a USB through a library, yes?</p>

<p>Thanks!</p>
]]>
        </description>
    </item>
    <item>
        <title>Using hardware watchdog under Ubuntu 16.04.1</title>
        <link>https://forum.up-community.org/discussion/1077/using-hardware-watchdog-under-ubuntu-16-04-1</link>
        <pubDate>Wed, 04 Jan 2017 15:16:23 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>jan</dc:creator>
        <guid isPermaLink="false">1077@/discussions</guid>
        <description><![CDATA[Hey, does anyone know how to enable the hardware watchdog under Ubuntu 16.04? There is no <i>/dev/watchdog*</i> device present. I tried loading some IPMI modules, but obviously there is no IPMI support available. I also browsed through the whole BIOS (advanced mode after password unlock), but I saw neither something watchdog related nor any IPMI entries.<br /><br />
Kernel version: 4.4.0-1-upboard<br />
BIOS version: UPC1BM0X]]>
        </description>
    </item>
    <item>
        <title>WCMCU2812B (WS2812B) Neopixel LEDs on UP2 Board</title>
        <link>https://forum.up-community.org/discussion/4753/wcmcu2812b-ws2812b-neopixel-leds-on-up2-board</link>
        <pubDate>Wed, 22 Sep 2021 12:56:59 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>noobie</dc:creator>
        <guid isPermaLink="false">4753@/discussions</guid>
        <description><![CDATA[<p>Hi,<br />
I have 3 Neopixel LED rings that have 12, 16 and 24 LEDs and I was using Arduino for programming. But now, I have to recode everything on the UP2 board since it is the one that is going to be used in the project. I did some research and here are my problems.</p>

<ul><li><p>Strict timing restrictions on the neopixels can cause some problems on the UP2 board. I guess there are some solutions like using SPI. But I am fairly new to programming and I don't know anything about SPI or UPboard. So I don't know how to implement this solution. For ex. I saw this library; <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2Fadafruit%2FAdafruit_CircuitPython_NeoPixel_SPI">https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel_SPI</a> But I don't know if it's applicable to UP2 or not, and if so; how?</p></li>
<li><p>If any of you have tried to use neopixel led rings on the UP2 board, can you share a guideline? For a real beginner..</p></li>
</ul>]]>
        </description>
    </item>
    <item>
        <title>Adafruit LED Ring</title>
        <link>https://forum.up-community.org/discussion/2472/adafruit-led-ring</link>
        <pubDate>Tue, 21 Nov 2017 11:00:36 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Germain</dc:creator>
        <guid isPermaLink="false">2472@/discussions</guid>
        <description><![CDATA[Hello,<br /><br />
I'm trying to use an Adafruit 12 LED NeoPixel ring (<a href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwww.adafruit.com%2Fproduct%2F1643" rel="nofollow">LED Ring)</a>) connected to GPIO but I have some difficulties to drive it on the UP Board.<br /><br />
I found a GITHUB project (<a href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2FDrunkar%2FNeoPixel-edison-mraa" rel="nofollow">Drunkar/NeoPixel-edison-mraa</a>) that able to drive it on an edison card under ubilinux using mraaa library, so I tested it on the Up Board, but I can't set colors correctly, and animations are broken.<br /><br />
I guess there is a problem with WS2812 LED coding and data transfer time, but I don't know how to resolve it...<br /><br />
Could you help me please?]]>
        </description>
    </item>
    <item>
        <title>Up Boards &quot;Freezing&quot;</title>
        <link>https://forum.up-community.org/discussion/4508/up-boards-freezing</link>
        <pubDate>Wed, 02 Dec 2020 13:51:29 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>keith_smarta</dc:creator>
        <guid isPermaLink="false">4508@/discussions</guid>
        <description><![CDATA[<p>We've been testing the Up Boards for the past few weeks and have noticed that they "freeze" after a while, (between 30 minutes to a couple of hours)?</p>

<p>We've currently installed Lubuntu 20.10 for our testing... Can anyone suggest any reasons for the "freezing" ?</p>
]]>
        </description>
    </item>
    <item>
        <title>Kernel Patches</title>
        <link>https://forum.up-community.org/discussion/2744/kernel-patches</link>
        <pubDate>Mon, 22 Jan 2018 23:21:50 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Donald</dc:creator>
        <guid isPermaLink="false">2744@/discussions</guid>
        <description><![CDATA[<p>So I can customize the the latest kernel released with ubilinux, but what I really need is a patchset for 4.14. I tried doing a format-patch from 4.9.45, but they don't cleanly apply to 4.14. <br />
Is there any plans to release a 4.14 kernel or patchset</p>
]]>
        </description>
    </item>
    <item>
        <title>Is there a method to backup BIOS Settings to USB?</title>
        <link>https://forum.up-community.org/discussion/4740/is-there-a-method-to-backup-bios-settings-to-usb</link>
        <pubDate>Tue, 07 Sep 2021 11:28:43 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>ashvin</dc:creator>
        <guid isPermaLink="false">4740@/discussions</guid>
        <description><![CDATA[<p>Hi there,<br />
After a BIOS Update to the Upboard (UPC1DM23), the setting (IGZ Turbo Enable) didn't match the old BIOS, which caused our software to run into some problems with a camera reducing the Framerate.  I want to be able to save the new settings into a USB so that I can directly utilize the USB to make future updates. <br />
Is there a way I could do this?</p>

<p>Best regards,<br />
A</p>
]]>
        </description>
    </item>
    <item>
        <title>Restart problems with the UP-Board</title>
        <link>https://forum.up-community.org/discussion/4670/restart-problems-with-the-up-board</link>
        <pubDate>Mon, 14 Jun 2021 07:38:01 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>ashvin</dc:creator>
        <guid isPermaLink="false">4670@/discussions</guid>
        <description><![CDATA[<p>We have a bunch of UP-Boards with Ubuntu-20.04 that all randomly and sporadically freeze on restart. No logs are generated by dmesg or journalctl for this restart freeze and it seems to be happening before these services are started.</p>

<p>I tried the solutions from <a rel="nofollow" href="https://forum.up-community.org/discussion/comment/8980#Comment_8980">this post</a> however it didn’t work for us.</p>

<p>Could someone help me understand what is going on or where I should be looking?</p>

<p>I've attached a photo of the point at which all the boards hang.</p>

<p>Best, <br />
A</p>

<p><img src="https://us.v-cdn.net/6030431/uploads/editor/r8/ud3gk6x36fpc.jpg" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6030431/uploads/editor/r8/ud3gk6x36fpc.jpg 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6030431/uploads/editor/r8/ud3gk6x36fpc.jpg 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6030431/uploads/editor/r8/ud3gk6x36fpc.jpg 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6030431/uploads/editor/r8/ud3gk6x36fpc.jpg 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6030431/uploads/editor/r8/ud3gk6x36fpc.jpg 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6030431/uploads/editor/r8/ud3gk6x36fpc.jpg 2000w, https://us.v-cdn.net/6030431/uploads/editor/r8/ud3gk6x36fpc.jpg" sizes="100vw" /></p>
]]>
        </description>
    </item>
    <item>
        <title>Build Errors yocto poky linux(pyro)</title>
        <link>https://forum.up-community.org/discussion/3110/build-errors-yocto-poky-linux-pyro</link>
        <pubDate>Thu, 21 Jun 2018 09:42:57 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Hideki</dc:creator>
        <guid isPermaLink="false">3110@/discussions</guid>
        <description><![CDATA[<p>Hi,</p>

<p>I have been trying to build yocto poky linux(pyro) on host PC(ubuntus16.04.4 on VirtualBox).<br />
But it has finished building　with following errors ,so I could not get builded image.</p>

<h4 data-id="n-a">#</h4>

<p>ERROR: linux-intel-4.9.81+gitAUTOINC+a2dfb1610d_c249d8e0ca-r0.1 do_unpack: Fetcher failure: Fetch command export [...my environment variable...]; git -c core.fsyncobjectfiles=0 checkout -B yocto-4.9 a2dfb1610d9dad34652a3c27c6c9d8751ed67af6 failed with exit code 128, output:<br />
fatal: reference is not a tree: a2dfb1610d9dad34652a3c27c6c9d8751ed67af6</p>

<p>ERROR: linux-intel-4.9.81+gitAUTOINC+a2dfb1610d_c249d8e0ca-r0.1 do_unpack: Function failed: base_do_unpack<br />
ERROR: Logfile of failure stored in: /home/apn/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-intel/4.9.81+gitAUTOINC+a2dfb1610d_c249d8e0ca-r0.1/temp/log.do_unpack.8177<br />
ERROR: Task ([...my home directry path...]/poky/meta-intel/common/recipes-kernel/linux/linux-intel_4.9.bb:do_unpack) failed with exit code '1'</p>

<h3 data-id="n-a-1">#</h3>

<p>I have used following procedure for building yocto poky linux(pyoro):</p>

<h4 data-id="n-a-2">#</h4>

<p>git clone -b pyro git://git.yoctoproject.org/poky.git<br />
cd poky</p>

<p>git clone -b pyro git://git.yoctoproject.org/meta-intel.git</p>

<p>git clone -b pyro git://git.openembedded.org/meta-openembedded</p>

<p>git clone -b pyro <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2Femutex%2Fmeta-up-board">https://github.com/emutex/meta-up-board</a></p>

<p>TEMPLATECONF=meta-up-board/conf source oe-init-build-env</p>

<p>bitbake upboard-image-sato</p>

<h4 data-id="n-a-3">#</h4>

<p>Is threre any mistake or missing procedure in my procedure?</p>

<p>I would appreciate any sort of help with this issue.</p>
]]>
        </description>
    </item>
    <item>
        <title>CVE-2021-33909</title>
        <link>https://forum.up-community.org/discussion/4700/cve-2021-33909</link>
        <pubDate>Thu, 22 Jul 2021 09:31:27 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>yarmooh</dc:creator>
        <guid isPermaLink="false">4700@/discussions</guid>
        <description><![CDATA[<p>Hello,</p>

<p>Will there be a kernel update to fix CVE-2021-33909 vulnerability?<br />
According to <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwww.linuxkernelcves.com%2Fcves%2FCVE-2021-33909">https://www.linuxkernelcves.com/cves/CVE-2021-33909</a> it should be fixed in 5.4 stream (which I'm currently using at mine up2 board over ubuntu 18.04).</p>
]]>
        </description>
    </item>
    <item>
        <title>Can this run vmWare ESXi ?</title>
        <link>https://forum.up-community.org/discussion/728/can-this-run-vmware-esxi</link>
        <pubDate>Sun, 31 Jul 2016 20:41:21 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Richard Hughes</dc:creator>
        <guid isPermaLink="false">728@/discussions</guid>
        <description><![CDATA[Can this run vmWare ESXi ?<br /><br />
If yes, you can get a few and set up a home virtualization lab.]]>
        </description>
    </item>
    <item>
        <title>Support for later releases of Yocto</title>
        <link>https://forum.up-community.org/discussion/4662/support-for-later-releases-of-yocto</link>
        <pubDate>Sat, 29 May 2021 05:16:01 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>mthompson</dc:creator>
        <guid isPermaLink="false">4662@/discussions</guid>
        <description><![CDATA[<p>I'm pleased to Yocto BSP kits for the Up Board that look to do a good job of supporting the features of the system.  However, all the supported releases of Yocto for the Up Board (the latest being Sumo) are now at end-of-life.  Are there any plans to support newer releases of Yocto such as the Dunfell LTS release?</p>

<p>Barring that, has anyone had luck using the Sumo version of the Yocto BSP for the Up Board with the newer releases of Yocto?  I guess the supported Linux kernel being 4.4 would likely be a potential issue.  To support Ubuntu 20.04, there looks to be a 5.4 kernel, but I don't see evidence there is a Yocto recipe for this version of the kernel.</p>
]]>
        </description>
    </item>
    <item>
        <title>How to read IMU data via on I2C pins?</title>
        <link>https://forum.up-community.org/discussion/4161/how-to-read-imu-data-via-on-i2c-pins</link>
        <pubDate>Fri, 14 Feb 2020 07:21:15 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>yunus_acz</dc:creator>
        <guid isPermaLink="false">4161@/discussions</guid>
        <description><![CDATA[<p>Hi all !<br />
I am trying to read data from my <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2FBoschSensortec%2FBMI160_driver">BMI160 sensor</a>. (Operating system is Ubuntu 16.04)<br />
 My wiring to UpBoard like this:<br />
Sensor                    UpBoard<br />
SCL                         I2C1_SCL(Pin5)<br />
SDA                        I2C1_SDA(Pin3)<br />
VCC                        5V(Pin2)<br />
GND                       Ground(Pin6)<br />
Sensor Ground also connected to SAO pin of sensor.</p>

<p>After all doing this. I installed <strong>i2detect</strong> and rund the command <strong>i2cdetect -y -r 5</strong> and here is the result image:<br /><img src="https://us.v-cdn.net/6030431/uploads/editor/5j/4iidyazmpk1k.jpg" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6030431/uploads/editor/5j/4iidyazmpk1k.jpg 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6030431/uploads/editor/5j/4iidyazmpk1k.jpg 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6030431/uploads/editor/5j/4iidyazmpk1k.jpg 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6030431/uploads/editor/5j/4iidyazmpk1k.jpg 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6030431/uploads/editor/5j/4iidyazmpk1k.jpg 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6030431/uploads/editor/5j/4iidyazmpk1k.jpg 2000w, https://us.v-cdn.net/6030431/uploads/editor/5j/4iidyazmpk1k.jpg" sizes="100vw" /></p>

<p>When I unplug the pins 68 in the table disappears so I think it detects my sensor. The problem is that I dont know how to read data from sensor. According to driver <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fgithub.com%2FBoschSensortec%2FBMI160_driver">document</a> I tried to use code but I couldnt read any data. Here is my code I tried. But i dont know which side I am doing wrong. The problem is about the code or about the upboard. How can I read I2C data from terminal.</p>

<pre spellcheck="false" tabindex="0">#include "bmi160.h"
#include &lt;iostream&gt;

using namespace std;


int main(int argc, char *argv[])
{

    struct bmi160_dev sensor;

    sensor.id = BMI160_I2C_ADDR;
    sensor.interface = BMI160_I2C_INTF;

    int8_t rslt = BMI160_OK;
    rslt = bmi160_init(&amp;sensor);
    /* After the above function call, accel and gyro parameters in the device structure
    are set with default values, found in the datasheet of the sensor */



    /* Select the Output data rate, range of accelerometer sensor */
    sensor.accel_cfg.odr = BMI160_ACCEL_ODR_1600HZ;
    sensor.accel_cfg.range = BMI160_ACCEL_RANGE_2G;
    sensor.accel_cfg.bw = BMI160_ACCEL_BW_NORMAL_AVG4;

    /* Select the power mode of accelerometer sensor */
    sensor.accel_cfg.power = BMI160_ACCEL_NORMAL_MODE;

    /* Select the Output data rate, range of Gyroscope sensor */
    sensor.gyro_cfg.odr = BMI160_GYRO_ODR_3200HZ;
    sensor.gyro_cfg.range = BMI160_GYRO_RANGE_2000_DPS;
    sensor.gyro_cfg.bw = BMI160_GYRO_BW_NORMAL_MODE;

    /* Select the power mode of Gyroscope sensor */
    sensor.gyro_cfg.power = BMI160_GYRO_NORMAL_MODE;

    /* Set the sensor configuration */
    rslt = bmi160_set_sens_conf(&amp;sensor);
    struct bmi160_sensor_data accel;
    struct bmi160_sensor_data gyro;

    /* To read only Accel data */
    rslt = bmi160_get_sensor_data(BMI160_ACCEL_SEL, &amp;accel, NULL, &amp;sensor);

    cout&lt;&lt;accel.z&lt;&lt;endl;


    /* To read only Gyro data */
    rslt = bmi160_get_sensor_data(BMI160_GYRO_SEL, NULL, &amp;gyro, &amp;sensor);

    /* To read both Accel and Gyro data */
    bmi160_get_sensor_data((BMI160_ACCEL_SEL | BMI160_GYRO_SEL), &amp;accel, &amp;gyro, &amp;sensor);

    /* To read Accel data along with time */
    rslt = bmi160_get_sensor_data((BMI160_ACCEL_SEL | BMI160_TIME_SEL) , &amp;accel, NULL, &amp;sensor);

    /* To read Gyro data along with time */
    rslt = bmi160_get_sensor_data((BMI160_GYRO_SEL | BMI160_TIME_SEL), NULL, &amp;gyro, &amp;sensor);

    /* To read both Accel and Gyro data along with time*/
    bmi160_get_sensor_data((BMI160_ACCEL_SEL | BMI160_GYRO_SEL | BMI160_TIME_SEL), &amp;accel, &amp;gyro, &amp;sensor);
}
</pre>
]]>
        </description>
    </item>
    <item>
        <title>UP board I2S connection to Audiophonics DAC</title>
        <link>https://forum.up-community.org/discussion/127/up-board-i2s-connection-to-audiophonics-dac</link>
        <pubDate>Wed, 11 May 2016 00:18:13 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Carlos</dc:creator>
        <guid isPermaLink="false">127@/discussions</guid>
        <description><![CDATA[I would love to try the Audiophonics i-Sabre V3 DAC board connected via the 40 pin header to this new 'UP board'.  The DAC board was originally created for the Rasberry Pi2, I hope that it can be used with the more powerful UP board.<br /><br /><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=http%3A%2F%2Fwww.audiophonics.fr%2Ffr%2Fdac-diy%2Faudiophonics-i-sabre-dac-es9023-v3-tcxo-raspberry-pi-20-a-b-i2s-p-10657.html">http://www.audiophonics.fr/fr/dac-diy/audiophonics-i-sabre-dac-es9023-v3-tcxo-raspberry-pi-20-a-b-i2s-p-10657.html</a><br /><img src="https://raw.githubusercontent.com/rootscript/audio-dump/master/Pi-types/Audiophonics/audiophonics-i-sabre-dac-es9023-v3-tcxo-raspberry-pi-20-a-b-i2s_3.jpg" alt="audiophonics-i-sabre-dac-es9023-v3-tcxo-raspberry-pi-20-a-b-i2s_3.jpg" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/https://raw.githubusercontent.com/rootscript/audio-dump/master/Pi-types/Audiophonics/audiophonics-i-sabre-dac-es9023-v3-tcxo-raspberry-pi-20-a-b-i2s_3.jpg 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/https://raw.githubusercontent.com/rootscript/audio-dump/master/Pi-types/Audiophonics/audiophonics-i-sabre-dac-es9023-v3-tcxo-raspberry-pi-20-a-b-i2s_3.jpg 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/https://raw.githubusercontent.com/rootscript/audio-dump/master/Pi-types/Audiophonics/audiophonics-i-sabre-dac-es9023-v3-tcxo-raspberry-pi-20-a-b-i2s_3.jpg 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/https://raw.githubusercontent.com/rootscript/audio-dump/master/Pi-types/Audiophonics/audiophonics-i-sabre-dac-es9023-v3-tcxo-raspberry-pi-20-a-b-i2s_3.jpg 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/https://raw.githubusercontent.com/rootscript/audio-dump/master/Pi-types/Audiophonics/audiophonics-i-sabre-dac-es9023-v3-tcxo-raspberry-pi-20-a-b-i2s_3.jpg 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/https://raw.githubusercontent.com/rootscript/audio-dump/master/Pi-types/Audiophonics/audiophonics-i-sabre-dac-es9023-v3-tcxo-raspberry-pi-20-a-b-i2s_3.jpg 2000w, https://raw.githubusercontent.com/rootscript/audio-dump/master/Pi-types/Audiophonics/audiophonics-i-sabre-dac-es9023-v3-tcxo-raspberry-pi-20-a-b-i2s_3.jpg" sizes="100vw" /><br /><br />
There also seems to be a Python library for the UP board used on Raspberry Pi platforms to control GPIO pins.<br /><br /><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fup-community.org%2FUpWiki%2Findex.php%2FRPi.GPIO">https://up-community.org/UpWiki/index.php/RPi.GPIO</a><br /><br />
In addition to GPIO control, it is also used by many other libraries to query the Raspberry Pi hardware version as header pin layouts differed between certain versions.<br />
As the UP board has a similar header pin layout to the Raspberry Pi 2, we have created a port of the RPi.GPIO library for UP. This allows many existing Python scripts developed for Raspberry Pi to be used on UP also.<br /><br /><img src="https://raw.githubusercontent.com/rootscript/audio-dump/master/Pi-types/UP-board/UP-board_GPIO-pinout.png" alt="UP-board_GPIO-pinout.png" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/https://raw.githubusercontent.com/rootscript/audio-dump/master/Pi-types/UP-board/UP-board_GPIO-pinout.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/https://raw.githubusercontent.com/rootscript/audio-dump/master/Pi-types/UP-board/UP-board_GPIO-pinout.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/https://raw.githubusercontent.com/rootscript/audio-dump/master/Pi-types/UP-board/UP-board_GPIO-pinout.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/https://raw.githubusercontent.com/rootscript/audio-dump/master/Pi-types/UP-board/UP-board_GPIO-pinout.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/https://raw.githubusercontent.com/rootscript/audio-dump/master/Pi-types/UP-board/UP-board_GPIO-pinout.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/https://raw.githubusercontent.com/rootscript/audio-dump/master/Pi-types/UP-board/UP-board_GPIO-pinout.png 2000w, https://raw.githubusercontent.com/rootscript/audio-dump/master/Pi-types/UP-board/UP-board_GPIO-pinout.png" sizes="100vw" /><br /><br />
As the UP board has x86 CPU it should be able to be used with Roon Labs Server software, and then connect it straight to my amplifier &amp; speakers (Not having a computer directly connected to my DAC via USB would be a good idea, I2S connection seems better). Roon Server needs to be run on an x86 processor, that is why it couldn't work on the Rasberry Pi2, BUT should work on the UP board.<br /><br /><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Froonlabs.com%2Fdownloads.html">https://roonlabs.com/downloads.html</a><br /><br />
There is also a display and soft shutdown button with the Audiophonics DAC kit, and some Python code to link it all together.<br /><br />
The Up board appears to have the same form factor as the Rasberry Pi &amp; the same 40 pin connector &amp; pin definition GPIO header, and now with RPi.GPIO library for UP, maybe we might be closer to IS2 connected DAC with a reasonably fast CPU, RAM, storage etc... (that might also be good for connection via HDMI for XMBC/video playback too).<br /><br />
Is anyone able to comment as to whether this all seems feasible?<br />
THANKS <img src="https://forum.up-community.org/resources/emoji/wink.png" title=";)" alt=";)" height="20" />]]>
        </description>
    </item>
    <item>
        <title>Up Board using MRAA unable to initalize gpio</title>
        <link>https://forum.up-community.org/discussion/3028/up-board-using-mraa-unable-to-initalize-gpio</link>
        <pubDate>Thu, 03 May 2018 15:28:56 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>slytherin_xzf</dc:creator>
        <guid isPermaLink="false">3028@/discussions</guid>
        <description><![CDATA[<p>Hi,<br />
I tried to initialize gpio on UP Board using libmraa C API:<br /><code spellcheck="false" tabindex="0">i2c = mraa_i2c_init(0);</code><br />
but it always returns NULL. Then I learned that it requires root permissions, so I installed ubilinux 4 instead of ubuntu and updated the OS according to the wiki page, but again it returns NULL. Since I use Arduino Create IDE to upload sketches so I believe the code is running with root permissions. But still I got NULL, and initializing gpio or spi simply return NULL too. libmraa itself should be working fine because I can get the board name "UP" using  mraa_get_platform_name() function.<br />
Then today, I suddenly notice that after booting the board, just before entering the login page, there seem to be some errors:</p>

<blockquote><div>
  <p>efi: requested map not found.<br />
  esrt: ESRT header is not in the memory map.<br />
  CPLD verify error (expected: FFFFFFF, actual: 0)<br />
  up-pinctrl up-pinctrl: CPLD initialisation failed<br />
  Failed to find cpu0 device node<br />
  i8042: Can't read CTR while initializing i8042</p>
</div></blockquote>

<p>I understand that GPIO buses on UP are driven by a CPLD, so does that mean my board is damaged? Or something else could be done to initialize all these correctly?<br />
Thanks!</p>
]]>
        </description>
    </item>
    <item>
        <title>Ubuntu configuration for minimal-power headless system</title>
        <link>https://forum.up-community.org/discussion/4663/ubuntu-configuration-for-minimal-power-headless-system</link>
        <pubDate>Sun, 30 May 2021 22:31:12 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>jsc001</dc:creator>
        <guid isPermaLink="false">4663@/discussions</guid>
        <description><![CDATA[<p>Hi,<br />
for a battery-operated system, I want to configure a ubuntu 18.04 in such a way that as many unnecessary hardware components are turned off. On a pentium 4/32 Up-squared board.  It is an embedded headless application, so I would like to turn off</p>

<ul><li>graphics system including HDMI and GPU</li>
<li>ethernet</li>
<li>(optionally) USB</li>
<li>limit amount of available/running cores</li>
<li>turn off bluetooth/wifi, etc</li>
<li>reduce clock frequency.<br />
On some other systems such things can be done in /boot/config.txt (e.g. on RPi).</li>
</ul><p>What would be the way to that on the Up-squared (ubuntu 18.04 with 5.4.0 kernel)?</p>

<p>Thanks!</p>
]]>
        </description>
    </item>
    <item>
        <title>i2S audio output</title>
        <link>https://forum.up-community.org/discussion/2185/i2s-audio-output</link>
        <pubDate>Tue, 29 Aug 2017 16:31:06 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>david</dc:creator>
        <guid isPermaLink="false">2185@/discussions</guid>
        <description><![CDATA[Hi,<br />
I´m trying to take analog audio from a 3,5 mm jack in the UP board.<br />
Do you think that it will be possible with this i2s audio converter?  If I understood well the up board have compatibility with i2S audio.<br /><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=http%3A%2F%2Fwww.robotshop.com%2Fmedia%2Ffiles%2Fpdf%2Fmanual-410-191.pdf">http://www.robotshop.com/media/files/pdf/manual-410-191.pdf</a><br /><br />
Thanks in advance<br />
David]]>
        </description>
    </item>
    <item>
        <title>Updating my UP-Board Linux</title>
        <link>https://forum.up-community.org/discussion/4660/updating-my-up-board-linux</link>
        <pubDate>Wed, 19 May 2021 11:30:22 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>apemberton</dc:creator>
        <guid isPermaLink="false">4660@/discussions</guid>
        <description><![CDATA[<p>Hi Folks, this is the first posting I have made on the UP-board community so perhaps naïve to your ways.</p>

<p>I obtained two 2Gb UP Boards through the Kickstarter program though I had no practical use for them at the time (and I still don't have a real use for them)! However I decided I'd</p>

<p>revive them to see what can be done with them. Too much time on my hands I guess.</p>

<p>The UP-boards were set with UBilinux ver 3 initially (one of the two boards has not been touched yet so that will still be as supplied). I upgraded to ver. 4 but with an ancient 4.4</p>

<p>long term kernel. I like to have a recent kernel and I don't like cross compiling. I also like to use Debian (which I use on ARM and MIPS platforms) but that is not available today on</p>

<p>UP-Board. I have an irrational dislike of Ubuntu after the mess up in GUI's in the ancient past, so I don't want that.</p>

<p>I now have one of my UP-Boards running with Linux kernel 5.11.16 (customised) and Debian Buster. I have a 1TB SSD attached (and boot from) to the USB3.0 OTG port which did cause me</p>

<p>problems due to the cables.</p>

<p>How did I do this? My first step was to attach a Sata drive (formatted ext4) to one of the USB2 ports and download Ubuntu which worked fine. This filled up the eMMC (16GB) when all the</p>

<p>software and build tools were loaded. Once I had set up the ssh daemon to accept sessions (could use the console but I don't), I set up the Sata drive with a dummy /usr/src directory,</p>

<p>downloaded the latest available kernel from kernel.org, unpacked it, copied the V4 config file from the UP-board to the linux-5.11.16 directory and performed a 'make oldconfig' on it.</p>

<p>This was a mistake in practice. After compilation, the size of the kernel would not allow a clean reboot so had kernel panics. This is due to the number of loaded modules into the</p>

<p>allocated DRAM space.</p>

<p>After searching the UP-Community, I found a minimal config file for UP board kernel suitable for kernel 4.9. After performing 'make oldconfig' followed by 'make menuconfig' I reduced</p>

<p>the number of loaded modules or changing some modules from '&lt;*&gt;' to '' and eliminating many uneccessary modules included when 'defconfig' was initially used. For the time being I</p>

<p>have also cut out the IPv6 section as I don't use that at present. After compilation, the kernel booted but there were loading errors which need non-free modules to be downloaded. In</p>

<p>particular the Realtek 8xxx firmware and i915 firmware. Thes modules are available from the 'net.</p>

<p>Having got a clean kernel compile I was able to 'make headers_install', 'make modules_install' 'make install' to boot the system. The 'make install' script takes care of updating GRUB</p>

<p>so I was able to choose between the old 4.4 kernel and my newly compiled 5.11.16 kernel (with some errors I admit). This was still booting (eventually) into Ubuntu in eMMC.</p>

<p>My next step was to update the UP-Board Bios as downloaded from the UP site. This version had a lot more options and I had a bit of a learning curve to understand some of the options.</p>

<p>At this stage, I could not understand the booting options nor the OTG options for the USB3 port. I hadn't realised that there was an expert mode for Bios configuration. I was quite</p>

<p>nervous about the EFI security locking me out. After some research and trial and error I understood the CRB section of options. I ran the update but I admit I was confused by the</p>

<p>procedures on screen, partly because some options were obscured and needed to scroll down the screen, and partly through my lack of understanding the update process. Too used to U-Boot</p>

<p>I guess!</p>

<p>Once I had got to successfuly update the new Bios, I set the Bios to initially boot from USB. I downloaded the Netinstall version of Debian Buster as an ISO and used Balena Etcher to</p>

<p>put the image on a clean microSD. I attached a new clean 1Tb SSD with a USB to Sata adapter to one of the USB2 ports. I also inserted the microSD (in a USB carrier) into a USB2 port.</p>

<p>Booting the UP-board from the MicroSD started the Debian install. I used the GUI intall method which, after a few mistakes or misunderstandings, I was able to get a good Debian buster</p>

<p>image on the SSD. Changing the boot options (Still had the choice of Debian or Ubuntu) in the Bios settings and removing the microSD carrier from the USB slot, I could boot from  the</p>

<p>SSD into Debian. I manually updated the /etc/apt/sources.list to my preferences and performed an update/upgrade. I then loaded my desired software including the kernel build tools.</p>

<p>At thus stage I was still unable to use the USB3 port so I modified my kernel config for USB 3.0 OTG and other tweaks I felt necessary, then recompiled my kernel. After installing and</p>

<p>updating firmware modules (as above in '/lib/firmware), I still could not boot from the USB 3 port but USB2 ports worked fine. I was using a Lindy 31612 OTG microb to USB3 type A</p>

<p>female (UP have a similar cable in their shop) and the a USB type Male to Sata cable. I attached a spare SSD drive to the USB 3 port (using the aforementioned cables). The drive</p>

<p>produced a lot of error messages in 'dmesg' and '/var/log/kern.log' as the drive was attaching and detaching wildly. I thought the might have problems with power but that was not so. I</p>

<p>examined the male and female USB3 plug and socket an realised that not all pins mate and probably do not pass the correct signal pairs between each other. After much head scratching I</p>

<p>tried a spare WD Passport drive which has a USB3 MicroB and the drive attached and the error messages stopped. I was able to mount the drive and perform test file loading and deleting.</p>

<p>At this point, I rushed out and bought the cheapest USB external drive (for laptop backup) I could find with a microB connector. I forced the case of the drive open, removed the HDD</p>

<p>and carefully disconnected the MicroB to Sata pcb. I then powered the UP-board down, disconnected the SSD with Debian, etc. on it, attached the MicroB to Sata PCB and reassembled the</p>

<p>drive case as best I could. I attched the drive to the USB3 MicroB port on the UPboard via the Lindy 31612 and the external drive cable. I powered on the UP-board and after much</p>

<p>waiting, the UP-board brought up Debian with Xfce4 (my preferred GUI) using kernel (my variant) 5.11.16-upboard4.</p>

<p>I now have to update the kernel modules to, in particular, insert IPv6 and CIFS support. I am trying to keep as much of the kernel out of the limited 2Gb DRAM.</p>

<p>Have fun, Tony Pemberton</p>
]]>
        </description>
    </item>
    <item>
        <title>SPI is not working</title>
        <link>https://forum.up-community.org/discussion/4642/spi-is-not-working</link>
        <pubDate>Tue, 04 May 2021 10:35:02 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>alsaro</dc:creator>
        <guid isPermaLink="false">4642@/discussions</guid>
        <description><![CDATA[<p>We get an ILRA01 , based on Up Board, and we follow the steps shown in the wiki. We were able to run the OS. We downloaded the lora gateway and packet forwarder and we could compile them  but the packet forwarder fails when starting the concentrator.</p>

<p>We use the script to reset the concentrator. By default is set on GPIO7. We try this script in all available GPIO pins, but it is still not working.</p>

<p>Any ideas?</p>
]]>
        </description>
    </item>
    <item>
        <title>Pulseaudio not starting and no audio devices.</title>
        <link>https://forum.up-community.org/discussion/4135/pulseaudio-not-starting-and-no-audio-devices</link>
        <pubDate>Thu, 30 Jan 2020 16:44:54 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>mxabj</dc:creator>
        <guid isPermaLink="false">4135@/discussions</guid>
        <description><![CDATA[<p>Followed the setup guide step by step and I have no sound. Pulseaudio wont even start. Running Ubuntu 18.04 on Up Board..</p>
]]>
        </description>
    </item>
    <item>
        <title>No HDMI Audio output with Ubuntu 18.04, Kernel 15.04, newest Bios UPC1DM11</title>
        <link>https://forum.up-community.org/discussion/3163/no-hdmi-audio-output-with-ubuntu-18-04-kernel-15-04-newest-bios-upc1dm11</link>
        <pubDate>Mon, 16 Jul 2018 14:39:47 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Chris66</dc:creator>
        <guid isPermaLink="false">3163@/discussions</guid>
        <description><![CDATA[<p>I have the problem, that the sound over HDMI has no function!? I tried all different instructions from net, but no success!? In bios I did not found the possibility to put Audio on for HDMI!?</p>

<p>Can anyone help me please?</p>
]]>
        </description>
    </item>
    <item>
        <title>Upboard hangs on reboot</title>
        <link>https://forum.up-community.org/discussion/4531/upboard-hangs-on-reboot</link>
        <pubDate>Tue, 29 Dec 2020 01:11:12 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Tone</dc:creator>
        <guid isPermaLink="false">4531@/discussions</guid>
        <description><![CDATA[<p>I've installed the new Ubuntu 20.04 with your custom kernel, but noticed that the upboard hangs everytime I reboot it.<br />
I've already tried to add those lines in the blacklist.conf (<a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwiki.up-community.org%2FUbuntu_20.04%23Hang_on_Shutdown_or_Reboot_for_UP_Board%29">https://wiki.up-community.org/Ubuntu_20.04#Hang_on_Shutdown_or_Reboot_for_UP_Board)</a>, but it doesn't work for me.<br />
What else could I do?</p>
]]>
        </description>
    </item>
    <item>
        <title>UpBoard kernel 1-wire support</title>
        <link>https://forum.up-community.org/discussion/3496/upboard-kernel-1-wire-support</link>
        <pubDate>Wed, 16 Jan 2019 10:18:39 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Jari</dc:creator>
        <guid isPermaLink="false">3496@/discussions</guid>
        <description><![CDATA[<p>Hi,</p>

<p>There seems to be modules w1_gpio and w1_therm kernel modules in the linux-image-generic-hwe-16.04-upboard.</p>

<p>Are those fully supported? I can load them, but so far no luck getting them working with digital temperature sensor attached to GPIO pins.</p>

<p>Are there kernel sources available?</p>

<p>Br,<br />
Jari</p>
]]>
        </description>
    </item>
    <item>
        <title>3.5“ TFT (40 pin header)</title>
        <link>https://forum.up-community.org/discussion/4545/3-5-tft-40-pin-header</link>
        <pubDate>Wed, 13 Jan 2021 06:28:53 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>aoki_sakuratech</dc:creator>
        <guid isPermaLink="false">4545@/discussions</guid>
        <description><![CDATA[<p>I want to display and operate the UP board with a Touch Panel Module of 3.5 “or less, so I attached<br />
Adafruit's PiTFT Plus 480x320 3.5“ TFT (40 pin header) verified by<br />
(<a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwiki.up-community.org%2FTFT_Display_HATs%29">https://wiki.up-community.org/TFT_Display_HATs)</a><br />
And writen<br />
“The ubilinux kernel includes the fbtft driver modules, enabling a selection of small TFT displays”<br />
So I installed ubilinux on the UP board <br />
(<a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwiki.up-community.org%2FUbilinux%29">https://wiki.up-community.org/Ubilinux)</a><br />
and Installed Adafruit_GPIO library <br />
(<a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwiki.up-community.org%2FAdafruit%29">https://wiki.up-community.org/Adafruit)</a><br />
Next I executed as<br />
(<a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwiki.up-community.org%2FTFT_Display_HATs%29">https://wiki.up-community.org/TFT_Display_HATs)</a><br />
sudo modprobe fbtft dma = 0<br />
sudo modprobe fbtft_device custom name = fb_hx8357d rotate = 270 speed = 42000000 buswidth = 8 bgr = 1 gpios = dc: 25 busnum = 2<br />
sudo apt-get install fbset<br />
con2fbmap 1 1<br />
However, the display remained black, and when I rebooted, errors were displayed for a few seconds (like photo) .<br />
After that, the screen remains black and nothing is displayed.<br />
I tried two UP boards and the errors differ a little.<br />
What am I missing?<br /><img src="https://us.v-cdn.net/6030431/uploads/editor/5r/ied6c15pnupx.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6030431/uploads/editor/5r/ied6c15pnupx.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6030431/uploads/editor/5r/ied6c15pnupx.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6030431/uploads/editor/5r/ied6c15pnupx.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6030431/uploads/editor/5r/ied6c15pnupx.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6030431/uploads/editor/5r/ied6c15pnupx.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6030431/uploads/editor/5r/ied6c15pnupx.png 2000w, https://us.v-cdn.net/6030431/uploads/editor/5r/ied6c15pnupx.png" sizes="100vw" /><br /><img src="https://us.v-cdn.net/6030431/uploads/editor/zc/hsggsee5pc2h.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6030431/uploads/editor/zc/hsggsee5pc2h.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6030431/uploads/editor/zc/hsggsee5pc2h.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6030431/uploads/editor/zc/hsggsee5pc2h.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6030431/uploads/editor/zc/hsggsee5pc2h.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6030431/uploads/editor/zc/hsggsee5pc2h.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6030431/uploads/editor/zc/hsggsee5pc2h.png 2000w, https://us.v-cdn.net/6030431/uploads/editor/zc/hsggsee5pc2h.png" sizes="100vw" /></p>
]]>
        </description>
    </item>
    <item>
        <title>How can I backup the system installed</title>
        <link>https://forum.up-community.org/discussion/4532/how-can-i-backup-the-system-installed</link>
        <pubDate>Wed, 30 Dec 2020 00:49:49 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>djz</dc:creator>
        <guid isPermaLink="false">4532@/discussions</guid>
        <description><![CDATA[<p>I have installed Ubuntu server 18.04 on the up board, I am pretty sure it is installed into the EMMC, I have also installed lots of software, along with my programs. <br />
I am wondering, how can I backup the system? After the backup, how can I install the backup into another up board?</p>
]]>
        </description>
    </item>
    <item>
        <title>Cannot install first linux (lubuntu)</title>
        <link>https://forum.up-community.org/discussion/4526/cannot-install-first-linux-lubuntu</link>
        <pubDate>Tue, 22 Dec 2020 11:13:09 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>IvoM</dc:creator>
        <guid isPermaLink="false">4526@/discussions</guid>
        <description><![CDATA[<p>I can't install Linux.</p>

<p>I have a new piece of UP Core 1GB.<br />
I also have an installation flash drive with Lubuntu 18.04 (from which the installation works on another computer and some time ago I used the same installation on another piece of Up Core).<br />
The HUB is connected to the USB and a keyboard, mouse, and flash drive are connected to it.<br />
The keyboard and mouse work.<br />
Once launched, the screen will prompt you to enter a password, and after entering it, you can set up Aptio Setup Utility 2017.</p>

<p>But it never starts loading the OS from the flash drive.<br />
I also tried default settings and disconnecting the RTC battery.</p>

<p>Can you please advise how to install the OS?</p>
]]>
        </description>
    </item>
    <item>
        <title>Finding older kernel versions</title>
        <link>https://forum.up-community.org/discussion/4514/finding-older-kernel-versions</link>
        <pubDate>Tue, 08 Dec 2020 10:41:48 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>ChrisG</dc:creator>
        <guid isPermaLink="false">4514@/discussions</guid>
        <description><![CDATA[<p>I'm new to using UP Boards, and I set mine up following these instructions. <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwiki.up-community.org%2FUbuntu_16.04">https://wiki.up-community.org/Ubuntu_16.04</a></p>

<p>Unfortunately, a camera I want to use  with this board only supports up to kernel version 4.14.  I'd like to be able to use the camera and the GPIO pins at the same time.  I've not been able to find any older versions of the UP board kernel that enables the GPIO to be used.</p>

<p>Is there a link somewhere to an archive of old kernel versions that are pre 4.14?</p>
]]>
        </description>
    </item>
    <item>
        <title>Different v4l ports on two upboardes</title>
        <link>https://forum.up-community.org/discussion/4477/different-v4l-ports-on-two-upboardes</link>
        <pubDate>Mon, 02 Nov 2020 11:26:55 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>dorforerindoor</dc:creator>
        <guid isPermaLink="false">4477@/discussions</guid>
        <description><![CDATA[<p>Hello!<br />
I've bought 4 up boards and connected to each one two cameras.<br />
I've tried to read their usb port using "ls -l /dev/v4l/by-path".<br />
Two of the upboard give the same results - i.e the cameras that were connected on the same usb port got the same name, ao the other two it was upside down.<br />
Eventually I have the same code running on the 4 of them and I need one static address for the 4 of them corresponding to the usb port they were connected to.<br />
Does anybody what can it be?</p>
]]>
        </description>
    </item>
    <item>
        <title>Latest Kernel Patches</title>
        <link>https://forum.up-community.org/discussion/4186/latest-kernel-patches</link>
        <pubDate>Wed, 26 Feb 2020 18:54:37 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>chris_yokum</dc:creator>
        <guid isPermaLink="false">4186@/discussions</guid>
        <description><![CDATA[<p>Do you have the latest kernel patches available somewhere? It would be nice if these were available as an official download.<br />
The pre-patched kernels (ppa) available seem quite old, I'd like to be able to just build my own latest kernel whenever I need to.</p>
]]>
        </description>
    </item>
    <item>
        <title>Partioning error in Systemd distro</title>
        <link>https://forum.up-community.org/discussion/4496/partioning-error-in-systemd-distro</link>
        <pubDate>Wed, 18 Nov 2020 15:53:33 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Munawar</dc:creator>
        <guid isPermaLink="false">4496@/discussions</guid>
        <description><![CDATA[<p>Hello,</p>

<p>I am using Up-board, I have built the image using Yocto-Pyro. <br />
By default the Image is managed by systemV, I have added systemd by adding the line <strong>DISTRO_FEATURES_append = " systemd"</strong>   in my local.conf file.<br />
 I build the image, the image booted and worked.<br />
Now what I am trying to do is to make partition in external SD-card using parted utility.  The partions fs is ext4.<br />
(Partioning script)<br /><strong>yes | /usr/sbin/parted --script /dev/sda -- \<br />
    mklabel gpt \<br />
    mkpart primary ext4 1Mib 256Mib \<br />
    mkpart primary ext4 256Mib 512Mib \<br />
    mkpart primary ext4 512Mib 640Mib \<br />
    mkpart primary ext4 640Mib 768Mib \<br />
    mkpart primary ext4 768Mib 100%</strong></p>

<p>While doing this I am getting an strange error that I could not figure out.<br /><strong>Error: Partition(s) 1, 2, 3, 4, 5 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.</strong></p>

<p>Does anybody know how to encounter this error?</p>

<p>Thanks<br />
Munawar Ali</p>
]]>
        </description>
    </item>
    <item>
        <title>How to make SPI communication in realtime?</title>
        <link>https://forum.up-community.org/discussion/4414/how-to-make-spi-communication-in-realtime</link>
        <pubDate>Wed, 26 Aug 2020 05:37:37 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>mosharp</dc:creator>
        <guid isPermaLink="false">4414@/discussions</guid>
        <description><![CDATA[<p>I have used UP Board, with 4.15 low-latency linux kernel from <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Flaunchpad.net%2F%7Eaaeon-cm%2F%2Barchive%2Fubuntu%2Fup%2F%2Bpackages">https://launchpad.net/~aaeon-cm/+archive/ubuntu/up/+packages</a>.<br />
When i run spi application will get 10ms latency, meanwhile normal cost time is 0.8ms.</p>

<p>We found spi in the kernel is stuck by irq, but we have no idea about that.</p>
]]>
        </description>
    </item>
    <item>
        <title>Moved: How to change display 4K resolution in Yocto (ATOM E3950)</title>
        <link>https://forum.up-community.org/discussion/4491/moved-how-to-change-display-4k-resolution-in-yocto-atom-e3950</link>
        <pubDate>Fri, 13 Nov 2020 01:42:29 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>DCleri</dc:creator>
        <guid isPermaLink="false">4491@/discussions</guid>
        <description><![CDATA[This discussion has been <a rel="nofollow" href="https://forum.up-community.org/discussion/4490/how-to-change-display-4k-resolution-in-yocto-atom-e3950">moved</a>.]]>
        </description>
    </item>
    <item>
        <title>How to recover from I2C bus lockup?</title>
        <link>https://forum.up-community.org/discussion/4476/how-to-recover-from-i2c-bus-lockup</link>
        <pubDate>Fri, 30 Oct 2020 06:16:45 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>waynepiekarski</dc:creator>
        <guid isPermaLink="false">4476@/discussions</guid>
        <description><![CDATA[<p>Hi,</p>

<p>I've been testing an Up Board with a variety of I2C peripherals and encountering some problems with buggy I2C devices. Occasionally I will run into a situation where I2C read/writes will timeout, and the bus master loses arbitration. i2cdetect gets stuck. If I unplug the I2C devices, and replug them back in, everything usually works again, but this isn't a long term solution that works automatically. I need a system that can recover from faults like this.</p>

<p>I've read various articles such as AN-686 which discusses clocking out the problem.<br /><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwww.analog.com%2Fmedia%2Fen%2Ftechnical-documentation%2Fapplication-notes%2F54305147357414AN686_0.pdf">https://www.analog.com/media/en/technical-documentation/application-notes/54305147357414AN686_0.pdf</a><br />
I tried this out, and was able to sometimes recover the bus by using the GPIO pins attached to the I2C lines to toggle SCL ten times, and then SDA ten times. The bus would become available again, and i2cdetect would work again. However, I found other situations where it appears like the I2C master itself was stuck. I could unplug the I2C peripherals, and it was still stuck. Rebooting the Up Board did fix the problem, so it appears like it could be correctable in software.</p>

<p>I tried messing with the I2C driver but that did not fix anything.<br />
echo -n "808622C1:00" &gt; /sys/bus/platform/drivers/i2c_designware/unbind<br />
echo -n "808622C1:01" &gt; /sys/bus/platform/drivers/i2c_designware/unbind<br />
echo -n "808622C1:00" &gt; /sys/bus/platform/drivers/i2c_designware/bind<br />
echo -n "808622C1:01" &gt; /sys/bus/platform/drivers/i2c_designware/bind</p>

<p>Rather than doing these hacks that aren't working, is there a better way to recover?<br />
(1) How to reset the onboard I2C master on the UpBoard without a reboot?<br />
(2) How to clock out the bus to unlock any peripherals on the I2C bus?</p>

<p>I'm using Ubuntu 18.04 with the upboard kernel: 4.15.0-37-generic #40~upboard06-Ubuntu</p>

<p>Thanks.</p>
]]>
        </description>
    </item>
    <item>
        <title>Run script on startup with Cron on ubilinux 4.9.45</title>
        <link>https://forum.up-community.org/discussion/4445/run-script-on-startup-with-cron-on-ubilinux-4-9-45</link>
        <pubDate>Mon, 05 Oct 2020 12:15:59 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>aghiles</dc:creator>
        <guid isPermaLink="false">4445@/discussions</guid>
        <description><![CDATA[<p>hello,</p>

<p>I would to run python script after each start of my UP Board.  For that, i used cron to do it.</p>

<p>In my  crontab i wrote this :<br /><a href="https://forum.up-community.org/profile/reboot" rel="nofollow">@reboot</a> sleep 90  &amp;&amp;  /usr/bin/python3.5   /usr/bin/myScriptPython.py</p>

<p>The problem is that my script does not always run, after starting of my UP Board.</p>

<p>So can you help me please ?</p>
]]>
        </description>
    </item>
    <item>
        <title>Interrupt on Up2 Board GPIO(pin number 29, linux gpio 430)</title>
        <link>https://forum.up-community.org/discussion/4442/interrupt-on-up2-board-gpio-pin-number-29-linux-gpio-430</link>
        <pubDate>Fri, 25 Sep 2020 11:59:37 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>snc</dc:creator>
        <guid isPermaLink="false">4442@/discussions</guid>
        <description><![CDATA[<p>Hi,</p>

<p>We are using a Up2 board with Yocto Sumo branch(linux kernel 4.14.92)</p>

<p>We are trying to use linux gpio 430 for interrupt handling. But, we dont see the interrupt handler invoked.  Is it a known issue with workarounds as I see some fixes for 4.19 kernel</p>

<p>Code:<br />
+static int  register_gpio(void)<br />
++{<br />
++    if(gpio_request_one(IRQ_GPIO, GPIOF_IN, "MCU_sel") &lt; 0) {<br />
++        printk(KERN_ALERT "GPIO %d cannot be used\n", IRQ_GPIO);<br />
++        return -EBUSY;<br />
++    }<br />
++    if ( (irq_line = gpio_to_irq(MCU_IRQ_GPIO)) &lt; 0)<br />
++    {<br />
++        printk(KERN_ALERT "Gpio %d cannot be used as interrupt\n",IRQ_GPIO);<br />
++        return -EINVAL;<br />
++    }<br />
++    if ( (irq_req_res = request_irq(irq_line, MCU_irq_handler, IRQF_TRIGGER_FALLING, "MCU_IRQ_GPIO", NULL)) &lt; 0)<br />
++    {<br />
++        printk(KERN_ERR " registering irq failed\n");<br />
++        return -EINVAL;<br />
++    }<br />
++    printk(KERN_INFO "select switch  GPIO is registred\n");</p>

<p>++    return 0;<br />
++}<br />
++</p>
]]>
        </description>
    </item>
    <item>
        <title>UP Squared supports Tensorflow 2.0</title>
        <link>https://forum.up-community.org/discussion/4383/up-squared-supports-tensorflow-2-0</link>
        <pubDate>Fri, 31 Jul 2020 02:53:06 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>HwTeoh</dc:creator>
        <guid isPermaLink="false">4383@/discussions</guid>
        <description><![CDATA[<p>Hi</p>

<p>Could UP Squared board supports tensorflow 2.0? As I tried to run tensorflow 2.0 and I receive an error message of illegal instruction (core dumped).</p>

<p>Although I solved this issue by downgrade the tensorflow version, but the keras requires a higher version of tensorflow to perform.</p>

<p>Anyone is facing this issue or solved this issue?</p>

<p>Thank you.</p>
]]>
        </description>
    </item>
    <item>
        <title>[SOLVED] Cloning the image of an UP board</title>
        <link>https://forum.up-community.org/discussion/1197/solved-cloning-the-image-of-an-up-board</link>
        <pubDate>Thu, 02 Mar 2017 10:11:11 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Nonobaku Hisoka</dc:creator>
        <guid isPermaLink="false">1197@/discussions</guid>
        <description><![CDATA[Hello there everyone!<br /><br />
I've recently purchased a bunch of UP-Boards and I want to deploy a custom linux installation to all of these.<br /><br />
Here's my current situation:<br /><br />
I have four up-boards laying around here of which I have one of them completely configured with UBILINUX (Let's name this one COMPLETE). Now what I want to do is either clone the complete system from COMPLETE or make a custom image which I can deploy on the other three up-boards. I just don't seem to be able to figure out how to make this happen.<br /><br />
Things I've tried already:<br /><br />
Re-Do Backup &amp; Recovery Tool - Didn't work because I can't seem to make a normal bootable USB that is recognized by the UP-Board in the boot-menu.<br /><br />
Clonezilla - I've tried this option right here MANY times. In the beginning I kept getting the error that it couldn't read/write a certain part of the system ( I didn't document it, pretty silly but I can't give you guys any error messages right now ) and as of now it's completely buggy when I'm trying to make an image of the system. I've already tried making a new Clonezilla bootable USB-drive thinking it might be a problem with the software after so many attempts but this didn't work either. When this didn't work I completely reset the UP-Board and made the same configuration base as I had before thinking it might be a problem with the configured up-board, however, this also doesn't fix the errors I'm getting in Clonezilla<br /><br />
DD full system copy to USB - This option I'm actually trying right now, which is basically using the command sudo dd if=/dev/mmcblk0 of=/dev/sda which according to online tutorials should copy the entire disk 1:1. Only after doing this and putting into the INCOMPLETE up-board I can't seem to find a way to copy the entire USB to the harddisk of the UP-board because I can't seem to figure out how to do this in an EFI shell.<br /><br />
If anyone of you have any experience considering cloning or making an image of an UP-board please give me some guidance in a solution for this issue.<br /><br />
I thank you all in advance!<br /><br />
Hisoka-]]>
        </description>
    </item>
    <item>
        <title>Kernel 5.0 Serial now seems to be on TTYS0</title>
        <link>https://forum.up-community.org/discussion/4320/kernel-5-0-serial-now-seems-to-be-on-ttys0</link>
        <pubDate>Sun, 14 Jun 2020 22:42:24 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>BeningFun</dc:creator>
        <guid isPermaLink="false">4320@/discussions</guid>
        <description><![CDATA[<p>The latest kernel appears to set the serial port on TTYS0, S4 returns permission denied unless I use sudo.</p>

<p>$ sudo setserial -g /dev/ttyS[01234]<br />
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4<br />
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3<br />
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4<br />
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3<br />
/dev/ttyS4, UART: 16550A, Port: 0x0000, IRQ: 39</p>

<p>I've got a loop back on pin 8,10 and no longer have a working serial port.</p>

<p>Suggestions?</p>
]]>
        </description>
    </item>
    <item>
        <title>Outdated INTEL update tool</title>
        <link>https://forum.up-community.org/discussion/3252/outdated-intel-update-tool</link>
        <pubDate>Sun, 16 Sep 2018 15:33:12 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>TimoK93</dc:creator>
        <guid isPermaLink="false">3252@/discussions</guid>
        <description><![CDATA[<p>Hi guys,</p>

<p>i'm new in the UP community and on the first day i got an annoying Issue:<br />
I wanted to setup Ububtu on my UP-Squared following these instructions <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwiki.up-community.org%2FUbuntu%23Install_Intel_graphic_driver" title="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwiki.up-community.org%2FUbuntu%23Install_Intel_graphic_driver"> https://wiki.up-community.org/Ubuntu#Install_Intel_graphic_driver </a>.</p>

<p>The first steps were quite simple but then i tried to update the grafics driver... The Update tool is outdated and in the "manual" way i don't know which grafic driver to choose. <br />
Is there anybody who can tell me, what i need to install so the grafics is running with the latest driver?</p>

<p>A second question: Is there a way to check the functionality of the Intel grafic chipset? I performed some little KERAS scripts with TENSORFLOW as backend and the speed is, hm like on an really old Laptop without GPU...</p>

<p>NOTE: My board is <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fup-shop.org%2Fup-boards%2F106-up-squared-pentium-quad-core-8gb-memory128gb-emmc.html" title="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fup-shop.org%2Fup-boards%2F106-up-squared-pentium-quad-core-8gb-memory128gb-emmc.html">https://up-shop.org/up-boards/106-up-squared-pentium-quad-core-8gb-memory128gb-emmc.html</a></p>

<p>Thanks in advance for a reply!</p>
]]>
        </description>
    </item>
    <item>
        <title>ubuntu 18.04 - no audio device listed</title>
        <link>https://forum.up-community.org/discussion/3908/ubuntu-18-04-no-audio-device-listed</link>
        <pubDate>Sun, 22 Sep 2019 18:39:19 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>toko789</dc:creator>
        <guid isPermaLink="false">3908@/discussions</guid>
        <description><![CDATA[<p>Hi there,</p>

<p>my UP board runs perfectly Ubuntu 18.04. I did install as well the fix for file /etc/pulse/default.pa like given as hint in the wiki.</p>

<p>However, when I open settings of Ubuntu and go to "Sound" I have still no device listed there. I try to get the Audio via the HDMI cable.</p>

<p>I'm sure you got that working. So those of you: could you pls help and tell me what's needed??<br />
Thx in advance!!</p>

<p>thomas</p>
]]>
        </description>
    </item>
    <item>
        <title>how to clear password in bios</title>
        <link>https://forum.up-community.org/discussion/4314/how-to-clear-password-in-bios</link>
        <pubDate>Wed, 10 Jun 2020 01:49:08 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>cscho</dc:creator>
        <guid isPermaLink="false">4314@/discussions</guid>
        <description><![CDATA[<p>Hi<br />
I just received UP2 8G device, and installed linux.<br />
When booting, UP2 asked bios password. <br />
I know that default password is just "blank" + enter key.<br />
But, I would like to clear this password asking procedure. I want to boot without password.<br />
How to solve this problem?</p>
]]>
        </description>
    </item>
    <item>
        <title>Debug Kernel</title>
        <link>https://forum.up-community.org/discussion/4294/debug-kernel</link>
        <pubDate>Thu, 21 May 2020 19:40:00 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>rarebit</dc:creator>
        <guid isPermaLink="false">4294@/discussions</guid>
        <description><![CDATA[<p>Hi, I have a (regular) UP board and see there are the following kernel choices. Is there any links that explain the differences in these kernels? Thanks in advance</p>

<p>linux-image-extra-virtual-hwe-18.04-upboard - Extra drivers for Virtual Linux kernel image<br />
linux-image-generic-hwe-18.04-upboard - UP board Linux kernel image<br />
linux-image-lowlatency-hwe-18.04-upboard - lowlatency Linux kernel image<br />
linux-image-virtual-hwe-18.04-upboard - Virtual Linux kernel image<br />
linux-signed-image-generic-hwe-18.04-upboard - Signed Generic Linux kernel image<br />
linux-signed-image-lowlatency-hwe-18.04-upboard - Signed Lowlatency Linux kernel image</p>
]]>
        </description>
    </item>
    <item>
        <title>Disable UART0 debugging</title>
        <link>https://forum.up-community.org/discussion/2452/disable-uart0-debugging</link>
        <pubDate>Wed, 15 Nov 2017 06:31:52 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Fredrick</dc:creator>
        <guid isPermaLink="false">2452@/discussions</guid>
        <description><![CDATA[Is it possible to use UART0 for any other purposes other than debugging? Can I use UART0 to talk to other uart devices?]]>
        </description>
    </item>
    <item>
        <title>SPI can not receive data on Ubuntu 18.04 with 4.15 kernel patch</title>
        <link>https://forum.up-community.org/discussion/4263/spi-can-not-receive-data-on-ubuntu-18-04-with-4-15-kernel-patch</link>
        <pubDate>Fri, 24 Apr 2020 11:56:24 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>maxxy</dc:creator>
        <guid isPermaLink="false">4263@/discussions</guid>
        <description><![CDATA[<p>I had Ubuntu 18.04 with 4.15 kernel patch  on UP board.<br />
I can see /dev/spidev2.0 and /dev/spidev2.1, and it is success to open SPI, but I cannot get any data when running my code to communicate over SPI, the error code of the calling ioctl() is 132.</p>

<p>Did anyone encounter the same problem?</p>
]]>
        </description>
    </item>
    <item>
        <title>Losing GPIO settings on reboot.</title>
        <link>https://forum.up-community.org/discussion/4268/losing-gpio-settings-on-reboot</link>
        <pubDate>Tue, 28 Apr 2020 16:41:50 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>dryfly101</dc:creator>
        <guid isPermaLink="false">4268@/discussions</guid>
        <description><![CDATA[<p>Hello,<br />
I've got my gpios working as expected until I reboot and then they are lost. Sure, I could initialize them every boot, but I feel like this might be indicative of some other issue. <br />
Any idea what might be going on or what I could check? I've got the susv and global cellular hat working and connected as well. Could they be interfering at boot even though they all work after I reconfigure the gpios. <br />
Ubuntu  with the UP kernel<br />
I'm using gpio 22  though /sys/class/gpio/export,then setting the direction and the value in /sys/class/gpio/gpio22/direction and .../value<br />
When I reboot, /sys/class/gpio/gpio22 does not exist.<br />
Thanks in advance.</p>
]]>
        </description>
    </item>
    <item>
        <title>Ubilinux does not add repository &quot;sudo add-apt-repository ppa:ubilinux/up&quot;</title>
        <link>https://forum.up-community.org/discussion/4069/ubilinux-does-not-add-repository-sudo-add-apt-repository-ppa-ubilinux-up</link>
        <pubDate>Sun, 01 Dec 2019 17:06:55 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>Lubo</dc:creator>
        <guid isPermaLink="false">4069@/discussions</guid>
        <description><![CDATA[<p>I would like ask for help with this.<br />
I have ubilinux instaled from :<br /><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fdownloads.up-community.org%2Fdownload%2Fubilinux-installer-4-0%2F">https://downloads.up-community.org/download/ubilinux-installer-4-0/</a><br />
without issue. <br />
But then , I would like upgrade kernel to 4.15. from ppa. However, I am not able to run :<br />
     sudo add-apt-repository ppa:ubilinux/up</p>

<p>There is error message showed :</p>

<blockquote><div>
  <p>py@ubilinux4:~$ sudo add-apt-repository ppa:ubilinux/upTraceback (most recent call last):<br />
    File "/usr/bin/add-apt-repository", line 95, in <br />
      sp = SoftwareProperties(options=options)<br />
    File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in <strong>init</strong><br />
      self.reload_sourceslist()<br />
    File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist<br />
      self.distro.get_sources(self.sourceslist)<br />
    File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources<br />
      (self.id, self.codename))<br />
  aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for ubilinux/dolcetto<br />
  py@ubilinux4:~$</p>
</div></blockquote>

<p>What should I do in order to have sucesfully added repository ?</p>
]]>
        </description>
    </item>
    <item>
        <title>PWM device busy, can&#39;t echo to period/duty cycle</title>
        <link>https://forum.up-community.org/discussion/4249/pwm-device-busy-cant-echo-to-period-duty-cycle</link>
        <pubDate>Mon, 13 Apr 2020 13:03:07 +0000</pubDate>
        <category>UP Board Linux</category>
        <dc:creator>la7low</dc:creator>
        <guid isPermaLink="false">4249@/discussions</guid>
        <description><![CDATA[<p>Hello,</p>

<p>I was using PWM to control a cooling fan with the up2 for a while now and it was working until a recent system update (with updates to linux and linux-firmware).<br />
I get 'Device or resource busy' error, see:</p>

<pre spellcheck="false" tabindex="0">$ echo 0 &gt; /sys/class/pwm/pwmchip0/export
$ echo 3413333 &gt; /sys/class/pwm/pwmchip0/pwm0/period
/usr/bin/echo: write error: Device or resource busy
$ echo 1706667 &gt; /sys/class/pwm/pwmchip0/pwm0/duty_cycle
/usr/bin/echo: write error: Invalid argument
$ echo 1 &gt; /sys/class/pwm/pwmchip0/pwm0/enable 
</pre>

<p>I am on arch linux:</p>

<pre spellcheck="false" tabindex="0">$ uname -a                                                                                                                                                                    
Linux up2 5.6.3-arch1-1 #1 SMP PREEMPT Wed, 08 Apr 2020 07:47:16 +0000 x86_64 GNU/Linux
$ sudo pacman -Qs linux-firmware                                                                                                                                              
local/linux-firmware 20200316.8eb0b28-1
    Firmware files for Linux
</pre>

<p>The latest 5.0 BIOS is used with restored/optimized defaults, except quiet boot is disabled and at IGD panel two settings are disabled.</p>

<p>In dmesg there are three 'pwm' related messages:</p>

<pre spellcheck="false" tabindex="0">$ dmesg | grep -i pwm                                                                                                                                                         
[  +0.105524] pwm-lpss 0000:00:1a.0: can't derive routing for PCI INT A
[  +0.000005] pwm-lpss 0000:00:1a.0: PCI INT A: not connected
[Apr13 11:46] pwm-lpss 0000:00:1a.0: PWM_SW_UPDATE was not cleared
</pre>

<p>Does anyone have a suggestion what might prevent me  from echoing to the files in pwm0? What could be blocking the channel?<br />
I tried also pwm pin 33, channel 1 but got the same error.</p>

<p>Thanks a lot in advance!</p>

<p>PS. I have some udev rules that lets the gpiousers group access to the pwmchip directory so I do not need sudo (in case you wondered), see:</p>

<pre spellcheck="false" tabindex="0">$ cat /etc/udev/rules.d/50-pwm.rules                                                                                                                                          
SUBSYSTEM=="pwm", PROGRAM="/bin/sh -c '\
    chown -R root:gpiouser /sys/class/pwm &amp;&amp; chmod -R 770 /sys/class/pwm;\
    chown -R root:gpiouser /sys/devices/pci0000:00/0000:00:1a.0/pwm/pwmchip* &amp;&amp; chmod -R 770 /sys/devices/pci0000:00/0000:00:1a.0/pwm/pwmchip*;\
'"
</pre>
]]>
        </description>
    </item>
   </channel>
</rss>
