=================================================================== 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:
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.# 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
-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: - -
- -for i.MX6: - --# mkuboot -a arm -o linux -e 0x80300000 -l 0x80300000 bsd bsd.umg -
- -where bsd is the name of the kernel you are converting. - --# mkuboot -a arm -o linux -e 0x10300000 -l 0x10300000 bsd bsd.umg -
-U-Boot tricks: +Using U-Boot:
-U-Boot# mmc rescan U-Boot# setenv bootargs sd0 -s -U-Boot# fatload mmc 0 0x82800000 bsd.umg +U-Boot# load mmc 0 0x82800000 bsd.umg U-Boot# bootm 0x82800000
--U-Boot# mmc rescan -U-Boot# setenv bootargs sd0 -s -U-Boot# fatload mmc 0 0x12000000 bsd.umg -U-Boot# bootm 0x12000000 -
@@ -213,7 +174,7 @@U-Boot# sata init U-Boot# setenv bootargs sd0 -s -U-Boot# fatload sata 0 0x12000000 bsd.umg +U-Boot# load sata 0 0x12000000 bsd.umg U-Boot# bootm 0x12000000
The latest supported OpenBSD/armv7 release is -OpenBSD 5.9. +OpenBSD 5.9. Here are the OpenBSD/armv7 5.9 installation instructions.