<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.olimex.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=StefanM</id>
	<title>Olimex - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.olimex.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=StefanM"/>
	<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/Special:Contributions/StefanM"/>
	<updated>2026-04-07T09:26:30Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3319</id>
		<title>LIMA</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3319"/>
		<updated>2019-08-29T07:57:21Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Building */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LIMA driver = &lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
* Install requirements&lt;br /&gt;
  # apt-get update&lt;br /&gt;
  # apt-get install -y bison g++ gcc gettext flex libdrm-dev libexpat1-dev libx11-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxdamage-dev libxrandr-dev libxshmfence-dev libxext-dev libxxf86vm-dev meson pkg-config python3-mako python3-pip python3-setuptools python3-wheel zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
* Clone the sources&lt;br /&gt;
  # git clone --depth=1 --branch 19.1 https://gitlab.freedesktop.org/mesa/mesa&lt;br /&gt;
&lt;br /&gt;
Depending on distribution, your meson version may be outdated. You can use pip&lt;br /&gt;
to install the latest version&lt;br /&gt;
* Update meson&lt;br /&gt;
  # apt install -y python3-pip&lt;br /&gt;
  # pip3 install meson&lt;br /&gt;
&lt;br /&gt;
* Configure meson&lt;br /&gt;
  # cd mesa&lt;br /&gt;
  # meson build -Dvulkan-drivers=[] -Dplatforms=drm,x11 -Ddri-drivers=[] -Dgallium-drivers=lima,kmsro&lt;br /&gt;
&lt;br /&gt;
* Build and install the sources&lt;br /&gt;
  # ninja -C build&lt;br /&gt;
  # ninja -C build install&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== Without X ===&lt;br /&gt;
&lt;br /&gt;
You can test the driver with kmscube&lt;br /&gt;
  # apt-get install -y kmscube&lt;br /&gt;
 &lt;br /&gt;
Run and test&lt;br /&gt;
  # kmscube&lt;br /&gt;
  ......&lt;br /&gt;
&lt;br /&gt;
=== With X ===&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3318</id>
		<title>LIMA</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3318"/>
		<updated>2019-08-29T07:57:00Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Building */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LIMA driver = &lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
* Install requirements&lt;br /&gt;
  # apt-get update&lt;br /&gt;
  # apt-get install -y bison g++ gcc gettext flex libdrm-dev libexpat1-dev libx11-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxdamage-dev libxrandr-dev libxshmfence-dev libxext-dev libxxf86vm-dev meson pkg-config python3-mako python3-pip python3-setuptools python3-wheel zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
* Clone the sources&lt;br /&gt;
  # git clone --depth=1 --branch 19.1 https://gitlab.freedesktop.org/mesa/mesa&lt;br /&gt;
&lt;br /&gt;
Depending on distribution, your meson version may be outdated. You can use pip&lt;br /&gt;
to install the latest version&lt;br /&gt;
* Update meson&lt;br /&gt;
  # apt install -y pip3&lt;br /&gt;
  # pip3 install meson&lt;br /&gt;
&lt;br /&gt;
* Configure meson&lt;br /&gt;
  # cd mesa&lt;br /&gt;
  # meson build -Dvulkan-drivers=[] -Dplatforms=drm,x11 -Ddri-drivers=[] -Dgallium-drivers=lima,kmsro&lt;br /&gt;
&lt;br /&gt;
* Build and install the sources&lt;br /&gt;
  # ninja -C build&lt;br /&gt;
  # ninja -C build install&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== Without X ===&lt;br /&gt;
&lt;br /&gt;
You can test the driver with kmscube&lt;br /&gt;
  # apt-get install -y kmscube&lt;br /&gt;
 &lt;br /&gt;
Run and test&lt;br /&gt;
  # kmscube&lt;br /&gt;
  ......&lt;br /&gt;
&lt;br /&gt;
=== With X ===&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3317</id>
		<title>LIMA</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3317"/>
		<updated>2019-08-29T07:55:07Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LIMA driver = &lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
* Install requirements&lt;br /&gt;
  # apt-get update&lt;br /&gt;
  # apt-get install -y bison g++ gcc gettext flex libdrm-dev libexpat1-dev libx11-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxdamage-dev libxrandr-dev libxshmfence-dev libxext-dev libxxf86vm-dev meson pkg-config python3-mako python3-pip python3-setuptools python3-wheel zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
* Clone the sources&lt;br /&gt;
  # git clone --depth=1 --branch 19.1 https://gitlab.freedesktop.org/mesa/mesa&lt;br /&gt;
&lt;br /&gt;
* Configure meson&lt;br /&gt;
  # cd mesa&lt;br /&gt;
  # meson build -Dvulkan-drivers=[] -Dplatforms=drm,x11 -Ddri-drivers=[] -Dgallium-drivers=lima,kmsro&lt;br /&gt;
&lt;br /&gt;
* Build and install the sources&lt;br /&gt;
  # ninja -C build&lt;br /&gt;
  # ninja -C build install&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== Without X ===&lt;br /&gt;
&lt;br /&gt;
You can test the driver with kmscube&lt;br /&gt;
  # apt-get install -y kmscube&lt;br /&gt;
 &lt;br /&gt;
Run and test&lt;br /&gt;
  # kmscube&lt;br /&gt;
  ......&lt;br /&gt;
&lt;br /&gt;
=== With X ===&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3316</id>
		<title>LIMA</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3316"/>
		<updated>2019-08-29T07:47:22Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* LIMA driver */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LIMA driver = &lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
* Install requirements&lt;br /&gt;
  # apt-get update&lt;br /&gt;
  # apt-get install -y bison g++ gcc gettext flex libdrm-dev libexpat1-dev libx11-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxdamage-dev libxrandr-dev libxshmfence-dev libxext-dev libxxf86vm-dev meson pkg-config python3-mako python3-pip python3-setuptools python3-wheel zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
* Clone the sources&lt;br /&gt;
  # git clone --depth=1 --branch 19.1 https://gitlab.freedesktop.org/mesa/mesa&lt;br /&gt;
&lt;br /&gt;
* Configure meson&lt;br /&gt;
  # cd mesa&lt;br /&gt;
  # meson build -Dvulkan-drivers=[] -Dplatforms=drm,x11 -Ddri-drivers=[] -Dgallium-drivers=lima,kmsro&lt;br /&gt;
&lt;br /&gt;
* Build and install the sources&lt;br /&gt;
  # ninja -C build&lt;br /&gt;
  # ninja -C build install&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== Without X ===&lt;br /&gt;
&lt;br /&gt;
You can test the driver with kmscube&lt;br /&gt;
  # apt-get install -y kmscube&lt;br /&gt;
 &lt;br /&gt;
Run and test&lt;br /&gt;
  # kmscube&lt;br /&gt;
  ......&lt;br /&gt;
&lt;br /&gt;
=== With X ===&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
=== Compilation fail with ===&lt;br /&gt;
&lt;br /&gt;
  # update-alternatives --config gcc&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3315</id>
		<title>LIMA</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3315"/>
		<updated>2019-08-29T06:18:28Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LIMA driver = &lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
* Install requirements&lt;br /&gt;
  # apt-get update&lt;br /&gt;
  # apt-get install -y bison g++ gcc gettext flex libdrm-dev libexpat1-dev libx11-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxdamage-dev libxrandr-dev libxshmfence-dev libxext-dev libxxf86vm-dev meson pkg-config python3-mako python3-pip python3-setuptools python3-wheel zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
* Clone the sources&lt;br /&gt;
  # git clone --depth=1 --branch 19.1 https://gitlab.freedesktop.org/mesa/mesa&lt;br /&gt;
&lt;br /&gt;
* Configure meson&lt;br /&gt;
  # cd mesa&lt;br /&gt;
  # meson build -Dvulkan-drivers=[] -Dplatforms=drm,x11 -Ddri-drivers=[] -Dgallium-drivers=lima,kmsro&lt;br /&gt;
&lt;br /&gt;
* Build and install the sources&lt;br /&gt;
  # ninja -C build&lt;br /&gt;
  # ninja -C build install&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== Without X ===&lt;br /&gt;
&lt;br /&gt;
You can test the driver with kmscube&lt;br /&gt;
  # apt-get install -y kmscube&lt;br /&gt;
 &lt;br /&gt;
Run and test&lt;br /&gt;
  # kmscube&lt;br /&gt;
  ......&lt;br /&gt;
&lt;br /&gt;
=== With X ===&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3314</id>
		<title>LIMA</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3314"/>
		<updated>2019-08-29T06:16:25Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Building */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LIMA driver = &lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
* Install requirements&lt;br /&gt;
  # apt-get update&lt;br /&gt;
  # apt-get install -y bison g++ gcc gettext flex libdrm-dev libexpat1-dev libx11-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxdamage-dev libxrandr-dev libxshmfence-dev libxext-dev libxxf86vm-dev meson pkg-config python3-mako python3-pip python3-setuptools python3-wheel zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
* Clone the sources&lt;br /&gt;
  # git clone --depth=1 --branch 19.1 https://gitlab.freedesktop.org/mesa/mesa&lt;br /&gt;
&lt;br /&gt;
* Configure meson&lt;br /&gt;
  # cd mesa&lt;br /&gt;
  # meson build -Dvulkan-drivers=[] -Dplatforms=drm,x11 -Ddri-drivers=[] -Dgallium-drivers=lima,kmsro&lt;br /&gt;
&lt;br /&gt;
* Build and install the sources&lt;br /&gt;
  # ninja -C build&lt;br /&gt;
  # ninja -C build install&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
adasd&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3313</id>
		<title>LIMA</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3313"/>
		<updated>2019-08-29T06:15:45Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* LIMA driver */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LIMA driver = &lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
* Install requirements&lt;br /&gt;
  # apt-get update&lt;br /&gt;
  # apt-get install -y bison g++ gcc gettext flex libdrm-dev libexpat1-dev libx11-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxdamage-dev libxrandr-dev libxshmfence-dev libxext-dev libxxf86vm-dev meson pkg-config python3-mako python3-pip python3-setuptools python3-wheel zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
* Clone the sources&lt;br /&gt;
  # git clone --depth=1 --branch 19.1 https://gitlab.freedesktop.org/mesa/mesa&lt;br /&gt;
&lt;br /&gt;
* Configure meson&lt;br /&gt;
  # cd mesa&lt;br /&gt;
  # meson build -Dvulkan-drivers=[] -Dplatforms=drm,x11 -Ddri-drivers=[] -Dgallium-drivers=lima,kmsro&lt;br /&gt;
&lt;br /&gt;
* Build the sources&lt;br /&gt;
  # ninja -C build&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
adasd&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3312</id>
		<title>LIMA</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3312"/>
		<updated>2019-08-29T06:15:26Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* LIMA driver = */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LIMA driver = &lt;br /&gt;
== Description ==&lt;br /&gt;
== Building ==&lt;br /&gt;
* Install requirements&lt;br /&gt;
  # apt-get update&lt;br /&gt;
  # apt-get install -y bison g++ gcc gettext flex libdrm-dev libexpat1-dev libx11-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxdamage-dev libxrandr-dev libxshmfence-dev libxext-dev libxxf86vm-dev meson pkg-config python3-mako python3-pip python3-setuptools python3-wheel zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
* Clone the sources&lt;br /&gt;
  # git clone --depth=1 --branch 19.1 https://gitlab.freedesktop.org/mesa/mesa&lt;br /&gt;
&lt;br /&gt;
* Configure meson&lt;br /&gt;
  # cd mesa&lt;br /&gt;
  # meson build -Dvulkan-drivers=[] -Dplatforms=drm,x11 -Ddri-drivers=[] -Dgallium-drivers=lima,kmsro&lt;br /&gt;
&lt;br /&gt;
* Build the sources&lt;br /&gt;
  # ninja -C build&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
adasd&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3311</id>
		<title>LIMA</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3311"/>
		<updated>2019-08-29T06:15:14Z</updated>

		<summary type="html">&lt;p&gt;StefanM: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LIMA driver == &lt;br /&gt;
== Description ==&lt;br /&gt;
== Building ==&lt;br /&gt;
* Install requirements&lt;br /&gt;
  # apt-get update&lt;br /&gt;
  # apt-get install -y bison g++ gcc gettext flex libdrm-dev libexpat1-dev libx11-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxdamage-dev libxrandr-dev libxshmfence-dev libxext-dev libxxf86vm-dev meson pkg-config python3-mako python3-pip python3-setuptools python3-wheel zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
* Clone the sources&lt;br /&gt;
  # git clone --depth=1 --branch 19.1 https://gitlab.freedesktop.org/mesa/mesa&lt;br /&gt;
&lt;br /&gt;
* Configure meson&lt;br /&gt;
  # cd mesa&lt;br /&gt;
  # meson build -Dvulkan-drivers=[] -Dplatforms=drm,x11 -Ddri-drivers=[] -Dgallium-drivers=lima,kmsro&lt;br /&gt;
&lt;br /&gt;
* Build the sources&lt;br /&gt;
  # ninja -C build&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
adasd&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3310</id>
		<title>LIMA</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3310"/>
		<updated>2019-08-29T06:14:32Z</updated>

		<summary type="html">&lt;p&gt;StefanM: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Description ==&lt;br /&gt;
== Building ==&lt;br /&gt;
* Install requirements&lt;br /&gt;
  # apt-get update&lt;br /&gt;
  # apt-get install -y bison g++ gcc gettext flex libdrm-dev libexpat1-dev libx11-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxdamage-dev libxrandr-dev libxshmfence-dev libxext-dev libxxf86vm-dev meson pkg-config python3-mako python3-pip python3-setuptools python3-wheel zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
* Clone the sources&lt;br /&gt;
  # git clone --depth=1 --branch 19.1 https://gitlab.freedesktop.org/mesa/mesa&lt;br /&gt;
&lt;br /&gt;
* Configure meson&lt;br /&gt;
  # cd mesa&lt;br /&gt;
  # meson build -Dvulkan-drivers=[] -Dplatforms=drm,x11 -Ddri-drivers=[] -Dgallium-drivers=lima,kmsro&lt;br /&gt;
&lt;br /&gt;
* Build the sources&lt;br /&gt;
  # ninja -C build&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
adasd&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3309</id>
		<title>LIMA</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=LIMA&amp;diff=3309"/>
		<updated>2019-08-29T06:12:15Z</updated>

		<summary type="html">&lt;p&gt;StefanM: Created page with &amp;quot; == Building == * Install requirements   # apt-get update   # apt-get install -y bison g++ gcc gettext flex libdrm-dev libexpat1-dev libx11-dev libx11-xcb-dev libxcb-dri2-0-de...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Building ==&lt;br /&gt;
* Install requirements&lt;br /&gt;
  # apt-get update&lt;br /&gt;
  # apt-get install -y bison g++ gcc gettext flex libdrm-dev libexpat1-dev libx11-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxdamage-dev libxrandr-dev libxshmfence-dev libxext-dev libxxf86vm-dev meson pkg-config python3-mako python3-pip python3-setuptools python3-wheel zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
* Install&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=USB-gLINK&amp;diff=3303</id>
		<title>USB-gLINK</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=USB-gLINK&amp;diff=3303"/>
		<updated>2019-07-16T13:22:47Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Software */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software ==&lt;br /&gt;
=== Connecting ===&lt;br /&gt;
Install packages:&lt;br /&gt;
  sudo apt install libqmi-utils udhcpc&lt;br /&gt;
&lt;br /&gt;
Create new file ''/etc/qmi-network.conf''.&lt;br /&gt;
  sudo vi /etc/qmi-network.conf&lt;br /&gt;
&lt;br /&gt;
Inside type your APN settings:&lt;br /&gt;
  APN=internet.xxx.xxx&lt;br /&gt;
  APN_USER=xxxxx APN_PASS=xxxxx&lt;br /&gt;
&lt;br /&gt;
Start network and check status&lt;br /&gt;
  sudo qmi-network /dev/cdc-wdm0 start&lt;br /&gt;
  sudo qmi-network /dev/cdc-wdm0 status&lt;br /&gt;
  ......&lt;br /&gt;
  Status: connected&lt;br /&gt;
&lt;br /&gt;
Check interface name&lt;br /&gt;
  dmesg | grep &amp;quot;wwan0&amp;quot;&lt;br /&gt;
  ....&lt;br /&gt;
  qmi_wwan 3-1:1.4 wwp8s0u1i4: renamed from wwan0&lt;br /&gt;
&lt;br /&gt;
Obtain ip address:&lt;br /&gt;
  sudo udhcpc -q -f -n -i wwp8s0u1i4&lt;br /&gt;
&lt;br /&gt;
Check interface&lt;br /&gt;
  ifconfig wwp8s0u1i4&lt;br /&gt;
  wwp8s0u1i4: flags=4305&amp;lt;UP,POINTOPOINT,RUNNING,NOARP,MULTICAST&amp;gt;  mtu 1500&lt;br /&gt;
        inet 10.167.84.92  netmask 255.255.255.248  destination 10.167.84.92&lt;br /&gt;
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)&lt;br /&gt;
        RX packets 47  bytes 16255 (16.2 KB)&lt;br /&gt;
        RX errors 0  dropped 0  overruns 0  frame 0&lt;br /&gt;
        TX packets 163  bytes 16212 (16.2 KB)&lt;br /&gt;
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0&lt;br /&gt;
&lt;br /&gt;
=== Enabling serial port ===&lt;br /&gt;
By default when you connect the USB-gLINK to PC, qmi_wwan module is used. This is because the VID/PIN is not listed in ''drivers/usb/serial/option.c''.&lt;br /&gt;
&lt;br /&gt;
Login as root user&lt;br /&gt;
  su -&lt;br /&gt;
&lt;br /&gt;
Probe usbserial module&lt;br /&gt;
  modprobe usbserial&lt;br /&gt;
&lt;br /&gt;
Bind device VID/PID to usbserial&lt;br /&gt;
  echo 2c7c 0125 &amp;gt; /sys/bus/usb-serial/drivers/generic/new_id&lt;br /&gt;
&lt;br /&gt;
Check result&lt;br /&gt;
  dmesg&lt;br /&gt;
  .....&lt;br /&gt;
  usb 3-1: new high-speed USB device number 36 using xhci_hcd&lt;br /&gt;
  usb 3-1: New USB device found, idVendor=2c7c, idProduct=0125&lt;br /&gt;
  usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0&lt;br /&gt;
  usb 3-1: Product: EG25-G&lt;br /&gt;
  usb 3-1: Manufacturer: Quectel&lt;br /&gt;
  usbserial_generic 3-1:1.0: The &amp;quot;generic&amp;quot; usb-serial driver is only for testing and one-off prototypes.&lt;br /&gt;
  usbserial_generic 3-1:1.0: Tell linux-usb@vger.kernel.org to add your device to a proper driver.&lt;br /&gt;
  usbserial_generic 3-1:1.0: generic converter detected&lt;br /&gt;
  usb 3-1: generic converter now attached to ttyUSB0&lt;br /&gt;
  usbserial_generic 3-1:1.1: The &amp;quot;generic&amp;quot; usb-serial driver is only for testing and one-off prototypes.&lt;br /&gt;
  usbserial_generic 3-1:1.1: Tell linux-usb@vger.kernel.org to add your device to a proper driver.&lt;br /&gt;
  usbserial_generic 3-1:1.1: generic converter detected&lt;br /&gt;
  usb 3-1: generic converter now attached to ttyUSB1&lt;br /&gt;
  usbserial_generic 3-1:1.2: The &amp;quot;generic&amp;quot; usb-serial driver is only for testing and one-off prototypes.&lt;br /&gt;
  usbserial_generic 3-1:1.2: Tell linux-usb@vger.kernel.org to add your device to a proper driver.&lt;br /&gt;
  usbserial_generic 3-1:1.2: generic converter detected&lt;br /&gt;
  usb 3-1: generic converter now attached to ttyUSB2&lt;br /&gt;
  usbserial_generic 3-1:1.3: The &amp;quot;generic&amp;quot; usb-serial driver is only for testing and one-off prototypes.&lt;br /&gt;
  usbserial_generic 3-1:1.3: Tell linux-usb@vger.kernel.org to add your device to a proper driver.&lt;br /&gt;
  usbserial_generic 3-1:1.3: generic converter detected&lt;br /&gt;
  usb 3-1: generic converter now attached to ttyUSB3&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=USB-gLINK&amp;diff=3302</id>
		<title>USB-gLINK</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=USB-gLINK&amp;diff=3302"/>
		<updated>2019-07-16T13:22:21Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Software support */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software ==&lt;br /&gt;
=== Connecting ===&lt;br /&gt;
Install packages:&lt;br /&gt;
  sudo apt install libqmi-utils udhcpc&lt;br /&gt;
&lt;br /&gt;
Create new file ''/etc/qmi-network.conf''.&lt;br /&gt;
  sudo vi /etc/qmi-network.conf&lt;br /&gt;
&lt;br /&gt;
Inside type your APN settings:&lt;br /&gt;
  APN=internet.xxx.xxx&lt;br /&gt;
  APN_USER=xxxxx APN_PASS=xxxxx&lt;br /&gt;
&lt;br /&gt;
Start network and check status&lt;br /&gt;
  sudo qmi-network /dev/cdc-wdm0 start&lt;br /&gt;
  sudo qmi-network /dev/cdc-wdm0 status&lt;br /&gt;
  ......&lt;br /&gt;
  Status: connected&lt;br /&gt;
&lt;br /&gt;
Check interface name&lt;br /&gt;
  dmesg | grep &amp;quot;wwan0&amp;quot;&lt;br /&gt;
  ....&lt;br /&gt;
  qmi_wwan 3-1:1.4 wwp8s0u1i4: renamed from wwan0&lt;br /&gt;
&lt;br /&gt;
Obtain ip address:&lt;br /&gt;
  sudo udhcpc -q -f -n -i wwp8s0u1i4&lt;br /&gt;
&lt;br /&gt;
Check interface&lt;br /&gt;
  ifconfig wwp8s0u1i4&lt;br /&gt;
  wwp8s0u1i4: flags=4305&amp;lt;UP,POINTOPOINT,RUNNING,NOARP,MULTICAST&amp;gt;  mtu 1500&lt;br /&gt;
        inet 10.167.84.92  netmask 255.255.255.248  destination 10.167.84.92&lt;br /&gt;
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)&lt;br /&gt;
        RX packets 47  bytes 16255 (16.2 KB)&lt;br /&gt;
        RX errors 0  dropped 0  overruns 0  frame 0&lt;br /&gt;
        TX packets 163  bytes 16212 (16.2 KB)&lt;br /&gt;
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0&lt;br /&gt;
&lt;br /&gt;
=== Enabling serial port ===&lt;br /&gt;
By default when you connect the USB-gLINK to PC, qmi_wwan module is used. This is because the VID/PIN is not listed in ''drivers/usb/serial/option.c''.&lt;br /&gt;
&lt;br /&gt;
Login as root user&lt;br /&gt;
  su -&lt;br /&gt;
&lt;br /&gt;
Probe usbserial module&lt;br /&gt;
  modprobe usbserial&lt;br /&gt;
&lt;br /&gt;
Bind device VID/PID to usbserial&lt;br /&gt;
  echo 2c7c 0125 &amp;gt; /sys/bus/usb-serial/drivers/generic/new_id&lt;br /&gt;
&lt;br /&gt;
Check result&lt;br /&gt;
  dmesg&lt;br /&gt;
  .....&lt;br /&gt;
  usb 3-1: new high-speed USB device number 36 using xhci_hcd&lt;br /&gt;
  usb 3-1: New USB device found, idVendor=2c7c, idProduct=0125&lt;br /&gt;
  usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0&lt;br /&gt;
  usb 3-1: Product: EG25-G&lt;br /&gt;
  usb 3-1: Manufacturer: Quectel&lt;br /&gt;
  usbserial_generic 3-1:1.0: The &amp;quot;generic&amp;quot; usb-serial driver is only for testing and one-off prototypes.&lt;br /&gt;
  usbserial_generic 3-1:1.0: Tell linux-usb@vger.kernel.org to add your device to a proper driver.&lt;br /&gt;
  usbserial_generic 3-1:1.0: generic converter detected&lt;br /&gt;
  usb 3-1: generic converter now attached to ttyUSB0&lt;br /&gt;
  usbserial_generic 3-1:1.1: The &amp;quot;generic&amp;quot; usb-serial driver is only for testing and one-off prototypes.&lt;br /&gt;
  usbserial_generic 3-1:1.1: Tell linux-usb@vger.kernel.org to add your device to a proper driver.&lt;br /&gt;
  usbserial_generic 3-1:1.1: generic converter detected&lt;br /&gt;
  usb 3-1: generic converter now attached to ttyUSB1&lt;br /&gt;
  usbserial_generic 3-1:1.2: The &amp;quot;generic&amp;quot; usb-serial driver is only for testing and one-off prototypes.&lt;br /&gt;
  usbserial_generic 3-1:1.2: Tell linux-usb@vger.kernel.org to add your device to a proper driver.&lt;br /&gt;
  usbserial_generic 3-1:1.2: generic converter detected&lt;br /&gt;
  usb 3-1: generic converter now attached to ttyUSB2&lt;br /&gt;
  usbserial_generic 3-1:1.3: The &amp;quot;generic&amp;quot; usb-serial driver is only for testing and one-off prototypes.&lt;br /&gt;
  usbserial_generic 3-1:1.3: Tell linux-usb@vger.kernel.org to add your device to a proper driver.&lt;br /&gt;
  usbserial_generic 3-1:1.3: generic converter detected&lt;br /&gt;
  usb 3-1: generic converter now attached to ttyUSB3&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=USB-gLINK&amp;diff=3301</id>
		<title>USB-gLINK</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=USB-gLINK&amp;diff=3301"/>
		<updated>2019-07-16T13:20:25Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Connecting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Software support =&lt;br /&gt;
== Connecting ==&lt;br /&gt;
Install packages:&lt;br /&gt;
  sudo apt install libqmi-utils udhcpc&lt;br /&gt;
&lt;br /&gt;
Create new file ''/etc/qmi-network.conf''.&lt;br /&gt;
  sudo vi /etc/qmi-network.conf&lt;br /&gt;
&lt;br /&gt;
Inside type your APN settings:&lt;br /&gt;
  APN=internet.xxx.xxx&lt;br /&gt;
  APN_USER=xxxxx APN_PASS=xxxxx&lt;br /&gt;
&lt;br /&gt;
Start network and check status&lt;br /&gt;
  sudo qmi-network /dev/cdc-wdm0 start&lt;br /&gt;
  sudo qmi-network /dev/cdc-wdm0 status&lt;br /&gt;
  ......&lt;br /&gt;
  Status: connected&lt;br /&gt;
&lt;br /&gt;
Check interface name&lt;br /&gt;
  dmesg | grep &amp;quot;wwan0&amp;quot;&lt;br /&gt;
  ....&lt;br /&gt;
  qmi_wwan 3-1:1.4 wwp8s0u1i4: renamed from wwan0&lt;br /&gt;
&lt;br /&gt;
Obtain ip address:&lt;br /&gt;
  sudo udhcpc -q -f -n -i wwp8s0u1i4&lt;br /&gt;
&lt;br /&gt;
Check interface&lt;br /&gt;
  ifconfig wwp8s0u1i4&lt;br /&gt;
  wwp8s0u1i4: flags=4305&amp;lt;UP,POINTOPOINT,RUNNING,NOARP,MULTICAST&amp;gt;  mtu 1500&lt;br /&gt;
        inet 10.167.84.92  netmask 255.255.255.248  destination 10.167.84.92&lt;br /&gt;
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)&lt;br /&gt;
        RX packets 47  bytes 16255 (16.2 KB)&lt;br /&gt;
        RX errors 0  dropped 0  overruns 0  frame 0&lt;br /&gt;
        TX packets 163  bytes 16212 (16.2 KB)&lt;br /&gt;
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0&lt;br /&gt;
&lt;br /&gt;
== Enabling serial port ==&lt;br /&gt;
By default when you connect the USB-gLINK to PC, qmi_wwan module is used. This is because the VID/PIN is not listed in ''drivers/usb/serial/option.c''.&lt;br /&gt;
&lt;br /&gt;
Login as root user&lt;br /&gt;
  su -&lt;br /&gt;
&lt;br /&gt;
Probe usbserial module&lt;br /&gt;
  modprobe usbserial&lt;br /&gt;
&lt;br /&gt;
Bind device VID/PID to usbserial&lt;br /&gt;
  echo 2c7c 0125 &amp;gt; /sys/bus/usb-serial/drivers/generic/new_id&lt;br /&gt;
&lt;br /&gt;
Check result&lt;br /&gt;
  dmesg&lt;br /&gt;
  .....&lt;br /&gt;
  usb 3-1: new high-speed USB device number 36 using xhci_hcd&lt;br /&gt;
  usb 3-1: New USB device found, idVendor=2c7c, idProduct=0125&lt;br /&gt;
  usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0&lt;br /&gt;
  usb 3-1: Product: EG25-G&lt;br /&gt;
  usb 3-1: Manufacturer: Quectel&lt;br /&gt;
  usbserial_generic 3-1:1.0: The &amp;quot;generic&amp;quot; usb-serial driver is only for testing and one-off prototypes.&lt;br /&gt;
  usbserial_generic 3-1:1.0: Tell linux-usb@vger.kernel.org to add your device to a proper driver.&lt;br /&gt;
  usbserial_generic 3-1:1.0: generic converter detected&lt;br /&gt;
  usb 3-1: generic converter now attached to ttyUSB0&lt;br /&gt;
  usbserial_generic 3-1:1.1: The &amp;quot;generic&amp;quot; usb-serial driver is only for testing and one-off prototypes.&lt;br /&gt;
  usbserial_generic 3-1:1.1: Tell linux-usb@vger.kernel.org to add your device to a proper driver.&lt;br /&gt;
  usbserial_generic 3-1:1.1: generic converter detected&lt;br /&gt;
  usb 3-1: generic converter now attached to ttyUSB1&lt;br /&gt;
  usbserial_generic 3-1:1.2: The &amp;quot;generic&amp;quot; usb-serial driver is only for testing and one-off prototypes.&lt;br /&gt;
  usbserial_generic 3-1:1.2: Tell linux-usb@vger.kernel.org to add your device to a proper driver.&lt;br /&gt;
  usbserial_generic 3-1:1.2: generic converter detected&lt;br /&gt;
  usb 3-1: generic converter now attached to ttyUSB2&lt;br /&gt;
  usbserial_generic 3-1:1.3: The &amp;quot;generic&amp;quot; usb-serial driver is only for testing and one-off prototypes.&lt;br /&gt;
  usbserial_generic 3-1:1.3: Tell linux-usb@vger.kernel.org to add your device to a proper driver.&lt;br /&gt;
  usbserial_generic 3-1:1.3: generic converter detected&lt;br /&gt;
  usb 3-1: generic converter now attached to ttyUSB3&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=USB-gLINK&amp;diff=3300</id>
		<title>USB-gLINK</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=USB-gLINK&amp;diff=3300"/>
		<updated>2019-07-16T13:19:22Z</updated>

		<summary type="html">&lt;p&gt;StefanM: Created page with &amp;quot;== Connecting == Install packages:   sudo apt install libqmi-utils udhcpc  Create new file ''/etc/qmi-network.conf''.   sudo vi /etc/qmi-network.conf  Inside type your APN set...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Connecting ==&lt;br /&gt;
Install packages:&lt;br /&gt;
  sudo apt install libqmi-utils udhcpc&lt;br /&gt;
&lt;br /&gt;
Create new file ''/etc/qmi-network.conf''.&lt;br /&gt;
  sudo vi /etc/qmi-network.conf&lt;br /&gt;
&lt;br /&gt;
Inside type your APN settings:&lt;br /&gt;
  APN=internet.xxx.xxx&lt;br /&gt;
  APN_USER=xxxxx APN_PASS=xxxxx&lt;br /&gt;
&lt;br /&gt;
Start network and check status&lt;br /&gt;
  sudo qmi-network /dev/cdc-wdm0 start&lt;br /&gt;
  sudo qmi-network /dev/cdc-wdm0 status&lt;br /&gt;
  ......&lt;br /&gt;
  Status: connected&lt;br /&gt;
&lt;br /&gt;
Check interface name&lt;br /&gt;
  dmesg | grep &amp;quot;wwan0&amp;quot;&lt;br /&gt;
  ....&lt;br /&gt;
  qmi_wwan 3-1:1.4 wwp8s0u1i4: renamed from wwan0&lt;br /&gt;
&lt;br /&gt;
Obtain ip address:&lt;br /&gt;
  sudo udhcpc -q -f -n -i wwp8s0u1i4&lt;br /&gt;
&lt;br /&gt;
Check interface&lt;br /&gt;
  ifconfig wwp8s0u1i4&lt;br /&gt;
  wwp8s0u1i4: flags=4305&amp;lt;UP,POINTOPOINT,RUNNING,NOARP,MULTICAST&amp;gt;  mtu 1500&lt;br /&gt;
        inet 10.167.84.92  netmask 255.255.255.248  destination 10.167.84.92&lt;br /&gt;
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)&lt;br /&gt;
        RX packets 47  bytes 16255 (16.2 KB)&lt;br /&gt;
        RX errors 0  dropped 0  overruns 0  frame 0&lt;br /&gt;
        TX packets 163  bytes 16212 (16.2 KB)&lt;br /&gt;
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
== Enabling serial port ==&lt;br /&gt;
By default when you connect the USB-gLINK to PC, qmi_wwan module is used. This is because the VID/PIN is not listed in ''drivers/usb/serial/option.c''.&lt;br /&gt;
&lt;br /&gt;
Login as root user&lt;br /&gt;
  su -&lt;br /&gt;
&lt;br /&gt;
Probe usbserial module&lt;br /&gt;
  modprobe usbserial&lt;br /&gt;
&lt;br /&gt;
Bind device VID/PID to usbserial&lt;br /&gt;
  echo 2c7c 0125 &amp;gt; /sys/bus/usb-serial/drivers/generic/new_id&lt;br /&gt;
&lt;br /&gt;
Check result&lt;br /&gt;
  dmesg&lt;br /&gt;
  .....&lt;br /&gt;
  usb 3-1: new high-speed USB device number 36 using xhci_hcd&lt;br /&gt;
  usb 3-1: New USB device found, idVendor=2c7c, idProduct=0125&lt;br /&gt;
  usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0&lt;br /&gt;
  usb 3-1: Product: EG25-G&lt;br /&gt;
  usb 3-1: Manufacturer: Quectel&lt;br /&gt;
  usbserial_generic 3-1:1.0: The &amp;quot;generic&amp;quot; usb-serial driver is only for testing and one-off prototypes.&lt;br /&gt;
  usbserial_generic 3-1:1.0: Tell linux-usb@vger.kernel.org to add your device to a proper driver.&lt;br /&gt;
  usbserial_generic 3-1:1.0: generic converter detected&lt;br /&gt;
  usb 3-1: generic converter now attached to ttyUSB0&lt;br /&gt;
  usbserial_generic 3-1:1.1: The &amp;quot;generic&amp;quot; usb-serial driver is only for testing and one-off prototypes.&lt;br /&gt;
  usbserial_generic 3-1:1.1: Tell linux-usb@vger.kernel.org to add your device to a proper driver.&lt;br /&gt;
  usbserial_generic 3-1:1.1: generic converter detected&lt;br /&gt;
  usb 3-1: generic converter now attached to ttyUSB1&lt;br /&gt;
  usbserial_generic 3-1:1.2: The &amp;quot;generic&amp;quot; usb-serial driver is only for testing and one-off prototypes.&lt;br /&gt;
  usbserial_generic 3-1:1.2: Tell linux-usb@vger.kernel.org to add your device to a proper driver.&lt;br /&gt;
  usbserial_generic 3-1:1.2: generic converter detected&lt;br /&gt;
  usb 3-1: generic converter now attached to ttyUSB2&lt;br /&gt;
  usbserial_generic 3-1:1.3: The &amp;quot;generic&amp;quot; usb-serial driver is only for testing and one-off prototypes.&lt;br /&gt;
  usbserial_generic 3-1:1.3: Tell linux-usb@vger.kernel.org to add your device to a proper driver.&lt;br /&gt;
  usbserial_generic 3-1:1.3: generic converter detected&lt;br /&gt;
  usb 3-1: generic converter now attached to ttyUSB3&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3292</id>
		<title>RK3328-SOM204</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3292"/>
		<updated>2019-06-17T06:25:43Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Flash image */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software ==&lt;br /&gt;
=== Armbian ===&lt;br /&gt;
== FAQ ==&lt;br /&gt;
=== Use alarm clock ===&lt;br /&gt;
&lt;br /&gt;
You can schedule power-on event using alarm clock.&lt;br /&gt;
&lt;br /&gt;
Set the alarm 1 minute in the future&lt;br /&gt;
  echo $(date '+%s' -d '+ 1 minutes') &amp;gt; /sys/class/rtc/rtc0/wakealarm&lt;br /&gt;
&lt;br /&gt;
Now power-off the board and wait for the wake-up alarm:&lt;br /&gt;
  poweroff&lt;br /&gt;
&lt;br /&gt;
=== Flash image to eMMC via USB ===&lt;br /&gt;
&lt;br /&gt;
==== Prepare rkdeveloptool ====&lt;br /&gt;
&lt;br /&gt;
Get sources:&lt;br /&gt;
  git clone https://github.com/rockchip-linux/rkdeveloptool&lt;br /&gt;
&lt;br /&gt;
Install requirements:&lt;br /&gt;
  sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf&lt;br /&gt;
&lt;br /&gt;
Build rkdeveloptool&lt;br /&gt;
  cd rkdeveloptool&lt;br /&gt;
  autoreconf -i&lt;br /&gt;
  ./configure&lt;br /&gt;
  make&lt;br /&gt;
&lt;br /&gt;
==== Prepare loader ====&lt;br /&gt;
&lt;br /&gt;
Get rkbin:&lt;br /&gt;
  git clone https://github.com/rockchip-linux/rkbin&lt;br /&gt;
&lt;br /&gt;
Edit configuration:&lt;br /&gt;
  cd rkbin&lt;br /&gt;
  cat &amp;gt; RKBOOT/RK3328MINIALL.ini &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
  [CHIP_NAME]&lt;br /&gt;
  NAME=RK322H&lt;br /&gt;
  [VERSION]&lt;br /&gt;
  MAJOR=2&lt;br /&gt;
  MINOR=49&lt;br /&gt;
  [CODE471_OPTION]&lt;br /&gt;
  NUM=1&lt;br /&gt;
  Path1=bin/rk33/rk3328_ddr_333MHz_v1.14.bin&lt;br /&gt;
  Sleep=1&lt;br /&gt;
  [CODE472_OPTION]&lt;br /&gt;
  NUM=1&lt;br /&gt;
  Path1=bin/rk33/rk322xh_usbplug_v2.49.bin&lt;br /&gt;
  [LOADER_OPTION]&lt;br /&gt;
  NUM=2&lt;br /&gt;
  LOADER1=FlashData&lt;br /&gt;
  LOADER2=FlashBoot&lt;br /&gt;
  FlashData=bin/rk33/rk3328_ddr_333MHz_v1.14.bin&lt;br /&gt;
  FlashBoot=bin/rk33/rk322xh_miniloader_v2.49.bin&lt;br /&gt;
  [OUTPUT]&lt;br /&gt;
  PATH=rk3328_loader_v1.14.249.bin&lt;br /&gt;
  __EOF__&lt;br /&gt;
&lt;br /&gt;
Generate loader image:&lt;br /&gt;
  ./tools/boot_merger RKBOOT/RK3328MINIALL.ini&lt;br /&gt;
&lt;br /&gt;
==== Flash image ====&lt;br /&gt;
Put device into loader mode. Plug USB-mini cable, hold '''recovery''' button and &lt;br /&gt;
press '''reset'''. Check the with:&lt;br /&gt;
  lsusb&lt;br /&gt;
&lt;br /&gt;
You should see:&lt;br /&gt;
  Bus 002 Device 035: ID 2207:330a&lt;br /&gt;
&lt;br /&gt;
Go to rkdevelop folder:&lt;br /&gt;
  cd /path/to/rkdeveloptool&lt;br /&gt;
&lt;br /&gt;
Check devices:&lt;br /&gt;
  sudo rkdeveloptool ld&lt;br /&gt;
  DevNo=1	Vid=0x2207,Pid=0x330a,LocationID=208	Maskrom&lt;br /&gt;
&lt;br /&gt;
Upload loader:&lt;br /&gt;
  sudo rkdeveloptool db /path/to/rk3328_loader_v1.14.249.bin&lt;br /&gt;
&lt;br /&gt;
In the terminal you should see (baudrate is '''1500000'''):&lt;br /&gt;
  DDR version 1.14 20190328&lt;br /&gt;
  ID:0x805 N&lt;br /&gt;
  In&lt;br /&gt;
  LPDDR3&lt;br /&gt;
  333MHz&lt;br /&gt;
  Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=2048MB&lt;br /&gt;
  ddrconfig:6&lt;br /&gt;
  OUT&lt;br /&gt;
  Boot1 Release Time: Sep  7 2018 15:48:25, version: 2.49&lt;br /&gt;
  SdmmcInit=0 NOT PRESENT&lt;br /&gt;
  mmc Ext_csd, ret=0 ,&lt;br /&gt;
   Ext[226]=20, bootSize=2000, &lt;br /&gt;
   			Ext[215]=1, Ext[214]=d1, Ext[213]=f0, Ext[212]=0,cap=1d1f000 REL=1f&lt;br /&gt;
  mmc2:cmd19,100&lt;br /&gt;
  SdmmcInit=2 0&lt;br /&gt;
  BootCapSize=2000&lt;br /&gt;
  UserCapSize=14910MB&lt;br /&gt;
  FwPartOffset=2000 , 2000&lt;br /&gt;
  UsbHook 736999&lt;br /&gt;
  powerOn 737075&lt;br /&gt;
&lt;br /&gt;
Erase the flash:&lt;br /&gt;
  sudo rkdeveloptool ef&lt;br /&gt;
&lt;br /&gt;
Flash a new image:&lt;br /&gt;
  sudo rkdeveloptool wl 0 /path/to/some/image.img&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3291</id>
		<title>RK3328-SOM204</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3291"/>
		<updated>2019-06-17T06:22:48Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Flash image */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software ==&lt;br /&gt;
=== Armbian ===&lt;br /&gt;
== FAQ ==&lt;br /&gt;
=== Use alarm clock ===&lt;br /&gt;
&lt;br /&gt;
You can schedule power-on event using alarm clock.&lt;br /&gt;
&lt;br /&gt;
Set the alarm 1 minute in the future&lt;br /&gt;
  echo $(date '+%s' -d '+ 1 minutes') &amp;gt; /sys/class/rtc/rtc0/wakealarm&lt;br /&gt;
&lt;br /&gt;
Now power-off the board and wait for the wake-up alarm:&lt;br /&gt;
  poweroff&lt;br /&gt;
&lt;br /&gt;
=== Flash image to eMMC via USB ===&lt;br /&gt;
&lt;br /&gt;
==== Prepare rkdeveloptool ====&lt;br /&gt;
&lt;br /&gt;
Get sources:&lt;br /&gt;
  git clone https://github.com/rockchip-linux/rkdeveloptool&lt;br /&gt;
&lt;br /&gt;
Install requirements:&lt;br /&gt;
  sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf&lt;br /&gt;
&lt;br /&gt;
Build rkdeveloptool&lt;br /&gt;
  cd rkdeveloptool&lt;br /&gt;
  autoreconf -i&lt;br /&gt;
  ./configure&lt;br /&gt;
  make&lt;br /&gt;
&lt;br /&gt;
==== Prepare loader ====&lt;br /&gt;
&lt;br /&gt;
Get rkbin:&lt;br /&gt;
  git clone https://github.com/rockchip-linux/rkbin&lt;br /&gt;
&lt;br /&gt;
Edit configuration:&lt;br /&gt;
  cd rkbin&lt;br /&gt;
  cat &amp;gt; RKBOOT/RK3328MINIALL.ini &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
  [CHIP_NAME]&lt;br /&gt;
  NAME=RK322H&lt;br /&gt;
  [VERSION]&lt;br /&gt;
  MAJOR=2&lt;br /&gt;
  MINOR=49&lt;br /&gt;
  [CODE471_OPTION]&lt;br /&gt;
  NUM=1&lt;br /&gt;
  Path1=bin/rk33/rk3328_ddr_333MHz_v1.14.bin&lt;br /&gt;
  Sleep=1&lt;br /&gt;
  [CODE472_OPTION]&lt;br /&gt;
  NUM=1&lt;br /&gt;
  Path1=bin/rk33/rk322xh_usbplug_v2.49.bin&lt;br /&gt;
  [LOADER_OPTION]&lt;br /&gt;
  NUM=2&lt;br /&gt;
  LOADER1=FlashData&lt;br /&gt;
  LOADER2=FlashBoot&lt;br /&gt;
  FlashData=bin/rk33/rk3328_ddr_333MHz_v1.14.bin&lt;br /&gt;
  FlashBoot=bin/rk33/rk322xh_miniloader_v2.49.bin&lt;br /&gt;
  [OUTPUT]&lt;br /&gt;
  PATH=rk3328_loader_v1.14.249.bin&lt;br /&gt;
  __EOF__&lt;br /&gt;
&lt;br /&gt;
Generate loader image:&lt;br /&gt;
  ./tools/boot_merger RKBOOT/RK3328MINIALL.ini&lt;br /&gt;
&lt;br /&gt;
==== Flash image ====&lt;br /&gt;
Put device into loader mode. Plug USB-mini cable, hold '''recovery''' button and &lt;br /&gt;
press '''reset'''. Check the with:&lt;br /&gt;
  lsusb&lt;br /&gt;
&lt;br /&gt;
You should see:&lt;br /&gt;
  Bus 002 Device 035: ID 2207:330a&lt;br /&gt;
&lt;br /&gt;
Go to rkdevelop folder:&lt;br /&gt;
  cd /path/to/rkdeveloptool&lt;br /&gt;
&lt;br /&gt;
Check devices:&lt;br /&gt;
  sudo rkdeveloptool ld&lt;br /&gt;
  DevNo=1	Vid=0x2207,Pid=0x330a,LocationID=208	Maskrom&lt;br /&gt;
&lt;br /&gt;
Upload loader:&lt;br /&gt;
  sudo rkdeveloptool db /path/to/rk3328_loader_v1.14.249.bin&lt;br /&gt;
&lt;br /&gt;
In the terminal you should see (baudrate is '''1500000'''):&lt;br /&gt;
  DDR version 1.14 20190328&lt;br /&gt;
  ID:0x805 N&lt;br /&gt;
  In&lt;br /&gt;
  LPDDR3&lt;br /&gt;
  333MHz&lt;br /&gt;
  Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=2048MB&lt;br /&gt;
  ddrconfig:6&lt;br /&gt;
  OUT&lt;br /&gt;
  Boot1 Release Time: Sep  7 2018 15:48:25, version: 2.49&lt;br /&gt;
  SdmmcInit=0 NOT PRESENT&lt;br /&gt;
  mmc Ext_csd, ret=0 ,&lt;br /&gt;
   Ext[226]=20, bootSize=2000, &lt;br /&gt;
   			Ext[215]=1, Ext[214]=d1, Ext[213]=f0, Ext[212]=0,cap=1d1f000 REL=1f&lt;br /&gt;
  mmc2:cmd19,100&lt;br /&gt;
  SdmmcInit=2 0&lt;br /&gt;
  BootCapSize=2000&lt;br /&gt;
  UserCapSize=14910MB&lt;br /&gt;
  FwPartOffset=2000 , 2000&lt;br /&gt;
  UsbHook 736999&lt;br /&gt;
  powerOn 737075&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3290</id>
		<title>RK3328-SOM204</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3290"/>
		<updated>2019-06-17T06:20:25Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Flash image */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software ==&lt;br /&gt;
=== Armbian ===&lt;br /&gt;
== FAQ ==&lt;br /&gt;
=== Use alarm clock ===&lt;br /&gt;
&lt;br /&gt;
You can schedule power-on event using alarm clock.&lt;br /&gt;
&lt;br /&gt;
Set the alarm 1 minute in the future&lt;br /&gt;
  echo $(date '+%s' -d '+ 1 minutes') &amp;gt; /sys/class/rtc/rtc0/wakealarm&lt;br /&gt;
&lt;br /&gt;
Now power-off the board and wait for the wake-up alarm:&lt;br /&gt;
  poweroff&lt;br /&gt;
&lt;br /&gt;
=== Flash image to eMMC via USB ===&lt;br /&gt;
&lt;br /&gt;
==== Prepare rkdeveloptool ====&lt;br /&gt;
&lt;br /&gt;
Get sources:&lt;br /&gt;
  git clone https://github.com/rockchip-linux/rkdeveloptool&lt;br /&gt;
&lt;br /&gt;
Install requirements:&lt;br /&gt;
  sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf&lt;br /&gt;
&lt;br /&gt;
Build rkdeveloptool&lt;br /&gt;
  cd rkdeveloptool&lt;br /&gt;
  autoreconf -i&lt;br /&gt;
  ./configure&lt;br /&gt;
  make&lt;br /&gt;
&lt;br /&gt;
==== Prepare loader ====&lt;br /&gt;
&lt;br /&gt;
Get rkbin:&lt;br /&gt;
  git clone https://github.com/rockchip-linux/rkbin&lt;br /&gt;
&lt;br /&gt;
Edit configuration:&lt;br /&gt;
  cd rkbin&lt;br /&gt;
  cat &amp;gt; RKBOOT/RK3328MINIALL.ini &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
  [CHIP_NAME]&lt;br /&gt;
  NAME=RK322H&lt;br /&gt;
  [VERSION]&lt;br /&gt;
  MAJOR=2&lt;br /&gt;
  MINOR=49&lt;br /&gt;
  [CODE471_OPTION]&lt;br /&gt;
  NUM=1&lt;br /&gt;
  Path1=bin/rk33/rk3328_ddr_333MHz_v1.14.bin&lt;br /&gt;
  Sleep=1&lt;br /&gt;
  [CODE472_OPTION]&lt;br /&gt;
  NUM=1&lt;br /&gt;
  Path1=bin/rk33/rk322xh_usbplug_v2.49.bin&lt;br /&gt;
  [LOADER_OPTION]&lt;br /&gt;
  NUM=2&lt;br /&gt;
  LOADER1=FlashData&lt;br /&gt;
  LOADER2=FlashBoot&lt;br /&gt;
  FlashData=bin/rk33/rk3328_ddr_333MHz_v1.14.bin&lt;br /&gt;
  FlashBoot=bin/rk33/rk322xh_miniloader_v2.49.bin&lt;br /&gt;
  [OUTPUT]&lt;br /&gt;
  PATH=rk3328_loader_v1.14.249.bin&lt;br /&gt;
  __EOF__&lt;br /&gt;
&lt;br /&gt;
Generate loader image:&lt;br /&gt;
  ./tools/boot_merger RKBOOT/RK3328MINIALL.ini&lt;br /&gt;
&lt;br /&gt;
==== Flash image ====&lt;br /&gt;
Put device into loader mode. Plug USB-mini cable, hold '''recovery''' button and &lt;br /&gt;
press '''reset'''. Check the with:&lt;br /&gt;
  lsusb&lt;br /&gt;
&lt;br /&gt;
You should see:&lt;br /&gt;
  Bus 002 Device 035: ID 2207:330a&lt;br /&gt;
&lt;br /&gt;
Go to rkdevelop folder:&lt;br /&gt;
  cd /path/to/rkdeveloptool&lt;br /&gt;
&lt;br /&gt;
Check devices:&lt;br /&gt;
  sudo rkdeveloptool ld&lt;br /&gt;
  DevNo=1	Vid=0x2207,Pid=0x330a,LocationID=208	Maskrom&lt;br /&gt;
&lt;br /&gt;
Upload loader:&lt;br /&gt;
  sudo rkdeveloptool db ../rkbin/rk3328_loader_v1.14.249.bin&lt;br /&gt;
DDR version 1.14 20190328&lt;br /&gt;
ID:0x805 N&lt;br /&gt;
In&lt;br /&gt;
LPDDR3&lt;br /&gt;
333MHz&lt;br /&gt;
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=2048MB&lt;br /&gt;
ddrconfig:6&lt;br /&gt;
OUT&lt;br /&gt;
Boot1 Release Time: Sep  7 2018 15:48:25, version: 2.49&lt;br /&gt;
SdmmcInit=0 NOT PRESENT&lt;br /&gt;
mmc Ext_csd, ret=0 ,&lt;br /&gt;
 Ext[226]=20, bootSize=2000, &lt;br /&gt;
 			Ext[215]=1, Ext[214]=d1, Ext[213]=f0, Ext[212]=0,cap =1d1f000 REL=1f&lt;br /&gt;
mmc2:cmd19,100&lt;br /&gt;
SdmmcInit=2 0&lt;br /&gt;
BootCapSize=2000&lt;br /&gt;
UserCapSize=14910MB&lt;br /&gt;
FwPartOffset=2000 , 2000&lt;br /&gt;
UsbHook 736999&lt;br /&gt;
powerOn 737075&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3289</id>
		<title>RK3328-SOM204</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3289"/>
		<updated>2019-06-13T09:53:45Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Flash image */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software ==&lt;br /&gt;
=== Armbian ===&lt;br /&gt;
== FAQ ==&lt;br /&gt;
=== Use alarm clock ===&lt;br /&gt;
&lt;br /&gt;
You can schedule power-on event using alarm clock.&lt;br /&gt;
&lt;br /&gt;
Set the alarm 1 minute in the future&lt;br /&gt;
  echo $(date '+%s' -d '+ 1 minutes') &amp;gt; /sys/class/rtc/rtc0/wakealarm&lt;br /&gt;
&lt;br /&gt;
Now power-off the board and wait for the wake-up alarm:&lt;br /&gt;
  poweroff&lt;br /&gt;
&lt;br /&gt;
=== Flash image to eMMC via USB ===&lt;br /&gt;
&lt;br /&gt;
==== Prepare rkdeveloptool ====&lt;br /&gt;
&lt;br /&gt;
Get sources:&lt;br /&gt;
  git clone https://github.com/rockchip-linux/rkdeveloptool&lt;br /&gt;
&lt;br /&gt;
Install requirements:&lt;br /&gt;
  sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf&lt;br /&gt;
&lt;br /&gt;
Build rkdeveloptool&lt;br /&gt;
  cd rkdeveloptool&lt;br /&gt;
  autoreconf -i&lt;br /&gt;
  ./configure&lt;br /&gt;
  make&lt;br /&gt;
&lt;br /&gt;
==== Prepare loader ====&lt;br /&gt;
&lt;br /&gt;
Get rkbin:&lt;br /&gt;
  git clone https://github.com/rockchip-linux/rkbin&lt;br /&gt;
&lt;br /&gt;
Edit configuration:&lt;br /&gt;
  cd rkbin&lt;br /&gt;
  cat &amp;gt; RKBOOT/RK3328MINIALL.ini &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
  [CHIP_NAME]&lt;br /&gt;
  NAME=RK322H&lt;br /&gt;
  [VERSION]&lt;br /&gt;
  MAJOR=2&lt;br /&gt;
  MINOR=49&lt;br /&gt;
  [CODE471_OPTION]&lt;br /&gt;
  NUM=1&lt;br /&gt;
  Path1=bin/rk33/rk3328_ddr_333MHz_v1.14.bin&lt;br /&gt;
  Sleep=1&lt;br /&gt;
  [CODE472_OPTION]&lt;br /&gt;
  NUM=1&lt;br /&gt;
  Path1=bin/rk33/rk322xh_usbplug_v2.49.bin&lt;br /&gt;
  [LOADER_OPTION]&lt;br /&gt;
  NUM=2&lt;br /&gt;
  LOADER1=FlashData&lt;br /&gt;
  LOADER2=FlashBoot&lt;br /&gt;
  FlashData=bin/rk33/rk3328_ddr_333MHz_v1.14.bin&lt;br /&gt;
  FlashBoot=bin/rk33/rk322xh_miniloader_v2.49.bin&lt;br /&gt;
  [OUTPUT]&lt;br /&gt;
  PATH=rk3328_loader_v1.14.249.bin&lt;br /&gt;
  __EOF__&lt;br /&gt;
&lt;br /&gt;
Generate loader image:&lt;br /&gt;
  ./tools/boot_merger RKBOOT/RK3328MINIALL.ini&lt;br /&gt;
&lt;br /&gt;
==== Flash image ====&lt;br /&gt;
Put device into loader mode. Plug USB-mini cable, hold '''recovery''' button and &lt;br /&gt;
press '''reset'''. Check the with:&lt;br /&gt;
  lsusb&lt;br /&gt;
&lt;br /&gt;
You should see:&lt;br /&gt;
  Bus 002 Device 035: ID 2207:330a&lt;br /&gt;
&lt;br /&gt;
Go to rkdevelop folder:&lt;br /&gt;
  cd /path/to/rkdeveloptool&lt;br /&gt;
&lt;br /&gt;
Check devices:&lt;br /&gt;
  sudo rkdeveloptool ld&lt;br /&gt;
  DevNo=1	Vid=0x2207,Pid=0x330a,LocationID=208	Maskrom&lt;br /&gt;
&lt;br /&gt;
Upload loader:&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3288</id>
		<title>RK3328-SOM204</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3288"/>
		<updated>2019-06-13T07:42:51Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Flash image to eMMC via USB */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software ==&lt;br /&gt;
=== Armbian ===&lt;br /&gt;
== FAQ ==&lt;br /&gt;
=== Use alarm clock ===&lt;br /&gt;
&lt;br /&gt;
You can schedule power-on event using alarm clock.&lt;br /&gt;
&lt;br /&gt;
Set the alarm 1 minute in the future&lt;br /&gt;
  echo $(date '+%s' -d '+ 1 minutes') &amp;gt; /sys/class/rtc/rtc0/wakealarm&lt;br /&gt;
&lt;br /&gt;
Now power-off the board and wait for the wake-up alarm:&lt;br /&gt;
  poweroff&lt;br /&gt;
&lt;br /&gt;
=== Flash image to eMMC via USB ===&lt;br /&gt;
&lt;br /&gt;
==== Prepare rkdeveloptool ====&lt;br /&gt;
&lt;br /&gt;
Get sources:&lt;br /&gt;
  git clone https://github.com/rockchip-linux/rkdeveloptool&lt;br /&gt;
&lt;br /&gt;
Install requirements:&lt;br /&gt;
  sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf&lt;br /&gt;
&lt;br /&gt;
Build rkdeveloptool&lt;br /&gt;
  cd rkdeveloptool&lt;br /&gt;
  autoreconf -i&lt;br /&gt;
  ./configure&lt;br /&gt;
  make&lt;br /&gt;
&lt;br /&gt;
==== Prepare loader ====&lt;br /&gt;
&lt;br /&gt;
Get rkbin:&lt;br /&gt;
  git clone https://github.com/rockchip-linux/rkbin&lt;br /&gt;
&lt;br /&gt;
Edit configuration:&lt;br /&gt;
  cd rkbin&lt;br /&gt;
  cat &amp;gt; RKBOOT/RK3328MINIALL.ini &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
  [CHIP_NAME]&lt;br /&gt;
  NAME=RK322H&lt;br /&gt;
  [VERSION]&lt;br /&gt;
  MAJOR=2&lt;br /&gt;
  MINOR=49&lt;br /&gt;
  [CODE471_OPTION]&lt;br /&gt;
  NUM=1&lt;br /&gt;
  Path1=bin/rk33/rk3328_ddr_333MHz_v1.14.bin&lt;br /&gt;
  Sleep=1&lt;br /&gt;
  [CODE472_OPTION]&lt;br /&gt;
  NUM=1&lt;br /&gt;
  Path1=bin/rk33/rk322xh_usbplug_v2.49.bin&lt;br /&gt;
  [LOADER_OPTION]&lt;br /&gt;
  NUM=2&lt;br /&gt;
  LOADER1=FlashData&lt;br /&gt;
  LOADER2=FlashBoot&lt;br /&gt;
  FlashData=bin/rk33/rk3328_ddr_333MHz_v1.14.bin&lt;br /&gt;
  FlashBoot=bin/rk33/rk322xh_miniloader_v2.49.bin&lt;br /&gt;
  [OUTPUT]&lt;br /&gt;
  PATH=rk3328_loader_v1.14.249.bin&lt;br /&gt;
  __EOF__&lt;br /&gt;
&lt;br /&gt;
Generate loader image:&lt;br /&gt;
  ./tools/boot_merger RKBOOT/RK3328MINIALL.ini&lt;br /&gt;
&lt;br /&gt;
==== Flash image ====&lt;br /&gt;
Put device into loader mode. Plug USB-mini cable, hold '''recovery''' button and &lt;br /&gt;
press '''reset'''. Check the with:&lt;br /&gt;
  lsusb&lt;br /&gt;
&lt;br /&gt;
You should see:&lt;br /&gt;
  Bus 002 Device 035: ID 2207:330a&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3287</id>
		<title>RK3328-SOM204</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3287"/>
		<updated>2019-06-13T06:43:59Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software ==&lt;br /&gt;
=== Armbian ===&lt;br /&gt;
== FAQ ==&lt;br /&gt;
=== Use alarm clock ===&lt;br /&gt;
&lt;br /&gt;
You can schedule power-on event using alarm clock.&lt;br /&gt;
&lt;br /&gt;
Set the alarm 1 minute in the future&lt;br /&gt;
  echo $(date '+%s' -d '+ 1 minutes') &amp;gt; /sys/class/rtc/rtc0/wakealarm&lt;br /&gt;
&lt;br /&gt;
Now power-off the board and wait for the wake-up alarm:&lt;br /&gt;
  poweroff&lt;br /&gt;
&lt;br /&gt;
=== Flash image to eMMC via USB ===&lt;br /&gt;
&lt;br /&gt;
Get sources:&lt;br /&gt;
  git clone https://github.com/rockchip-linux/rkdeveloptool&lt;br /&gt;
&lt;br /&gt;
Install requirements:&lt;br /&gt;
  sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf&lt;br /&gt;
&lt;br /&gt;
Build rkdeveloptool&lt;br /&gt;
  cd rkdeveloptool&lt;br /&gt;
  autoreconf -i&lt;br /&gt;
  ./configure&lt;br /&gt;
  make&lt;br /&gt;
&lt;br /&gt;
Put device into loader mode. Plug USB-mini cable, hold '''recovery''' button and &lt;br /&gt;
press '''reset'''. Check the with:&lt;br /&gt;
  lsusb&lt;br /&gt;
&lt;br /&gt;
You should see:&lt;br /&gt;
  Bus 002 Device 035: ID 2207:330a&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3286</id>
		<title>RK3328-SOM204</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3286"/>
		<updated>2019-06-04T08:18:25Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Flash image to eMMC via USB */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software ==&lt;br /&gt;
=== Armbian ===&lt;br /&gt;
== FAQ ==&lt;br /&gt;
=== Flash image to eMMC via USB ===&lt;br /&gt;
&lt;br /&gt;
Get sources:&lt;br /&gt;
  git clone https://github.com/rockchip-linux/rkdeveloptool&lt;br /&gt;
&lt;br /&gt;
Install requirements:&lt;br /&gt;
  sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf&lt;br /&gt;
&lt;br /&gt;
Build rkdeveloptool&lt;br /&gt;
  cd rkdeveloptool&lt;br /&gt;
  autoreconf -i&lt;br /&gt;
  ./configure&lt;br /&gt;
  make&lt;br /&gt;
&lt;br /&gt;
Put device into loader mode. Plug USB-mini cable, hold '''recovery''' button and &lt;br /&gt;
press '''reset'''. Check the with:&lt;br /&gt;
  lsusb&lt;br /&gt;
&lt;br /&gt;
You should see:&lt;br /&gt;
  Bus 002 Device 035: ID 2207:330a&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3285</id>
		<title>RK3328-SOM204</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3285"/>
		<updated>2019-06-04T08:12:31Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software ==&lt;br /&gt;
=== Armbian ===&lt;br /&gt;
== FAQ ==&lt;br /&gt;
=== Flash image to eMMC via USB ===&lt;br /&gt;
&lt;br /&gt;
Get sources:&lt;br /&gt;
  git clone https://github.com/rockchip-linux/rkdeveloptool&lt;br /&gt;
&lt;br /&gt;
Install requirements:&lt;br /&gt;
  sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf&lt;br /&gt;
&lt;br /&gt;
Build rkdeveloptool&lt;br /&gt;
  cd rkdeveloptool&lt;br /&gt;
  autoreconf -i&lt;br /&gt;
  ./configure&lt;br /&gt;
  make&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3284</id>
		<title>RK3328-SOM204</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=RK3328-SOM204&amp;diff=3284"/>
		<updated>2019-06-04T05:09:56Z</updated>

		<summary type="html">&lt;p&gt;StefanM: Created page with &amp;quot;== Software == === Armbian === == FAQ ==&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Software ==&lt;br /&gt;
=== Armbian ===&lt;br /&gt;
== FAQ ==&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=RT5350F-OLinuXino&amp;diff=3248</id>
		<title>RT5350F-OLinuXino</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=RT5350F-OLinuXino&amp;diff=3248"/>
		<updated>2019-04-05T06:27:01Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* OpenWRT 18.06 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=RT5350F-OLinuXino official images build instructions=&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
==Quick-start==&lt;br /&gt;
&lt;br /&gt;
1. Connect USB&amp;lt;-&amp;gt;serial cable between the UART0 pins of the board and your personal computer. &lt;br /&gt;
&lt;br /&gt;
2. Open your favourite serial terminal software on the COM port, created by your USB&amp;lt;-&amp;gt;serial cable. &lt;br /&gt;
&lt;br /&gt;
3. Set the baud rate for the connection to 57600. &lt;br /&gt;
&lt;br /&gt;
4. Power on RT5350F-OLinuXino-EVB.&lt;br /&gt;
&lt;br /&gt;
==Prebuilt files and system restore==&lt;br /&gt;
&lt;br /&gt;
RT5350F-OLinuXino comes with an image loaded into the SPI flash memory. If something goes wrong you can restore the original image.&lt;br /&gt;
&lt;br /&gt;
Two of the prebuilt files (bootloader.img and openwrt.bin) can be uploaded to the board via the built-in uboot. If your uboot is damaged beyond repair you might need a programmer to recover the software of the board. The other two files (that contain uboot) require a programming tool (uboot+factory.bin and uboot+factory+openwrt.bin). The board comes programmed with the image called uboot+factory+openwrt.bin. See [[#Upload prebuilt images using uboot]] or [[#Upload prebuilt images using programmer tool]].&lt;br /&gt;
&lt;br /&gt;
'''All prebuilt binary files are available for download at our GitHub page. Direct link to the location: [https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/RT5350F/Prebuilt%20images https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/RT5350F/Prebuilt%20images]''' &lt;br /&gt;
&lt;br /&gt;
The four prebuilt files available are:&lt;br /&gt;
* bootloader.img - this is only the bootloader&lt;br /&gt;
* openwrt.bin - this is only prebuilt openwrt&lt;br /&gt;
The above two can be uploaded using uboot.&lt;br /&gt;
&lt;br /&gt;
* uboot+factory.bin - this is the uboot + factory wifi settings&lt;br /&gt;
* uboot+factory+openwrt.bin - this is the uboot + factory wifi settings + openwrt&lt;br /&gt;
These two binaries can be uploaded '''only''' via programmer tool (with flashrom).&lt;br /&gt;
&lt;br /&gt;
===Upload prebuilt images using uboot===&lt;br /&gt;
Reboot the board and you'll see:&lt;br /&gt;
  U-Boot 1.1.3 (Apr 20 2015 - 13:25:55)&lt;br /&gt;
  &lt;br /&gt;
  Board: RT5350F-OLinuXino DRAM:  32 MB&lt;br /&gt;
  relocate_code Pointer at: 81fb4000&lt;br /&gt;
  spi_wait_nsec: 42 &lt;br /&gt;
  spi device id: 1c 30 17 1c 30 (30171c30)&lt;br /&gt;
  find flash: EN25Q64&lt;br /&gt;
  raspi_read: from:30000 len:1000 &lt;br /&gt;
  .*** Warning - bad CRC, using default environment&lt;br /&gt;
  &lt;br /&gt;
  ============================================================= &lt;br /&gt;
  RT5350F-OLinuXino UBoot Version: 4.0.0.0&lt;br /&gt;
  --------------------------------------------------------------&lt;br /&gt;
  ASIC 5350_MP (Port5&amp;lt;-&amp;gt;None)&lt;br /&gt;
  DRAM_CONF_FROM: Boot-Strapping &lt;br /&gt;
  DRAM_TYPE: SDRAM &lt;br /&gt;
  DRAM_SIZE: 256 Mbits&lt;br /&gt;
  DRAM_WIDTH: 16 bits&lt;br /&gt;
  DRAM_TOTAL_WIDTH: 16 bits&lt;br /&gt;
  TOTAL_MEMORY_SIZE: 32 MBytes&lt;br /&gt;
  Flash component: SPI Flash&lt;br /&gt;
  Date:Apr 20 2015  Time:13:25:55&lt;br /&gt;
  ============================================ &lt;br /&gt;
  icache: sets:256, ways:4, linesz:32 ,total:32768&lt;br /&gt;
  dcache: sets:128, ways:4, linesz:32 ,total:16384 &lt;br /&gt;
&lt;br /&gt;
   ##### The CPU freq = 360 MHZ #### &lt;br /&gt;
   estimate memory size =32 Mbytes&lt;br /&gt;
&lt;br /&gt;
  Please choose the operation: &lt;br /&gt;
     1: Load system code to SDRAM via TFTP. &lt;br /&gt;
     2: Load system code then write to Flash via TFTP. &lt;br /&gt;
     3: Boot system code via Flash (default).&lt;br /&gt;
     4: Entr boot command line interface.&lt;br /&gt;
     7: Load Boot Loader code then write to Flash via Serial. &lt;br /&gt;
     9: Load Boot Loader code then write to Flash via TFTP.&lt;br /&gt;
&lt;br /&gt;
===Upload prebuilt OpenWRT using uboot===&lt;br /&gt;
&lt;br /&gt;
Press 2, then y and enter some values for ip, server ip and filename:&lt;br /&gt;
&lt;br /&gt;
  You choosed 2&lt;br /&gt;
  2: System Load Linux Kernel then write to Flash via TFTP. &lt;br /&gt;
   Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)&lt;br /&gt;
   Please Input new ones /or Ctrl-C to discard&lt;br /&gt;
          Input device IP (10.10.10.123) ==:10.10.10.123&lt;br /&gt;
          Input server IP (10.10.10.3) ==:10.10.10.3&lt;br /&gt;
          Input Linux Kernel filename () ==:file.bin&lt;br /&gt;
&lt;br /&gt;
Then your new system will boot.&lt;br /&gt;
&lt;br /&gt;
===Upload prebuilt uboot===&lt;br /&gt;
&lt;br /&gt;
Press 9, then again enter ip address, server ip and filename to upload:&lt;br /&gt;
&lt;br /&gt;
  You choosed 9&lt;br /&gt;
  &lt;br /&gt;
   0 &lt;br /&gt;
  raspi_read: from:40028 len:6 &lt;br /&gt;
  .&lt;br /&gt;
     &lt;br /&gt;
  9: System Load Boot Loader then write to Flash via TFTP. &lt;br /&gt;
   Warning!! Erase Boot Loader in Flash then burn new one. Are you sure?(Y/N)  &lt;br /&gt;
&lt;br /&gt;
Press '''Y''' and continue:&lt;br /&gt;
&lt;br /&gt;
  Input device IP (10.10.10.123) ==:10.10.10.123&lt;br /&gt;
Enter some static address for the device, for example ''192.168.0.201''.&lt;br /&gt;
&lt;br /&gt;
Next enter server address, for example ''192.168.0.15'':&lt;br /&gt;
&lt;br /&gt;
  Input server IP (10.10.10.3) ==:192.168.0.15&lt;br /&gt;
&lt;br /&gt;
Finally enter filename:&lt;br /&gt;
&lt;br /&gt;
  Input Uboot filename () ==:bootloader.img&lt;br /&gt;
&lt;br /&gt;
'''Don't forget to plug LAN cable.''' You should see something like that:&lt;br /&gt;
&lt;br /&gt;
  Got it&lt;br /&gt;
  #####################&lt;br /&gt;
  done&lt;br /&gt;
  Bytes transferred = 106976 (1a1e0 hex)&lt;br /&gt;
  NetBootFileXferSize= 0001a1e0&lt;br /&gt;
  raspi_erase_write: offs:0, count:1a1e0&lt;br /&gt;
  raspi_erase: offs:0 len:10000&lt;br /&gt;
  .&lt;br /&gt;
  raspi_write: to:0 len:10000 &lt;br /&gt;
  .&lt;br /&gt;
  raspi_read: from:0 len:10000 &lt;br /&gt;
  .raspi_read: from:10000 len:10000 &lt;br /&gt;
  .raspi_erase: offs:10000 len:10000&lt;br /&gt;
  .&lt;br /&gt;
  raspi_write: to:10000 len:10000 &lt;br /&gt;
  .&lt;br /&gt;
  raspi_read: from:10000 len:10000 &lt;br /&gt;
  .Done!&lt;br /&gt;
&lt;br /&gt;
===Upload prebuilt images using programmer tool===&lt;br /&gt;
&lt;br /&gt;
We will use [https://www.olimex.com/Products/ARM/JTAG/ARM-USB-OCD/ ARM-USB-OCD]. It has FT2232 chip which can be used to in SPI master mode. You can also use ARM-USB-TINY; ARM-USB-TINY-H; ARM-USB-OCD-H or any FT2232-based debugger. &lt;br /&gt;
&lt;br /&gt;
Connect ARM-USB-OCD with RT5350F-OLinuXino-EVB according the schematic below (for the blue wire GND you can also use other GND pins available at the board; the GND is common):&lt;br /&gt;
&lt;br /&gt;
[[File:Arm-usb-ocd.png|480px]]&lt;br /&gt;
&lt;br /&gt;
'''RST_RT''' jumper MUST be closed. Then power the board to become ready writing.&lt;br /&gt;
&lt;br /&gt;
Download flashrom software and build it using instructions on the site. &lt;br /&gt;
&lt;br /&gt;
To program the SPI flash run:&lt;br /&gt;
 flashrom -p ft2232_spi:type=arm-usb-ocd -w file.bin&lt;br /&gt;
&lt;br /&gt;
Then wait some minutes for process to complete.&lt;br /&gt;
&lt;br /&gt;
==Building uboot==&lt;br /&gt;
&lt;br /&gt;
Get the sources from:&lt;br /&gt;
  git clone https://github.com/OLIMEX/u-boot_RT5350F-OLinuXino&lt;br /&gt;
  cd u-boot_RT5350F-OLinuXino&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;Target must be build with gcc3.4!&amp;lt;/span&amp;gt; This is very important because with another versions of GCC the build process will fail. You can find that version from '''Ralink SDK'''. Use Google to find it.&lt;br /&gt;
&lt;br /&gt;
Run&lt;br /&gt;
  make menuconfig&lt;br /&gt;
&lt;br /&gt;
You'll see that the default location is /opt/buildroot-gcc342/bin. Change that with your path.&lt;br /&gt;
&lt;br /&gt;
To actually build u-boot run:&lt;br /&gt;
  make&lt;br /&gt;
&lt;br /&gt;
At the end of the process you'll see something like this&lt;br /&gt;
&lt;br /&gt;
  ===============&amp;lt;&amp;lt;IMPORTANT&amp;gt;&amp;gt;==================&lt;br /&gt;
  Notes:Uboot firmware in flash is uboot.img NOT uboot.bin&lt;br /&gt;
  ================================================&lt;br /&gt;
  &lt;br /&gt;
  ./tools/mkimage -A mips -T standalone -C none \&lt;br /&gt;
          -a 0x80200000 -e 0x80200000 \&lt;br /&gt;
          -n &amp;quot;SPI Flash Image&amp;quot; \&lt;br /&gt;
          -r SDR -s 16 -t 32 -u 16 \&lt;br /&gt;
          -y 0x0 -z 0x0 -w 0xFF -d uboot.bin uboot.img&lt;br /&gt;
  Image Name:   SPI Flash Image&lt;br /&gt;
  Created:      Thu May 14 08:23:19 2015&lt;br /&gt;
  Image Type:   MIPS Linux Standalone Program (uncompressed)&lt;br /&gt;
  Data Size:    106912 Bytes = 104.41 kB = 0.10 MB&lt;br /&gt;
  Load Address: 0x80200000&lt;br /&gt;
  Entry Point:  0x80200000&lt;br /&gt;
  DRAM Parameter: 6 (Parm0=0 Parm1=0)&lt;br /&gt;
&lt;br /&gt;
The image '''uboot.img''' can be uploaded via tftp.&lt;br /&gt;
&lt;br /&gt;
==Building OpenWRT==&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT 18.06 ===&lt;br /&gt;
&lt;br /&gt;
Download sources:&lt;br /&gt;
 git clone https://github.com/OLIMEX/openwrt -b evb+/18.06&lt;br /&gt;
&lt;br /&gt;
Go into openwrt directory:&lt;br /&gt;
 cd openwrt&lt;br /&gt;
&lt;br /&gt;
Update and install feeds:&lt;br /&gt;
 ./scripts/feeds update -a&lt;br /&gt;
 ./scripts/feeds install -a&lt;br /&gt;
&lt;br /&gt;
Apply config:&lt;br /&gt;
 cat &amp;gt; .config &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 CONFIG_TARGET_ramips=y&lt;br /&gt;
 CONFIG_TARGET_ramips_rt305x=y&lt;br /&gt;
 CONFIG_TARGET_MULTI_PROFILE=y&lt;br /&gt;
 CONFIG_TARGET_DEVICE_ramips_rt305x_DEVICE_rt5350f-olinuxino=y&lt;br /&gt;
 CONFIG_TARGET_DEVICE_ramips_rt305x_DEVICE_rt5350f-olinuxino-evb=y&lt;br /&gt;
 CONFIG_TARGET_DEVICE_ramips_rt305x_DEVICE_rt5350f-olinuxino-evb-plus=y&lt;br /&gt;
 # CONFIG_FEED_luci is not set&lt;br /&gt;
 # CONFIG_FEED_packages is not set&lt;br /&gt;
 # CONFIG_FEED_routing is not set&lt;br /&gt;
 # CONFIG_FEED_telephony is not set&lt;br /&gt;
 CONFIG_PACKAGE_block-mount=y&lt;br /&gt;
 CONFIG_PACKAGE_i2c-tools=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-crypto-crc32c=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-crypto-hash=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-fs-ext4=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-fs-ntfs=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-fs-vfat=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-lib-crc16=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-nls-cp437=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-nls-iso8859-1=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-nls-utf8=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-scsi-core=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-usb-storage=y&lt;br /&gt;
 CONFIG_PACKAGE_libiwinfo-lua=y&lt;br /&gt;
 CONFIG_PACKAGE_liblua=y&lt;br /&gt;
 CONFIG_PACKAGE_liblucihttp=y&lt;br /&gt;
 CONFIG_PACKAGE_liblucihttp-lua=y&lt;br /&gt;
 CONFIG_PACKAGE_libubus-lua=y&lt;br /&gt;
 CONFIG_PACKAGE_lua=y&lt;br /&gt;
 CONFIG_PACKAGE_luci=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-app-firewall=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-base=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-lib-ip=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-lib-jsonc=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-lib-nixio=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-mod-admin-full=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-proto-ipv6=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-proto-ppp=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-theme-bootstrap=y&lt;br /&gt;
 CONFIG_PACKAGE_rpcd=y&lt;br /&gt;
 CONFIG_PACKAGE_rpcd-mod-rrdns=y&lt;br /&gt;
 CONFIG_PACKAGE_uhttpd=y&lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Expand to full config:&lt;br /&gt;
 make defconfig&lt;br /&gt;
&lt;br /&gt;
Make some modifications with:&lt;br /&gt;
 make menuconfig&lt;br /&gt;
&lt;br /&gt;
Build the images:&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Target images can be found in '''bin/targets/ramips/rt305x/''':&lt;br /&gt;
 tree bin/targets/ramips/rt305x/&lt;br /&gt;
 bin/targets/ramips/rt305x/&lt;br /&gt;
 |-- config.seed&lt;br /&gt;
 |-- openwrt-ramips-rt305x-device-rt5350f-olinuxino-evb-plus.manifest&lt;br /&gt;
 |-- openwrt-ramips-rt305x.manifest&lt;br /&gt;
 |-- openwrt-ramips-rt305x-root.squashfs&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-evb-initramfs-kernel.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-evb-plus-initramfs-kernel.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-evb-plus-squashfs-sysupgrade.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-evb-squashfs-sysupgrade.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-initramfs-kernel.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-squashfs-sysupgrade.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-uImage.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-uImage-initramfs.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-vmlinux.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-vmlinux.elf&lt;br /&gt;
 |-- openwrt-ramips-rt305x-vmlinux-initramfs.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-vmlinux-initramfs.elf&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT ===&lt;br /&gt;
Make a directory:&lt;br /&gt;
  # mkdir some_dir&lt;br /&gt;
  # cd some_dir&lt;br /&gt;
&lt;br /&gt;
Download sources:&lt;br /&gt;
  # git clone https://github.com/OLIMEX/openwrt -b rt5350f&lt;br /&gt;
&lt;br /&gt;
Go into openwrt directory:&lt;br /&gt;
  # cd openwrt&lt;br /&gt;
&lt;br /&gt;
You can use our config:&lt;br /&gt;
 # make&lt;br /&gt;
&lt;br /&gt;
or if you want to change something:&lt;br /&gt;
 # make menuconfig&lt;br /&gt;
 # make&lt;br /&gt;
&lt;br /&gt;
After some time build will finish. The image is found under:&lt;br /&gt;
  '''build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_rt305x/\'''&lt;br /&gt;
  '''openwrt-ramips-rt305x-olinuxino-rt5350f-squashfs-sysupgrade.bin'''&lt;br /&gt;
&lt;br /&gt;
Place that file on some tftp server and then upload it to the board.&lt;br /&gt;
&lt;br /&gt;
=Demo projects=&lt;br /&gt;
&lt;br /&gt;
*First steps video with RT5350F-OLinuXino-EVB by Leon Anavi: [https://www.youtube.com/watch?v=-MsywWtN79c https://www.youtube.com/watch?v=-MsywWtN79c]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Images changelog =&lt;br /&gt;
&lt;br /&gt;
== Release-3 (03 APR 2019) ==&lt;br /&gt;
* Upgrade OpenWRT to 18.06&lt;br /&gt;
* Added support for RT5350-OLinuXino-EVB+&lt;br /&gt;
&lt;br /&gt;
== Release-2 (06 JUL 2015) ==&lt;br /&gt;
* Upgraded kernel version to 3.18.17&lt;br /&gt;
* Inverted wlan led polarity - this way it blink when WiFi is on&lt;br /&gt;
* Fixed firmware partition size - https://github.com/OLIMEX/openwrt/issues/1&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=RT5350F-OLinuXino&amp;diff=3247</id>
		<title>RT5350F-OLinuXino</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=RT5350F-OLinuXino&amp;diff=3247"/>
		<updated>2019-04-03T13:27:01Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Release-2 (06 JUL 2015) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=RT5350F-OLinuXino official images build instructions=&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
==Quick-start==&lt;br /&gt;
&lt;br /&gt;
1. Connect USB&amp;lt;-&amp;gt;serial cable between the UART0 pins of the board and your personal computer. &lt;br /&gt;
&lt;br /&gt;
2. Open your favourite serial terminal software on the COM port, created by your USB&amp;lt;-&amp;gt;serial cable. &lt;br /&gt;
&lt;br /&gt;
3. Set the baud rate for the connection to 57600. &lt;br /&gt;
&lt;br /&gt;
4. Power on RT5350F-OLinuXino-EVB.&lt;br /&gt;
&lt;br /&gt;
==Prebuilt files and system restore==&lt;br /&gt;
&lt;br /&gt;
RT5350F-OLinuXino comes with an image loaded into the SPI flash memory. If something goes wrong you can restore the original image.&lt;br /&gt;
&lt;br /&gt;
Two of the prebuilt files (bootloader.img and openwrt.bin) can be uploaded to the board via the built-in uboot. If your uboot is damaged beyond repair you might need a programmer to recover the software of the board. The other two files (that contain uboot) require a programming tool (uboot+factory.bin and uboot+factory+openwrt.bin). The board comes programmed with the image called uboot+factory+openwrt.bin. See [[#Upload prebuilt images using uboot]] or [[#Upload prebuilt images using programmer tool]].&lt;br /&gt;
&lt;br /&gt;
'''All prebuilt binary files are available for download at our GitHub page. Direct link to the location: [https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/RT5350F/Prebuilt%20images https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/RT5350F/Prebuilt%20images]''' &lt;br /&gt;
&lt;br /&gt;
The four prebuilt files available are:&lt;br /&gt;
* bootloader.img - this is only the bootloader&lt;br /&gt;
* openwrt.bin - this is only prebuilt openwrt&lt;br /&gt;
The above two can be uploaded using uboot.&lt;br /&gt;
&lt;br /&gt;
* uboot+factory.bin - this is the uboot + factory wifi settings&lt;br /&gt;
* uboot+factory+openwrt.bin - this is the uboot + factory wifi settings + openwrt&lt;br /&gt;
These two binaries can be uploaded '''only''' via programmer tool (with flashrom).&lt;br /&gt;
&lt;br /&gt;
===Upload prebuilt images using uboot===&lt;br /&gt;
Reboot the board and you'll see:&lt;br /&gt;
  U-Boot 1.1.3 (Apr 20 2015 - 13:25:55)&lt;br /&gt;
  &lt;br /&gt;
  Board: RT5350F-OLinuXino DRAM:  32 MB&lt;br /&gt;
  relocate_code Pointer at: 81fb4000&lt;br /&gt;
  spi_wait_nsec: 42 &lt;br /&gt;
  spi device id: 1c 30 17 1c 30 (30171c30)&lt;br /&gt;
  find flash: EN25Q64&lt;br /&gt;
  raspi_read: from:30000 len:1000 &lt;br /&gt;
  .*** Warning - bad CRC, using default environment&lt;br /&gt;
  &lt;br /&gt;
  ============================================================= &lt;br /&gt;
  RT5350F-OLinuXino UBoot Version: 4.0.0.0&lt;br /&gt;
  --------------------------------------------------------------&lt;br /&gt;
  ASIC 5350_MP (Port5&amp;lt;-&amp;gt;None)&lt;br /&gt;
  DRAM_CONF_FROM: Boot-Strapping &lt;br /&gt;
  DRAM_TYPE: SDRAM &lt;br /&gt;
  DRAM_SIZE: 256 Mbits&lt;br /&gt;
  DRAM_WIDTH: 16 bits&lt;br /&gt;
  DRAM_TOTAL_WIDTH: 16 bits&lt;br /&gt;
  TOTAL_MEMORY_SIZE: 32 MBytes&lt;br /&gt;
  Flash component: SPI Flash&lt;br /&gt;
  Date:Apr 20 2015  Time:13:25:55&lt;br /&gt;
  ============================================ &lt;br /&gt;
  icache: sets:256, ways:4, linesz:32 ,total:32768&lt;br /&gt;
  dcache: sets:128, ways:4, linesz:32 ,total:16384 &lt;br /&gt;
&lt;br /&gt;
   ##### The CPU freq = 360 MHZ #### &lt;br /&gt;
   estimate memory size =32 Mbytes&lt;br /&gt;
&lt;br /&gt;
  Please choose the operation: &lt;br /&gt;
     1: Load system code to SDRAM via TFTP. &lt;br /&gt;
     2: Load system code then write to Flash via TFTP. &lt;br /&gt;
     3: Boot system code via Flash (default).&lt;br /&gt;
     4: Entr boot command line interface.&lt;br /&gt;
     7: Load Boot Loader code then write to Flash via Serial. &lt;br /&gt;
     9: Load Boot Loader code then write to Flash via TFTP.&lt;br /&gt;
&lt;br /&gt;
===Upload prebuilt OpenWRT using uboot===&lt;br /&gt;
&lt;br /&gt;
Press 2, then y and enter some values for ip, server ip and filename:&lt;br /&gt;
&lt;br /&gt;
  You choosed 2&lt;br /&gt;
  2: System Load Linux Kernel then write to Flash via TFTP. &lt;br /&gt;
   Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)&lt;br /&gt;
   Please Input new ones /or Ctrl-C to discard&lt;br /&gt;
          Input device IP (10.10.10.123) ==:10.10.10.123&lt;br /&gt;
          Input server IP (10.10.10.3) ==:10.10.10.3&lt;br /&gt;
          Input Linux Kernel filename () ==:file.bin&lt;br /&gt;
&lt;br /&gt;
Then your new system will boot.&lt;br /&gt;
&lt;br /&gt;
===Upload prebuilt uboot===&lt;br /&gt;
&lt;br /&gt;
Press 9, then again enter ip address, server ip and filename to upload:&lt;br /&gt;
&lt;br /&gt;
  You choosed 9&lt;br /&gt;
  &lt;br /&gt;
   0 &lt;br /&gt;
  raspi_read: from:40028 len:6 &lt;br /&gt;
  .&lt;br /&gt;
     &lt;br /&gt;
  9: System Load Boot Loader then write to Flash via TFTP. &lt;br /&gt;
   Warning!! Erase Boot Loader in Flash then burn new one. Are you sure?(Y/N)  &lt;br /&gt;
&lt;br /&gt;
Press '''Y''' and continue:&lt;br /&gt;
&lt;br /&gt;
  Input device IP (10.10.10.123) ==:10.10.10.123&lt;br /&gt;
Enter some static address for the device, for example ''192.168.0.201''.&lt;br /&gt;
&lt;br /&gt;
Next enter server address, for example ''192.168.0.15'':&lt;br /&gt;
&lt;br /&gt;
  Input server IP (10.10.10.3) ==:192.168.0.15&lt;br /&gt;
&lt;br /&gt;
Finally enter filename:&lt;br /&gt;
&lt;br /&gt;
  Input Uboot filename () ==:bootloader.img&lt;br /&gt;
&lt;br /&gt;
'''Don't forget to plug LAN cable.''' You should see something like that:&lt;br /&gt;
&lt;br /&gt;
  Got it&lt;br /&gt;
  #####################&lt;br /&gt;
  done&lt;br /&gt;
  Bytes transferred = 106976 (1a1e0 hex)&lt;br /&gt;
  NetBootFileXferSize= 0001a1e0&lt;br /&gt;
  raspi_erase_write: offs:0, count:1a1e0&lt;br /&gt;
  raspi_erase: offs:0 len:10000&lt;br /&gt;
  .&lt;br /&gt;
  raspi_write: to:0 len:10000 &lt;br /&gt;
  .&lt;br /&gt;
  raspi_read: from:0 len:10000 &lt;br /&gt;
  .raspi_read: from:10000 len:10000 &lt;br /&gt;
  .raspi_erase: offs:10000 len:10000&lt;br /&gt;
  .&lt;br /&gt;
  raspi_write: to:10000 len:10000 &lt;br /&gt;
  .&lt;br /&gt;
  raspi_read: from:10000 len:10000 &lt;br /&gt;
  .Done!&lt;br /&gt;
&lt;br /&gt;
===Upload prebuilt images using programmer tool===&lt;br /&gt;
&lt;br /&gt;
We will use [https://www.olimex.com/Products/ARM/JTAG/ARM-USB-OCD/ ARM-USB-OCD]. It has FT2232 chip which can be used to in SPI master mode. You can also use ARM-USB-TINY; ARM-USB-TINY-H; ARM-USB-OCD-H or any FT2232-based debugger. &lt;br /&gt;
&lt;br /&gt;
Connect ARM-USB-OCD with RT5350F-OLinuXino-EVB according the schematic below (for the blue wire GND you can also use other GND pins available at the board; the GND is common):&lt;br /&gt;
&lt;br /&gt;
[[File:Arm-usb-ocd.png|480px]]&lt;br /&gt;
&lt;br /&gt;
'''RST_RT''' jumper MUST be closed. Then power the board to become ready writing.&lt;br /&gt;
&lt;br /&gt;
Download flashrom software and build it using instructions on the site. &lt;br /&gt;
&lt;br /&gt;
To program the SPI flash run:&lt;br /&gt;
 flashrom -p ft2232_spi:type=arm-usb-ocd -w file.bin&lt;br /&gt;
&lt;br /&gt;
Then wait some minutes for process to complete.&lt;br /&gt;
&lt;br /&gt;
==Building uboot==&lt;br /&gt;
&lt;br /&gt;
Get the sources from:&lt;br /&gt;
  git clone https://github.com/OLIMEX/u-boot_RT5350F-OLinuXino&lt;br /&gt;
  cd u-boot_RT5350F-OLinuXino&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;Target must be build with gcc3.4!&amp;lt;/span&amp;gt; This is very important because with another versions of GCC the build process will fail. You can find that version from '''Ralink SDK'''. Use Google to find it.&lt;br /&gt;
&lt;br /&gt;
Run&lt;br /&gt;
  make menuconfig&lt;br /&gt;
&lt;br /&gt;
You'll see that the default location is /opt/buildroot-gcc342/bin. Change that with your path.&lt;br /&gt;
&lt;br /&gt;
To actually build u-boot run:&lt;br /&gt;
  make&lt;br /&gt;
&lt;br /&gt;
At the end of the process you'll see something like this&lt;br /&gt;
&lt;br /&gt;
  ===============&amp;lt;&amp;lt;IMPORTANT&amp;gt;&amp;gt;==================&lt;br /&gt;
  Notes:Uboot firmware in flash is uboot.img NOT uboot.bin&lt;br /&gt;
  ================================================&lt;br /&gt;
  &lt;br /&gt;
  ./tools/mkimage -A mips -T standalone -C none \&lt;br /&gt;
          -a 0x80200000 -e 0x80200000 \&lt;br /&gt;
          -n &amp;quot;SPI Flash Image&amp;quot; \&lt;br /&gt;
          -r SDR -s 16 -t 32 -u 16 \&lt;br /&gt;
          -y 0x0 -z 0x0 -w 0xFF -d uboot.bin uboot.img&lt;br /&gt;
  Image Name:   SPI Flash Image&lt;br /&gt;
  Created:      Thu May 14 08:23:19 2015&lt;br /&gt;
  Image Type:   MIPS Linux Standalone Program (uncompressed)&lt;br /&gt;
  Data Size:    106912 Bytes = 104.41 kB = 0.10 MB&lt;br /&gt;
  Load Address: 0x80200000&lt;br /&gt;
  Entry Point:  0x80200000&lt;br /&gt;
  DRAM Parameter: 6 (Parm0=0 Parm1=0)&lt;br /&gt;
&lt;br /&gt;
The image '''uboot.img''' can be uploaded via tftp.&lt;br /&gt;
&lt;br /&gt;
==Building OpenWRT==&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT 18.06 ===&lt;br /&gt;
&lt;br /&gt;
Download sources:&lt;br /&gt;
 git clone https://github.com/OLIMEX/openwrt -b evb+/18.06&lt;br /&gt;
&lt;br /&gt;
Go into openwrt directory:&lt;br /&gt;
 cd openwrt&lt;br /&gt;
&lt;br /&gt;
Apply config:&lt;br /&gt;
 cat &amp;gt; .config &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 CONFIG_TARGET_ramips=y&lt;br /&gt;
 CONFIG_TARGET_ramips_rt305x=y&lt;br /&gt;
 CONFIG_TARGET_MULTI_PROFILE=y&lt;br /&gt;
 CONFIG_TARGET_DEVICE_ramips_rt305x_DEVICE_rt5350f-olinuxino=y&lt;br /&gt;
 CONFIG_TARGET_DEVICE_ramips_rt305x_DEVICE_rt5350f-olinuxino-evb=y&lt;br /&gt;
 CONFIG_TARGET_DEVICE_ramips_rt305x_DEVICE_rt5350f-olinuxino-evb-plus=y&lt;br /&gt;
 # CONFIG_FEED_luci is not set&lt;br /&gt;
 # CONFIG_FEED_packages is not set&lt;br /&gt;
 # CONFIG_FEED_routing is not set&lt;br /&gt;
 # CONFIG_FEED_telephony is not set&lt;br /&gt;
 CONFIG_PACKAGE_block-mount=y&lt;br /&gt;
 CONFIG_PACKAGE_i2c-tools=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-crypto-crc32c=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-crypto-hash=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-fs-ext4=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-fs-ntfs=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-fs-vfat=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-lib-crc16=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-nls-cp437=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-nls-iso8859-1=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-nls-utf8=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-scsi-core=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-usb-storage=y&lt;br /&gt;
 CONFIG_PACKAGE_libiwinfo-lua=y&lt;br /&gt;
 CONFIG_PACKAGE_liblua=y&lt;br /&gt;
 CONFIG_PACKAGE_liblucihttp=y&lt;br /&gt;
 CONFIG_PACKAGE_liblucihttp-lua=y&lt;br /&gt;
 CONFIG_PACKAGE_libubus-lua=y&lt;br /&gt;
 CONFIG_PACKAGE_lua=y&lt;br /&gt;
 CONFIG_PACKAGE_luci=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-app-firewall=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-base=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-lib-ip=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-lib-jsonc=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-lib-nixio=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-mod-admin-full=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-proto-ipv6=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-proto-ppp=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-theme-bootstrap=y&lt;br /&gt;
 CONFIG_PACKAGE_rpcd=y&lt;br /&gt;
 CONFIG_PACKAGE_rpcd-mod-rrdns=y&lt;br /&gt;
 CONFIG_PACKAGE_uhttpd=y&lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Expand to full config:&lt;br /&gt;
 make defconfig&lt;br /&gt;
&lt;br /&gt;
Make some modifications with:&lt;br /&gt;
 make menuconfig&lt;br /&gt;
&lt;br /&gt;
Build the images:&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Target images can be found in '''bin/targets/ramips/rt305x/''':&lt;br /&gt;
 tree bin/targets/ramips/rt305x/&lt;br /&gt;
 bin/targets/ramips/rt305x/&lt;br /&gt;
 |-- config.seed&lt;br /&gt;
 |-- openwrt-ramips-rt305x-device-rt5350f-olinuxino-evb-plus.manifest&lt;br /&gt;
 |-- openwrt-ramips-rt305x.manifest&lt;br /&gt;
 |-- openwrt-ramips-rt305x-root.squashfs&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-evb-initramfs-kernel.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-evb-plus-initramfs-kernel.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-evb-plus-squashfs-sysupgrade.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-evb-squashfs-sysupgrade.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-initramfs-kernel.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-squashfs-sysupgrade.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-uImage.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-uImage-initramfs.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-vmlinux.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-vmlinux.elf&lt;br /&gt;
 |-- openwrt-ramips-rt305x-vmlinux-initramfs.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-vmlinux-initramfs.elf&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
=== OpenWRT ===&lt;br /&gt;
Make a directory:&lt;br /&gt;
  # mkdir some_dir&lt;br /&gt;
  # cd some_dir&lt;br /&gt;
&lt;br /&gt;
Download sources:&lt;br /&gt;
  # git clone https://github.com/OLIMEX/openwrt -b rt5350f&lt;br /&gt;
&lt;br /&gt;
Go into openwrt directory:&lt;br /&gt;
  # cd openwrt&lt;br /&gt;
&lt;br /&gt;
You can use our config:&lt;br /&gt;
 # make&lt;br /&gt;
&lt;br /&gt;
or if you want to change something:&lt;br /&gt;
 # make menuconfig&lt;br /&gt;
 # make&lt;br /&gt;
&lt;br /&gt;
After some time build will finish. The image is found under:&lt;br /&gt;
  '''build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_rt305x/\'''&lt;br /&gt;
  '''openwrt-ramips-rt305x-olinuxino-rt5350f-squashfs-sysupgrade.bin'''&lt;br /&gt;
&lt;br /&gt;
Place that file on some tftp server and then upload it to the board.&lt;br /&gt;
&lt;br /&gt;
=Demo projects=&lt;br /&gt;
&lt;br /&gt;
*First steps video with RT5350F-OLinuXino-EVB by Leon Anavi: [https://www.youtube.com/watch?v=-MsywWtN79c https://www.youtube.com/watch?v=-MsywWtN79c]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Images changelog =&lt;br /&gt;
&lt;br /&gt;
== Release-3 (03 APR 2019) ==&lt;br /&gt;
* Upgrade OpenWRT to 18.06&lt;br /&gt;
* Added support for RT5350-OLinuXino-EVB+&lt;br /&gt;
&lt;br /&gt;
== Release-2 (06 JUL 2015) ==&lt;br /&gt;
* Upgraded kernel version to 3.18.17&lt;br /&gt;
* Inverted wlan led polarity - this way it blink when WiFi is on&lt;br /&gt;
* Fixed firmware partition size - https://github.com/OLIMEX/openwrt/issues/1&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=RT5350F-OLinuXino&amp;diff=3246</id>
		<title>RT5350F-OLinuXino</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=RT5350F-OLinuXino&amp;diff=3246"/>
		<updated>2019-04-03T13:24:20Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Building OpenWRT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=RT5350F-OLinuXino official images build instructions=&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
==Quick-start==&lt;br /&gt;
&lt;br /&gt;
1. Connect USB&amp;lt;-&amp;gt;serial cable between the UART0 pins of the board and your personal computer. &lt;br /&gt;
&lt;br /&gt;
2. Open your favourite serial terminal software on the COM port, created by your USB&amp;lt;-&amp;gt;serial cable. &lt;br /&gt;
&lt;br /&gt;
3. Set the baud rate for the connection to 57600. &lt;br /&gt;
&lt;br /&gt;
4. Power on RT5350F-OLinuXino-EVB.&lt;br /&gt;
&lt;br /&gt;
==Prebuilt files and system restore==&lt;br /&gt;
&lt;br /&gt;
RT5350F-OLinuXino comes with an image loaded into the SPI flash memory. If something goes wrong you can restore the original image.&lt;br /&gt;
&lt;br /&gt;
Two of the prebuilt files (bootloader.img and openwrt.bin) can be uploaded to the board via the built-in uboot. If your uboot is damaged beyond repair you might need a programmer to recover the software of the board. The other two files (that contain uboot) require a programming tool (uboot+factory.bin and uboot+factory+openwrt.bin). The board comes programmed with the image called uboot+factory+openwrt.bin. See [[#Upload prebuilt images using uboot]] or [[#Upload prebuilt images using programmer tool]].&lt;br /&gt;
&lt;br /&gt;
'''All prebuilt binary files are available for download at our GitHub page. Direct link to the location: [https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/RT5350F/Prebuilt%20images https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/RT5350F/Prebuilt%20images]''' &lt;br /&gt;
&lt;br /&gt;
The four prebuilt files available are:&lt;br /&gt;
* bootloader.img - this is only the bootloader&lt;br /&gt;
* openwrt.bin - this is only prebuilt openwrt&lt;br /&gt;
The above two can be uploaded using uboot.&lt;br /&gt;
&lt;br /&gt;
* uboot+factory.bin - this is the uboot + factory wifi settings&lt;br /&gt;
* uboot+factory+openwrt.bin - this is the uboot + factory wifi settings + openwrt&lt;br /&gt;
These two binaries can be uploaded '''only''' via programmer tool (with flashrom).&lt;br /&gt;
&lt;br /&gt;
===Upload prebuilt images using uboot===&lt;br /&gt;
Reboot the board and you'll see:&lt;br /&gt;
  U-Boot 1.1.3 (Apr 20 2015 - 13:25:55)&lt;br /&gt;
  &lt;br /&gt;
  Board: RT5350F-OLinuXino DRAM:  32 MB&lt;br /&gt;
  relocate_code Pointer at: 81fb4000&lt;br /&gt;
  spi_wait_nsec: 42 &lt;br /&gt;
  spi device id: 1c 30 17 1c 30 (30171c30)&lt;br /&gt;
  find flash: EN25Q64&lt;br /&gt;
  raspi_read: from:30000 len:1000 &lt;br /&gt;
  .*** Warning - bad CRC, using default environment&lt;br /&gt;
  &lt;br /&gt;
  ============================================================= &lt;br /&gt;
  RT5350F-OLinuXino UBoot Version: 4.0.0.0&lt;br /&gt;
  --------------------------------------------------------------&lt;br /&gt;
  ASIC 5350_MP (Port5&amp;lt;-&amp;gt;None)&lt;br /&gt;
  DRAM_CONF_FROM: Boot-Strapping &lt;br /&gt;
  DRAM_TYPE: SDRAM &lt;br /&gt;
  DRAM_SIZE: 256 Mbits&lt;br /&gt;
  DRAM_WIDTH: 16 bits&lt;br /&gt;
  DRAM_TOTAL_WIDTH: 16 bits&lt;br /&gt;
  TOTAL_MEMORY_SIZE: 32 MBytes&lt;br /&gt;
  Flash component: SPI Flash&lt;br /&gt;
  Date:Apr 20 2015  Time:13:25:55&lt;br /&gt;
  ============================================ &lt;br /&gt;
  icache: sets:256, ways:4, linesz:32 ,total:32768&lt;br /&gt;
  dcache: sets:128, ways:4, linesz:32 ,total:16384 &lt;br /&gt;
&lt;br /&gt;
   ##### The CPU freq = 360 MHZ #### &lt;br /&gt;
   estimate memory size =32 Mbytes&lt;br /&gt;
&lt;br /&gt;
  Please choose the operation: &lt;br /&gt;
     1: Load system code to SDRAM via TFTP. &lt;br /&gt;
     2: Load system code then write to Flash via TFTP. &lt;br /&gt;
     3: Boot system code via Flash (default).&lt;br /&gt;
     4: Entr boot command line interface.&lt;br /&gt;
     7: Load Boot Loader code then write to Flash via Serial. &lt;br /&gt;
     9: Load Boot Loader code then write to Flash via TFTP.&lt;br /&gt;
&lt;br /&gt;
===Upload prebuilt OpenWRT using uboot===&lt;br /&gt;
&lt;br /&gt;
Press 2, then y and enter some values for ip, server ip and filename:&lt;br /&gt;
&lt;br /&gt;
  You choosed 2&lt;br /&gt;
  2: System Load Linux Kernel then write to Flash via TFTP. &lt;br /&gt;
   Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)&lt;br /&gt;
   Please Input new ones /or Ctrl-C to discard&lt;br /&gt;
          Input device IP (10.10.10.123) ==:10.10.10.123&lt;br /&gt;
          Input server IP (10.10.10.3) ==:10.10.10.3&lt;br /&gt;
          Input Linux Kernel filename () ==:file.bin&lt;br /&gt;
&lt;br /&gt;
Then your new system will boot.&lt;br /&gt;
&lt;br /&gt;
===Upload prebuilt uboot===&lt;br /&gt;
&lt;br /&gt;
Press 9, then again enter ip address, server ip and filename to upload:&lt;br /&gt;
&lt;br /&gt;
  You choosed 9&lt;br /&gt;
  &lt;br /&gt;
   0 &lt;br /&gt;
  raspi_read: from:40028 len:6 &lt;br /&gt;
  .&lt;br /&gt;
     &lt;br /&gt;
  9: System Load Boot Loader then write to Flash via TFTP. &lt;br /&gt;
   Warning!! Erase Boot Loader in Flash then burn new one. Are you sure?(Y/N)  &lt;br /&gt;
&lt;br /&gt;
Press '''Y''' and continue:&lt;br /&gt;
&lt;br /&gt;
  Input device IP (10.10.10.123) ==:10.10.10.123&lt;br /&gt;
Enter some static address for the device, for example ''192.168.0.201''.&lt;br /&gt;
&lt;br /&gt;
Next enter server address, for example ''192.168.0.15'':&lt;br /&gt;
&lt;br /&gt;
  Input server IP (10.10.10.3) ==:192.168.0.15&lt;br /&gt;
&lt;br /&gt;
Finally enter filename:&lt;br /&gt;
&lt;br /&gt;
  Input Uboot filename () ==:bootloader.img&lt;br /&gt;
&lt;br /&gt;
'''Don't forget to plug LAN cable.''' You should see something like that:&lt;br /&gt;
&lt;br /&gt;
  Got it&lt;br /&gt;
  #####################&lt;br /&gt;
  done&lt;br /&gt;
  Bytes transferred = 106976 (1a1e0 hex)&lt;br /&gt;
  NetBootFileXferSize= 0001a1e0&lt;br /&gt;
  raspi_erase_write: offs:0, count:1a1e0&lt;br /&gt;
  raspi_erase: offs:0 len:10000&lt;br /&gt;
  .&lt;br /&gt;
  raspi_write: to:0 len:10000 &lt;br /&gt;
  .&lt;br /&gt;
  raspi_read: from:0 len:10000 &lt;br /&gt;
  .raspi_read: from:10000 len:10000 &lt;br /&gt;
  .raspi_erase: offs:10000 len:10000&lt;br /&gt;
  .&lt;br /&gt;
  raspi_write: to:10000 len:10000 &lt;br /&gt;
  .&lt;br /&gt;
  raspi_read: from:10000 len:10000 &lt;br /&gt;
  .Done!&lt;br /&gt;
&lt;br /&gt;
===Upload prebuilt images using programmer tool===&lt;br /&gt;
&lt;br /&gt;
We will use [https://www.olimex.com/Products/ARM/JTAG/ARM-USB-OCD/ ARM-USB-OCD]. It has FT2232 chip which can be used to in SPI master mode. You can also use ARM-USB-TINY; ARM-USB-TINY-H; ARM-USB-OCD-H or any FT2232-based debugger. &lt;br /&gt;
&lt;br /&gt;
Connect ARM-USB-OCD with RT5350F-OLinuXino-EVB according the schematic below (for the blue wire GND you can also use other GND pins available at the board; the GND is common):&lt;br /&gt;
&lt;br /&gt;
[[File:Arm-usb-ocd.png|480px]]&lt;br /&gt;
&lt;br /&gt;
'''RST_RT''' jumper MUST be closed. Then power the board to become ready writing.&lt;br /&gt;
&lt;br /&gt;
Download flashrom software and build it using instructions on the site. &lt;br /&gt;
&lt;br /&gt;
To program the SPI flash run:&lt;br /&gt;
 flashrom -p ft2232_spi:type=arm-usb-ocd -w file.bin&lt;br /&gt;
&lt;br /&gt;
Then wait some minutes for process to complete.&lt;br /&gt;
&lt;br /&gt;
==Building uboot==&lt;br /&gt;
&lt;br /&gt;
Get the sources from:&lt;br /&gt;
  git clone https://github.com/OLIMEX/u-boot_RT5350F-OLinuXino&lt;br /&gt;
  cd u-boot_RT5350F-OLinuXino&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;Target must be build with gcc3.4!&amp;lt;/span&amp;gt; This is very important because with another versions of GCC the build process will fail. You can find that version from '''Ralink SDK'''. Use Google to find it.&lt;br /&gt;
&lt;br /&gt;
Run&lt;br /&gt;
  make menuconfig&lt;br /&gt;
&lt;br /&gt;
You'll see that the default location is /opt/buildroot-gcc342/bin. Change that with your path.&lt;br /&gt;
&lt;br /&gt;
To actually build u-boot run:&lt;br /&gt;
  make&lt;br /&gt;
&lt;br /&gt;
At the end of the process you'll see something like this&lt;br /&gt;
&lt;br /&gt;
  ===============&amp;lt;&amp;lt;IMPORTANT&amp;gt;&amp;gt;==================&lt;br /&gt;
  Notes:Uboot firmware in flash is uboot.img NOT uboot.bin&lt;br /&gt;
  ================================================&lt;br /&gt;
  &lt;br /&gt;
  ./tools/mkimage -A mips -T standalone -C none \&lt;br /&gt;
          -a 0x80200000 -e 0x80200000 \&lt;br /&gt;
          -n &amp;quot;SPI Flash Image&amp;quot; \&lt;br /&gt;
          -r SDR -s 16 -t 32 -u 16 \&lt;br /&gt;
          -y 0x0 -z 0x0 -w 0xFF -d uboot.bin uboot.img&lt;br /&gt;
  Image Name:   SPI Flash Image&lt;br /&gt;
  Created:      Thu May 14 08:23:19 2015&lt;br /&gt;
  Image Type:   MIPS Linux Standalone Program (uncompressed)&lt;br /&gt;
  Data Size:    106912 Bytes = 104.41 kB = 0.10 MB&lt;br /&gt;
  Load Address: 0x80200000&lt;br /&gt;
  Entry Point:  0x80200000&lt;br /&gt;
  DRAM Parameter: 6 (Parm0=0 Parm1=0)&lt;br /&gt;
&lt;br /&gt;
The image '''uboot.img''' can be uploaded via tftp.&lt;br /&gt;
&lt;br /&gt;
==Building OpenWRT==&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT 18.06 ===&lt;br /&gt;
&lt;br /&gt;
Download sources:&lt;br /&gt;
 git clone https://github.com/OLIMEX/openwrt -b evb+/18.06&lt;br /&gt;
&lt;br /&gt;
Go into openwrt directory:&lt;br /&gt;
 cd openwrt&lt;br /&gt;
&lt;br /&gt;
Apply config:&lt;br /&gt;
 cat &amp;gt; .config &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 CONFIG_TARGET_ramips=y&lt;br /&gt;
 CONFIG_TARGET_ramips_rt305x=y&lt;br /&gt;
 CONFIG_TARGET_MULTI_PROFILE=y&lt;br /&gt;
 CONFIG_TARGET_DEVICE_ramips_rt305x_DEVICE_rt5350f-olinuxino=y&lt;br /&gt;
 CONFIG_TARGET_DEVICE_ramips_rt305x_DEVICE_rt5350f-olinuxino-evb=y&lt;br /&gt;
 CONFIG_TARGET_DEVICE_ramips_rt305x_DEVICE_rt5350f-olinuxino-evb-plus=y&lt;br /&gt;
 # CONFIG_FEED_luci is not set&lt;br /&gt;
 # CONFIG_FEED_packages is not set&lt;br /&gt;
 # CONFIG_FEED_routing is not set&lt;br /&gt;
 # CONFIG_FEED_telephony is not set&lt;br /&gt;
 CONFIG_PACKAGE_block-mount=y&lt;br /&gt;
 CONFIG_PACKAGE_i2c-tools=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-crypto-crc32c=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-crypto-hash=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-fs-ext4=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-fs-ntfs=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-fs-vfat=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-lib-crc16=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-nls-cp437=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-nls-iso8859-1=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-nls-utf8=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-scsi-core=y&lt;br /&gt;
 CONFIG_PACKAGE_kmod-usb-storage=y&lt;br /&gt;
 CONFIG_PACKAGE_libiwinfo-lua=y&lt;br /&gt;
 CONFIG_PACKAGE_liblua=y&lt;br /&gt;
 CONFIG_PACKAGE_liblucihttp=y&lt;br /&gt;
 CONFIG_PACKAGE_liblucihttp-lua=y&lt;br /&gt;
 CONFIG_PACKAGE_libubus-lua=y&lt;br /&gt;
 CONFIG_PACKAGE_lua=y&lt;br /&gt;
 CONFIG_PACKAGE_luci=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-app-firewall=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-base=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-lib-ip=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-lib-jsonc=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-lib-nixio=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-mod-admin-full=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-proto-ipv6=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-proto-ppp=y&lt;br /&gt;
 CONFIG_PACKAGE_luci-theme-bootstrap=y&lt;br /&gt;
 CONFIG_PACKAGE_rpcd=y&lt;br /&gt;
 CONFIG_PACKAGE_rpcd-mod-rrdns=y&lt;br /&gt;
 CONFIG_PACKAGE_uhttpd=y&lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Expand to full config:&lt;br /&gt;
 make defconfig&lt;br /&gt;
&lt;br /&gt;
Make some modifications with:&lt;br /&gt;
 make menuconfig&lt;br /&gt;
&lt;br /&gt;
Build the images:&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Target images can be found in '''bin/targets/ramips/rt305x/''':&lt;br /&gt;
 tree bin/targets/ramips/rt305x/&lt;br /&gt;
 bin/targets/ramips/rt305x/&lt;br /&gt;
 |-- config.seed&lt;br /&gt;
 |-- openwrt-ramips-rt305x-device-rt5350f-olinuxino-evb-plus.manifest&lt;br /&gt;
 |-- openwrt-ramips-rt305x.manifest&lt;br /&gt;
 |-- openwrt-ramips-rt305x-root.squashfs&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-evb-initramfs-kernel.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-evb-plus-initramfs-kernel.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-evb-plus-squashfs-sysupgrade.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-evb-squashfs-sysupgrade.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-initramfs-kernel.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-rt5350f-olinuxino-squashfs-sysupgrade.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-uImage.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-uImage-initramfs.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-vmlinux.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-vmlinux.elf&lt;br /&gt;
 |-- openwrt-ramips-rt305x-vmlinux-initramfs.bin&lt;br /&gt;
 |-- openwrt-ramips-rt305x-vmlinux-initramfs.elf&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
=== OpenWRT ===&lt;br /&gt;
Make a directory:&lt;br /&gt;
  # mkdir some_dir&lt;br /&gt;
  # cd some_dir&lt;br /&gt;
&lt;br /&gt;
Download sources:&lt;br /&gt;
  # git clone https://github.com/OLIMEX/openwrt -b rt5350f&lt;br /&gt;
&lt;br /&gt;
Go into openwrt directory:&lt;br /&gt;
  # cd openwrt&lt;br /&gt;
&lt;br /&gt;
You can use our config:&lt;br /&gt;
 # make&lt;br /&gt;
&lt;br /&gt;
or if you want to change something:&lt;br /&gt;
 # make menuconfig&lt;br /&gt;
 # make&lt;br /&gt;
&lt;br /&gt;
After some time build will finish. The image is found under:&lt;br /&gt;
  '''build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_rt305x/\'''&lt;br /&gt;
  '''openwrt-ramips-rt305x-olinuxino-rt5350f-squashfs-sysupgrade.bin'''&lt;br /&gt;
&lt;br /&gt;
Place that file on some tftp server and then upload it to the board.&lt;br /&gt;
&lt;br /&gt;
=Demo projects=&lt;br /&gt;
&lt;br /&gt;
*First steps video with RT5350F-OLinuXino-EVB by Leon Anavi: [https://www.youtube.com/watch?v=-MsywWtN79c https://www.youtube.com/watch?v=-MsywWtN79c]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Images changelog =&lt;br /&gt;
&lt;br /&gt;
== Release-2 (06 JUL 2015) ==&lt;br /&gt;
The following changes were made:&lt;br /&gt;
&lt;br /&gt;
* Upgraded kernel version to 3.18.17&lt;br /&gt;
* Inverted wlan led polarity - this way it blink when WiFi is on&lt;br /&gt;
* Fixed firmware partition size - https://github.com/OLIMEX/openwrt/issues/1&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=RT5350F-OLinuXino&amp;diff=3245</id>
		<title>RT5350F-OLinuXino</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=RT5350F-OLinuXino&amp;diff=3245"/>
		<updated>2019-04-03T13:16:40Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Building OpenWRT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=RT5350F-OLinuXino official images build instructions=&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
==Quick-start==&lt;br /&gt;
&lt;br /&gt;
1. Connect USB&amp;lt;-&amp;gt;serial cable between the UART0 pins of the board and your personal computer. &lt;br /&gt;
&lt;br /&gt;
2. Open your favourite serial terminal software on the COM port, created by your USB&amp;lt;-&amp;gt;serial cable. &lt;br /&gt;
&lt;br /&gt;
3. Set the baud rate for the connection to 57600. &lt;br /&gt;
&lt;br /&gt;
4. Power on RT5350F-OLinuXino-EVB.&lt;br /&gt;
&lt;br /&gt;
==Prebuilt files and system restore==&lt;br /&gt;
&lt;br /&gt;
RT5350F-OLinuXino comes with an image loaded into the SPI flash memory. If something goes wrong you can restore the original image.&lt;br /&gt;
&lt;br /&gt;
Two of the prebuilt files (bootloader.img and openwrt.bin) can be uploaded to the board via the built-in uboot. If your uboot is damaged beyond repair you might need a programmer to recover the software of the board. The other two files (that contain uboot) require a programming tool (uboot+factory.bin and uboot+factory+openwrt.bin). The board comes programmed with the image called uboot+factory+openwrt.bin. See [[#Upload prebuilt images using uboot]] or [[#Upload prebuilt images using programmer tool]].&lt;br /&gt;
&lt;br /&gt;
'''All prebuilt binary files are available for download at our GitHub page. Direct link to the location: [https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/RT5350F/Prebuilt%20images https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/RT5350F/Prebuilt%20images]''' &lt;br /&gt;
&lt;br /&gt;
The four prebuilt files available are:&lt;br /&gt;
* bootloader.img - this is only the bootloader&lt;br /&gt;
* openwrt.bin - this is only prebuilt openwrt&lt;br /&gt;
The above two can be uploaded using uboot.&lt;br /&gt;
&lt;br /&gt;
* uboot+factory.bin - this is the uboot + factory wifi settings&lt;br /&gt;
* uboot+factory+openwrt.bin - this is the uboot + factory wifi settings + openwrt&lt;br /&gt;
These two binaries can be uploaded '''only''' via programmer tool (with flashrom).&lt;br /&gt;
&lt;br /&gt;
===Upload prebuilt images using uboot===&lt;br /&gt;
Reboot the board and you'll see:&lt;br /&gt;
  U-Boot 1.1.3 (Apr 20 2015 - 13:25:55)&lt;br /&gt;
  &lt;br /&gt;
  Board: RT5350F-OLinuXino DRAM:  32 MB&lt;br /&gt;
  relocate_code Pointer at: 81fb4000&lt;br /&gt;
  spi_wait_nsec: 42 &lt;br /&gt;
  spi device id: 1c 30 17 1c 30 (30171c30)&lt;br /&gt;
  find flash: EN25Q64&lt;br /&gt;
  raspi_read: from:30000 len:1000 &lt;br /&gt;
  .*** Warning - bad CRC, using default environment&lt;br /&gt;
  &lt;br /&gt;
  ============================================================= &lt;br /&gt;
  RT5350F-OLinuXino UBoot Version: 4.0.0.0&lt;br /&gt;
  --------------------------------------------------------------&lt;br /&gt;
  ASIC 5350_MP (Port5&amp;lt;-&amp;gt;None)&lt;br /&gt;
  DRAM_CONF_FROM: Boot-Strapping &lt;br /&gt;
  DRAM_TYPE: SDRAM &lt;br /&gt;
  DRAM_SIZE: 256 Mbits&lt;br /&gt;
  DRAM_WIDTH: 16 bits&lt;br /&gt;
  DRAM_TOTAL_WIDTH: 16 bits&lt;br /&gt;
  TOTAL_MEMORY_SIZE: 32 MBytes&lt;br /&gt;
  Flash component: SPI Flash&lt;br /&gt;
  Date:Apr 20 2015  Time:13:25:55&lt;br /&gt;
  ============================================ &lt;br /&gt;
  icache: sets:256, ways:4, linesz:32 ,total:32768&lt;br /&gt;
  dcache: sets:128, ways:4, linesz:32 ,total:16384 &lt;br /&gt;
&lt;br /&gt;
   ##### The CPU freq = 360 MHZ #### &lt;br /&gt;
   estimate memory size =32 Mbytes&lt;br /&gt;
&lt;br /&gt;
  Please choose the operation: &lt;br /&gt;
     1: Load system code to SDRAM via TFTP. &lt;br /&gt;
     2: Load system code then write to Flash via TFTP. &lt;br /&gt;
     3: Boot system code via Flash (default).&lt;br /&gt;
     4: Entr boot command line interface.&lt;br /&gt;
     7: Load Boot Loader code then write to Flash via Serial. &lt;br /&gt;
     9: Load Boot Loader code then write to Flash via TFTP.&lt;br /&gt;
&lt;br /&gt;
===Upload prebuilt OpenWRT using uboot===&lt;br /&gt;
&lt;br /&gt;
Press 2, then y and enter some values for ip, server ip and filename:&lt;br /&gt;
&lt;br /&gt;
  You choosed 2&lt;br /&gt;
  2: System Load Linux Kernel then write to Flash via TFTP. &lt;br /&gt;
   Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)&lt;br /&gt;
   Please Input new ones /or Ctrl-C to discard&lt;br /&gt;
          Input device IP (10.10.10.123) ==:10.10.10.123&lt;br /&gt;
          Input server IP (10.10.10.3) ==:10.10.10.3&lt;br /&gt;
          Input Linux Kernel filename () ==:file.bin&lt;br /&gt;
&lt;br /&gt;
Then your new system will boot.&lt;br /&gt;
&lt;br /&gt;
===Upload prebuilt uboot===&lt;br /&gt;
&lt;br /&gt;
Press 9, then again enter ip address, server ip and filename to upload:&lt;br /&gt;
&lt;br /&gt;
  You choosed 9&lt;br /&gt;
  &lt;br /&gt;
   0 &lt;br /&gt;
  raspi_read: from:40028 len:6 &lt;br /&gt;
  .&lt;br /&gt;
     &lt;br /&gt;
  9: System Load Boot Loader then write to Flash via TFTP. &lt;br /&gt;
   Warning!! Erase Boot Loader in Flash then burn new one. Are you sure?(Y/N)  &lt;br /&gt;
&lt;br /&gt;
Press '''Y''' and continue:&lt;br /&gt;
&lt;br /&gt;
  Input device IP (10.10.10.123) ==:10.10.10.123&lt;br /&gt;
Enter some static address for the device, for example ''192.168.0.201''.&lt;br /&gt;
&lt;br /&gt;
Next enter server address, for example ''192.168.0.15'':&lt;br /&gt;
&lt;br /&gt;
  Input server IP (10.10.10.3) ==:192.168.0.15&lt;br /&gt;
&lt;br /&gt;
Finally enter filename:&lt;br /&gt;
&lt;br /&gt;
  Input Uboot filename () ==:bootloader.img&lt;br /&gt;
&lt;br /&gt;
'''Don't forget to plug LAN cable.''' You should see something like that:&lt;br /&gt;
&lt;br /&gt;
  Got it&lt;br /&gt;
  #####################&lt;br /&gt;
  done&lt;br /&gt;
  Bytes transferred = 106976 (1a1e0 hex)&lt;br /&gt;
  NetBootFileXferSize= 0001a1e0&lt;br /&gt;
  raspi_erase_write: offs:0, count:1a1e0&lt;br /&gt;
  raspi_erase: offs:0 len:10000&lt;br /&gt;
  .&lt;br /&gt;
  raspi_write: to:0 len:10000 &lt;br /&gt;
  .&lt;br /&gt;
  raspi_read: from:0 len:10000 &lt;br /&gt;
  .raspi_read: from:10000 len:10000 &lt;br /&gt;
  .raspi_erase: offs:10000 len:10000&lt;br /&gt;
  .&lt;br /&gt;
  raspi_write: to:10000 len:10000 &lt;br /&gt;
  .&lt;br /&gt;
  raspi_read: from:10000 len:10000 &lt;br /&gt;
  .Done!&lt;br /&gt;
&lt;br /&gt;
===Upload prebuilt images using programmer tool===&lt;br /&gt;
&lt;br /&gt;
We will use [https://www.olimex.com/Products/ARM/JTAG/ARM-USB-OCD/ ARM-USB-OCD]. It has FT2232 chip which can be used to in SPI master mode. You can also use ARM-USB-TINY; ARM-USB-TINY-H; ARM-USB-OCD-H or any FT2232-based debugger. &lt;br /&gt;
&lt;br /&gt;
Connect ARM-USB-OCD with RT5350F-OLinuXino-EVB according the schematic below (for the blue wire GND you can also use other GND pins available at the board; the GND is common):&lt;br /&gt;
&lt;br /&gt;
[[File:Arm-usb-ocd.png|480px]]&lt;br /&gt;
&lt;br /&gt;
'''RST_RT''' jumper MUST be closed. Then power the board to become ready writing.&lt;br /&gt;
&lt;br /&gt;
Download flashrom software and build it using instructions on the site. &lt;br /&gt;
&lt;br /&gt;
To program the SPI flash run:&lt;br /&gt;
 flashrom -p ft2232_spi:type=arm-usb-ocd -w file.bin&lt;br /&gt;
&lt;br /&gt;
Then wait some minutes for process to complete.&lt;br /&gt;
&lt;br /&gt;
==Building uboot==&lt;br /&gt;
&lt;br /&gt;
Get the sources from:&lt;br /&gt;
  git clone https://github.com/OLIMEX/u-boot_RT5350F-OLinuXino&lt;br /&gt;
  cd u-boot_RT5350F-OLinuXino&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;Target must be build with gcc3.4!&amp;lt;/span&amp;gt; This is very important because with another versions of GCC the build process will fail. You can find that version from '''Ralink SDK'''. Use Google to find it.&lt;br /&gt;
&lt;br /&gt;
Run&lt;br /&gt;
  make menuconfig&lt;br /&gt;
&lt;br /&gt;
You'll see that the default location is /opt/buildroot-gcc342/bin. Change that with your path.&lt;br /&gt;
&lt;br /&gt;
To actually build u-boot run:&lt;br /&gt;
  make&lt;br /&gt;
&lt;br /&gt;
At the end of the process you'll see something like this&lt;br /&gt;
&lt;br /&gt;
  ===============&amp;lt;&amp;lt;IMPORTANT&amp;gt;&amp;gt;==================&lt;br /&gt;
  Notes:Uboot firmware in flash is uboot.img NOT uboot.bin&lt;br /&gt;
  ================================================&lt;br /&gt;
  &lt;br /&gt;
  ./tools/mkimage -A mips -T standalone -C none \&lt;br /&gt;
          -a 0x80200000 -e 0x80200000 \&lt;br /&gt;
          -n &amp;quot;SPI Flash Image&amp;quot; \&lt;br /&gt;
          -r SDR -s 16 -t 32 -u 16 \&lt;br /&gt;
          -y 0x0 -z 0x0 -w 0xFF -d uboot.bin uboot.img&lt;br /&gt;
  Image Name:   SPI Flash Image&lt;br /&gt;
  Created:      Thu May 14 08:23:19 2015&lt;br /&gt;
  Image Type:   MIPS Linux Standalone Program (uncompressed)&lt;br /&gt;
  Data Size:    106912 Bytes = 104.41 kB = 0.10 MB&lt;br /&gt;
  Load Address: 0x80200000&lt;br /&gt;
  Entry Point:  0x80200000&lt;br /&gt;
  DRAM Parameter: 6 (Parm0=0 Parm1=0)&lt;br /&gt;
&lt;br /&gt;
The image '''uboot.img''' can be uploaded via tftp.&lt;br /&gt;
&lt;br /&gt;
==Building OpenWRT==&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT 18.06 ===&lt;br /&gt;
=== OpenWRT ===&lt;br /&gt;
Make a directory:&lt;br /&gt;
  # mkdir some_dir&lt;br /&gt;
  # cd some_dir&lt;br /&gt;
&lt;br /&gt;
Download sources:&lt;br /&gt;
  # git clone https://github.com/OLIMEX/openwrt -b rt5350f&lt;br /&gt;
&lt;br /&gt;
Go into openwrt directory:&lt;br /&gt;
  # cd openwrt&lt;br /&gt;
&lt;br /&gt;
You can use our config:&lt;br /&gt;
 # make&lt;br /&gt;
&lt;br /&gt;
or if you want to change something:&lt;br /&gt;
 # make menuconfig&lt;br /&gt;
 # make&lt;br /&gt;
&lt;br /&gt;
After some time build will finish. The image is found under:&lt;br /&gt;
  '''build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_rt305x/\'''&lt;br /&gt;
  '''openwrt-ramips-rt305x-olinuxino-rt5350f-squashfs-sysupgrade.bin'''&lt;br /&gt;
&lt;br /&gt;
Place that file on some tftp server and then upload it to the board.&lt;br /&gt;
&lt;br /&gt;
=Demo projects=&lt;br /&gt;
&lt;br /&gt;
*First steps video with RT5350F-OLinuXino-EVB by Leon Anavi: [https://www.youtube.com/watch?v=-MsywWtN79c https://www.youtube.com/watch?v=-MsywWtN79c]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Images changelog =&lt;br /&gt;
&lt;br /&gt;
== Release-2 (06 JUL 2015) ==&lt;br /&gt;
The following changes were made:&lt;br /&gt;
&lt;br /&gt;
* Upgraded kernel version to 3.18.17&lt;br /&gt;
* Inverted wlan led polarity - this way it blink when WiFi is on&lt;br /&gt;
* Fixed firmware partition size - https://github.com/OLIMEX/openwrt/issues/1&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3238</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3238"/>
		<updated>2019-03-22T14:48:48Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Preparing rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
 git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
Get the patches:&lt;br /&gt;
 cd linux&lt;br /&gt;
 wget -O- https://raw.githubusercontent.com/OLIMEX/SAM9-L9260-Linux/master/0001-Update-SAM9-L9260-dts.patch | git am&lt;br /&gt;
 wget -O- https://raw.githubusercontent.com/OLIMEX/SAM9-L9260-Linux/master/0002-Add-Olimex-SAM9-L9260-defconfig.patch | git am&lt;br /&gt;
 wget -O- https://raw.githubusercontent.com/OLIMEX/SAM9-L9260-Linux/master/0003-Fix-subpage-writes-and-cs-deselect.patch | git am&lt;br /&gt;
&lt;br /&gt;
Compile kernel and dtb:&lt;br /&gt;
 make ARCH=arm olimex_sam9_l9260_defconfig&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- zImage dtbs&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Configure login console:&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/.*T0:.*/T0:2345:respawn:\/sbin\/getty\ -L\ ttyS0\ 115200\ vt100/g&amp;quot; /etc/inittab&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Configure fstab:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/fstab &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # /etc/fstab: static file system information.&lt;br /&gt;
 #&lt;br /&gt;
 # &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
 proc            /proc           proc    defaults        0       0&lt;br /&gt;
 rootfs          /               jffs2   rw              0       0&lt;br /&gt;
&lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Create missing /dev/shm folder:&lt;br /&gt;
&lt;br /&gt;
 sed -i '36i\\t[ ! -d /dev/shm ] &amp;amp;&amp;amp; mkdir --mode=755 /dev/shm' /etc/init.d/mountdevsubfs.sh&lt;br /&gt;
&lt;br /&gt;
Configure networking:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt;&amp;gt; /etc/network/interfaces &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # The loopback network interface&lt;br /&gt;
 auto lo&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
 &lt;br /&gt;
 # The primary network interface&lt;br /&gt;
 allow-hotplug eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
 &lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
==== Generate UBIFS image ====&lt;br /&gt;
&lt;br /&gt;
Before creating image some NAND parameters must be known. The shown default values are for '''K9F4G08U0F''' chip.&lt;br /&gt;
&lt;br /&gt;
* '''PEB''' -&amp;gt; Physical erase block, default: 128KiB (131072)&lt;br /&gt;
* '''LEB''' -&amp;gt; Logical erase block, default : 124KiB (126976)&lt;br /&gt;
* '''min. I/O size''' -&amp;gt; Page size, default : 2048&lt;br /&gt;
* '''sub-page size''' -&amp;gt; Subpage size, default : 2048&lt;br /&gt;
* '''LEB count''' -&amp;gt; Number of LEBs in the rootfs mtd partition, default: 4031&lt;br /&gt;
&lt;br /&gt;
Create ubifs volume:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.ubifs -d armel-lenny -o lenny.ubifs -m 2048 -e 126976 -c 4024&lt;br /&gt;
&lt;br /&gt;
Generate ubifs image:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; ubinize.ini &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 [rootfs_volume]&lt;br /&gt;
 mode=ubi&lt;br /&gt;
 image=lenny.ubifs&lt;br /&gt;
 vol_id=1&lt;br /&gt;
 vol_type=dynamic&lt;br /&gt;
 vol_name=rootfs&lt;br /&gt;
 vol_alignment=1&lt;br /&gt;
 vol_flags=autoresize&lt;br /&gt;
 __EOF__&lt;br /&gt;
 ubinize -vv -o lenny.img -m 2048 -p 128KiB ubinize.ini -s 512&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3237</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3237"/>
		<updated>2019-03-22T07:27:55Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Building kernel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
 git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
Get the patches:&lt;br /&gt;
 cd linux&lt;br /&gt;
 wget -O- https://raw.githubusercontent.com/OLIMEX/SAM9-L9260-Linux/master/0001-Update-SAM9-L9260-dts.patch | git am&lt;br /&gt;
 wget -O- https://raw.githubusercontent.com/OLIMEX/SAM9-L9260-Linux/master/0002-Add-Olimex-SAM9-L9260-defconfig.patch | git am&lt;br /&gt;
 wget -O- https://raw.githubusercontent.com/OLIMEX/SAM9-L9260-Linux/master/0003-Fix-subpage-writes-and-cs-deselect.patch | git am&lt;br /&gt;
&lt;br /&gt;
Compile kernel and dtb:&lt;br /&gt;
 make ARCH=arm olimex_sam9_l9260_defconfig&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- zImage dtbs&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Configure login console:&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/.*T0:.*/T0:2345:respawn:\/sbin\/getty\ -L\ ttyS0\ 115200\ vt100/g&amp;quot; /etc/inittab&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Configure fstab:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/fstab &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # /etc/fstab: static file system information.&lt;br /&gt;
 #&lt;br /&gt;
 # &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
 proc            /proc           proc    defaults        0       0&lt;br /&gt;
 rootfs          /               jffs2   rw              0       0&lt;br /&gt;
&lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Create missing /dev/shm folder:&lt;br /&gt;
&lt;br /&gt;
 sed -i '36i\\t[ ! -d /dev/shm ] &amp;amp;&amp;amp; mkdir --mode=755 /dev/shm' /etc/init.d/mountdevsubfs.sh&lt;br /&gt;
&lt;br /&gt;
Configure networking:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt;&amp;gt; /etc/network/interfaces &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # The loopback network interface&lt;br /&gt;
 auto lo&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
 &lt;br /&gt;
 # The primary network interface&lt;br /&gt;
 allow-hotplug eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
 &lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
==== Generate UBIFS image ====&lt;br /&gt;
&lt;br /&gt;
Before creating image some NAND parameters must be known. The shown default values are for '''K9F4G08U0F''' chip.&lt;br /&gt;
&lt;br /&gt;
* '''PEB''' -&amp;gt; Physical erase block, default: 128KiB (131072)&lt;br /&gt;
* '''LEB''' -&amp;gt; Logical erase block, default : 126KiB (131072)&lt;br /&gt;
* '''min. I/O size''' -&amp;gt; Page size, default : 2048&lt;br /&gt;
* '''sub-page size''' -&amp;gt; Subpage size, default : 512&lt;br /&gt;
* '''LEB count''' -&amp;gt; Number of LEBs in the rootfs mtd partition, default: 4031&lt;br /&gt;
&lt;br /&gt;
Create ubifs volume:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.ubifs -d armel-lenny -o lenny.ubifs -m 2048 -e 129024&lt;br /&gt;
&lt;br /&gt;
Generate ubifs image:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; ubinize.ini &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 [rootfs_volume]&lt;br /&gt;
 mode=ubi&lt;br /&gt;
 image=lenny.ubifs&lt;br /&gt;
 vol_id=1&lt;br /&gt;
 vol_type=dynamic&lt;br /&gt;
 vol_name=rootfs&lt;br /&gt;
 vol_alignment=1&lt;br /&gt;
 vol_flags=autoresize&lt;br /&gt;
 __EOF__&lt;br /&gt;
 ubinize -vv -o lenny.img -m 2048 -p 128KiB ubinize.ini -s 512&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3236</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3236"/>
		<updated>2019-03-22T07:26:52Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Building kernel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
 git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
Get the patches:&lt;br /&gt;
 cd linux&lt;br /&gt;
 wget -O- https://raw.githubusercontent.com/OLIMEX/SAM9-L9260-Linux/master/0001-Update-SAM9-L9260-dts.patch | git am&lt;br /&gt;
 wget -O- https://raw.githubusercontent.com/OLIMEX/SAM9-L9260-Linux/master/0002-Add-Olimex-SAM9-L9260-defconfig.patch | git am&lt;br /&gt;
 wget -O- https://raw.githubusercontent.com/OLIMEX/SAM9-L9260-Linux/master/0003-Fix-subpage-writes-and-cs-deselect.patch | git am&lt;br /&gt;
&lt;br /&gt;
Compile kernel and dtb:&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- zImage dtbs&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Configure login console:&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/.*T0:.*/T0:2345:respawn:\/sbin\/getty\ -L\ ttyS0\ 115200\ vt100/g&amp;quot; /etc/inittab&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Configure fstab:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/fstab &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # /etc/fstab: static file system information.&lt;br /&gt;
 #&lt;br /&gt;
 # &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
 proc            /proc           proc    defaults        0       0&lt;br /&gt;
 rootfs          /               jffs2   rw              0       0&lt;br /&gt;
&lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Create missing /dev/shm folder:&lt;br /&gt;
&lt;br /&gt;
 sed -i '36i\\t[ ! -d /dev/shm ] &amp;amp;&amp;amp; mkdir --mode=755 /dev/shm' /etc/init.d/mountdevsubfs.sh&lt;br /&gt;
&lt;br /&gt;
Configure networking:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt;&amp;gt; /etc/network/interfaces &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # The loopback network interface&lt;br /&gt;
 auto lo&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
 &lt;br /&gt;
 # The primary network interface&lt;br /&gt;
 allow-hotplug eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
 &lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
==== Generate UBIFS image ====&lt;br /&gt;
&lt;br /&gt;
Before creating image some NAND parameters must be known. The shown default values are for '''K9F4G08U0F''' chip.&lt;br /&gt;
&lt;br /&gt;
* '''PEB''' -&amp;gt; Physical erase block, default: 128KiB (131072)&lt;br /&gt;
* '''LEB''' -&amp;gt; Logical erase block, default : 126KiB (131072)&lt;br /&gt;
* '''min. I/O size''' -&amp;gt; Page size, default : 2048&lt;br /&gt;
* '''sub-page size''' -&amp;gt; Subpage size, default : 512&lt;br /&gt;
* '''LEB count''' -&amp;gt; Number of LEBs in the rootfs mtd partition, default: 4031&lt;br /&gt;
&lt;br /&gt;
Create ubifs volume:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.ubifs -d armel-lenny -o lenny.ubifs -m 2048 -e 129024&lt;br /&gt;
&lt;br /&gt;
Generate ubifs image:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; ubinize.ini &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 [rootfs_volume]&lt;br /&gt;
 mode=ubi&lt;br /&gt;
 image=lenny.ubifs&lt;br /&gt;
 vol_id=1&lt;br /&gt;
 vol_type=dynamic&lt;br /&gt;
 vol_name=rootfs&lt;br /&gt;
 vol_alignment=1&lt;br /&gt;
 vol_flags=autoresize&lt;br /&gt;
 __EOF__&lt;br /&gt;
 ubinize -vv -o lenny.img -m 2048 -p 128KiB ubinize.ini -s 512&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3235</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3235"/>
		<updated>2019-03-22T07:25:58Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Building kernel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
 git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
Get the patches:&lt;br /&gt;
 cd linux&lt;br /&gt;
 wget -O- https://raw.githubusercontent.com/OLIMEX/SAM9-L9260-Linux/master/0001-Update-SAM9-L9260-dts.patch | git am&lt;br /&gt;
 wget -O- https://raw.githubusercontent.com/OLIMEX/SAM9-L9260-Linux/master/0002-Add-Olimex-SAM9-L9260-defconfig.patch | git am&lt;br /&gt;
 wget -O- https://raw.githubusercontent.com/OLIMEX/SAM9-L9260-Linux/master/0003-Fix-subpage-writes-and-cs-deselect.patch | git am&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Configure login console:&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/.*T0:.*/T0:2345:respawn:\/sbin\/getty\ -L\ ttyS0\ 115200\ vt100/g&amp;quot; /etc/inittab&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Configure fstab:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/fstab &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # /etc/fstab: static file system information.&lt;br /&gt;
 #&lt;br /&gt;
 # &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
 proc            /proc           proc    defaults        0       0&lt;br /&gt;
 rootfs          /               jffs2   rw              0       0&lt;br /&gt;
&lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Create missing /dev/shm folder:&lt;br /&gt;
&lt;br /&gt;
 sed -i '36i\\t[ ! -d /dev/shm ] &amp;amp;&amp;amp; mkdir --mode=755 /dev/shm' /etc/init.d/mountdevsubfs.sh&lt;br /&gt;
&lt;br /&gt;
Configure networking:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt;&amp;gt; /etc/network/interfaces &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # The loopback network interface&lt;br /&gt;
 auto lo&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
 &lt;br /&gt;
 # The primary network interface&lt;br /&gt;
 allow-hotplug eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
 &lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
==== Generate UBIFS image ====&lt;br /&gt;
&lt;br /&gt;
Before creating image some NAND parameters must be known. The shown default values are for '''K9F4G08U0F''' chip.&lt;br /&gt;
&lt;br /&gt;
* '''PEB''' -&amp;gt; Physical erase block, default: 128KiB (131072)&lt;br /&gt;
* '''LEB''' -&amp;gt; Logical erase block, default : 126KiB (131072)&lt;br /&gt;
* '''min. I/O size''' -&amp;gt; Page size, default : 2048&lt;br /&gt;
* '''sub-page size''' -&amp;gt; Subpage size, default : 512&lt;br /&gt;
* '''LEB count''' -&amp;gt; Number of LEBs in the rootfs mtd partition, default: 4031&lt;br /&gt;
&lt;br /&gt;
Create ubifs volume:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.ubifs -d armel-lenny -o lenny.ubifs -m 2048 -e 129024&lt;br /&gt;
&lt;br /&gt;
Generate ubifs image:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; ubinize.ini &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 [rootfs_volume]&lt;br /&gt;
 mode=ubi&lt;br /&gt;
 image=lenny.ubifs&lt;br /&gt;
 vol_id=1&lt;br /&gt;
 vol_type=dynamic&lt;br /&gt;
 vol_name=rootfs&lt;br /&gt;
 vol_alignment=1&lt;br /&gt;
 vol_flags=autoresize&lt;br /&gt;
 __EOF__&lt;br /&gt;
 ubinize -vv -o lenny.img -m 2048 -p 128KiB ubinize.ini -s 512&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3234</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3234"/>
		<updated>2019-03-20T12:09:32Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Generate UBIFS image */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Configure login console:&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/.*T0:.*/T0:2345:respawn:\/sbin\/getty\ -L\ ttyS0\ 115200\ vt100/g&amp;quot; /etc/inittab&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Configure fstab:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/fstab &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # /etc/fstab: static file system information.&lt;br /&gt;
 #&lt;br /&gt;
 # &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
 proc            /proc           proc    defaults        0       0&lt;br /&gt;
 rootfs          /               jffs2   rw              0       0&lt;br /&gt;
&lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Create missing /dev/shm folder:&lt;br /&gt;
&lt;br /&gt;
 sed -i '36i\\t[ ! -d /dev/shm ] &amp;amp;&amp;amp; mkdir --mode=755 /dev/shm' /etc/init.d/mountdevsubfs.sh&lt;br /&gt;
&lt;br /&gt;
Configure networking:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt;&amp;gt; /etc/network/interfaces &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # The loopback network interface&lt;br /&gt;
 auto lo&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
 &lt;br /&gt;
 # The primary network interface&lt;br /&gt;
 allow-hotplug eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
 &lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
==== Generate UBIFS image ====&lt;br /&gt;
&lt;br /&gt;
Before creating image some NAND parameters must be known. The shown default values are for '''K9F4G08U0F''' chip.&lt;br /&gt;
&lt;br /&gt;
* '''PEB''' -&amp;gt; Physical erase block, default: 128KiB (131072)&lt;br /&gt;
* '''LEB''' -&amp;gt; Logical erase block, default : 126KiB (131072)&lt;br /&gt;
* '''min. I/O size''' -&amp;gt; Page size, default : 2048&lt;br /&gt;
* '''sub-page size''' -&amp;gt; Subpage size, default : 512&lt;br /&gt;
* '''LEB count''' -&amp;gt; Number of LEBs in the rootfs mtd partition, default: 4031&lt;br /&gt;
&lt;br /&gt;
Create ubifs volume:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.ubifs -d armel-lenny -o lenny.ubifs -m 2048 -e 129024&lt;br /&gt;
&lt;br /&gt;
Generate ubifs image:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; ubinize.ini &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 [rootfs_volume]&lt;br /&gt;
 mode=ubi&lt;br /&gt;
 image=lenny.ubifs&lt;br /&gt;
 vol_id=1&lt;br /&gt;
 vol_type=dynamic&lt;br /&gt;
 vol_name=rootfs&lt;br /&gt;
 vol_alignment=1&lt;br /&gt;
 vol_flags=autoresize&lt;br /&gt;
 __EOF__&lt;br /&gt;
 ubinize -vv -o lenny.img -m 2048 -p 128KiB ubinize.ini -s 512&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3233</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3233"/>
		<updated>2019-03-20T12:07:33Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Generate UBIFS image */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Configure login console:&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/.*T0:.*/T0:2345:respawn:\/sbin\/getty\ -L\ ttyS0\ 115200\ vt100/g&amp;quot; /etc/inittab&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Configure fstab:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/fstab &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # /etc/fstab: static file system information.&lt;br /&gt;
 #&lt;br /&gt;
 # &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
 proc            /proc           proc    defaults        0       0&lt;br /&gt;
 rootfs          /               jffs2   rw              0       0&lt;br /&gt;
&lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Create missing /dev/shm folder:&lt;br /&gt;
&lt;br /&gt;
 sed -i '36i\\t[ ! -d /dev/shm ] &amp;amp;&amp;amp; mkdir --mode=755 /dev/shm' /etc/init.d/mountdevsubfs.sh&lt;br /&gt;
&lt;br /&gt;
Configure networking:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt;&amp;gt; /etc/network/interfaces &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # The loopback network interface&lt;br /&gt;
 auto lo&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
 &lt;br /&gt;
 # The primary network interface&lt;br /&gt;
 allow-hotplug eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
 &lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
==== Generate UBIFS image ====&lt;br /&gt;
&lt;br /&gt;
Before creating image some NAND parameters must be known. The shown default values are for '''K9F4G08U0F''' chip.&lt;br /&gt;
&lt;br /&gt;
* '''PEB''' -&amp;gt; Physical erase block, default: 128KiB (131072)&lt;br /&gt;
* '''LEB''' -&amp;gt; Logical erase block, default : 126KiB (131072)&lt;br /&gt;
* '''min. I/O size''' -&amp;gt; Page size, default : 2048&lt;br /&gt;
* '''sub-page size''' -&amp;gt; Subpage size, default : 512&lt;br /&gt;
* '''LEB count''' -&amp;gt; Number of LEBs in the rootfs mtd partition, default: 4031&lt;br /&gt;
&lt;br /&gt;
Create ubifs volume:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.ubifs -d armel-lenny -o lenny.ubifs -m 2048 -e 129024&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3232</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3232"/>
		<updated>2019-03-20T12:03:10Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Generate UBIFS image */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Configure login console:&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/.*T0:.*/T0:2345:respawn:\/sbin\/getty\ -L\ ttyS0\ 115200\ vt100/g&amp;quot; /etc/inittab&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Configure fstab:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/fstab &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # /etc/fstab: static file system information.&lt;br /&gt;
 #&lt;br /&gt;
 # &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
 proc            /proc           proc    defaults        0       0&lt;br /&gt;
 rootfs          /               jffs2   rw              0       0&lt;br /&gt;
&lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Create missing /dev/shm folder:&lt;br /&gt;
&lt;br /&gt;
 sed -i '36i\\t[ ! -d /dev/shm ] &amp;amp;&amp;amp; mkdir --mode=755 /dev/shm' /etc/init.d/mountdevsubfs.sh&lt;br /&gt;
&lt;br /&gt;
Configure networking:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt;&amp;gt; /etc/network/interfaces &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # The loopback network interface&lt;br /&gt;
 auto lo&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
 &lt;br /&gt;
 # The primary network interface&lt;br /&gt;
 allow-hotplug eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
 &lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
==== Generate UBIFS image ====&lt;br /&gt;
&lt;br /&gt;
Before creating image some NAND parameters must be known. The shown default values are for '''K9F4G08U0F''' chip.&lt;br /&gt;
&lt;br /&gt;
* '''PEB''' -&amp;gt; Physical erase block, default: 128KiB (131072)&lt;br /&gt;
* '''LEB''' -&amp;gt; Logical erase block, default : 126KiB (131072)&lt;br /&gt;
* '''min. I/O size''' -&amp;gt; Page size, default : 2048&lt;br /&gt;
* '''sub-page size''' -&amp;gt; Subpage size, default : 512&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3231</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3231"/>
		<updated>2019-03-20T11:29:17Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Generate JFFS2 image */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Configure login console:&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/.*T0:.*/T0:2345:respawn:\/sbin\/getty\ -L\ ttyS0\ 115200\ vt100/g&amp;quot; /etc/inittab&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Configure fstab:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/fstab &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # /etc/fstab: static file system information.&lt;br /&gt;
 #&lt;br /&gt;
 # &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
 proc            /proc           proc    defaults        0       0&lt;br /&gt;
 rootfs          /               jffs2   rw              0       0&lt;br /&gt;
&lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Create missing /dev/shm folder:&lt;br /&gt;
&lt;br /&gt;
 sed -i '36i\\t[ ! -d /dev/shm ] &amp;amp;&amp;amp; mkdir --mode=755 /dev/shm' /etc/init.d/mountdevsubfs.sh&lt;br /&gt;
&lt;br /&gt;
Configure networking:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt;&amp;gt; /etc/network/interfaces &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # The loopback network interface&lt;br /&gt;
 auto lo&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
 &lt;br /&gt;
 # The primary network interface&lt;br /&gt;
 allow-hotplug eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
 &lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
==== Generate UBIFS image ====&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3230</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3230"/>
		<updated>2019-03-19T06:40:53Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Preparing rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Configure login console:&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/.*T0:.*/T0:2345:respawn:\/sbin\/getty\ -L\ ttyS0\ 115200\ vt100/g&amp;quot; /etc/inittab&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Configure fstab:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/fstab &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # /etc/fstab: static file system information.&lt;br /&gt;
 #&lt;br /&gt;
 # &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
 proc            /proc           proc    defaults        0       0&lt;br /&gt;
 rootfs          /               jffs2   rw              0       0&lt;br /&gt;
&lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Create missing /dev/shm folder:&lt;br /&gt;
&lt;br /&gt;
 sed -i '36i\\t[ ! -d /dev/shm ] &amp;amp;&amp;amp; mkdir --mode=755 /dev/shm' /etc/init.d/mountdevsubfs.sh&lt;br /&gt;
&lt;br /&gt;
Configure networking:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt;&amp;gt; /etc/network/interfaces &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # The loopback network interface&lt;br /&gt;
 auto lo&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
 &lt;br /&gt;
 # The primary network interface&lt;br /&gt;
 allow-hotplug eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
 &lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3229</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3229"/>
		<updated>2019-03-19T06:39:54Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Preparing rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Configure login console:&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/.*T0:.*/T0:2345:respawn:\/sbin\/getty\ -L\ ttyS0\ 115200\ vt100/g&amp;quot; /etc/inittab&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Configure fstab:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/fstab &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # /etc/fstab: static file system information.&lt;br /&gt;
 #&lt;br /&gt;
 # &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
 proc            /proc           proc    defaults        0       0&lt;br /&gt;
 rootfs          /               jffs2   rw              0       0&lt;br /&gt;
&lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Create missing /dev/shm folder:&lt;br /&gt;
&lt;br /&gt;
 sed -i '36i\\t[ ! -d /dev/shm ] &amp;amp;&amp;amp; mkdir --mode=755 /dev/shm' /etc/init.d/mountdevsubfs.sh&lt;br /&gt;
&lt;br /&gt;
Configure networking:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt;&amp;gt; /etc/network/interfaces &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 &lt;br /&gt;
 # The loopback network interface&lt;br /&gt;
 auto lo&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
 &lt;br /&gt;
 # The primary network interface&lt;br /&gt;
 allow-hotplug eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
 &lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3228</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3228"/>
		<updated>2019-03-19T06:39:36Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Preparing rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Configure login console:&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/.*T0:.*/T0:2345:respawn:\/sbin\/getty\ -L\ ttyS0\ 115200\ vt100/g&amp;quot; /etc/inittab&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Configure fstab:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/fstab &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # /etc/fstab: static file system information.&lt;br /&gt;
 #&lt;br /&gt;
 # &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
 proc            /proc           proc    defaults        0       0&lt;br /&gt;
 rootfs          /               jffs2   rw              0       0&lt;br /&gt;
&lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Create missing /dev/shm folder:&lt;br /&gt;
&lt;br /&gt;
 sed -i '36i\\t[ ! -d /dev/shm ] &amp;amp;&amp;amp; mkdir --mode=755 /dev/shm' /etc/init.d/mountdevsubfs.sh&lt;br /&gt;
&lt;br /&gt;
Configure networking:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt;&amp;gt; /etc/network/interfaces &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 &lt;br /&gt;
 # The loopback network interface&lt;br /&gt;
 auto lo&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
 &lt;br /&gt;
 # The primary network interface&lt;br /&gt;
 allow-hotplug eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
 &lt;br /&gt;
 __EOF&lt;br /&gt;
&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3227</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3227"/>
		<updated>2019-03-18T13:17:45Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Preparing rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Configure login console:&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/.*T0:.*/T0:2345:respawn:\/sbin\/getty\ -L\ ttyS0\ 115200\ vt100/g&amp;quot; /etc/inittab&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Configure fstab:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/fstab &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # /etc/fstab: static file system information.&lt;br /&gt;
 #&lt;br /&gt;
 # &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
 proc            /proc           proc    defaults        0       0&lt;br /&gt;
 rootfs          /               jffs2   rw              0       0&lt;br /&gt;
&lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Create missing /dev/shm folder:&lt;br /&gt;
&lt;br /&gt;
 sed -i '36i\\t[ ! -d /dev/shm ] &amp;amp;&amp;amp; mkdir --mode=755 /dev/shm' /etc/init.d/mountdevsubfs.sh&lt;br /&gt;
&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3226</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3226"/>
		<updated>2019-03-18T13:17:21Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Preparing rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Configure login console:&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/.*T0:.*/T0:2345:respawn:\/sbin\/getty\ -L\ ttyS0\ 115200\ vt100/g&amp;quot; /etc/inittab&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Configure fstab:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/fstab &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # /etc/fstab: static file system information.&lt;br /&gt;
 #&lt;br /&gt;
 # &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
 proc            /proc           proc    defaults        0       0&lt;br /&gt;
 rootfs          /               jffs2   rw              0       0&lt;br /&gt;
&lt;br /&gt;
 __EOF__&lt;br /&gt;
&lt;br /&gt;
Create missing /dev/shm folder:&lt;br /&gt;
&lt;br /&gt;
 sed '36i\\t[ ! -d /dev/shm ] &amp;amp;&amp;amp; mkdir --mode=755 /dev/shm' /etc/init.d/mountdevsubfs.sh&lt;br /&gt;
&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3225</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3225"/>
		<updated>2019-03-18T12:39:46Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Preparing rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Configure login console:&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/.*T0:.*/T0:2345:respawn:\/sbin\/getty\ -L\ ttyS0\ 115200\ vt100/g&amp;quot; /etc/inittab&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Configure fstab:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/fstab &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # /etc/fstab: static file system information.&lt;br /&gt;
 #&lt;br /&gt;
 # &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
 proc            /proc           proc    defaults        0       0&lt;br /&gt;
 rootfs          /               jffs2   rw              0       0&lt;br /&gt;
&lt;br /&gt;
 __EOF__&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3224</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3224"/>
		<updated>2019-03-18T12:31:02Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Preparing rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Configure login console:&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/.*T0:.*/T0:2345:respawn:/sbin/getty -L ttyS0 115200 vt100/g&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Configure fstab:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/fstab &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # /etc/fstab: static file system information.&lt;br /&gt;
 #&lt;br /&gt;
 # &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
 proc            /proc           proc    defaults        0       0&lt;br /&gt;
 rootfs          /               jffs2   rw              0       0&lt;br /&gt;
&lt;br /&gt;
 __EOF__&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3223</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3223"/>
		<updated>2019-03-18T09:55:43Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Preparing rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Configure fstab:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/fstab &amp;lt;&amp;lt; __EOF__&lt;br /&gt;
 # /etc/fstab: static file system information.&lt;br /&gt;
 #&lt;br /&gt;
 # &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
 proc            /proc           proc    defaults        0       0&lt;br /&gt;
 rootfs          /               jffs2   rw              0       0&lt;br /&gt;
&lt;br /&gt;
 __EOF__&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3222</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3222"/>
		<updated>2019-03-18T09:06:50Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Preparing rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
Exit from chroot:&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==== Generate JFFS2 image ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
 sudo mkfs.jffs2 -r armel-lenny/ -o lenny.jffs2 -e 128 -s 512 -p -n&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* -e 128 - 128KiB of erase block&lt;br /&gt;
* -s 512 - 512B page size&lt;br /&gt;
* -p - pad the output to match erase block size&lt;br /&gt;
* -n - do not write cleanmarkers&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3221</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3221"/>
		<updated>2019-03-15T13:53:44Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Preparing rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3220</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3220"/>
		<updated>2019-03-15T13:50:13Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Preparing rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install autoconf autotools-dev bash-completion bind9-host binutils busybox cpp ethtool ftp initramfs-tools less lsof m4 mime-support mtd-utils nfs-common ntp openssh-client python telnet texinfo udev usbutils whois&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3219</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3219"/>
		<updated>2019-03-15T13:39:23Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Preparing rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Install some additional packages:&lt;br /&gt;
 apt-get install&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3218</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3218"/>
		<updated>2019-03-15T12:57:20Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Preparing rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
	<entry>
		<id>https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3217</id>
		<title>SAM9-L9260</title>
		<link rel="alternate" type="text/html" href="https://www.olimex.com/wiki/index.php?title=SAM9-L9260&amp;diff=3217"/>
		<updated>2019-03-15T12:56:14Z</updated>

		<summary type="html">&lt;p&gt;StefanM: /* Preparing rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Documents ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Building at91bootstrap ===&lt;br /&gt;
&lt;br /&gt;
Get the sources with:&lt;br /&gt;
&lt;br /&gt;
    git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git&lt;br /&gt;
&lt;br /&gt;
Go to the cloned folder and select SAM9-L9260 configuration:&lt;br /&gt;
&lt;br /&gt;
    cd at91bootstrap&lt;br /&gt;
    make sam9_l9260_uboot_defconfig&lt;br /&gt;
&lt;br /&gt;
Compile the sources with:&lt;br /&gt;
&lt;br /&gt;
    make CROSS_COMPILE=arm-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
The bootstrap file can be found at:&lt;br /&gt;
&lt;br /&gt;
    binaries/sam9_l9260-dataflashcardboot--3.8.11.bin&lt;br /&gt;
&lt;br /&gt;
=== Building kernel ===&lt;br /&gt;
&lt;br /&gt;
Get the sources:&lt;br /&gt;
&lt;br /&gt;
    git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git&lt;br /&gt;
&lt;br /&gt;
=== Preparing rootfs ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial [https://wiki.debian.org/DebianLenny Debian Lenny] will be used. The build process may vary, depending on host PC system. The following instructions are tested on '''Ubuntu 18.04'''.&lt;br /&gt;
&lt;br /&gt;
Install required packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt install -y debootstrap qemu-arm-static mtd-utils&lt;br /&gt;
&lt;br /&gt;
Create empty directory, which will contain the new rootfs:&lt;br /&gt;
&lt;br /&gt;
 mkdir armel-lenny&lt;br /&gt;
&lt;br /&gt;
Run debootstrap and wait to finish:&lt;br /&gt;
&lt;br /&gt;
 sudo qemu-debootstrap --arch armel lenny ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
Login into the new rootfs with:&lt;br /&gt;
&lt;br /&gt;
 sudo chroot ./armel-lenny&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now make modifications to the system:&lt;br /&gt;
&lt;br /&gt;
Set hostname and password:&lt;br /&gt;
&lt;br /&gt;
 echo 'sam9-l9260' &amp;gt; /etc/hostname&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
Set locales:&lt;br /&gt;
&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
Under construction&lt;br /&gt;
&lt;br /&gt;
[[Category:Atmel]]&lt;/div&gt;</summary>
		<author><name>StefanM</name></author>
		
	</entry>
</feed>