summaryrefslogtreecommitdiff
path: root/distrib/armv7
AgeCommit message (Collapse)Author
2016-04-29libotermcap was removed from the miniroots in 2013. Additionally, -lcPatrick Wildt
was added for all miniroots at the same time. ok deraadt@ jsg@
2016-04-20Alter SUNXI grep to match the rest of the SOC grepsAaron Bieber
OK bmercer@, patrick@
2016-04-02- merge install.sh into install.sub as do_install()Robert Peichaer
- merge upgrade.sh into install.sub as do_upgrade() - delete install.sh and upgrade.sh - make install.sub executable - turn install and upgrade into symbolic links to install.sub - add autoinstall symbolic link to install.sub - change dot.profile to use these symlinks - introduce a -m option to set MODE in install.sub - alternativly set MODE and AUTO depending on PROGNAME - execute the do_{install,upgrade) functions depending on $MODE OK halex@, krw@ 'go for it' deraadt@
2016-03-27Switch from the solidrun i.mx6 u-boot to mainline u-boot on cubox i.Jonathan Gray
The offset of u-boot.img in the disk image changes to be the same as wandboard.
2016-03-27use MLO not mlo to match the names generated by u-boot buildsJonathan Gray
2016-02-08If manual disklabel editing is requested during install, don't emitKenneth R Westerback
verbiage explaining what disklabels are. If you don't know, you should be using (A)uto! ok rpe@ halex@
2015-12-29Change patterns in case-blocks from a*|A* to [aA]*Robert Peichaer
OK halex@ krw@
2015-12-23Simplify things by using grep -q.Robert Peichaer
OK krw@, halex@, jsg@
2015-12-18Introduce a new function disk_has() to inspect a disk if it has aRobert Peichaer
partition-table of a certain type and optionally if it has a partition of a certain type. Use disk_has() in the install.md script to replace all the various "fdisk <disk> | grep <pattern>" commands greatly simplifying things. positive feedback from sthen@ "time to get it really tested" deraadt@ OK krw@
2015-12-02The '_q'/'(O)penBSD' logic is not used in armv7 at the moment so remove itKenneth R Westerback
until it is needed. Spotted & ok rpe@
2015-08-01redirect dd standard output to /dev/nullJonathan Gray
2015-08-01Make use of u-boot 2015.07's unified wandboard config to provide aJonathan Gray
miniroot to cover all current wandboard variations. Unlike the other imx u-boot configs the wandboard config doesn't search for ext2 only a fat fs. Grow the ramdisk size to fit the extra u-boot files. From Roman Kravchuk.
2015-07-17enable exynosJonathan Gray
2015-07-07At some point the u-boot mlo for panda/beagle stopped looking forJonathan Gray
u-boot.bin and required u-boot.img on the fat fs so switch to using that as we do for beaglebone. Reported by abieber@ via bmercer@
2015-06-29enable vexpressJonathan Gray
2015-06-08expr isn't on the ramdisk use ksh for additionJonathan Gray
problem spotted by jasper@
2015-06-08Move the scan_dmesg calls back into the functions. It can't be calledJonathan Gray
when the file is sourced as /var/run/dmesg.boot won't exist then.
2015-06-03missing __EOT spotted by rpe@Jonathan Gray
2015-06-02Remove the $FSTABFLAG variable and use -F directly. The installerRobert Peichaer
uses disklabel UIDs unconditionally for a while already. OK krw@ "looks good" deraadt@
2015-06-02ReplaceRobert Peichaer
[[ -n $(foo | grep 'bar') ]] with foo | grep -q 'bar' OK halex@ krw@
2015-06-02Rename the imx miniroot to nitrogen as it creates "6x_bootscript".Jonathan Gray
Add a miniroot for the CuBox-i which needs u-boot at a particular offset in the sd image to boot. Based on changes made by Patrick Wildt in bitrig.
2015-05-31Replace identical code in the MD scripts of the installer with a newRobert Peichaer
MI function disklabel_autolayout() which now handles all aspects of the disklabel auto-layout and autopartitioning case for the root disk. Remove get_disklabel_template() and merge it with the new function. "move forward" deraadt@
2015-05-26include the firmware for usb devices on the armv7 ramdiskJonathan Gray
2015-05-20Now all the socs use the same va entry point and don't have anyJonathan Gray
conflicting symbols we can combine the configs. Multiple umg files are still required however. The bsd.umg target in the kernel is replaced by targets for bsd.IMX.umg, bsd.OMAP.umg and bsd.SUNXI.umg.
2015-05-19use the same va entry point on all armv7 socsJonathan Gray
Similiar changes were made in bitrig by Patrick Wildt. As part of this change the physical load address for imx and sunxi have changed. Any u-boot settings that include it will need to be modified. imx: 0x10800000 -> 0x10300000 sunxi: 0x40800000 -> 0x40300000 Tested by bmercer, canacar and myself. ok bmercer@
2015-05-04Add the new template file based autopartitioning feature of disklabel(8)Robert Peichaer
to the OpenBSD installer. It is available during unattended installation. The template file is fetched from an url, provided as answer to a new question in the response file: URL to autopartitioning template for disklabel = url Original diff from and OK henning@ 'no objection' krw@
2015-04-13pwd_mkdb now fits onto the install media. no more chroot games.Theo de Raadt
2015-04-02more -> less; not less -> moreTheo de Raadt
2015-03-11adjust for removal of expr (and while here, sort all these lists, with theTheo de Raadt
goal of eventually refactoring them)
2015-02-23expr no longer needed on media, thanks to halex and todd and rpeTheo de Raadt
2015-01-26Rename miniroot-sunxi to miniroot-cubie as the u-boot includedJonathan Gray
in the image is for Cubieboard1. Discussed with bmercer@ While here switch from using the separate spl and u-boot images to the combined spl and u-boot 'u-boot-sunxi-with-spl.bin'.
2014-12-28Build special/encrypt into instbin, to prepare for dropping use of theTheo de Raadt
version in just installed base.
2014-12-27SRCDIRS must now always come from distrib/special. A few systemsTheo de Raadt
still MD installboot, and we will need to repair those before release, or force them pure -static use by both base and instbin.
2014-12-03rtsol(8) is no longer needed on the ramdisks.Florian Obser
OK deraadt@
2014-07-20place sysctl in sorted order; Jean-Philippe OuelletTheo de Raadt
2014-03-03use official 5.5 keyTheo de Raadt
2014-02-26Fix script to allow it to work on both SD and eMMC. -moj ok deraadt@ nick@Mats O Jansson
2014-01-19we no long use the /var/hash files, but rely on the SHA256.sig file.Theo de Raadt
We can remove the hashing support.
2014-01-11No need for a bin/cpio link on the media, because the pax|tar binary doesTheo de Raadt
not support cpio anymore.
2014-01-10remove md5 after installing it (with the links to the sha256/512 commands).Theo de Raadt
this is because the md5/sha256/sha512 are in the same binary, found in the md5 directory, but the version on the media lacks md5 support. Understand?
2014-01-09copy the relevant key for the release onto the mediaTheo de Raadt
2014-01-08Switch to using the base sha256 command, rather than some customizedTheo de Raadt
abomination. install.sub chunk tested by rpe
2014-01-07SRCDRS usr.bin usr.sbin is a bad idea (because of PIE). The places weTheo de Raadt
pick binaries up must be compiled -static or at least in some safe model for reuse. Since we now use distrib/special for those, we can safely remove usr.bin and usr.sbin from this list.
2013-11-16Remove AUTOROOT variable which is a leftover of r1.183 of install.subRobert Peichaer
diff from Philipp e1c1bac6253dc54a1e89ddc046585792 at osteo dot net ok krw@ halex@
2013-11-01hookup sunxi bits for miniroot and ramdisk, tested on pcduino.Jasper Lievisse Adriaanse
note that on boards without ahci you will need to install to usb and still boot of sd, at least until there's support for the sd slot. ok patrick@
2013-10-28Revamp ARMv7 ramdisk and miniroot creation process.Patrick Wildt
Instead of running mkuboot during install, we call it on during the release build, so that we can also ship bootable images of the generic and the ramdisk kernel. We can now build miniroots for imx, too. The installer also can recognize the SoC and makes decision based on it. Use ext2fs for i.MX6 based devices. Tar the bootloader files to save some space. ok syl@
2013-10-15We do not produce "core" files, so they do not need to be deleted. theyTheo de Raadt
have been *.core files for a very long time. That's a lot of unlink() calls saved.
2013-10-14Turn on the distrib lib bits in crunchgen by setting SRCLIBDIR.Philip Guenther
Add the new files to the clean target's rm list. "why not get it tested?" deraadt@
2013-09-08Oops, typo. Found by Artturi Alm.Patrick Wildt
2013-09-07Update ARMv7's release build process to build kernels and ramdisksPatrick Wildt
per SoC. It's heavily based on the SGI port. ok florian@