<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>forkbomb writes words (Posts about linux)</title><link>https://blog.forkwhiletrue.me/</link><description></description><atom:link href="https://blog.forkwhiletrue.me/categories/linux.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2020 &lt;a href="mailto:simon@lineageos.org"&gt;Simon Shields&lt;/a&gt; </copyright><lastBuildDate>Fri, 10 Jan 2020 06:22:39 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Camera on Galaxy S3</title><link>https://blog.forkwhiletrue.me/posts/camera-on-galaxy-s3/</link><dc:creator>Simon Shields</dc:creator><description>&lt;div&gt;&lt;p&gt;It's been a while since my last update, but much progress has been made:
the Note 2 touchscreen will be landing in 4.16, and the actual
device tree source files will be landing in 4.17 (hopefully along with support for the notification LED,
if not more). But recently, I've been focusing on figuring out how to get the camera working.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.forkwhiletrue.me/posts/camera-on-galaxy-s3/"&gt;Read more…&lt;/a&gt; (6 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>exynos</category><category>linux</category><category>midas</category><guid>https://blog.forkwhiletrue.me/posts/camera-on-galaxy-s3/</guid><pubDate>Thu, 22 Feb 2018 00:00:00 GMT</pubDate></item><item><title>kexec on Galaxy S3/Note 2</title><link>https://blog.forkwhiletrue.me/posts/kexec-on-galaxy-s3/</link><dc:creator>Simon Shields</dc:creator><description>&lt;div&gt;&lt;p&gt;So, we have a booting kernel, and a bunch of nice&lt;sup&gt;[citation needed]&lt;/sup&gt; dts files describing the hardware of each phone.
One problem: the proprietary bootloader, "S-BOOT", has no device tree support - it just loads an Android "boot.img", consisting of
a kernel, ramdisk, and some configuration. Fortunately, Linux has a mechanism to load a device tree appended to the end of the kernel
image. This allows us to use a single fixed device tree, but won't let us boot a single kernel/initramfs combo on all the devices
we're aiming to support. Along with this, the boot partition only allows 8MB for kernel + initramfs, which is... not that much.&lt;/p&gt;
&lt;p&gt;So, how can we achieve one image to rule them all?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.forkwhiletrue.me/posts/kexec-on-galaxy-s3/"&gt;Read more…&lt;/a&gt; (2 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>exynos</category><category>linux</category><category>midas</category><guid>https://blog.forkwhiletrue.me/posts/kexec-on-galaxy-s3/</guid><pubDate>Wed, 22 Nov 2017 13:00:00 GMT</pubDate></item><item><title>WiFi on Galaxy S3</title><link>https://blog.forkwhiletrue.me/posts/wifi-on-galaxy-s3/</link><dc:creator>Simon Shields</dc:creator><description>&lt;div&gt;&lt;p&gt;So, mainline boots! However, with only access to a console over UART, copying files to/from the S3 involves rebooting
to recovery mode, plugging into USB, and pushing the file using Android's debug bridge, &lt;code&gt;adb&lt;/code&gt;. This is... painful.
Fortunately, the S3 and Note 2 include a &lt;a href="http://www.cypress.com/file/298706/download"&gt;BCM4334&lt;/a&gt; for WiFi + Bluetooth
functionality. For now, I'm going to focus on WiFi - although Bluetooth shouldn't be too tricky in the future.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.forkwhiletrue.me/posts/wifi-on-galaxy-s3/"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>exynos</category><category>linux</category><category>midas</category><guid>https://blog.forkwhiletrue.me/posts/wifi-on-galaxy-s3/</guid><pubDate>Thu, 16 Nov 2017 10:29:25 GMT</pubDate></item><item><title>Mainline on Galaxy S3</title><link>https://blog.forkwhiletrue.me/posts/mainline-on-galaxy-s3/</link><dc:creator>Simon Shields</dc:creator><description>&lt;div&gt;&lt;p&gt;After &lt;a href="https://blog.forkwhiletrue.me/posts/uart-on-galaxy-s3/"&gt;successfully getting UART&lt;/a&gt; working, the next thing to do is boot a mainline kernel. Fortunately, on
i9300 we have something of a head start: Samsung has upstreamed some amount of support for "trats2", a variant of the GT-I9300 used
as the reference device for &lt;a href="https://tizen.org"&gt;Tizen&lt;/a&gt;. However, the i9300 and trats2 have different partition layouts and different bootloaders:
I learned in IRC that trats2 has a version of Samsung's proprietary bootloader S-BOOT which chainloads &lt;a href="https://www.denx.de/wiki/U-Boot"&gt;u-boot&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.forkwhiletrue.me/posts/mainline-on-galaxy-s3/"&gt;Read more…&lt;/a&gt; (2 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>exynos</category><category>linux</category><category>midas</category><guid>https://blog.forkwhiletrue.me/posts/mainline-on-galaxy-s3/</guid><pubDate>Thu, 02 Nov 2017 01:00:00 GMT</pubDate></item><item><title>UART on Galaxy S3 and Note 2</title><link>https://blog.forkwhiletrue.me/posts/uart-on-galaxy-s3/</link><dc:creator>Simon Shields</dc:creator><description>&lt;div&gt;&lt;p&gt;Over the next few months (years?) I plan on working on porting several Android-based Exynos 4412-based devices - namely, the
&lt;a href="https://en.wikipedia.org/wiki/Galaxy_S_III&amp;gt;"&gt;Galaxy S3&lt;/a&gt; (of which there are three Exynos4412-based variants),
and the &lt;a href="https://en.wikipedia.org/wiki/Samsung_Galaxy_Note_II"&gt;Galaxy Note 2&lt;/a&gt; (of which there are two variants).
The first step, I figured, was probably to get UART working on the vendor-provided Linux 3.0 kernel: Fortunately, I was not the first person to attempt this,
and there are &lt;a href="https://forum.xda-developers.com/galaxy-s3/general/info-i9300-uart-guide-how-to-talk-to-t2928854"&gt;a few guides&lt;/a&gt;
on constructing a cable suitable for the process.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.forkwhiletrue.me/posts/uart-on-galaxy-s3/"&gt;Read more…&lt;/a&gt; (2 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>exynos</category><category>linux</category><category>midas</category><guid>https://blog.forkwhiletrue.me/posts/uart-on-galaxy-s3/</guid><pubDate>Wed, 01 Nov 2017 12:00:00 GMT</pubDate></item></channel></rss>