<?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 4000 Linux — upcommunity</title>
        <link>https://forum.up-community.org/</link>
        <pubDate>Thu, 17 Sep 2026 03:34:09 +0000</pubDate>
        <language>en</language>
            <description>UP 4000 Linux — upcommunity</description>
    <atom:link href="https://forum.up-community.org/categories/up-4000-linux/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Where to start to use a Rpi hat on UP4000</title>
        <link>https://forum.up-community.org/discussion/35058/where-to-start-to-use-a-rpi-hat-on-up4000</link>
        <pubDate>Thu, 17 Apr 2025 20:07:56 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>redbeard_physicist</dc:creator>
        <guid isPermaLink="false">35058@/discussions</guid>
        <description><![CDATA[<p>Hi, i own a UP4000 running Ubuntu20 and i know my way around enough to have used the proper linux ISO found in the community forum and i already have used a homebuilt HAT for it.</p>

<p>I would like to know if the following board would be compatible with the UP4000 and where to start on how to use it.<br /><a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwww.waveshare.com%2Fwiki%2FRS485_CAN_HAT%23Introduction">https://www.waveshare.com/wiki/RS485_CAN_HAT#Introduction</a></p>

<p>I do have doubts as the tutorial for this hat uses raspi-config, a raspian OS specific software. I guess that the UP board would be able to have the functionality to enable RS485 and allow ssh login through it as it is my goal.</p>
]]>
        </description>
    </item>
    <item>
        <title>Add SSD M.2 2280 M Key 2  on  Up Element i12 Edge</title>
        <link>https://forum.up-community.org/discussion/35049/add-ssd-m-2-2280-m-key-2-on-up-element-i12-edge</link>
        <pubDate>Wed, 26 Mar 2025 15:25:50 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>rsramirez001</dc:creator>
        <guid isPermaLink="false">35049@/discussions</guid>
        <description><![CDATA[<p>I have added extra storage, an SSD M.2 2280 M Key 2 (PCIe x 2/SATA interface), to the PC Up Element i12 Edge. However, it is not being detected. I have Ubuntu 24. Should I configure the BIOS to detect the new SSD?<img src="https://us.v-cdn.net/6030431/uploads/editor/wz/1k73m0fc9c5g.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/wz/1k73m0fc9c5g.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6030431/uploads/editor/wz/1k73m0fc9c5g.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6030431/uploads/editor/wz/1k73m0fc9c5g.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6030431/uploads/editor/wz/1k73m0fc9c5g.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6030431/uploads/editor/wz/1k73m0fc9c5g.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6030431/uploads/editor/wz/1k73m0fc9c5g.png 2000w, https://us.v-cdn.net/6030431/uploads/editor/wz/1k73m0fc9c5g.png" sizes="100vw" /></p>
]]>
        </description>
    </item>
    <item>
        <title>UP4000 GPIO using libgpiod in Rocky 9</title>
        <link>https://forum.up-community.org/discussion/34975/up4000-gpio-using-libgpiod-in-rocky-9</link>
        <pubDate>Wed, 20 Nov 2024 17:57:03 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>z_tj</dc:creator>
        <guid isPermaLink="false">34975@/discussions</guid>
        <description><![CDATA[<p>I am running Rocky 9 (kernel 5.14), and the sysfs GPIO interface (/sys/class/gpio) is now deprecated and replaced with libgpiod.  I have installed libgpiod, and it appears to work, mostly.<br />
However, I am having trouble finding the gpio-to-pin mapping and reading the gpio value back.</p>

<p>Is there any documentation that relates the gpiochip and line to the 40pin interface?<br />
Comments in the forum suggest the following:<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%2FPinout">https://github.com/up-board/up-community/wiki/Pinout</a><br />
But I can't find the gpiochip(n) and line(m) mapping.  Where can I find this?</p>

<p>Through some testing, I was able to toggle the blue LED, and some GPIO's  that I configured in the BIOS as outputs.  Here is what I've found:</p>

<p>For example, the following toggles the Blue LED:<br />
gpioset gpiochip0 73=1<br />
gpioset gpiochip0 73=0</p>

<p>The following toggles pin 13 (also referred to as UP pinout GPIO4, or Linux GPIO 27).<br />
gpioset gpiochip1 75=1<br />
gpioset gpiochip1 75=0</p>

<p>FYI - using a previous kernel with sysfs(Centos 7.x), I was able to toggle pin 13 using the following <br />
echo "1" &gt;&gt; /sys/class/gpio/gpio432/value<br />
echo "0" &gt;&gt; /sys/class/gpio/gpio432/value<br />
But this is now deprecated.</p>

<p>Here are a few pin associations I've been able to verify:<br />
gpioset gpiochip1 38=$value   #this controls pin 18<br />
gpioset gpiochip1 74=$value   #this controls pin 15<br />
gpioset gpiochip1 73=$value   #this controls pin 29<br />
gpioset gpiochip1 37=$value   #this controls pin 31</p>

<p>I can control a pin using gpioset, but when I read the same pin back, it sets the output to 0.<br />
For example<br />
gpioset gpiochip1 75=1  #output is asserted hi<br />
gpioget  gpiochip0 75   #this value reads back as zero, and the output is set to 0 (low).</p>

<p>Lastly, when I read chip0, pin 72, all three (red, green, yellow) LED's turn off.<br />
gpioget gpiochip0 72  #turns off three LEDs</p>

<p>And when I try to set gpiochip0 72=1, the LED's do not restore.</p>

<p>Any clarification would be helpful.</p>
]]>
        </description>
    </item>
    <item>
        <title>Filesystem modification, read-only filesystem and emmc0 logs</title>
        <link>https://forum.up-community.org/discussion/34961/filesystem-modification-read-only-filesystem-and-emmc0-logs</link>
        <pubDate>Fri, 18 Oct 2024 07:45:30 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>samuel9509</dc:creator>
        <guid isPermaLink="false">34961@/discussions</guid>
        <description><![CDATA[<h1 data-id="problem">Problem</h1>

<p>We have been using numerous Up Squared Boards since 2020. On our Up2Boards, Ubuntu 20.04 is running with kernel version 5.15.0-71-generic. Recenly we had some problem with logs which weren't be written to the storage hardware. I had checked syslog and turned out these belows logs were present, preventing our program from writting.</p>

<h2 data-id="logs">logs</h2>

<pre spellcheck="false" tabindex="0">kernel: [  453.189298] mmc0: mmc_select_hs400 failed, error -84
kernel: [  453.189727] mmc0: mmc_hs400_to_hs200 failed, error -110
kernel: [  543.361872] mmc0: cache flush error -110
kernel: [  543.361894] blk_update_request: I/O error, dev mmcblk0, sector 60097648 op 0x1:(WRITE) flags 0x20800 phys_seg 1 prio class 0
kernel: [  543.361935] Aborting journal on device mmcblk0p2-8.
kernel: [  543.362313] mmc0: mmc_hs400_to_hs200 failed, error -110
kernel: [  543.363365] EXT4-fs error (device mmcblk0p2): ext4_journal_check_start:83: comm systemd-journal: Detected aborted journal
kernel: [  543.363435] EXT4-fs error (device mmcblk0p2): ext4_journal_check_start:83: comm rs:main Q:Reg: Detected aborted journal
kernel: [  543.377308] EXT4-fs (mmcblk0p2): Remounting filesystem read-only
</pre>

<h1 data-id="hw-specification">HW Specification</h1>

<h2 data-id="cpu">CPU</h2>

<pre spellcheck="false" tabindex="0">processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model       : 92
model name  : Intel(R) Pentium(R) CPU N4200 @ 1.10GHz
stepping    : 10
microcode   : 0x28
cpu MHz     : 2267.052
cache size  : 1024 KB
physical id : 0
siblings    : 4
core id     : 0
cpu cores   : 4
apicid      : 0
initial apicid  : 0
fpu     : yes
fpu_exception   : yes
cpuid level : 21
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault cat_l2 ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust smep erms mpx rdt_a rdseed smap clflushopt intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts md_clear arch_capabilities
vmx flags   : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs
bugs        : spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 2188.80
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:
</pre>

<h2 data-id="memory">Memory</h2>

<pre spellcheck="false" tabindex="0">              total        used        free      shared  buff/cache   available
Mem:          7.6Gi       1.6Gi       4.0Gi       311Mi       2.0Gi       5.5Gi
Swap:         2.0Gi          0B       2.0Gi
</pre>

<h2 data-id="disk">Disk</h2>

<pre spellcheck="false" tabindex="0">Disk /dev/mmcblk0: 58.25 GiB, 62537072640 bytes, 122142720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2F1E8F6D-CD11-4FAC-A321-4D677EC5FA54

Device           Start       End   Sectors  Size Type
/dev/mmcblk0p1    2048   1050623   1048576  512M EFI System
/dev/mmcblk0p2 1050624 122140671 121090048 57.8G Linux filesystem
</pre>

<p>Since not every machine has this errors, but from time to time we have faced same issues.</p>

<p>Until today we have followed the process of unmount-mount -&gt; fsck -&gt; reboot. But this seems not the right solution for us.</p>

<p>Could there be any problem with emmc?</p>

<p>Any ideas from who also had encountered the same problem?</p>
]]>
        </description>
    </item>
    <item>
        <title>Hiberation states supported by UP 4000 hardware</title>
        <link>https://forum.up-community.org/discussion/34494/hiberation-states-supported-by-up-4000-hardware</link>
        <pubDate>Mon, 15 Apr 2024 22:43:34 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>alyddall</dc:creator>
        <guid isPermaLink="false">34494@/discussions</guid>
        <description><![CDATA[<p>Hello, Can anyone tell me the hardward-supported sleep states on the UP 4000?  We have been using the UP board in a project and 'cat /sys/power/mem_sleep' only has [s2idle].  My project could benefit a lot from having 'deep' and 'disk' available as hibernate states.  I do not know if this is specific to distro, but I'm running Debian 11.</p>

<p>I am new enough to these boards/linux that any further info you want to share on stable hibernation with a quick wake up is also valuable to me, but I'm hoping someone can run 'cat /sys/power/mem_sleep' on an UP 4000 and let me know the options shown.</p>

<p>thank you.</p>
]]>
        </description>
    </item>
    <item>
        <title>MRAA not work on UP4000</title>
        <link>https://forum.up-community.org/discussion/5221/mraa-not-work-on-up4000</link>
        <pubDate>Mon, 24 Jul 2023 02:57:05 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>dd100725</dc:creator>
        <guid isPermaLink="false">5221@/discussions</guid>
        <description><![CDATA[<p>Hello,<br />
I'm trying to migrate my project from up^2 to up4000.<br />
How to get MRAA running on up4000?<br />
Any idea how to get it work?<br />
Thanks.</p>

<p>=========<br />
I have already tried the two solution from other post...</p>

<p>Method 1:<br /><a href="https://forum.up-community.org/discussion/comment/13367#Comment_13367" rel="nofollow">https://forum.up-community.org/discussion/comment/13367#Comment_13367</a></p>

<p>-install clean Ubuntu20.04.<br />
-Install UP HAT pinctrl-upboard driver<br />
-Clone the MRAA Project from up-division branch and add the UP4000 board name "UP-APL03" into src/x86/x86.c<br />
-Build and install MRAA</p>

<p>Method 2:<br /><a href="https://forum.up-community.org/discussion/comment/13396/#Comment_13396" rel="nofollow">https://forum.up-community.org/discussion/comment/13396/#Comment_13396</a></p>

<p>-Install Unbuntu 20.04 with "kernel 5.4.0 from PPA"<br />
-Clone the MRAA Project from up-division branch and add the UP4000 board name "UP-APL03" into src/x86/x86.c<br />
-Build and install MRAA</p>
]]>
        </description>
    </item>
    <item>
        <title>GPIO IR Receiver Setup - UP4000</title>
        <link>https://forum.up-community.org/discussion/5593/gpio-ir-receiver-setup-up4000</link>
        <pubDate>Wed, 07 Feb 2024 15:30:21 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>PimpDiCaprio</dc:creator>
        <guid isPermaLink="false">5593@/discussions</guid>
        <description><![CDATA[<p>Hello all,</p>

<p>I have search the forums and all over the internet for an answer and have found nothing. I am attempting to set up a simply IR Receiver for use in a python program I am working on. I have tried setting it up through LIRC, through serial connection on each UART pin and have gotten nowhere. If anyone else has any input to help me get this working it would be greatly appreciated.</p>

<p>Board: UP4000<br />
OS: Ubuntu 22.04<br />
IR Receiver: DF Robot (DFR0094)</p>
]]>
        </description>
    </item>
    <item>
        <title>Basic questions (Linux related)</title>
        <link>https://forum.up-community.org/discussion/5398/basic-questions-linux-related</link>
        <pubDate>Tue, 30 Jan 2024 22:23:20 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>TheFwGuy</dc:creator>
        <guid isPermaLink="false">5398@/discussions</guid>
        <description><![CDATA[<p>Hi all !!<br />
I'm obviously new to this forum.</p>

<p>I'm evaluating how is the best way to use these boards (mainly Up-4000 for now) for some embedded projects, all Linux based and I'm mainly interested about using Ubuntu with only CLI, no direct user access.</p>

<p>After reading many messages I didn't find any FAQ related to Up-4000 and typical things to do, like install an OS, drivers, etc., especially on Linux.<br />
Am I missed it ?</p>

<p>I also have few other specific questions.</p>

<ol><li><p>What is the best way to develop something on the board ?<br />
i.e. for embedded development I usually prefer a cross-development environment and not having any GUI installed on the board.<br />
There are tested solutions out there maybe using IDE like IntelliJ or VisuaStudio ?<br />
If yes somebody has links/suggestions ?</p></li>
<li><p>For debug  what is available ?<br />
Does the board has a Jtag ?<br />
A generic Gdb connected remotely is possible ?<br />
Or the only way is to connect a keyboard and monitor and go with a local GUI and development environment installed on the board itself ?</p></li>
<li><p>What would be the more supported language/environment to develop an app for the board ?<br />
The app would use different peripherals, like ZigBee probably interfaced via USB and probably others via the GPIO (SPI/I2C, etc.)<br />
I was thinking for example to use node.js and Kotlin but I'm not sure about the peripherals support.<br />
Maybe Python is better supported ?  Or C/C++ ?<br />
Any suggestion ?<br />
Any language/environment is OK as long as there is some support for the specific peripherals on board.</p></li>
<li><p>On production there is the necessity to update the software, often OS and application on the field in unmanned way.<br />
There is a way, a mechanism to do that with these boards ?<br />
Some kind of service suggested ?</p></li>
</ol><p>I do have a lot of more questions but these are the most important in order to decide if I can use these board for projects.</p>

<p>Thank you in advance for any help !!</p>

<p>Stefano</p>
]]>
        </description>
    </item>
    <item>
        <title>mraa on up4000</title>
        <link>https://forum.up-community.org/discussion/5116/mraa-on-up4000</link>
        <pubDate>Wed, 15 Feb 2023 16:47:27 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>KrissNC</dc:creator>
        <guid isPermaLink="false">5116@/discussions</guid>
        <description><![CDATA[<p>Hello<br />
My mraa won't work.<br />
Apparently according to <a href="https://forum.up-community.org/discussion/3028/up-board-using-mraa-unable-to-initalize-gpio#latest" rel="nofollow">https://forum.up-community.org/discussion/3028/up-board-using-mraa-unable-to-initalize-gpio#latest</a> , a new new kernel would be needed ? (I have the "up" 5.4 kernel, on my unbuntu 20.04<br />
When I try to list the pins, it says "No pins"<br />
What can I do ?</p>
]]>
        </description>
    </item>
    <item>
        <title>Connect a carrier board on a UP 4000</title>
        <link>https://forum.up-community.org/discussion/5223/connect-a-carrier-board-on-a-up-4000</link>
        <pubDate>Mon, 24 Jul 2023 08:42:48 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>GeorgeP</dc:creator>
        <guid isPermaLink="false">5223@/discussions</guid>
        <description><![CDATA[<p>Hello guys,</p>

<p>I am trying to connect the UP 4000 carrier board for WiFi and 5G module (This one: <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fup-shop.org%2Fdefault%2Fup-4000-carrier-board-for-wifi-and-5g-module.html">https://up-shop.org/default/up-4000-carrier-board-for-wifi-and-5g-module.html</a> )</p>

<p>on a UP4000 but I can't find a guide or something to follow. Is there a wiki or something to do so?</p>

<p>I tried to do the bellow but in BIOS I have no PCI Express Configuration:<br />
BIOS -&gt; CRB Setup -&gt; CRB Chipset -&gt; South Closter Configuration -&gt; PCI Express Configuration -&gt; PCI Express Root Port 1 -&gt; PCIe Speed =&gt; Change to Gen2.</p>

<p>BIOS -&gt; CRB Setup -&gt; CRB Chipset -&gt; South Closter Configuration -&gt; PCI Express Configuration -&gt; PCI Express Root Port 1 -&gt; PCIe Sekectable De-em =&gt; Change to Disable.<br />
Thanks.</p>
]]>
        </description>
    </item>
    <item>
        <title>how to stop BIOS reseting when powering off</title>
        <link>https://forum.up-community.org/discussion/5215/how-to-stop-bios-reseting-when-powering-off</link>
        <pubDate>Mon, 17 Jul 2023 21:08:32 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>alexis_nicolas</dc:creator>
        <guid isPermaLink="false">5215@/discussions</guid>
        <description><![CDATA[<p>I have a UP 4000, and I had to change the direction of GPIO19 (pin16) to "output" for the SPI clock signal to be working. The problem is that each time power comes out of the board, meaning when I remove the power cord, not a simple shutdown, the BIOS setting is reseted and I have to manually go into the BIOS again to change the pin to "output".</p>

<p>the question already have been asked here : <a href="https://forum.up-community.org/discussion/5191/problem-with-bios-for-spi-clock#latest" rel="nofollow">https://forum.up-community.org/discussion/5191/problem-with-bios-for-spi-clock#latest</a>. <br />
but the BIOS provided made the I2C and SPI protocols stop working, reverting to the bios UPAPBM11 worked to get them working again, but I still have the BIOS problem.</p>

<p>So is there a working BIOS that can fix this problem, or a way to put the pin to output with code and not going into the BIOS?<br />
I have to send the board in the sky, so I can't manually do it when it will be deployed, and since there is a possibility that the power come off and come back, I need to make the SPI working again.</p>
]]>
        </description>
    </item>
    <item>
        <title>UP 4000 - Power cycling a USB device</title>
        <link>https://forum.up-community.org/discussion/5217/up-4000-power-cycling-a-usb-device</link>
        <pubDate>Thu, 20 Jul 2023 08:39:08 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>userup4000</dc:creator>
        <guid isPermaLink="false">5217@/discussions</guid>
        <description><![CDATA[<p>Hello</p>

<p>I need to power cycle (switch-off then switch-on) a USB device attached to my UP 4000 while the UP board is on.</p>

<p>I tried to play with the uhubctl tool but it doesn't seem to be able to power off the USB connector. However,  I observed that when I connect the USB device to the USB-C plug, the USB device is off, contrary to when it is connected to one of the 3 USB-A plugs (it remains on in this case). So, I still hope it should be possible to control in software the USB-C plug.</p>

<p>Does anybody know how to do that? Many thanks for any hints!</p>

<p>Thierry</p>
]]>
        </description>
    </item>
    <item>
        <title>GPIO access on UP4000</title>
        <link>https://forum.up-community.org/discussion/5203/gpio-access-on-up4000</link>
        <pubDate>Fri, 30 Jun 2023 12:52:57 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>arnaudg</dc:creator>
        <guid isPermaLink="false">5203@/discussions</guid>
        <description><![CDATA[<p>I'm trying to use the GPIOs for the UP4000 with Ubunto 20.04</p>

<p>I've installed the kernel 5.4.0 from PPA and the upboard-extras<br />
I've created the GPIO, LED,... groups<br />
But when I try to access the</p>

<pre spellcheck="false" tabindex="0">cd /sys/class/gpio
root@up01:/sys/class/gpio# echo 432 &gt; export
-bash: echo: write error: Invalid argument
</pre>

<p>If I use gpiodetect from pinctrl, I can well see the GPIO but I get errors doing accesses</p>

<pre spellcheck="false" tabindex="0">arnaud@up01:/sys/class/gpio$ gpiodetect 
gpiochip0 [INT3452:00] (78 lines)
gpiochip1 [INT3452:01] (77 lines)
gpiochip2 [INT3452:02] (47 lines)
gpiochip3 [INT3452:03] (43 lines)
gpiochip4 [Raspberry Pi compatible UP GPIO] (28 lines)
gpiochip6 [ftdi-cbus] (4 lines)
arnaud@up01:/sys/class/gpio$ gpioget gpiochip4 0
gpioget: error reading GPIO values: Unknown error 517
</pre>

<p>The control of the LED is working well.<br />
Is there some extra steps to do to get these working?</p>
]]>
        </description>
    </item>
    <item>
        <title>Problem with BIOS for SPI clock</title>
        <link>https://forum.up-community.org/discussion/5191/problem-with-bios-for-spi-clock</link>
        <pubDate>Thu, 15 Jun 2023 14:20:33 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>alexis_nicolas</dc:creator>
        <guid isPermaLink="false">5191@/discussions</guid>
        <description><![CDATA[<p>I have a UP 4000 and had a problem generating a clock signal for SPI communication. I saw this post : <a href="https://forum.up-community.org/discussion/5084/spi-clk-is-not-working" rel="nofollow">https://forum.up-community.org/discussion/5084/spi-clk-is-not-working</a><br />
and it worked, my clock was working after putting the pin16 to output instead of input in my BIOS. has that issues been resolved in a more recent BIOS or is this issue still existing? and if not, how could I do to put the pin in output without having to go in my BIOS, because each time I reboot my board, the pin is set back to input again</p>
]]>
        </description>
    </item>
    <item>
        <title>stm32 to UART on the HAT UP4000</title>
        <link>https://forum.up-community.org/discussion/5195/stm32-to-uart-on-the-hat-up4000</link>
        <pubDate>Tue, 20 Jun 2023 12:45:01 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>pencilpen</dc:creator>
        <guid isPermaLink="false">5195@/discussions</guid>
        <description><![CDATA[<p>stm32 to UART on the HAT UP4000</p>

<p>UP4000 with UP-APL03 R1.1 (UPAPBM11)(07/01/2022).</p>

<ul><li>Use lubuntu 18</li>
<li>Bios UPAPBM11</li>
<li>Installed the Upboard Kernel</li>
<li>Configure support for the GPIO header (<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%29">https://github.com/up-board/up-community/wiki/Ubuntu_18.04)</a><br />
But I get no returned chars on tty5.</li>
</ul><p>I have many Up4000 board in my lab. So I tried to install in same condition and setup. Result is another 3 upboard can get chars from UART port.</p>

<p>How I can solve?</p>
]]>
        </description>
    </item>
    <item>
        <title>how to enable smbus quick command on my i2c bus?</title>
        <link>https://forum.up-community.org/discussion/5180/how-to-enable-smbus-quick-command-on-my-i2c-bus</link>
        <pubDate>Mon, 29 May 2023 16:11:35 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>alexis_nicolas</dc:creator>
        <guid isPermaLink="false">5180@/discussions</guid>
        <description><![CDATA[<p>I want to use a sensor with one of the 2 i2c bus on the 40 pins HAT on the UP4000. but my sensor requires an i2c quick command to start a measurement. basically I need just to send the address of the sensor and the write bit, with no other bytes sent after. but the SMBus Quick Command is not not enabled on the 2 bus. I ran i2cdetect -F 0 and 1 to verify that the 2 bus didn't have this functionality enabled.</p>

<p>I am using c++. I already did the open() and ioctl() calls si Im just showing you the code that wont let me send the quick command.<br /><code spellcheck="false" tabindex="0">if (write(busNumber, NULL, 0) != 0) {     perror("could not ask the humidity sensor to take the measurement"); }</code></p>

<p>and</p>

<pre spellcheck="false" tabindex="0">struct i2c_smbus_ioctl_data test;
test.read_write = I2C_SMBUS_WRITE;
test.command = 0;
test.size = I2C_SMBUS_QUICK;
test.data = NULL;
if (ioctl(busNumber, I2C_SMBUS, &amp;test) &lt; 0) {
   perror("ioctl error");
}
</pre>

<p>int the 2 cases I receive an Operation not supported error message, I believe it is because the quick command is not enabled, because doing a write with sending bytes is working.</p>

<p>is there a way that I could enable the quick command on my i2c bus? or that my code could bypass that.</p>

<p>Thank you</p>
]]>
        </description>
    </item>
    <item>
        <title>Error installing Ubuntu kernel 5.4.0 from PPA</title>
        <link>https://forum.up-community.org/discussion/5182/error-installing-ubuntu-kernel-5-4-0-from-ppa</link>
        <pubDate>Tue, 30 May 2023 09:26:45 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>rarestohanean</dc:creator>
        <guid isPermaLink="false">5182@/discussions</guid>
        <description><![CDATA[<p>UP 4000 series APL03P4F<br />
2023-05-30<br />
Installing Ubuntu ubuntu-22.04.2-live-server-amd64.iso<br />
Following <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><br />
$ sudo add-apt-repository ppa:up-division/5.4-upboard - works<br />
$ sudo apt update - works<br />
$ sudo apt-get autoremove --purge 'linux-.*generic' - warning: "Your are running a kernel version 5.15.0-72-generic and attempting go remove the same version.<br />
Error: dpkg: error processing package linux-image-5.15.0-72-generic (--remove)<br />
dpkg: too many errors, stopping.</p>

<p>Please help me continue installing this board.<br />
Thank you!</p>
]]>
        </description>
    </item>
    <item>
        <title>UP4000 /Carrier Board Wifi/Dual band wireless AC9260- module wifi no detected</title>
        <link>https://forum.up-community.org/discussion/5134/up4000-carrier-board-wifi-dual-band-wireless-ac9260-module-wifi-no-detected</link>
        <pubDate>Mon, 20 Mar 2023 09:08:14 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>rsramirez001</dc:creator>
        <guid isPermaLink="false">5134@/discussions</guid>
        <description><![CDATA[<p>How can I enable module Wifi (Dualband Ac9260) on Ubuntu 20.04 server live (kernel 5.4.0 from PPA)? I have followed these steps but I have not been successful: <a rel="nofollow" href="https://forum.up-community.org/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fwww.intel.es%2Fcontent%2Fwww%2Fes%2Fes%2Fsupport%2Farticles%2F000005511%2Fwireless.html">https://www.intel.es/content/www/es/es/support/articles/000005511/wireless.html</a></p>

<p>I also tested on Ubuntu 18.04.5 (kernel 5.4.0 from PPA) and Windows 10 Pro (Drivers Intel &amp; Drivers provided UP 4000). I have not been successful, not enable and detected Wifi.</p>

<p>I'm interested in making it work on ubuntu 20.04</p>
]]>
        </description>
    </item>
    <item>
        <title>How to install mraa and get it running on UP4000 / Ubuntu ? (step by step instructions request )</title>
        <link>https://forum.up-community.org/discussion/5157/how-to-install-mraa-and-get-it-running-on-up4000-ubuntu-step-by-step-instructions-request</link>
        <pubDate>Fri, 05 May 2023 08:49:45 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>Lubo</dc:creator>
        <guid isPermaLink="false">5157@/discussions</guid>
        <description><![CDATA[<p>I ensured again that there is something not clear with mraa on UP4000/Ubuntu installation...</p>

<ul><li>I unpacked new , clean UP4000 from box.</li>
<li>I installed clean Ubuntu20.04. there, no issue.</li>
<li><p>Then I followed instructions on UP wiki and replaced kernel with 5.4.0 , again without issue. Restarted board, everything without issue.</p></li>
<li><p>Then I clone mraa-master from git and updated src/x86/x86 as was sugested in different discussion :</p></li>
</ul><blockquote><div>
  <p><a href="https://forum.up-community.org/profile/garyw" rel="nofollow">@garyw</a> said:<br />
  if you are using official mraa from Github with our up 5.4 kernel, you have add the UP4000 board name "UP-APL03" into src/x86/x86.c as</p>
  
  <p>else if (strncasecmp(line, "UP-APL03", strlen("UP-APL03") + 1) == 0) {<br />
                  platform_type = MRAA_UP2;<br />
                  plat = mraa_up2_board();<br />
              }<br />
  }</p>
</div></blockquote>

<p>, installed cmake, build-essential and so on... and compiled mraa.<br />
Then I install it. Its all. No issue so far.</p>

<p>But regarding to mraa - there is issue to run it :</p>

<p>mraa-gpio version<br />
Version v2.2.0 on Unknown platform</p>

<p>mraa-gpio list<br />
No Pins</p>

<p>Can someone please get us step by step instructions, how to get mraa running on UP4000/Ububtu on "clean, just unpacked" UP4000 ?</p>
]]>
        </description>
    </item>
    <item>
        <title>Getting started with I2C on up4000</title>
        <link>https://forum.up-community.org/discussion/5106/getting-started-with-i2c-on-up4000</link>
        <pubDate>Tue, 07 Feb 2023 10:09:58 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>KrissNC</dc:creator>
        <guid isPermaLink="false">5106@/discussions</guid>
        <description><![CDATA[<p>Hello guys.</p>

<p>I have an I2C Display, I would like to write onto it from my up4000 (linux)<br />
What should I use for that ? I can't seem to have mraa working (any help ? is mraa supported on up4000? )</p>

<p>I have been able to use sysfs IO, and a C program to detect rising edges on some HAT pin (437).</p>

<p>Now my only problem left is writing on an I2C peripheral. I think 3 and 5 are the right pins, I think this is I2C controller 2 on the up4000. But then not sure what to do now.</p>

<p>Will I2c work with 3.3 or 5v ?</p>

<p>SOS</p>
]]>
        </description>
    </item>
    <item>
        <title>I2C on ubuntu 20.04</title>
        <link>https://forum.up-community.org/discussion/5074/i2c-on-ubuntu-20-04</link>
        <pubDate>Tue, 03 Jan 2023 16:32:15 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>KrissNC</dc:creator>
        <guid isPermaLink="false">5074@/discussions</guid>
        <description><![CDATA[<p>Hello.</p>

<p>I have an I2C LCD display 16*2 very classic one, works with I2C with an arduino.</p>

<p>I would like to use it on my up4000 board, but I can't find any  recipe.</p>

<p>Did someone ever manage to do that ?</p>

<p>The address of the display is 0x27<br />
(Should I focus on libmraa ?)<br />
Where can I find sample code that works.</p>

<p>I'm stuck</p>
]]>
        </description>
    </item>
    <item>
        <title>I2c on up4000</title>
        <link>https://forum.up-community.org/discussion/5113/i2c-on-up4000</link>
        <pubDate>Mon, 13 Feb 2023 14:49:12 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>KrissNC</dc:creator>
        <guid isPermaLink="false">5113@/discussions</guid>
        <description><![CDATA[<p>I'm trying to write something on an i2c LCD display.<br />
up4000 seems to be 3.3v<br />
the display is probably 5v since it works with an arduino.<br />
mraa is not working atm (no clue why the github verision doesnt work)<br />
do I need a level shifter (I bought one) ?</p>

<p>How can I have I2C work. (pins 3 and 5 on the hat connector are I2c One, right ?)<br />
What kind of code can I use ?</p>
]]>
        </description>
    </item>
    <item>
        <title>UBUNTU  20.04.5 Error When i try to install</title>
        <link>https://forum.up-community.org/discussion/5095/ubuntu-20-04-5-error-when-i-try-to-install</link>
        <pubDate>Thu, 26 Jan 2023 13:54:21 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>zarph</dc:creator>
        <guid isPermaLink="false">5095@/discussions</guid>
        <description><![CDATA[<p><img src="https://us.v-cdn.net/6030431/uploads/editor/6i/xk2ac9p6grkr.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/6i/xk2ac9p6grkr.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6030431/uploads/editor/6i/xk2ac9p6grkr.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6030431/uploads/editor/6i/xk2ac9p6grkr.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6030431/uploads/editor/6i/xk2ac9p6grkr.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6030431/uploads/editor/6i/xk2ac9p6grkr.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6030431/uploads/editor/6i/xk2ac9p6grkr.png 2000w, https://us.v-cdn.net/6030431/uploads/editor/6i/xk2ac9p6grkr.png" sizes="100vw" /></p>

<p>everytime i try to install UBUNTU 20.04.5, Give me This error can you help me?</p>
]]>
        </description>
    </item>
    <item>
        <title>What softwareis needed to detect a button press on an up4000</title>
        <link>https://forum.up-community.org/discussion/5099/what-softwareis-needed-to-detect-a-button-press-on-an-up4000</link>
        <pubDate>Mon, 30 Jan 2023 14:42:05 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>KrissNC</dc:creator>
        <guid isPermaLink="false">5099@/discussions</guid>
        <description><![CDATA[<p>I'm trying to detect a button press using interrupts, (I have 3 buttons to check for in the final product)<br />
unale -a give : Linux up4k01 5.4.0-1-generic #0~upboard5-Ubuntu SMP Fri Jan 7 11:53:57 <br />
root@up4k01:/home/adrem# gpiodetect<br />
gpiochip0 [INT3452:00] (78 lines)<br />
gpiochip1 [INT3452:01] (77 lines)<br />
gpiochip2 [INT3452:02] (47 lines)<br />
gpiochip3 [INT3452:03] (43 lines)<br />
gpiochip4 [Raspberry Pi compatible UP GPIO] (28 lines)<br />
I have established that the gpiochip 4 has for example the 23pin. I managed to write on it using sysfs, and read from a button using polling. I need to  "receive" the button press, not poll for it. On a raspberry PI, there's an edge file that allows to detect rising or falling edges. I can't find any edge file on an up4000 board.<br />
Also mraa doesnt sem to work, what am I missing ?</p>
]]>
        </description>
    </item>
    <item>
        <title>How to use the 40 pin connector</title>
        <link>https://forum.up-community.org/discussion/5085/how-to-use-the-40-pin-connector</link>
        <pubDate>Fri, 13 Jan 2023 14:45:53 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>KrissNC</dc:creator>
        <guid isPermaLink="false">5085@/discussions</guid>
        <description><![CDATA[<p>Hello.<br />
 I'm desesperatly trying to use the up4000 40pins connector. The goal is to drive an i2c display. OS is ubuntu 20.04, could change to 22.04. I can't find anything that works, even mraa says "No pins", when I use "mraa-gpio list"</p>

<p>SOS.</p>
]]>
        </description>
    </item>
    <item>
        <title>Ubuntu 22.04 on Up 4000</title>
        <link>https://forum.up-community.org/discussion/5060/ubuntu-22-04-on-up-4000</link>
        <pubDate>Wed, 23 Nov 2022 23:19:37 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>danielh</dc:creator>
        <guid isPermaLink="false">5060@/discussions</guid>
        <description><![CDATA[<p>Hi,</p><p>Will there soon be a official support for Ubuntu 22.04 and kernel version 5.15 for the Up 4000? What is the limitations of using Ubuntu 22.04 now?</p>]]>
        </description>
    </item>
    <item>
        <title>Mraa on up4000</title>
        <link>https://forum.up-community.org/discussion/5102/mraa-on-up4000</link>
        <pubDate>Tue, 31 Jan 2023 14:49:33 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>KrissNC</dc:creator>
        <guid isPermaLink="false">5102@/discussions</guid>
        <description><![CDATA[<p>Kernel is 5.4, I can use sysfs to write on a gpio port (using echo), but not mraa<br />
I can't have it working...<br />
what kernel, what version of mraa works ? All my tests failed.<br />
mraa-gpio list gives : No pins.<br />
Any clue ?</p>
]]>
        </description>
    </item>
    <item>
        <title>SPI_CLK is not working</title>
        <link>https://forum.up-community.org/discussion/5084/spi-clk-is-not-working</link>
        <pubDate>Thu, 12 Jan 2023 15:39:51 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>HEICAO</dc:creator>
        <guid isPermaLink="false">5084@/discussions</guid>
        <description><![CDATA[<p>OS is ubuntu 18.04，spi test program with libmraa，Using 24mhz logic analyzer. Can run spi_loopback.py successfully,In the STM32 chip communication test can not send and receive signals normally, after testing found that the UP4000 SPI Master does not generate the clock signal normally。<img src="https://us.v-cdn.net/6030431/uploads/editor/oo/cyh01q2fzlc6.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/oo/cyh01q2fzlc6.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6030431/uploads/editor/oo/cyh01q2fzlc6.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6030431/uploads/editor/oo/cyh01q2fzlc6.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6030431/uploads/editor/oo/cyh01q2fzlc6.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6030431/uploads/editor/oo/cyh01q2fzlc6.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6030431/uploads/editor/oo/cyh01q2fzlc6.png 2000w, https://us.v-cdn.net/6030431/uploads/editor/oo/cyh01q2fzlc6.png" sizes="100vw" /></p>
]]>
        </description>
    </item>
    <item>
        <title>UP4000 and i2c SOS</title>
        <link>https://forum.up-community.org/discussion/5076/up4000-and-i2c-sos</link>
        <pubDate>Thu, 05 Jan 2023 14:09:56 +0000</pubDate>
        <category>UP 4000 Linux</category>
        <dc:creator>KrissNC</dc:creator>
        <guid isPermaLink="false">5076@/discussions</guid>
        <description><![CDATA[<p>Hi.</p>

<p>I have 2 up4000 boards, I need to communicate to a basic 16*2 I2c display.</p>

<p>What linux do I have to install. (can't I use that ubuntu server 20.04 HWE kernel ?)<br />
What do I have to do ? Use libmraa ?</p>

<p>Please help I've been stuck for days now...</p>
]]>
        </description>
    </item>
   </channel>
</rss>
