|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 tls-maxphys-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base
|
| 1.2 |
04-Apr-2014 |
christos |
branches: 1.2.4; 1.2.8; merge more, and add an i386 image
|
|
Revision tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
|
| 1.1 |
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.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| 1.16 |
17-Feb-2024 |
christos |
Fix MKREPRO build (Jan-Benedict Glaw)
|
|
Revision tags: netbsd-10-1-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
|
| 1.15 |
15-Oct-2022 |
jmcneill |
ec2_init: Add support for Oracle Cloud
|
| 1.14 |
16-Oct-2021 |
jmcneill |
Background dhcpcd if ec2_init is not enabled to speed up boot.
|
| 1.13 |
01-Jul-2021 |
jmcneill |
port-evbarm/56274: no network on ec2 arm64 9.99.85
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.
|
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
| 1.12 |
17-Jul-2020 |
jmcneill |
Create an "octeon.img.gz" bootable image for evbmips64-eb release builds.
|
| 1.11 |
24-May-2020 |
jmcneill |
Enable GPT support w/ hybrid MBR for Raspberry Pi compatibility.
|
| 1.10 |
18-May-2020 |
jmcneill |
Separate devicetree .dts -> .dtb building from kernel builds. They are now 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.
|
|
Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
|
| 1.9 |
23-Feb-2020 |
jmcneill |
RPi4 has a different root device, so use config.txt conditionals to load an alternate cmdline txt file (cmdline-pi4.txt) on these boards.
|
| 1.8 |
16-Dec-2019 |
skrll |
Update to new RaspberryPi firware
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
|
| 1.7 |
16-Dec-2019 |
skrll |
Fix whitespace in a comment
|
|
Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
|
| 1.6 |
03-Mar-2019 |
jmcneill |
Add Amlogic dtb files to arm64.img
|
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
|
| 1.5 |
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.
|
|
Revision tags: pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
| 1.4 |
27-Aug-2018 |
jmcneill |
Install ELF kernel to the FFS partition and boot it with bootaa64.efi instead of loading kernel.img from the MSDOS partition with extlinux.conf
|
| 1.3 |
12-Aug-2018 |
jmcneill |
Move rk3399 dtb files to the correct location
|
|
Revision tags: pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
|
| 1.2 |
19-Jun-2018 |
jmcneill |
branches: 1.2.2; Install RK3328 .dtb files to the correct location
|
|
Revision tags: pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
|
| 1.1 |
01-Apr-2018 |
ryo |
branches: 1.1.2; Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)
- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@) - add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| 1.3 |
17-Feb-2024 |
christos |
Fix MKREPRO build (Jan-Benedict Glaw)
|
|
Revision tags: netbsd-10-1-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
|
| 1.2 |
01-Jul-2021 |
jmcneill |
No need for ec2_init on arm64mbr
|
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
| 1.1 |
28-May-2020 |
jmcneill |
Create a separate Arm64 image that uses MBR partitioning. Amlogic SoCs require the bootloader to be installed on SD cards at LBA1 which makes them incompatible with GPT images.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| 1.47 |
14-Mar-2024 |
christos |
Fix reproducible build (Jan-Benedict Glaw)
|
| 1.46 |
19-Apr-2023 |
brook |
Install /boot/boot.cfg with EFI bootloaders.
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.
|
|
Revision tags: netbsd-10-1-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
|
| 1.45 |
19-Nov-2022 |
yamt |
Update a few www.raspberrypi.com URLs
|
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
| 1.44 |
27-May-2020 |
jmcneill |
Move back to MBR based images for armv7 because Amlogic's bootloader (for Amlogic S805 based boards) needs to be installed to sector 1, which conflicts with the GPT header.
|
| 1.43 |
25-May-2020 |
jmcneill |
No need to rename netbsd-GENERIC.img to kernel7.img
|
| 1.42 |
25-May-2020 |
jmcneill |
Switch to GPT w/ hybrid MBR for armv7 images
|
| 1.41 |
18-May-2020 |
jmcneill |
Separate devicetree .dts -> .dtb building from kernel builds. They are now 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.
|
|
Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
|
| 1.40 |
16-Dec-2019 |
skrll |
Update to new RaspberryPi firware
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
|
|
Revision tags: phil-wifi-20191119
|
| 1.39 |
30-Oct-2019 |
jmcneill |
Move omap3 dtb files to /boot/dtb
|
| 1.38 |
30-Oct-2019 |
martin |
Remove debug output, fix a progress message
|
| 1.37 |
30-Oct-2019 |
martin |
Move a lot of *.dtb files to a dtb/ subdirectory on the FAT partition. Mkimage (eroneously) creates a FAT16 partition (despite the configuration asking for FAT32), and that has a root directory size limit. Idea from Jared.
|
| 1.36 |
27-Oct-2019 |
jmcneill |
Switch to GENERIC kernels only.
|
|
Revision tags: netbsd-9-base
|
| 1.35 |
21-Jul-2019 |
rin |
branches: 1.35.2; Fallback to non-EFI boot script if EFI bootloader is absent.
Note that we do not currently build EFI bootloader for earmv7hf-eb, as it requires little-endian version of toolchain.
|
|
Revision tags: phil-wifi-20190609
|
| 1.34 |
18-May-2019 |
skrll |
Switch the kernel7.img RaspberryPi kernel in the armv7 image to GENERIC and thus reducing the number of kernels built in an evbarmv7 release.
|
| 1.33 |
13-Apr-2019 |
jmcneill |
Remove sun50i support from 32-bit GENERIC.
|
| 1.32 |
30-Mar-2019 |
jmcneill |
Install GENERIC ELF kernel as /netbsd for EFI booting
|
| 1.31 |
30-Mar-2019 |
jmcneill |
Install bootarm.efi to boot partition
|
|
Revision tags: pgoyette-compat-20190127
|
| 1.30 |
21-Jan-2019 |
jmcneill |
No need to specify root and console bootargs on amlogic
|
| 1.29 |
20-Jan-2019 |
skrll |
Another kernel bites te dust.
Remove ODROID-C1 as it is now replaced by GENERIC. Thanks jmcneill.
|
|
Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226
|
| 1.28 |
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.
|
|
Revision tags: pgoyette-compat-1126
|
| 1.27 |
22-Nov-2018 |
aymeric |
Make armv7.img boot on the DE0 Nano SoC. Requires u-boot from -current pkgsrc.
|
| 1.26 |
01-Nov-2018 |
skrll |
Use the GENERIC kernel where possible in armv7.img and remove the old kernels from the bulid for SUNXI and TEGRA.
While I'm here disable *_INSTALL kernel builds for boards supported by armv7.img
|
| 1.25 |
20-Oct-2018 |
skrll |
Whitespace
|
| 1.24 |
20-Oct-2018 |
skrll |
a bit of sorting
|
|
Revision tags: pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
|
| 1.23 |
11-Dec-2017 |
jmcneill |
branches: 1.23.2; 1.23.4; Add missing RPI FDT build goop, from nick.
|
| 1.22 |
03-Dec-2017 |
jmcneill |
On 64-bit boards, U-Boot expects to find .dtb files in an allwinner/ subdirectory
|
| 1.21 |
30-Nov-2017 |
jmcneill |
Remove legacy awin kernels from image
|
| 1.20 |
28-Nov-2017 |
kre |
Be more precise about exactly what fails when something does.
Relying upon set -e to abort things is sort of OK (it is not a recommended option to use in general - too many odd special cases), but only if user can work out from the "build failed" what actually went wrong.
Tested only on amd64 build (for this, i386 is the same) - if anyone has problems on builds for other systems, please let me know. However the changes affect only failure paths, the most likely problem would be for a build to fail to halt on an error, and I hope I have avoided that. There should be no difference at all to error-free builds.
|
| 1.19 |
09-Nov-2017 |
skrll |
Trailing whitespace
|
| 1.18 |
08-Oct-2017 |
jmcneill |
Don't install uEnv.txt for beagle; boot.scr handles this now.
|
| 1.17 |
07-Oct-2017 |
jmcneill |
Install a boot.scr on armv7.img that detects the running board and selects the correct kernel and boot protocol. Should work on tegra, sunxi, and am335x boards for now.
|
| 1.16 |
31-Jul-2017 |
jmcneill |
Create a config.txt for RPI and set 'enable_uart=1' and 'force_turbo=0'. This config gives us a stable core_freq clock that is used to drive the SD HOST and AUX UART devices.
More information on config.txt settings for the UART can be found here:
https://www.raspberrypi.org/documentation/configuration/uart.md
|
|
Revision tags: perseant-stdc-iso10646-base
|
| 1.15 |
09-Jul-2017 |
jmcneill |
Add : to body of populate_sunxi to appease bash.
|
| 1.14 |
06-Jul-2017 |
jmcneill |
Test for kernel build directory before reading DTB list
|
| 1.13 |
06-Jul-2017 |
jmcneill |
Replace HUMMINGBIRD_A31 with SUNXI kernel on armv7.img and include .dtb files for SUNXI and TEGRA kernels on the MSDOS partition.
|
|
Revision tags: netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
|
| 1.12 |
12-Apr-2017 |
jmcneill |
branches: 1.12.4; ODROID-C1: Now that the MBR partition table contains an entry for the BSD partition, the disklabel no longer conflicts with the ODROID-C1 bootloader. Root partition changes from ld0e to ld0a.
|
| 1.11 |
10-Apr-2017 |
jmcneill |
tegra: set loadaddr to 0x90000000 (the default kernel_addr_r overlaps fdt_addr_r on TK1 + L4T 21.x), and set default root device to ld0a to match new device probe order.
|
|
Revision tags: pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| 1.10 |
19-Dec-2015 |
skrll |
branches: 1.10.2; 1.10.4; C&P of change in rpi.conf (maybe factor out)
By default, RPI firmware sets the max CPU frequency to 600MHz. This can be overridden by setting arm_freq in config.txt, but the default freq at boot is still 600MHz.
Add logic to rc.local to compare the current vs. max CPU frequency; if they differ, set the target frequency to the maximum.
|
| 1.9 |
13-Dec-2015 |
jmcneill |
Remove JETSONTK1 and NYAN-BIG kernels, add a new unified kernel named TEGRA.
|
| 1.8 |
21-Aug-2015 |
jmcneill |
Cubieboard2 kernel is named netbsd-CUBIEBOARD.ub not netbsd-CUBIEBOARD2.ub
|
| 1.7 |
02-Aug-2015 |
jmcneill |
branches: 1.7.2; install jetsontk1 boot script as boot.scr
|
| 1.6 |
15-Jul-2015 |
martin |
Properly escape the $ when trying to pass the u-boot env var $kernel. From Rin Okuyama.
|
| 1.5 |
08-Jul-2015 |
skrll |
Turn resize on
|
| 1.4 |
24-May-2015 |
christos |
double quote police
|
| 1.3 |
22-May-2015 |
jmcneill |
add JETSONTK1 to armv7.img
|
| 1.2 |
19-Apr-2015 |
hubertf |
Cleanup: make_filesystems is not used any longer, purge remains
|
| 1.1 |
09-Apr-2015 |
jmcneill |
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.
|
|
Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| 1.19 |
09-Apr-2015 |
jmcneill |
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.
|
| 1.18 |
29-Sep-2014 |
jmcneill |
escape $ in $board so this will boot on beaglebone too
|
|
Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
| 1.17 |
16-Sep-2013 |
ast |
branches: 1.17.4; After discussions with cristos regarding the previous commit, he convinced me it was sufficient to define GZIP_CMD only in distrib/utils/embedded/mkimage and not again in the config files beagleboard.conf, rpi.conf, and rpi_inst.conf similar to how the other variables $src, $release, $mnt, ... are only defined there.
|
| 1.16 |
14-Sep-2013 |
ast |
Fix build release of evbarm which had been failing in mkimage beagleboard_smp with the elusive message:
"gzip: can't stat: gzip: No such file or directory"
This was due to GZIP=gzip being defined in mkimage; we now use:
GZIP_CMD=${TOOL_GZIP:-gzip} # ${GZIP} is special to gzip(1)
as distrib/sets/sets.subr already does in these files as well:
distrib/utils/embedded/mkimage distrib/utils/embedded/conf/beagleboard.conf distrib/utils/embedded/conf/rpi.conf distrib/utils/embedded/conf/rpi_inst.conf
|
| 1.15 |
21-Aug-2013 |
jmcneill |
4th time's a charm (I hope). Make sure that we pick up the kernel path passed to mkimage command line, and not the default.
|
| 1.14 |
19-Aug-2013 |
jmcneill |
Instead of trying to pass two kernels to beagleboard.conf, pass one and derive the path to the second from the first.
|
| 1.13 |
17-Aug-2013 |
jmcneill |
Try to pick up the right location for BEAGLEBONE and BEAGLEBOARD kernels.
|
| 1.12 |
16-Aug-2013 |
jmcneill |
support beaglebone and beagleboard with the same image
|
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
|
| 1.11 |
20-Feb-2013 |
riz |
branches: 1.11.4; Use "gzip -dc" instead of "zcat" - some versions of zcat don't grok gzip.
|
| 1.10 |
17-Feb-2013 |
jmcneill |
gzcat -> zcat
|
| 1.9 |
10-Feb-2013 |
christos |
no objmachine by default.
|
| 1.8 |
10-Feb-2013 |
christos |
remove trailing whitespace from EOF
|
| 1.7 |
10-Feb-2013 |
jmcneill |
make sure kernel is installed as netbsd.ub
|
| 1.6 |
09-Feb-2013 |
jmcneill |
keep beagleboard conf in sync with rpi
|
| 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.
|
|
Revision tags: yamt-pagecache-base8
|
| 1.3 |
16-Jan-2013 |
christos |
branches: 1.3.2; - Add support for xsets - Factor out common evbarm code
|
| 1.2 |
15-Jan-2013 |
jmcneill |
set kerneldir= to the path used by build.sh
|
| 1.1 |
14-Jan-2013 |
jmcneill |
add mkimage config for generating beagleboard images
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| 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@.
|
|
Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| 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
|
|
Revision tags: netbsd-10-base
|
| 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.
|
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
| 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.
|
|
Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
|
| 1.34 |
01-Dec-2019 |
jmcneill |
Remove the pretty much useless 128MB swap partition from the arm images.
|
|
Revision tags: netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base
|
| 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@.
|
|
Revision tags: phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
|
| 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.
|
|
Revision tags: pgoyette-compat-1126 pgoyette-compat-1020
|
| 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
|
|
Revision tags: pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
|
| 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.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3
|
| 1.27 |
13-May-2017 |
hubertf |
branches: 1.27.8; minor cleanup in customize_evbarm(): keep handling of /etc/rc.conf in one place
|
|
Revision tags: prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
|
| 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.
|
|
Revision tags: pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| 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
|
|
Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 tls-maxphys-base
|
| 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.
|
|
Revision tags: riastradh-drm2-base3
|
| 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.
|
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
| 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
|
|
Revision tags: agc-symver-base
|
| 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.
|
|
Revision tags: yamt-pagecache-base8
|
| 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
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| 1.6 |
29-Dec-2024 |
jmmv |
Recognize MKPOSTFIX=no in mkimage
|
| 1.5 |
27-Dec-2024 |
christos |
Remove duplicated code, handle minwrites in _normal the same way we handle it in _gpt. Initial patch from jmmv@.
|
|
Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| 1.4 |
27-Sep-2023 |
riastradh |
branches: 1.4.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
|
|
Revision tags: netbsd-10-base
|
| 1.3 |
06-Jul-2021 |
jmcneill |
branches: 1.3.2; Disable kernfs on live images -- it is not required.
|
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
| 1.2 |
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.1 |
17-Jul-2020 |
jmcneill |
Create an "octeon.img.gz" bootable image for evbmips64-eb release builds.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| 1.4 |
17-Feb-2025 |
jmcneill |
wii: Disable ntpd by default.
It takes up a lot of memory.
|
| 1.3 |
29-Dec-2024 |
jmmv |
Recognize MKPOSTFIX=no in mkimage
|
| 1.2 |
27-Dec-2024 |
christos |
Remove duplicated code, handle minwrites in _normal the same way we handle it in _gpt. Initial patch from jmmv@.
|
|
Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| 1.1 |
20-Jan-2024 |
jmcneill |
branches: 1.1.2; 1.1.4; evbppc: Add initial support for the Nintendo Wii
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 tls-maxphys-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base
|
| 1.1 |
04-Apr-2014 |
christos |
branches: 1.1.4; 1.1.8; merge more, and add an i386 image
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
| 1.1 |
17-Jul-2020 |
jmcneill |
Create an "octeon.img.gz" bootable image for evbmips64-eb release builds.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| 1.3 |
27-Dec-2024 |
christos |
Remove duplicated code, handle minwrites in _normal the same way we handle it in _gpt. Initial patch from jmmv@.
|
|
Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| 1.2 |
27-Sep-2023 |
riastradh |
branches: 1.2.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.1 |
07-May-2023 |
skrll |
RISC-V support that works on QEMU with a single hart.
Thanks for Simon Burge for plic(4).
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| 1.1 |
07-May-2023 |
skrll |
RISC-V support that works on QEMU with a single hart.
Thanks for Simon Burge for plic(4).
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| 1.1 |
07-May-2023 |
skrll |
RISC-V support that works on QEMU with a single hart.
Thanks for Simon Burge for plic(4).
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
|
| 1.40 |
19-Nov-2022 |
yamt |
Update a few www.raspberrypi.com URLs
|
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
| 1.39 |
01-Dec-2020 |
rin |
G/C unused.
|
| 1.38 |
27-May-2020 |
jmcneill |
Fix kernel= order, add pi0w conditional and comments
|
| 1.37 |
27-May-2020 |
jmcneill |
Conditionally boot kernel.img or kernel7.img depending on board
|
| 1.36 |
18-May-2020 |
jmcneill |
Separate devicetree .dts -> .dtb building from kernel builds. They are now 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.
|
|
Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
|
| 1.35 |
16-Dec-2019 |
skrll |
Update to new RaspberryPi firware
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
|
|
Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
|
| 1.34 |
12-Dec-2017 |
jmcneill |
branches: 1.34.4; Fix spelling in error message
|
| 1.33 |
11-Dec-2017 |
jmcneill |
Add missing RPI FDT build goop, from nick.
|
| 1.32 |
28-Nov-2017 |
kre |
Be more precise about exactly what fails when something does.
Relying upon set -e to abort things is sort of OK (it is not a recommended option to use in general - too many odd special cases), but only if user can work out from the "build failed" what actually went wrong.
Tested only on amd64 build (for this, i386 is the same) - if anyone has problems on builds for other systems, please let me know. However the changes affect only failure paths, the most likely problem would be for a build to fail to halt on an error, and I hope I have avoided that. There should be no difference at all to error-free builds.
|
| 1.31 |
09-Nov-2017 |
skrll |
Trailing whitespace
|
| 1.30 |
31-Jul-2017 |
jmcneill |
Create a config.txt for RPI and set 'enable_uart=1' and 'force_turbo=0'. This config gives us a stable core_freq clock that is used to drive the SD HOST and AUX UART devices.
More information on config.txt settings for the UART can be found here:
https://www.raspberrypi.org/documentation/configuration/uart.md
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| 1.29 |
19-Apr-2015 |
hubertf |
Cleanup: make_filesystems is not used any longer, purge remains
|
| 1.28 |
06-Apr-2015 |
jmcneill |
Add support for auto-growing the root partition. Enable it for rpi.img.
|
| 1.27 |
06-Mar-2015 |
skrll |
Add RPI2 to kernels build for both earmv[67].
Use the earmv6 built kernels to create an image that can be used on both RPI and RPI2
|
| 1.26 |
12-Feb-2015 |
jmcneill |
actually write cpufreq changes to ${mnt}/etc/rc.local instead of /tmp/a
|
| 1.25 |
06-Feb-2015 |
jmcneill |
By default, RPI firmware sets the max CPU frequency to 600MHz. This can be overridden by setting arm_freq in config.txt, but the default freq at boot is still 600MHz.
Add logic to rc.local to compare the current vs. max CPU frequency; if they differ, set the target frequency to the maximum.
|
|
Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
| 1.24 |
28-Nov-2013 |
skrll |
branches: 1.24.4; Put console=fb back as autodetect is bunged up.
|
| 1.23 |
16-Sep-2013 |
ast |
After discussions with cristos regarding the previous commit, he convinced me it was sufficient to define GZIP_CMD only in distrib/utils/embedded/mkimage and not again in the config files beagleboard.conf, rpi.conf, and rpi_inst.conf similar to how the other variables $src, $release, $mnt, ... are only defined there.
|
| 1.22 |
14-Sep-2013 |
ast |
Fix build release of evbarm which had been failing in mkimage beagleboard_smp with the elusive message:
"gzip: can't stat: gzip: No such file or directory"
This was due to GZIP=gzip being defined in mkimage; we now use:
GZIP_CMD=${TOOL_GZIP:-gzip} # ${GZIP} is special to gzip(1)
as distrib/sets/sets.subr already does in these files as well:
distrib/utils/embedded/mkimage distrib/utils/embedded/conf/beagleboard.conf distrib/utils/embedded/conf/rpi.conf distrib/utils/embedded/conf/rpi_inst.conf
|
| 1.21 |
01-Aug-2013 |
jmcneill |
use console auto detection, ok nick
|
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
| 1.20 |
24-Mar-2013 |
jmcneill |
turn on devpubd
|
|
Revision tags: agc-symver-base
|
| 1.19 |
20-Feb-2013 |
riz |
branches: 1.19.4; Use "gzip -dc" instead of "zcat" - some versions of zcat don't grok gzip.
|
| 1.18 |
17-Feb-2013 |
jmcneill |
gzcat -> zcat
|
| 1.17 |
10-Feb-2013 |
jmcneill |
dont use echo -n
|
| 1.16 |
09-Feb-2013 |
christos |
handle renaming and uncompressing the kernel
|
| 1.15 |
09-Feb-2013 |
jmcneill |
add missing }
|
| 1.14 |
08-Feb-2013 |
christos |
change to take the full kernel path
|
| 1.13 |
03-Feb-2013 |
christos |
switch to makefs
|
| 1.12 |
23-Jan-2013 |
skrll |
cmdline needs to be a line! hi jak.
|
|
Revision tags: yamt-pagecache-base8
|
| 1.11 |
21-Jan-2013 |
jakllsch |
branches: 1.11.2; Specify the root device in cmdline.txt, also, it's 'Pi', not 'PI'.
|
| 1.10 |
21-Jan-2013 |
skrll |
kernel.img is for rpi only
|
| 1.9 |
16-Jan-2013 |
christos |
- Add support for xsets - Factor out common evbarm code
|
| 1.8 |
15-Jan-2013 |
christos |
now that we compute sizes correctly, reduce the extra to how much free space we want.
|
| 1.7 |
15-Jan-2013 |
christos |
make autosizing work (kind of)
|
| 1.6 |
15-Jan-2013 |
christos |
first step at autosizing, still does not work.
|
| 1.5 |
13-Jan-2013 |
christos |
append to rc.conf, don't overwrite
|
| 1.4 |
13-Jan-2013 |
christos |
add the comp set
|
| 1.3 |
13-Jan-2013 |
christos |
use variables for the fdisk command too
|
| 1.2 |
13-Jan-2013 |
christos |
Autosize label
|
| 1.1 |
13-Jan-2013 |
christos |
Adjust mkimage to handle RPI. From skrll@
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
|
| 1.19 |
19-Nov-2022 |
yamt |
Update a few www.raspberrypi.com URLs
|
| 1.18 |
06-Jul-2021 |
jmcneill |
Disable kernfs on live images -- it is not required.
|
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
| 1.17 |
01-Dec-2020 |
rin |
rpi.img: Bump boot partition in a similar manner to other images.
|
| 1.16 |
18-May-2020 |
jmcneill |
Separate devicetree .dts -> .dtb building from kernel builds. They are now 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.
|
|
Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
|
| 1.15 |
08-Jan-2020 |
skrll |
Use fat16 as the partition is too small for fat32. from Harold Gutch
|
| 1.14 |
05-Jan-2020 |
skrll |
Use make_label_evbarm instead of home grown
|
| 1.13 |
01-Jan-2020 |
skrll |
upstream_kernel=1 is required with new firmware/kernel.
|
| 1.12 |
16-Dec-2019 |
skrll |
Update to new RaspberryPi firware
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
|
|
Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
|
| 1.11 |
14-Dec-2017 |
skrll |
branches: 1.11.4; Build fix (really this time) from Harold Gutch
|
| 1.10 |
28-Nov-2017 |
kre |
Be more precise about exactly what fails when something does.
Relying upon set -e to abort things is sort of OK (it is not a recommended option to use in general - too many odd special cases), but only if user can work out from the "build failed" what actually went wrong.
Tested only on amd64 build (for this, i386 is the same) - if anyone has problems on builds for other systems, please let me know. However the changes affect only failure paths, the most likely problem would be for a build to fail to halt on an error, and I hope I have avoided that. There should be no difference at all to error-free builds.
|
| 1.9 |
31-Jul-2017 |
jmcneill |
Create a config.txt for RPI and set 'enable_uart=1' and 'force_turbo=0'. This config gives us a stable core_freq clock that is used to drive the SD HOST and AUX UART devices.
More information on config.txt settings for the UART can be found here:
https://www.raspberrypi.org/documentation/configuration/uart.md
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| 1.8 |
19-Apr-2015 |
hubertf |
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!
|
| 1.7 |
19-Apr-2015 |
hubertf |
Cleanup: make_filesystems is not used any longer, purge remains
|
| 1.6 |
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.
|
|
Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base tls-maxphys-base
|
| 1.5 |
03-Apr-2014 |
ozaki-r |
branches: 1.5.4; 1.5.6; Include evbarm.conf as same as other conf files
evbarm.conf ensures ${mnt}/boot exists so that it avoids the error: /home/builds/ab/HEAD/src/distrib/utils/embedded/mkimage: cannot create \ /tmp/mkimage.24444a/mnt/boot/cmdline.txt: directory nonexistent
|
|
Revision tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
|
| 1.4 |
16-Sep-2013 |
ast |
After discussions with cristos regarding the previous commit, he convinced me it was sufficient to define GZIP_CMD only in distrib/utils/embedded/mkimage and not again in the config files beagleboard.conf, rpi.conf, and rpi_inst.conf similar to how the other variables $src, $release, $mnt, ... are only defined there.
|
| 1.3 |
14-Sep-2013 |
ast |
Fix build release of evbarm which had been failing in mkimage beagleboard_smp with the elusive message:
"gzip: can't stat: gzip: No such file or directory"
This was due to GZIP=gzip being defined in mkimage; we now use:
GZIP_CMD=${TOOL_GZIP:-gzip} # ${GZIP} is special to gzip(1)
as distrib/sets/sets.subr already does in these files as well:
distrib/utils/embedded/mkimage distrib/utils/embedded/conf/beagleboard.conf distrib/utils/embedded/conf/rpi.conf distrib/utils/embedded/conf/rpi_inst.conf
|
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
|
| 1.2 |
20-Mar-2013 |
garbled |
branches: 1.2.6; Fix an empty shell function here, per Greg Troxel. Apparently empty shell functions are not 100% portable.
|
| 1.1 |
19-Mar-2013 |
garbled |
Add a new installer image for Raspberry PI to evbarm
Includes the following major changes:
1) Add new configmenu item to sysinst to allow creation of users at post-install time. 2) Add an sshramdisk type to evbarm, which is a ramdisk with sshd enabled, allowing users to install on a headless PI by sshing to the device with the account "sysinst" password "netbsd" to begin the installation. (Note, neither the account, nor the ssh setup are copied to the finalized installation image) 3) Change mkimage to build a boot-only image, without the root filesystems.
Much of the sshramdisk code could be reused on other ports easily.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| 1.7 |
27-Sep-2023 |
riastradh |
/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
|
|
Revision tags: netbsd-10-base
|
| 1.6 |
06-Jul-2021 |
jmcneill |
branches: 1.6.2; Disable kernfs on live images -- it is not required.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| 1.5 |
19-Apr-2015 |
hubertf |
Cleanup: make_filesystems is not used any longer, purge remains
|
| 1.4 |
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.
|
|
Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base tls-maxphys-base
|
| 1.3 |
03-Feb-2013 |
christos |
branches: 1.3.4; 1.3.12; switch to makefs
|
|
Revision tags: yamt-pagecache-base8
|
| 1.2 |
13-Jan-2013 |
christos |
branches: 1.2.2; append to rc.conf, don't overwrite
|
| 1.1 |
13-Jan-2013 |
christos |
Adjust mkimage to handle RPI. From skrll@
|
| 1.6 |
16-Nov-2025 |
jmcneill |
wii: Add standalone bootloader.
This adds "ppcboot.elf" to the Wii (evbppc) build, which can be placed on the FAT partition of an SD card in the bootmii directory. The bootloader doesn't have a user interface, it simply loads a kernel from the first FFS partition it finds on the SD card.
Debug logs are printed to a USB Gecko device in either memory card slot if present.
\\-__,------,___. \\ __,---` NetBSD/evbppc Wii MINI boot \\ `---,_. Revision 1.0 (Sun Nov 16 19:27:47 UTC 2025) \\-,_____,.---` \\ \\ \\
booting netbsd 7828064/-|+130520 [315696+305916]=0x82f350 [ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, [ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, [ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, [ 1.0000000] 2024, 2025 [ 1.0000000] The NetBSD Foundation, Inc. All rights reserved. [ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993 [ 1.0000000] The Regents of the University of California. All rights reserved.
[ 1.0000000] NetBSD 11.99.3 (WII) #207: Sun Nov 16 14:28:23 AST 2025 [ 1.0000000] jmcneill@berserk:/home/jmcneill/netbsd/obj/sys/arch/evbppc/compile/WII [ 1.0000000] total memory = 90112 KB [ 1.0000000] avail memory = 77008 KB [ 1.0000000] mainbus0 (root): Nintendo Wii ...
|
| 1.5 |
02-Sep-2025 |
jmcneill |
wii: Start bluetooth by default
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| 1.4 |
17-Jan-2025 |
jmcneill |
branches: 1.4.2; wii: update wii.img ffs parameters
Use 4K block/frags and FFSv2 for Wii images.
|
|
Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| 1.3 |
21-Jan-2024 |
jmcneill |
branches: 1.3.2; 1.3.4; wii: Add 128x48 icon to SD card image
|
| 1.2 |
21-Jan-2024 |
jmcneill |
build fix: use dd with count=1 for compat with NetBSD dd(1)
|
| 1.1 |
20-Jan-2024 |
jmcneill |
evbppc: Add initial support for the Nintendo Wii
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| 1.13 |
29-Dec-2024 |
jmmv |
Recognize MKPOSTFIX=no in mkimage
|
| 1.12 |
27-Dec-2024 |
christos |
Remove duplicated code, handle minwrites in _normal the same way we handle it in _gpt. Initial patch from jmmv@.
|
|
Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| 1.11 |
27-Sep-2023 |
riastradh |
branches: 1.11.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
|
|
Revision tags: netbsd-10-base
|
| 1.10 |
06-Jul-2021 |
jmcneill |
branches: 1.10.2; Disable kernfs on live images -- it is not required.
|
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
| 1.9 |
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.
|
|
Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
|
| 1.8 |
28-Nov-2017 |
kre |
Be more precise about exactly what fails when something does.
Relying upon set -e to abort things is sort of OK (it is not a recommended option to use in general - too many odd special cases), but only if user can work out from the "build failed" what actually went wrong.
Tested only on amd64 build (for this, i386 is the same) - if anyone has problems on builds for other systems, please let me know. However the changes affect only failure paths, the most likely problem would be for a build to fail to halt on an error, and I hope I have avoided that. There should be no difference at all to error-free builds.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| 1.7 |
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.6 |
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.5 |
14-Dec-2014 |
christos |
fix image building: - round up the total size of the disk image - fix fdisk offset for netbsd ffs images
|
|
Revision tags: tls-maxphys-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base
|
| 1.4 |
04-Apr-2014 |
christos |
branches: 1.4.4; 1.4.6; 1.4.8; merge more, and add an i386 image
|
|
Revision tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
|
| 1.3 |
31-Mar-2014 |
christos |
remove swap; these days x86 machines don't need it.
|
| 1.2 |
31-Mar-2014 |
christos |
these changes produce a bootable system under qemu, but its root is trashed.
|
| 1.1 |
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.
|