summaryrefslogtreecommitdiff
path: root/distrib/armv7
AgeCommit message (Collapse)Author
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@
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'.