summaryrefslogtreecommitdiff
path: root/distrib/utils/embedded
AgeCommit message (Collapse)Author
2023-05-07RISC-V support that works on QEMU with a single hart.skrll
Thanks for Simon Burge for plic(4).
2023-04-19Install /boot/boot.cfg with EFI bootloaders.brook
On ARM ports, the EFI boot loader handles a boot.cfg file if it exists, but one is not installed by default. In contrast, both the i386 and amd64 ports do install boot.cfg by default. Bring these ports into agreement by installing boot.cfg on ARM ports with EFI boot loaders.
2023-03-18Can't use disklabel to find the real size of a disk since a fake disklabelmlelstv
read from disk is trusted. Revert to use drvctl again.
2023-02-18Handle arbitrary raw partitions.mlelstv
Fetch geometry from disklabel to be consistent. Use disktab format instead of the normal human-readable output for parsing the disklabel. Avoid overflows in size computation.
2022-11-19Update a few www.raspberrypi.com URLsyamt
2022-10-30Silence a warning when machdep.dmi.chassis-asset-tag is not presentjmcneill
2022-10-15ec2_init: Add support for Oracle Cloudjmcneill
2021-12-11remove clause 3 from all my licenses that aren't conflicting withmrg
another copyright claim line. again. (i did this in 2008 and then did not update all of my personal templates.)
2021-10-16Background dhcpcd if ec2_init is not enabled to speed up boot.jmcneill
2021-09-25Move DRM-driver firmware from base to its own set, gpufwmaya
This set is only installed on amd64,i386,evbarm. This set is installed on minimal installs and on install media, in case someone needs it for basic driver functionality. Comments: Switched to a single MK tunable for it - that is probably unneeded. An upcoming DRM update will include even fatter firmware, and we'd like to minimize the impact of it.
2021-07-20Extract just the random bits to feed to /dev/urandom.rhialto
This makes no difference in the randomness of the pool, but it improves on the estimation (if any) of how many random bits were obtained. Also make the ftp -q time out a bit longer since I got some time outs.
2021-07-15Add some OpenStack support.rhialto
I found that in the cloud I tried, by the time this script runs, there is no default route in effect yet. That takes some 5 to 10 seconds longer. So I added a retry loop, and to make that easier, changed the order of queries. To make sure it doesn't wait ~forever for a non-existent service I added the -q 1 option to ftp invocations. I also added OpenStack-specific metadata which contains a different random_seed of 512 bytes every time it is requested. See https://github.com/openstack/nova/blob/master/nova/api/metadata/base.py#L355 It may not be trusted data but only in the strictest sense of the word. The data can only be observed by people with access to the cloud's overlay network for the particular VM.
2021-07-06Disable kernfs on live images -- it is not required.jmcneill
2021-07-01AWS marketplace does not allow root ssh logins. Create an ec2-user accountjmcneill
and install the ssh key in that user's home directory instead.
2021-07-01port-evbarm/56274: no network on ec2 arm64 9.99.85jmcneill
Add -w to dhcpcd_flags when running on EC2, since we need to wait for the network to come up before contacting the metadata service.
2021-07-01No need for ec2_init on arm64mbrjmcneill
2020-12-23Fix fallout from mkimage rev 1.76.rin
For mkimage: - Update "size" if auto-calculated. - Use "dd bs=1" instead of non-portable "head -c". - Some style nits. For MD make_label() functions: - Stop using "newsize" as image size in MB, use "size" instead.
2020-12-21embedded/mkimage: Pad image with zeros to multiple of 4 MB plus 1 MB.riastradh
Otherwise, there may not be enough space after the ffs partition for a gpt, leading to very confusing results.
2020-12-01G/C unused.rin
2020-12-01rpi.img: Bump boot partition in a similar manner to other images.rin
2020-07-17Create an "octeon.img.gz" bootable image for evbmips64-eb release builds.jmcneill
2020-05-28Create a separate Arm64 image that uses MBR partitioning. Amlogic SoCsjmcneill
require the bootloader to be installed on SD cards at LBA1 which makes them incompatible with GPT images.
2020-05-28Allow config file to override hostnamejmcneill
2020-05-27Move back to MBR based images for armv7 because Amlogic's bootloader (forjmcneill
Amlogic S805 based boards) needs to be installed to sector 1, which conflicts with the GPT header.
2020-05-27Fix kernel= order, add pi0w conditional and commentsjmcneill
2020-05-27Conditionally boot kernel.img or kernel7.img depending on boardjmcneill
2020-05-25No need to rename netbsd-GENERIC.img to kernel7.imgjmcneill
2020-05-25Switch to GPT w/ hybrid MBR for armv7 imagesjmcneill
2020-05-24Enable GPT support w/ hybrid MBR for Raspberry Pi compatibility.jmcneill
2020-05-24Add support for hybrid MBR/GPT images.jmcneill
2020-05-24Add GPT support to mkimage.jmcneill
2020-05-18Separate devicetree .dts -> .dtb building from kernel builds. They are nowjmcneill
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This defaults to yes for earmv[67]* and aarch64, and no everywhere else.
2020-02-23RPi4 has a different root device, so use config.txt conditionals to loadjmcneill
an alternate cmdline txt file (cmdline-pi4.txt) on these boards.
2020-01-08Use fat16 as the partition is too small for fat32. from Harold Gutchskrll
2020-01-05Use make_label_evbarm instead of home grownskrll
2020-01-01upstream_kernel=1 is required with new firmware/kernel.skrll
2019-12-16Update to new RaspberryPi firwareskrll
commit 0c01dbefba45a08c47f8538d5a071a0fba6b7e83 Author: popcornmix <popcornmix@gmail.com> Date: Wed Dec 11 15:30:08 2019 +0000 and include firmware for RPI4 Firmware has bee updated to support mainline linux kernels as described in https://github.com/raspberrypi/linux/issues/3237
2019-12-16Fix whitespace in a commentskrll
2019-12-01Remove the pretty much useless 128MB swap partition from the arm images.jmcneill
2019-10-30Move omap3 dtb files to /boot/dtbjmcneill
2019-10-30Remove debug output, fix a progress messagemartin
2019-10-30Derive the FAT type from the MBR partition type and pass it on to makefsmartin
when crating a msdos file system.
2019-10-30Move a lot of *.dtb files to a dtb/ subdirectory on the FAT partition.martin
Mkimage (eroneously) creates a FAT16 partition (despite the configuration asking for FAT32), and that has a root directory size limit. Idea from Jared.
2019-10-27Switch to GENERIC kernels only.jmcneill
2019-10-27No support for tegra210 in armv7 kerneljmcneill
2019-10-05Fix typomlelstv
2019-10-02Split out /rescue to its own set and adapt installers/images to add it.maya
This is meant to make updates safer: if something goes wrong with updating base, we still have the old, standalone /rescue to recover from.
2019-07-21Fallback to non-EFI boot script if EFI bootloader is absent.rin
Note that we do not currently build EFI bootloader for earmv7hf-eb, as it requires little-endian version of toolchain.
2019-06-12move creds_msdos.8 into the normal place and install it.mrg
2019-06-12various cleanups inspired by reviews:mrg
- clean up variable usage - be explicit that $ssh_userkeys is global - don't assig id output to a variable not used