summaryrefslogtreecommitdiff
path: root/distrib/armv7
AgeCommit message (Collapse)Author
2024-04-09Remove the "cubie" miniroot. There are far more popular armv7 boardsMark Kettenis
with Allwinner SoCs and the presence of this particular miniroot is making it hard to update U-Boot. ok jsg@
2023-09-25adapt to new dir layout in dtb packages; ok deraadtStuart Henderson
2023-04-28Retire -E's "expert" mode. Introduced 23 years ago to avoidKenneth R Westerback
confusing users with FFS attributes that only experts should fiddle with. Actual use has withered away with functionality rendered moot or moved elsewhere. '-e' remains for the truly obscure corner cases. Simply excise the code for now to see if hidden users/uses are exposed. Further simplifications are possible if no such users/uses surface. ok with sthen@ millert@ kn@ otto@
2023-04-28Add support for RTL8188FTV chip to urtwn(4).Kevin Lo
Tested with Comfast CF-WU710N v4. "go ahead" deraadt@ OK stsp@
2023-04-24Change variable 'DISKTYPE' to 'FSDISKTYPE' like every other arch.Kenneth R Westerback
No functional change. ok patrick@
2023-04-20Revert the previous commit. The raw devices don't exist when this runsMark Kettenis
and the block devices work just fine.
2023-03-29Use character not block devices with dd(1) like the restKlemens Nanni
All other dd invocations in installer code, INSTALL.* instructions and dd(1) EXAMPLES use the disk's "raw device".
2023-03-29Unify variable usage in arm64 and armv7 md_installboot() with the restKlemens Nanni
`_disk' (and related variables) hold disk names as "sd0" so that all else can be constructed from it. Fix the only two offenders across distrib/ which put start the variable with "/dev/"; no functional change.
2023-03-28Properly disable informational dd(1) messages, retain errorsKlemens Nanni
Same as done for arm64 already
2023-02-10Use "echo '/ *' | disklabel -wAT-" to put all free space into theKenneth R Westerback
root partition. Identical behaviour as but more readable than the "echo 'a a\n\n\n\nw\nq\n'| disklabel -E" it replaces. It also eliminates the extraneous output of -E that required ">/dev/null". ok kn@
2022-02-19Use installboot(8) in install.md of armv7.Visa Hankala
OK kettenis@ deraadt@
2022-02-07Use fdisk's -b to create boot partitions instead of -e scripts.Kenneth R Westerback
Build, boot and install tested by visa@ ok visa@
2021-10-12make armv7 fit again after bootblock growth; discussed with jsgTheo de Raadt
2021-10-04Add firmwares for rsu(4), rtwn(4), and urtwn(4) drivers.Kevin Lo
ok deraadt@
2021-08-29new installboot will sometimes reuse the existing msdos boot partition insteadTheo de Raadt
of running newfs_msdos, so fsck_msdos gets run behind the scenes. A few architectures were missing this binary on their install media noticed by sthen
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