summaryrefslogtreecommitdiff
path: root/distrib/armv7/ramdisk
AgeCommit message (Collapse)Author
2019-04-29remove the abstraction REV on top of abstraction OSrev which is alwaysTheo de Raadt
the sme.
2019-04-28CBIN variable is also pointless, it is always "instbin". Rather thanTheo de Raadt
having two mysterious names, let's settle on one.
2019-04-28the BSD_RD variable is pointlessTheo de Raadt
2019-04-05Use new rdsetroot.Theo de Raadt
2019-02-09The am335x_boneblack U-Boot target has been removed in the U-BootJonathan Gray
repository and will not be in the next major release. Switch to the am335x_evm target a FIT image for multiple am335x boards including the BeagleBone Black. u-boot-arm >= 2019.01p2 is now required to build armv7 releases. ok deraadt@ phessler@
2019-01-24kernels in compile dirs are readonly, and the bsd.rd we created hasChristian Weisgerber
tracked that permission. Make the copy in $RELEASEDIR a+r ok deraadt@
2018-09-21U-Boot 2018.05 and later will attempt to load a dtb for PocketBeagle ifJonathan Gray
the hardware is detected. Add this to the miniroot/ramdisk. requires dtb 4.18 U-Boot 2018.09 and later will load a dtb for 'SanCloud BeagleBone Enhanced' if required which will be in dtb 4.19 after linux 4.19 is released and can be added then.
2018-03-23These media do not currently support the "OpenBSD region", so theTheo de Raadt
script doesn't need support for the 3rd choice.
2018-03-21trim cert.pem on all arches that install it. use the installed file fromStuart Henderson
DESTDIR rather than reaching around in src. ok deraadt
2018-03-20include hummingboard2 (Hummingboard Gate and Edge) and som rev 1.5 dtbsJonathan Gray
As of U-Boot 2018.03 the mx6cuboxi U-Boot image will attempt to load hummingboard2 dtbs automatically when hummingboard2 is detected. Detection of som rev 1.5 will come in a later version of U-Boot. These dtbs are included in dtb 4.16rc5 and later.
2017-12-03Include dtbs for Wandboard rev D1 including the i.MX 6QuadPlus variant.Jonathan Gray
Requires U-Boot >= 2017.11 and dtb >= 4.15-rc1.
2017-11-19add growfs(8) to ramdiskjob
Some resizing scenarios can be done from within single user mode, but resizing the root partition required you to bring your own growfs(8) binary into the ramdisk environment. This commit adds growfs(8) to the ramdisks (the ones that don't have space constraints) to simplify such operations. OK deraadt@
2017-09-15Add dtbs the am335x_boneblack U-Boot image may use if a matching modelJonathan Gray
is found.
2017-09-01Remove the miniroot for the OMAP3 BeagleBoards. Ethernet is on USB andJonathan Gray
USB isn't supported. The installer turns out to have been broken on BeagleBoard for over a year and no one noticed. The existing support for OMAP3 in the kernel remains though it isn't clear if anyone has tried it after the fdt changes went in. ok patrick@ tom@ kettenis@ matthieu@
2017-08-22scan_dmesg sorts words within a hardware model string. Switch to usingJonathan Gray
the hw.product sysctl to avoid the problem. ok deraadt@ rpe@ kettenis@
2017-07-28DEFAULTSETS, SANESETS and THESETS are set in the install.md scriptsRobert Peichaer
according to the same logic for all architectures but sgi. Consolidate setting them in one place in install.sub and incorporate the sgi specific MDSETS and MDSANESETS. Introduce MDSANESETS complementing MDSETS which makes the construction of DEFAULTSETS, THESETS and SANESETS clearer in install.sub. While here, adjust the comment about how MDSETS used now. OK deraadt@
2017-07-08hook up slaacd to the installer on media where we have INET6Florian Obser
2017-07-08slaacd needs libevent on the ramdiskFlorian Obser
move forward deraadt@
2017-01-24There are two u-boot targets which should work with the sabre liteJonathan Gray
boards. mx6qsabrelite (which sets fdt_addr) and nitrogen6q (which sets fdtaddr). The difference seems to be the mx6qsabrelite target uses a small loader in SPI connected flash which will load the rest of u-boot from an SD card. The nitrogen6q target normally loads all of u-boot from an image in flash and then searches for a 6x_bootscript file with u-boot commands on MMC and SATA. While neither of them supports "Generic Distro Configuration" which would automatically search for an EFI image, if they did fdt_addr is intended to be used for a DTB in ROM, while fdt_addr_r is intended to be used for a DTB in RAM. Change the 6x_bootscript u-boot commands to load the DTB to fdtaddr instead of fdt_addr as matthieu@ reported fdt_addr was not present in the u-boot environment on his system.
2017-01-22Whitespaces ...Robert Peichaer
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-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-03remove text that discusses putting kernels on msdos fsJonathan Gray
2016-05-30Tweak previousRobert Peichaer
OK jsg
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-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-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@