| History log of /src/distrib/utils/embedded/conf/evbarm.conf |
| Revision | | Date | Author | Comments |
| 1.44 |
| 29-Dec-2024 |
jmmv | Recognize MKPOSTFIX=no in mkimage
|
| 1.43 |
| 27-Dec-2024 |
christos | Remove duplicated code, handle minwrites in _normal the same way we handle it in _gpt. Initial patch from jmmv@.
|
| 1.42 |
| 27-Sep-2023 |
riastradh | branches: 1.42.2; /etc/rc.d/cerctl_init: New script for certctl rehash in live images.
This is very limited -- it does not supplant postinstall to rehash certificates on upgrade; it only runs certctl rehash if /etc/openssl/certs is an empty directory, as you get in live images not created with sysinst.
We could also have a more general-purpose way to run postinstall(8) on first boot of an image, but that has a lot more moving parts to think about, so let's start with this limited-scope low-risk approach.
PR install/57629
XXX pullup-10
|
| 1.41 |
| 30-Oct-2022 |
jmcneill | branches: 1.41.2; Silence a warning when machdep.dmi.chassis-asset-tag is not present
|
| 1.40 |
| 15-Oct-2022 |
jmcneill | ec2_init: Add support for Oracle Cloud
|
| 1.39 |
| 06-Jul-2021 |
jmcneill | Disable kernfs on live images -- it is not required.
|
| 1.38 |
| 23-Dec-2020 |
rin | Fix fallout from mkimage rev 1.76.
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.
|
| 1.37 |
| 17-Jul-2020 |
jmcneill | Create an "octeon.img.gz" bootable image for evbmips64-eb release builds.
|
| 1.36 |
| 28-May-2020 |
jmcneill | Allow config file to override hostname
|
| 1.35 |
| 24-May-2020 |
jmcneill | Add GPT support to mkimage.
|
| 1.34 |
| 01-Dec-2019 |
jmcneill | Remove the pretty much useless 128MB swap partition from the arm images.
|
| 1.33 |
| 11-Jun-2019 |
mrg | branches: 1.33.2; add a method to add user accounts or ssh keys to the embedded (installable) images which may be run entirely headless and have no current method to edit the installation without another netbsd host to modify the root (FFS) partition.
creds_msdos reads the creds.txt file from the msdos boot partition and provides 4 basic methods:
sshkeyfile <user> <path on msdos> sshkey <user> <entry> useraddhash <user> <passwd hash> useradd <user> <passwd>
the first two create a user with ssh key(s), and the second two create a user with a password. if the last method is used and raw passwords are given, the creds.txt file will be shredded and deleted by rm -P.
inspired by a request from a pine64 user. ok jmcneill@.
|
| 1.32 |
| 02-Dec-2018 |
jmcneill | Fix variable escaping in dev_exists()
|
| 1.31 |
| 30-Nov-2018 |
jmcneill | Add support for configuring Amazon.com EC2 SSH keys and hostnames. While here, only set wscons=YES if a wsdisplay0 device is present.
|
| 1.30 |
| 06-Oct-2018 |
jmcneill | Use special ROOT. prefix in fstab entries instead of assuming ld0
|
| 1.29 |
| 06-Oct-2018 |
jmcneill | resize_disklabel: if disk and partition is not specified, use kern.root_device/kern.root_partition sysctls
|
| 1.28 |
| 19-Jun-2018 |
jmcneill | branches: 1.28.2; Increase reserved space at start of image from 4MB to 16MB to make room for Rockchip bootloaders.
|
| 1.27 |
| 13-May-2017 |
hubertf | branches: 1.27.8; minor cleanup in customize_evbarm(): keep handling of /etc/rc.conf in one place
|
| 1.26 |
| 12-Apr-2017 |
jmcneill | branches: 1.26.2; Slightly reduce the size of the MSDOS partition from 124M to 92M. With the larger size, installing the ODROID-C1 bootloader causes the fs to become unreadable. Not sure why..
|
| 1.25 |
| 11-Apr-2017 |
jmcneill | Increase the size of the boot partition and remove the 'd' part from the disklabel.
|
| 1.24 |
| 01-Aug-2015 |
jmcneill | branches: 1.24.2; 1.24.4; mount root partition with noatime
|
| 1.23 |
| 01-Aug-2015 |
jmcneill | Align partitions to 64MB for the benefit of SD cards > 32GB
|
| 1.22 |
| 06-Apr-2015 |
jmcneill | show resize_ffs progress bar when resizing root partition
|
| 1.21 |
| 06-Apr-2015 |
jmcneill | Add support for auto-growing the root partition. Enable it for rpi.img.
|
| 1.20 |
| 29-Jan-2015 |
skrll | Fix previous so that the new generated rc.conf is picked up and that any new new mount points (e.g. /proc and /kern) are generated.
While here increate the fs size so that postfix can actually build /etc/mail/aliases.db
|
| 1.19 |
| 28-Jan-2015 |
jmcneill | add /var/shm tmpfs to fstab
|
| 1.18 |
| 23-Jan-2015 |
skrll | PR/49596: mkimage: incorrect permissions on evbarm images
Use NetBSD.dist in our mtree specification to populate the top level directories, etc.
For each generated file hand craft an mtree entry.
Remove specialdirs as NetBSD.dist creates /proc and /kern.
|
| 1.17 |
| 25-Nov-2014 |
jmcneill | disable wapbl for evbarm images until stability issues are sorted out
|
| 1.16 |
| 09-Sep-2014 |
jmcneill | turn on ntpd
|
| 1.15 |
| 31-Mar-2014 |
christos | branches: 1.15.4; these changes produce a bootable system under qemu, but its root is trashed.
|
| 1.14 |
| 31-Mar-2014 |
christos | Add preliminary support for creating x86 usb sticks with mkimage. This is untested, and just a checkpoint of the work. Image looks ok, but I have not tried if it boots.
|
| 1.13 |
| 22-Nov-2013 |
skrll | Fix /dev population of the evbarm images by using MAKEDEV -s and appending to the mtree spec file passed to makefs.
|
| 1.12 |
| 05-Jul-2013 |
matt | Keep both c: and d: paritions so this can work with systems that have RAW_PART as 2 or 3. Addresses PR/47688.
|
| 1.11 |
| 20-May-2013 |
christos | If minwrites is set: - set noatime, nodevmtime for root - use tmpfs for frequently written files - use unix sockets instead of fifos for postfix From: http://rich-tbp.blogspot.com/2013/03/netbsd-on-rpi-minimizing-disk-writes.html
|
| 1.10 |
| 01-Mar-2013 |
htodd | Disklabel need to use sectors, not bytes. Thanks to agc.
|
| 1.9 |
| 21-Feb-2013 |
hans | branches: 1.9.4; Use HOST_SH to run scripts. Makes mkimage work on SunOS.
|
| 1.8 |
| 12-Feb-2013 |
jmcneill | create /proc and /kern
|
| 1.7 |
| 10-Feb-2013 |
jmcneill | set rc_configured=YES and a hostname
|
| 1.6 |
| 10-Feb-2013 |
christos | start with the original rc.conf
|
| 1.5 |
| 03-Feb-2013 |
christos | switch to makefs
|
| 1.4 |
| 28-Jan-2013 |
skrll | Move mdnsd to beagleboard only. RPI doesn't like it at the moment.
|
| 1.3 |
| 23-Jan-2013 |
skrll | Size for 512 byte sectors and base ffs partition size on totalsize minus others.
|
| 1.2 |
| 21-Jan-2013 |
skrll | branches: 1.2.2; kernel.img is for rpi only
|
| 1.1 |
| 16-Jan-2013 |
christos | - Add support for xsets - Factor out common evbarm code
|
| 1.2.2.3 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.2.2.2 |
| 23-Jan-2013 |
yamt | sync with head
|
| 1.2.2.1 |
| 21-Jan-2013 |
yamt | file evbarm.conf was added on branch yamt-pagecache on 2013-01-23 00:04:28 +0000
|
| 1.9.4.4 |
| 19-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.9.4.3 |
| 23-Jun-2013 |
tls | resync from head
|
| 1.9.4.2 |
| 25-Feb-2013 |
tls | resync with head
|
| 1.9.4.1 |
| 21-Feb-2013 |
tls | file evbarm.conf was added on branch tls-maxphys on 2013-02-25 00:24:47 +0000
|
| 1.15.4.5 |
| 06-Aug-2015 |
snj | Pull up following revision(s) (requested by skrll in ticket #909): distrib/sets/lists/etc/mi: revision 1.237 distrib/sets/lists/tests/mi: revision 1.613 distrib/utils/embedded/conf/armv7.conf: revisions 1.1, 1.2 distrib/utils/embedded/conf/beagleboard.conf: delete distrib/utils/embedded/conf/evbarm.conf: revisions 1.21, 1.22 distrib/utils/embedded/conf/rpi.conf: revisions 1.28, 1.29 distrib/utils/embedded/conf/rpi_inst.conf: revisions 1.7, 1.8 distrib/utils/embedded/conf/usermode.conf: revision 1.5 distrib/utils/embedded/conf/x86.conf: revision 1.5 distrib/utils/embedded/files/resize_disklabel: revision 1.1 distrib/utils/embedded/mkimage: revisions 1.49, 1.55-1.59 etc/defaults/rc.conf: revision 1.133 etc/etc.evbarm/Makefile.inc: revisions 1.72, 1.76 etc/rc.d/Makefile: revision 1.93 via patch etc/rc.d/resize_root: revisions 1.1-1.3 etc/rc.d/root: revision 1.5 sbin/resize_ffs/Makefile: revision 1.5 sbin/resize_ffs/resize_ffs.8: revisions 1.14-1.16 sbin/resize_ffs/resize_ffs.c: revisions 1.39-1.44 share/man/man5/rc.conf.5: revision 1.158, 1.159 tests/sbin/resize_ffs/Makefile: revision 1.4 tests/sbin/resize_ffs/common.sh: revision 1.14 tests/sbin/resize_ffs/t_check.sh: revision 1.1 tests/sbin/resize_ffs/t_grow.sh: revision 1.9 tests/sbin/resize_ffs/t_grow_swapped.sh: revision 1.3 tests/sbin/resize_ffs/t_shrink.sh: revision 1.8 tests/sbin/resize_ffs/t_shrink_swapped.sh: revision 1.2 fix image building: - round up the total size of the disk image - fix fdisk offset for netbsd ffs images -- Make get_dev_size work on regular files too. -- Use `!= -1' instead of `== 0' out of paranoia. -- - Add -c to check to see if grow/shrink is required - Divide by DEV_BSIZE when returning size of file. - Update manpage -- New sentence, new line. Sort option descriptions. -- Add resize_root boot operation. If resize_root=YES in rc.conf then the system attempts to resize the root file system to fill it's partition prior to mounting read-write. Useful for things like AMI file system images. May eventually be used by arm images after coming up with similar solution for increasing the parition size. -- - Add new tests for -c check flag in resize_ffs -- Bump date for previous. it's -> its -- Handle case in grow() where last cylinder group is too small for ufs2. Align with code in shrink(). -- factor out geometry calculation and use this also in CheckOnly mode. be a bit more verbose in Verbose mode. -- Add support for auto-growing the root partition. Enable it for rpi.img. -- initialize resize before pulling in board config -- add KEYWORD: interactive, honour resize_root_flags and resize_root_postcmd rc vars -- if the -p flag is specified, display a progress bar while growing the file-system -- show resize_ffs progress bar when resizing root partition -- fix typo in previous; pass -y unconditionally to resize_ffs, not -p -- Rename beagleboard.img to armv7.img. The new image includes the same kernels as beagleboard.img plus support for Raspberry Pi 2, ODROID-C1, Cubieboard2, Cubietruck, Hummingbird A31, and Banana Pi. -- Properly spell X' name. From X(7): The X.Org Foundation requests that the following names be used when referring to this software: X X Window System X Version 11 X Window System, Version 11 X11 -- Add some documentation: Tell what this does, and what it expects from conf files -- Cleanup: make_filesystems is not used any longer, purge remains -- More cleanup: Instead of first overwriting the *_evbarm functions with own code, and then calling them from the regular functions, directly put the code into the regular functions. No more functions from evbarm.conf are used now. Some variables are still used! -- define TOOL_MKUBOOTIMAGE for mkimage -- fix mkubootimage
|
| 1.15.4.4 |
| 29-Jan-2015 |
martin | Pull up following revision(s) (requested by skrll in ticket #470): distrib/utils/embedded/mkimage: revision 1.52 distrib/utils/embedded/conf/x86.conf: revision 1.7 distrib/utils/embedded/conf/evbarm.conf: revision 1.20 Fix previous so that the new generated rc.conf is picked up and that any new new mount points (e.g. /proc and /kern) are generated. While here increate the fs size so that postfix can actually build /etc/mail/aliases.db
|
| 1.15.4.3 |
| 28-Jan-2015 |
martin | Pull up following revision(s) (requested by jmcneill in ticket #466): distrib/utils/embedded/conf/evbarm.conf: revision 1.19 add /var/shm tmpfs to fstab
|
| 1.15.4.2 |
| 28-Jan-2015 |
martin | Pull up following revision(s) (requested by skrll in ticket #465): distrib/utils/embedded/conf/rpi_inst.conf: revision 1.6 distrib/utils/embedded/conf/usermode.conf: revision 1.4 distrib/utils/embedded/mkimage: revision 1.51 distrib/utils/embedded/conf/x86.conf: revision 1.6 distrib/utils/embedded/conf/evbarm.conf: revision 1.18 PR/49596: mkimage: incorrect permissions on evbarm images Use NetBSD.dist in our mtree specification to populate the top level directories, etc. For each generated file hand craft an mtree entry. Remove specialdirs as NetBSD.dist creates /proc and /kern.
|
| 1.15.4.1 |
| 27-Nov-2014 |
martin | Pull up following revision(s) (requested by jmcneill in ticket #268): distrib/utils/embedded/conf/evbarm.conf: revision 1.17 disable wapbl for evbarm images until stability issues are sorted out
|
| 1.24.4.1 |
| 21-Apr-2017 |
bouyer | Sync with HEAD
|
| 1.24.2.1 |
| 26-Apr-2017 |
pgoyette | Sync with HEAD
|
| 1.26.2.1 |
| 19-May-2017 |
pgoyette | Resolve conflicts from previous merge (all resulting from $NetBSD keywork expansion)
|
| 1.27.8.3 |
| 26-Dec-2018 |
pgoyette | Sync with HEAD, resolve a few conflicts
|
| 1.27.8.2 |
| 20-Oct-2018 |
pgoyette | Sync with head
|
| 1.27.8.1 |
| 25-Jun-2018 |
pgoyette | Sync with HEAD
|
| 1.28.2.3 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.28.2.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.28.2.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.33.2.1 |
| 08-Dec-2019 |
martin | Pull up following revision(s) (requested by jmcneill in ticket #511):
distrib/utils/embedded/conf/evbarm.conf: revision 1.34
Remove the pretty much useless 128MB swap partition from the arm images.
|
| 1.41.2.1 |
| 02-Oct-2023 |
martin | Pull up following revision(s) (requested by riastradh in ticket #381):
distrib/utils/embedded/conf/evbarm.conf: revision 1.42 distrib/sets/lists/etc/mi: revision 1.273 etc/rc.d/Makefile: revision 1.118 distrib/utils/embedded/conf/usermode.conf: revision 1.7 etc/rc.d/certctl_init: revision 1.1 distrib/evbarm/liveimage/armimage/rc.conf.armimage: revision 1.2 etc/defaults/rc.conf: revision 1.166 distrib/amd64/liveimage/emuimage/rc.conf.emuimage: revision 1.3 distrib/utils/embedded/conf/x86.conf: revision 1.11 distrib/utils/embedded/conf/evbmips.conf: revision 1.4
/etc/rc.d/cerctl_init: New script for certctl rehash in live images.
This is very limited -- it does not supplant postinstall to rehash certificates on upgrade; it only runs certctl rehash if /etc/openssl/certs is an empty directory, as you get in live images not created with sysinst.
We could also have a more general-purpose way to run postinstall(8) on first boot of an image, but that has a lot more moving parts to think about, so let's start with this limited-scope low-risk approach.
PR install/57629
/etc/rc.d/certctl_init: Default off. Otherwise in systems without certctl_init=YES, such as systems installed with sysinst(8) where it's unnecessary because the rehash has already happened at install time, you'll get spurious warnings.
|
| 1.42.2.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|