<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>ARM on FreeBSD developer&#39;s notebook</title>
    <link>https://kernelnomicon.org/categories/arm/</link>
    <description>Recent content in ARM on FreeBSD developer&#39;s notebook</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 08 Oct 2016 11:54:47 +0000</lastBuildDate>
    <atom:link href="https://kernelnomicon.org/categories/arm/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Multitouch support on FT5406</title>
      <link>https://kernelnomicon.org/posts/multitouch-support-on-ft5406/</link>
      <pubDate>Sat, 08 Oct 2016 11:54:47 +0000</pubDate>
      <guid>https://kernelnomicon.org/posts/multitouch-support-on-ft5406/</guid>
      <description>&lt;p&gt;Few weeks ago evdev support was finally committed to HEAD. Project &lt;a href=&#34;https://wiki.freebsd.org/SummerOfCode2014/evdev_Touchscreens&#34;&gt;started&lt;/a&gt; a part of SoC 2014 by Jakub Klama and then picked up, finished and submitted by Vladimir Kondratiev. It&amp;rsquo;s drop-in compatible with Linux API which means all you need to do is add #ifdef _&lt;em&gt;FreeBSD&lt;/em&gt; around respective includes and existing code (if it&amp;rsquo;s otherwise cross-compatible with FreeBSD) should just work. Which is the case for &lt;a href=&#34;https://codereview.qt-project.org/#/c/172829/&#34;&gt;Qt&lt;/a&gt; and to lesser extent for &lt;a href=&#34;https://github.com/kergoth/tslib/pull/42&#34;&gt;tslib&lt;/a&gt;. Hardware support is still moving target, FreeBSD has evdev-compatible drivers for USB keyboards, USB mice, TI&amp;rsquo;s AM33xx touchscreen controller and Raspberry Pi&amp;rsquo;s official touchscreen. Only the latter device supports multitouch and Vladimir submitted patch required to get it working. To my knowledge it&amp;rsquo;s the first multitouch touchscreen ever working on FreeBSD so I decided to record demo to save this moment for generations to come. Well, not really. Mostly to brag and to let people know that it&amp;rsquo;s possible and encourage them to make stuff and experiment with FreeBSD, ARM, and Qt.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Audio on Raspberry Pi</title>
      <link>https://kernelnomicon.org/posts/audio-on-raspberry-pi/</link>
      <pubDate>Fri, 09 Jan 2015 23:25:08 +0000</pubDate>
      <guid>https://kernelnomicon.org/posts/audio-on-raspberry-pi/</guid>
      <description>&lt;p&gt;With stable VCHIQ driver next obvious target was to add VCHIQ-based audio support. So let me introduce to you: vchiq_audio, first take. It&amp;rsquo;s part of vchiq-freebsd repo so if you use Crochet to build SD card image just enable &lt;code&gt;option VideoCore&lt;/code&gt; in config file and module will be automatically included.&lt;/p&gt;
&lt;p&gt;From shell run &lt;code&gt;kldload vchiq_audio&lt;/code&gt; and you&amp;rsquo;re good to do. I believe that audio output is picked up automatically by VideoCore so if you have HDMI connected it&amp;rsquo;s probably going to be HDMI. I do not have device to confirm this. Adding knob to control audio output (auto, headphones, HDMI) is on my ToDo list.&lt;/p&gt;</description>
    </item>
    <item>
      <title>RaspberryPi, FreeBSD and ioquake3</title>
      <link>https://kernelnomicon.org/posts/raspberrypi-freebsd-and-ioquake3/</link>
      <pubDate>Wed, 07 Jan 2015 15:37:55 +0000</pubDate>
      <guid>https://kernelnomicon.org/posts/raspberrypi-freebsd-and-ioquake3/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: &lt;a href=&#34;http://kernelnomicon.org/?p=455&#34;&gt;support for keyboard/mouse&lt;/a&gt; has been added&lt;/p&gt;
&lt;p&gt;After New Year I got back to hacking the VCHIQ stuff (thanks to adrian@ for prodding). Since last time I touched NetBSD folks got it merged to main tree, syncing with latest upstream code and fixing some stupid bugs in my codebase. So I partially merged things back, spent some time on fixing more bugs introduced by yours truly, merged userland bits from latest Broadcom&amp;rsquo;s bits (and fixing some bugs introduced by them). And as a result VCHIQ got stable enough to run ioquake3d on raspberry pi. Well, you can&amp;rsquo;t play it because there is no sound and no mouse support and keyboard support is severely crippled but you can navigate menus and watch demoes.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Update on FreeBSD/armv6 in QEMU</title>
      <link>https://kernelnomicon.org/posts/update-on-freebsdarmv6-in-qemu/</link>
      <pubDate>Sat, 29 Jun 2013 17:37:58 +0000</pubDate>
      <guid>https://kernelnomicon.org/posts/update-on-freebsdarmv6-in-qemu/</guid>
      <description>&lt;p&gt;QEMU support in FreeBSD/armv6 regressed since I tried it last time few months back. Changes in FreeBSD kernel and in QEMU itself revealed bugs that were masked by previous behaviour.&lt;/p&gt;
&lt;p&gt;In FreeBSD it was r248467: the way memory/IO resources are activated on FDT bus has been changed and it triggered bug in versatile_pci.c&lt;/p&gt;
&lt;p&gt;The other issue is more complex. It seems that PCI IRQ routing in QEMU was out of sync with real hardware. So after &lt;a href=&#34;https://github.com/qemu/qemu/commit/66a96d7018b9cbabb73c9b87b62a37e4cc46580a&#34;&gt;commit 66a96d7018b9cbabb73c9b87b62a37e4cc46580a&lt;/a&gt; IRQ numbers assigned to PCI devices by FreeBSD kernel by default were invalid. Authors of QEMU eventually added compatibility knob to fall back to previous logic. So if you&amp;rsquo;re using QEMU 1.5 or later add this option to your command line:&lt;/p&gt;</description>
    </item>
    <item>
      <title>VCHIQ drivers work again</title>
      <link>https://kernelnomicon.org/posts/vchiq-drivers-work-again/</link>
      <pubDate>Sun, 13 Jan 2013 19:19:10 +0000</pubDate>
      <guid>https://kernelnomicon.org/posts/vchiq-drivers-work-again/</guid>
      <description>&lt;p&gt;I synced both &lt;a href=&#34;https://github.com/gonzoua/vchiq-freebsd&#34;&gt;vchiq-freebsd&lt;/a&gt; and &lt;a href=&#34;https://github.com/gonzoua/userland&#34;&gt;userland&lt;/a&gt; to latest and greatest.&lt;/p&gt;
&lt;p&gt;As I mentioned earlier - OS compatibility shim was removed from upstream sources so I had to create Linux KPI implementation layer which turned out not that awful task because I managed to reuse a lot of code from Max Khon&amp;rsquo;s &lt;a href=&#34;http://freebsdfoundation.blogspot.com/2010/10/update-on-dahdi-project.html&#34;&gt;DAHDI port&lt;/a&gt;. I had to implement (in somewhat hackish fashion) kthread API, re-implement semaphores support using condvar and mutex in order to get _interruptible part of API working properly and create dumb implementation of rather small subset of Linux list.h API.&lt;/p&gt;</description>
    </item>
    <item>
      <title>FreeBSD/armv6: what&#39;s new and exciting?</title>
      <link>https://kernelnomicon.org/posts/freebsdarmv6-whats-new-and-exciting/</link>
      <pubDate>Sun, 30 Dec 2012 17:51:03 +0000</pubDate>
      <guid>https://kernelnomicon.org/posts/freebsdarmv6-whats-new-and-exciting/</guid>
      <description>&lt;p&gt;It&amp;rsquo;s been a while since last update on the project status so it might seem as there was no progress in this area. The reality is: there is a bunch of activities happening with various levels of success. So I decided to give kind of end-of-the-year round-up of ongoing projects, plans and obstacles ARM hackers face.&lt;/p&gt;
&lt;p&gt;First of all we tried switching default cache type from write-through to write-back type. It should have increased performance but instead opened a can of worms. Memory corruption debugging led to L2 cache driver on Pandaboard, EHCI driver code and subsequently to busdma code. Whole process took quite a few days full of hair-pulling and nagging various people and ended up in committing USB fixes and Ian Lepore&amp;rsquo;s busdma patches. PL310 (L2 cache controller) driver is being tested at this very moment. Original issue (WB caches) still stands and postponed till next year.&lt;/p&gt;</description>
    </item>
    <item>
      <title>FreeBSD/armv6 in QEMU</title>
      <link>https://kernelnomicon.org/posts/freebsdarmv6-in-qemu/</link>
      <pubDate>Wed, 05 Dec 2012 22:48:55 +0000</pubDate>
      <guid>https://kernelnomicon.org/posts/freebsdarmv6-in-qemu/</guid>
      <description>&lt;p&gt;&lt;strong&gt;[QEMU 1.5 users see &lt;a href=&#34;http://kernelnomicon.org/?p=395&#34;&gt;this update&lt;/a&gt;]&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;First take at getting FreeBSD/armv6 running in simulators. Simulators are great for tracking down nasty bugs and building packages.&lt;/p&gt;
&lt;p&gt;So here is support for Versatile Platform Board machine supported by QEMU. Most likely this code will not run on real VersatilePB because I do not have this hardware and timing code (or lack of it) on CLCD driver and Keyboard/Mouse interface (PL050) is pure guesswork.&lt;/p&gt;</description>
    </item>
    <item>
      <title>FreeBSD on Pi: more stuff</title>
      <link>https://kernelnomicon.org/posts/freebsd-on-pi-more-stuff/</link>
      <pubDate>Thu, 29 Nov 2012 21:21:19 +0000</pubDate>
      <guid>https://kernelnomicon.org/posts/freebsd-on-pi-more-stuff/</guid>
      <description>&lt;p&gt;Long overdue update on how the things are going with FreeBSD on Raspberry Pi. We&amp;rsquo;ve made some good progress so far:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Hans Petter Selasky fixed low-speed interrupt endpoints problem which means we have working USB keyboard now&lt;/li&gt;
&lt;li&gt;GPIO driver by Luiz Otavio O Souza. So now you can blink OK LED (gpioctl -f /dev/gpioc0 -t 16). Not the most productive activity though.&lt;/li&gt;
&lt;li&gt;Kernel now obtains information about display resolution, memory layout, MAC address from firmware&lt;/li&gt;
&lt;li&gt;Framebuffer/syscons support added&lt;/li&gt;
&lt;li&gt;Some stability fixes for SDHCI/li&amp;gt;
Initial port of VCHIQ interface (&lt;a href=&#34;https://github.com/gonzoua/vchiq-freebsd&#34;&gt;vchiq-freebsd&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Port of userland libraries (&lt;a href=&#34;https://github.com/gonzoua/userland&#34;&gt;userland&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Overall stability and performance is still a problem, but it&amp;rsquo;s what we&amp;rsquo;re going to work on next.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
