summaryrefslogtreecommitdiff
path: root/distrib/armv7
AgeCommit message (Collapse)Author
2017-01-19Mainline u-boot on SABRE Lite/BD-SL-i.MX6 does not have the genericJonathan Gray
distro hooks that automatically load an efi file if found. Instead it looks for a '6x_bootscript' u-boot script as the original boundary devices u-boot did. Create a script in the nitrogen miniroot and on install that will load a dtb and bootarm.efi then call bootefi. Based on notes from matthieu@
2016-12-31Install cert.pem + ftp(1) binary that supports SSL, so the install scriptTheo de Raadt
can perform https fetches. While non-critical for sets (which are verified using signify), it is an uplift for communication towards the ftp.openbsd.org cgi which provides mirror proposals, entropy seeds, and current time. [The install script changes are not included in this commit] ok beck jsing rpe armv7 results tested by jsg
2016-12-31Paths should be relative..Theo de Raadt
discussed with jsg
2016-11-30Use makefs to build bsd.rd on armv7 and macppc.Martin Natano
ok deraadt
2016-10-14Use new kernel compile method for ramdisks, de-escalating to $BUILDUSERTheo de Raadt
as required. much help from natano and tb.
2016-09-17ping6(8) is now a hardlink to ping(8).Florian Obser
The instbin stuff looks good to deraadt@
2016-09-13Provide a stripped down group file for the install media.Robert Peichaer
Saves precious 896 bytes as a side effect. OK deraadt
2016-09-04add missing doas entries; noticed by avsmTheo de Raadt
2016-09-04Switch the cubie miniroot from the Allwinner A10 based Cubieboard1Jonathan Gray
to the Allwinner A20 based Cubieboard2 now that problems with cortex A7 are fixed. There seems to be more people with the Cubieboard2 than the Cubieboard1.
2016-09-04Move files created by root during install/upgrade in a subdir ofRobert Peichaer
/tmp with proper permissions so that unprivileged programs can not tamper with them. positive feedback from deraadt OK halex
2016-09-04Move files created by root during install/upgrade in a subdir ofRobert Peichaer
/tmp with proper permissions so that unprivileged programs can not tamper with them. positive feedback from deraadt OK halex
2016-06-10list dtbs in DTBS not DTBJonathan Gray
fixes lack of dtbs on cubox miniroot reported by jca@
2016-06-05dd the cubieboard u-boot at the raw offset like the miniroot doesJonathan Gray
2016-06-05silence dd stderr output when writing u-boot files to diskJonathan Gray
reminded by and ok krw@
2016-06-05Previously armv7 ramdisk creation would tar up the mdec directory on theJonathan Gray
build machine and extract it when installing. Change to using the u-boot and dtb packages when creating ramdisks and miniroots and don't place these files in mdec on install. Installing these packages is now required to run make release on armv7.
2016-06-05specify the u-boot target name and dtbs used for each minirootJonathan Gray
2016-06-03remove text that discusses putting kernels on msdos fsJonathan Gray
2016-05-30Tweak previousRobert Peichaer
OK jsg
2016-05-29Add back the fdisk command to flag the fat fs as active.Jonathan Gray
The omap boot rom that loads the first u-boot stage requires this.
2016-05-29Decide which u-boot/dtb to use based on the fdt model printed whenJonathan Gray
attaching mainbus not the string we print based on the board id when attaching the soc platform abstraction. Overhaul md_installboot() to make it much more readable based on suggestions from rpe@
2016-05-29Stop building u-boot kernel and ramdisk images. The kernel make targetsJonathan Gray
are left for now but umg files are no longer built when building releases.
2016-05-28Assume sabrelite/nitrogen has a bootefi enabled u-boot in flash and justJonathan Gray
install dtbs and efiboot on the fat fs.
2016-05-28use efiboot in armv7 miniroot imagesJonathan Gray
2016-05-26Use a fat16 partition starting at sector 2048/1MB everywhere to simplifyJonathan Gray
things. OMAP can still load the first u-boot stage (MLO) from the fs and imx u-boot can load files off fat. The offset allows space for the u-boot images placed at raw offsets on imx and sunxi. discussed with kettenis
2016-05-25Use efiboot when setting up the installed disk. If efiboot is placedJonathan Gray
in the correct path on disk u-boot will load it and search for dtb files without a script. Leave sabre lite/nitrogen with the old method as boundary devices haven't released u-boot 2015.05 yet. ok kettenis@
2016-05-22force long filenames on the initial fat16 mount here as wellJonathan Gray
dtb filenames are longer than 8.3
2016-05-22use a common simple u-boot script that loads with fdtJonathan Gray
2016-05-22Remove LOADADDR definitions, the default ${loadaddr} set by u-boot isJonathan Gray
now used.
2016-05-22use a simple u-boot script for all the miniroots that loads with fdtJonathan Gray
ok patrick@ kettenis@
2016-05-21Copy dtb files to miniroots and install disk. Increase the ramdisk sizeJonathan Gray
and force long filenames on the first mount of fat 16 filesystems so this works. U-boot scripts have not yet been changed to load these files. ok kettenis@
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@