
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.armadeus.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Buildroot_inside_Debian_on_APF</id>
		<title>Buildroot inside Debian on APF - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.armadeus.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Buildroot_inside_Debian_on_APF"/>
		<link rel="alternate" type="text/html" href="http://www.armadeus.org/wiki/index.php?title=Buildroot_inside_Debian_on_APF&amp;action=history"/>
		<updated>2026-04-30T04:58:43Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>http://www.armadeus.org/wiki/index.php?title=Buildroot_inside_Debian_on_APF&amp;diff=13252&amp;oldid=prev</id>
		<title>JulienB: New page: So you just installed Debian on your APF (Debian_on_APF) and still want to test Buildroot stuff without reformatting your disk or delete your installation ? Here is a small tutorial fo...</title>
		<link rel="alternate" type="text/html" href="http://www.armadeus.org/wiki/index.php?title=Buildroot_inside_Debian_on_APF&amp;diff=13252&amp;oldid=prev"/>
				<updated>2015-05-19T14:16:37Z</updated>
		
		<summary type="html">&lt;p&gt;New page: So you just installed Debian on your APF (&lt;a href=&quot;/wiki/index.php?title=Debian_on_APF&quot; title=&quot;Debian on APF&quot;&gt;Debian_on_APF&lt;/a&gt;) and still want to test Buildroot stuff without reformatting your disk or delete your installation ? Here is a small tutorial fo...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;So you just installed Debian on your APF ([[Debian_on_APF]]) and still want to test Buildroot stuff without reformatting your disk or delete your installation ? Here is a small tutorial for you (tested on [[APF6]] only).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
* On your Debian rootfs, create a directory that will be used to store Buildroot rootfs:&lt;br /&gt;
&amp;lt;pre class=&amp;quot;apf&amp;quot;&amp;gt;&lt;br /&gt;
# mkdir /buildroot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Uncompress it your Buildroot rootfs:&lt;br /&gt;
&amp;lt;pre class=&amp;quot;apf&amp;quot;&amp;gt;&lt;br /&gt;
# tar xvf apf6-rootfs.tar -C /buildroot/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Create a script that will launch buildroot init at start instead of Debian one:&lt;br /&gt;
&amp;lt;pre class=&amp;quot;apf&amp;quot;&amp;gt;&lt;br /&gt;
# vim /br_init&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Put it in:&lt;br /&gt;
&amp;lt;pre class=&amp;quot;apf&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
mount -t proc none /buildroot/proc&lt;br /&gt;
mount -t sysfs none /buildroot/sys&lt;br /&gt;
exec chroot /buildroot /sbin/init&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Give it executable rights&lt;br /&gt;
&amp;lt;pre class=&amp;quot;apf&amp;quot;&amp;gt;&lt;br /&gt;
# chmod 755 /br_init&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
* In U-Boot create a script to start your Buildroot rootfs:&lt;br /&gt;
&amp;lt;pre class=&amp;quot;apf&amp;quot;&amp;gt;&lt;br /&gt;
BIOS&amp;gt; setenv brboot 'setenv mmcdev 0; setenv mmcpart 1; setenv mmcdir; setenv mmcroot /dev/mmcblk2p2 rw; setenv extrabootargs init=/br_init; run genmmcboot;'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Launch it:&lt;br /&gt;
&amp;lt;pre class=&amp;quot;apf&amp;quot;&amp;gt;&lt;br /&gt;
BIOS&amp;gt; saveenv&lt;br /&gt;
BIOS&amp;gt; run brboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Tada !&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [[Debian_on_APF]]&lt;/div&gt;</summary>
		<author><name>JulienB</name></author>	</entry>

	</feed>