=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/armv7.html,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- www/armv7.html 2016/04/15 23:40:58 1.23 +++ www/armv7.html 2016/04/16 02:47:46 1.24 @@ -126,81 +126,42 @@

Building from source: -At this moment, the kernel has to be in the FAT boot partition, not the -root of the file system like other OpenBSD platforms, and this kernel +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:

 # config GENERIC
 # cd ../compile/GENERIC
-# make clean; make
+# make clean
 # make bsd.OMAP.umg
 # mount /dev/sd0i /mnt    # assuming your FAT partition is 'i'
 # cp bsd.OMAP.umg /mnt/bsd.umg
 
No real time clock: Many of the armv7 devices do not have a -battery backed real time clock. -For this reason, using the "-s" option of -OpenNTPD may be desirable. +battery-backed real time clock. For this reason, using the -s +option of OpenNTPD may be desirable.

-Distribution kernels must be converted before use: -The distribution kernels are standard kernels, which can be used -for the -N option of -ps(1), -vmstat(8), -dmesg(8), -iostat(8) -and similar applications, but cannot be booted directly by the U-Boot -bootloader used on this platform. - -This can be done using -mkuboot(8) - -

-Typical operation is something along these lines for OMAP/beagle: - -

-# mkuboot -a arm -o linux -e 0x80300000 -l 0x80300000 bsd bsd.umg
-
- -for i.MX6: - -
-# mkuboot -a arm -o linux -e 0x10300000 -l 0x10300000 bsd bsd.umg
-
- -where bsd is the name of the kernel you are converting. - -

-U-Boot tricks: +Using U-Boot: