summaryrefslogtreecommitdiff
path: root/distrib/armv7
AgeCommit message (Collapse)Author
2021-07-26Pass make flags to kernel and lib buildskn
Running `make -j4' in /usr/src/distrib/amd64/ramdisk_cd/ et al. executes make(1) to both build the RAMDISK kernel and build libraries. Doing so does not propagate the flags specified to the ramdisk_cd invocation, which in turn means `-j4' for example is ignored and both kernel and libraries will not be built in parallel. Pass make(1)'s MFLAGS along to retain relevant flags; make is clever enough to separate flags, variable assignments and targets from each other and only pass along things to `MFLAGS' that'd make sense, i.e. `make -C. -j4 foo=bar' does *not* pass `-C.' to change directories. (can be easily tested with `make -p ... | grep MFLAGS'.) This makes hacking on ramdisks/the installer much faster, espescially since the `bsd' target does `make clean' and therefore builds a new kernel every time. OK deraadt
2021-07-18Remove hackery around /tmp/i/resolv.conf*. In particular "lookup file bind"Theo de Raadt
is required because of TLS servername for contacting ftp.openbsd.org, and there is no point doing that in resolv.conf.tail because it is no longer used. ok florian kn
2021-07-16Replace dhclient with dhcpleased/resolvd on the ramdisk.Florian Obser
OK deraadt who also helped making some space.
2020-05-18Make ffs2 the default for newfs; change all calls to create e.g. floppyOtto Moerbeek
filesystems or ramdisks to use explicit -O 1; installer already does that. ok sthen@
2020-05-17Change install images called *.fs to *.img. These are UFS filesystem images,Theo de Raadt
but additionally have a bootblock in the first 8K (since UFS does not use that space). There are some UEFI direct-from-internet bootloaders that require the name *.img. So this makes things more convenient for those, while keeping it consistant in all architectures. ok kettenis beck kn
2019-10-31When writing to a raw vnd device with dd if the input file size is not aJonathan Gray
multiple of bs use conv=sync to zero pad the final record. Avoids "vnd0: sloppy write from proc" messages when building arm releases. tested by deraadt@
2019-09-25Change the offset filesystems start on disk for armv7 from 1MB to 16MB.Jonathan Gray
Matches arm64 and is required for rk3288 with TPL now U-Boot is expected to be found at sector 16384 (8MB). ok kettenis@ patrick@
2019-06-07eliminate differences between all the list files as much asTheo de Raadt
possible, and remove the failed previous attempts at sharing in ./miniroot and ./ramdisk. maybe now that differences are eliminated we can start a new sharing effort? i dunno..
2019-05-13Add tee(1) to the ramdisk filesystem and use it to provide both aChristian Weisgerber
moving progress bar during auto upgrade/install and a clean log afterwards. ok deraadt@
2019-05-03Further removal of differences (using install instead of cp, sortingTheo de Raadt
chunks in a specified order, using a few variables, performing bsd.rd to bsd.gz conversion as similar as possible)
2019-04-30repair more trivial differencesTheo de Raadt
2019-04-30rm is in /bin, no need to specifyTheo de Raadt
2019-04-30Every Makefile on every architecture had deviated in unique ways.Theo de Raadt
Eliminate many more differences. When it makes sense, build bsd.rd and miniroot/ramdisk.fs and cd.iso in the same directory. More steps coming after this..
2019-04-29TOPDIR and TOP are not neccessary.Theo de Raadt
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-28Use new vnconfig vnd-auto-allocate mode. Resolve some variation betweenTheo de Raadt
architectures, and start removing some crazy junk that has collected over the years. Being tested on all architectures... ok various people.
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-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.