version 1.24, 2016/04/16 02:47:46 |
version 1.25, 2016/05/29 13:55:03 |
|
|
on <tt>imx</tt>, <tt>panda</tt> and <tt>sunxi</tt></li> |
on <tt>imx</tt>, <tt>panda</tt> and <tt>sunxi</tt></li> |
</ul> |
</ul> |
|
|
<p> |
|
<b>Building from source:</b> |
|
At this moment, the kernel has to be in the FAT or ext2 boot partition, not |
|
the root of the file system like other OpenBSD platforms, and this kernel |
|
must be in a format required by the U-Boot boot loader. |
|
So, after building your kernel, you must go through some special steps: |
|
|
|
<blockquote><pre> |
|
# <b>config GENERIC</b> |
|
# <b>cd ../compile/GENERIC</b> |
|
# <b>make clean</b> |
|
# <b>make bsd.OMAP.umg</b> |
|
# <b>mount /dev/sd0i /mnt</b> <i># assuming your FAT partition is 'i'</i> |
|
# <b>cp bsd.OMAP.umg /mnt/bsd.umg</b> |
|
</pre></blockquote> |
|
|
|
<b>No real time clock:</b> Many of the armv7 devices do not have a |
<b>No real time clock:</b> Many of the armv7 devices do not have a |
battery-backed real time clock. For this reason, using the <tt>-s</tt> |
battery-backed real time clock. For this reason, using the <tt>-s</tt> |
option of <a href="faq/faq6.html#OpenNTPD">OpenNTPD</a> may be desirable. |
option of <a href="faq/faq6.html#OpenNTPD">OpenNTPD</a> may be desirable. |
|
|
<p> |
|
<b>Using U-Boot:</b> |
|
<ul> |
|
<li>Booting single user (OMAP/beagle): |
|
|
|
<blockquote><pre> |
|
U-Boot# mmc rescan |
|
U-Boot# setenv bootargs sd0 -s |
|
U-Boot# load mmc 0 0x82800000 bsd.umg |
|
U-Boot# bootm 0x82800000 |
|
</pre></blockquote> |
|
|
|
<li>Booting single user (i.MX6, SATA storage): |
|
|
|
<blockquote><pre> |
|
U-Boot# sata init |
|
U-Boot# setenv bootargs sd0 -s |
|
U-Boot# load sata 0 0x12000000 bsd.umg |
|
U-Boot# bootm 0x12000000 |
|
</pre></blockquote> |
|
|
|
</ul> |
|
|
|
<a name="install"></a> |
<a name="install"></a> |
<h3><font color="#0000e0"> |
<h3><font color="#0000e0"> |