CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: christos Date: Thu Mar 14 15:41:54 UTC 2024 Modified Files: src/distrib/utils/embedded/conf: armv7.conf Log Message: Fix reproducible build (Jan-Benedict Glaw) To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/distrib/utils/embedded/conf/armv7.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/utils/embedded/conf/armv7.conf diff -u src/distrib/utils/embedded/conf/armv7.conf:1.46 src/distrib/utils/embedded/conf/armv7.conf:1.47 --- src/distrib/utils/embedded/conf/armv7.conf:1.46 Wed Apr 19 14:39:18 2023 +++ src/distrib/utils/embedded/conf/armv7.conf Thu Mar 14 11:41:54 2024 @@ -1,4 +1,4 @@ -# $NetBSD: armv7.conf,v 1.46 2023/04/19 18:39:18 brook Exp $ +# $NetBSD: armv7.conf,v 1.47 2024/03/14 15:41:54 christos Exp $ # ARMv7 customization script used by mkimage # board=armv7 @@ -45,7 +45,11 @@ populate_common() { fi # Install boot script - "${MKUBOOTIMAGE}" -A arm -C none -O netbsd -T script -a 0 -n "NetBSD/armv7 boot" "${mnt}/boot/boot.cmd" "${mnt}/boot/boot.scr" + [ -n "${MKREPRO_TIMESTAMP}" ] && \ + MKUBOOTIMAGEARGS="-t ${MKREPRO_TIMESTAMP}" + "${MKUBOOTIMAGE}" -A arm -C none -O netbsd -T script \ + ${MKUBOOTIMAGEARGS} -a 0 -n "NetBSD/armv7 boot" \ + "${mnt}/boot/boot.cmd" "${mnt}/boot/boot.scr" } populate_rpi() {
CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: christos Date: Thu Mar 14 15:41:54 UTC 2024 Modified Files: src/distrib/utils/embedded/conf: armv7.conf Log Message: Fix reproducible build (Jan-Benedict Glaw) To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/distrib/utils/embedded/conf/armv7.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: jmcneill Date: Sun Jan 21 10:28:25 UTC 2024 Modified Files: src/distrib/utils/embedded/conf: wii.conf Log Message: build fix: use dd with count=1 for compat with NetBSD dd(1) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/distrib/utils/embedded/conf/wii.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/utils/embedded/conf/wii.conf diff -u src/distrib/utils/embedded/conf/wii.conf:1.1 src/distrib/utils/embedded/conf/wii.conf:1.2 --- src/distrib/utils/embedded/conf/wii.conf:1.1 Sat Jan 20 21:35:59 2024 +++ src/distrib/utils/embedded/conf/wii.conf Sun Jan 21 10:28:25 2024 @@ -1,4 +1,4 @@ -# $NetBSD: wii.conf,v 1.1 2024/01/20 21:35:59 jmcneill Exp $ +# $NetBSD: wii.conf,v 1.2 2024/01/21 10:28:25 jmcneill Exp $ # Nintendo Wii customization script used by mkimage # board=wii @@ -55,8 +55,8 @@ populate() { # Add swap space rm -f ${mnt}${swap_file} - dd if=/dev/zero of=${mnt}${swap_file} bs=1 count=0 \ - seek=$((${swap_size_MB} * 1024 * 1024)) + dd if=/dev/zero of=${mnt}${swap_file} bs=1 count=1 \ + seek=$((${swap_size_MB} * 1024 * 1024 - 1)) echo ".${swap_file} type=file uname=root gname=wheel mode=0600" \ >> "$tmp/selected_sets" }
CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: jmcneill Date: Sun Jan 21 10:28:25 UTC 2024 Modified Files: src/distrib/utils/embedded/conf: wii.conf Log Message: build fix: use dd with count=1 for compat with NetBSD dd(1) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/distrib/utils/embedded/conf/wii.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: yamt Date: Sat Nov 19 09:19:28 UTC 2022 Modified Files: src/distrib/utils/embedded/conf: armv7.conf rpi.conf rpi_inst.conf Log Message: Update a few www.raspberrypi.com URLs To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/distrib/utils/embedded/conf/armv7.conf cvs rdiff -u -r1.39 -r1.40 src/distrib/utils/embedded/conf/rpi.conf cvs rdiff -u -r1.18 -r1.19 src/distrib/utils/embedded/conf/rpi_inst.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/utils/embedded/conf/armv7.conf diff -u src/distrib/utils/embedded/conf/armv7.conf:1.44 src/distrib/utils/embedded/conf/armv7.conf:1.45 --- src/distrib/utils/embedded/conf/armv7.conf:1.44 Wed May 27 21:53:04 2020 +++ src/distrib/utils/embedded/conf/armv7.conf Sat Nov 19 09:19:27 2022 @@ -1,4 +1,4 @@ -# $NetBSD: armv7.conf,v 1.44 2020/05/27 21:53:04 jmcneill Exp $ +# $NetBSD: armv7.conf,v 1.45 2022/11/19 09:19:27 yamt Exp $ # ARMv7 customization script used by mkimage # board=armv7 @@ -65,9 +65,9 @@ upstream_kernel=1 os_prefix=dtb/ cmdline=../cmdline.txt kernel=/netbsd-GENERIC.img -# Boot options, see https://www.raspberrypi.org/documentation/configuration/config-txt/boot.md +# Boot options, see https://www.raspberrypi.com/documentation/computers/config_txt.html#boot-options kernel_address=0x0140 -# UART settings, see https://www.raspberrypi.org/documentation/configuration/uart.md +# UART settings, see https://www.raspberrypi.com/documentation/computers/configuration.html#configuring-uarts enable_uart=1 force_turbo=0 EOF Index: src/distrib/utils/embedded/conf/rpi.conf diff -u src/distrib/utils/embedded/conf/rpi.conf:1.39 src/distrib/utils/embedded/conf/rpi.conf:1.40 --- src/distrib/utils/embedded/conf/rpi.conf:1.39 Tue Dec 1 04:21:26 2020 +++ src/distrib/utils/embedded/conf/rpi.conf Sat Nov 19 09:19:27 2022 @@ -1,4 +1,4 @@ -# $NetBSD: rpi.conf,v 1.39 2020/12/01 04:21:26 rin Exp $ +# $NetBSD: rpi.conf,v 1.40 2022/11/19 09:19:27 yamt Exp $ # Raspberry Pi customization script used by mkimage # @@ -59,7 +59,7 @@ EOF upstream_kernel=1 os_prefix=dtb/ cmdline=../cmdline.txt -# UART settings, see https://www.raspberrypi.org/documentation/configuration/uart.md +# UART settings, see https://www.raspberrypi.com/documentation/computers/configuration.html#configuring-uarts enable_uart=1 force_turbo=0 # Default kernel for BCM2836 and later Index: src/distrib/utils/embedded/conf/rpi_inst.conf diff -u src/distrib/utils/embedded/conf/rpi_inst.conf:1.18 src/distrib/utils/embedded/conf/rpi_inst.conf:1.19 --- src/distrib/utils/embedded/conf/rpi_inst.conf:1.18 Tue Jul 6 11:49:36 2021 +++ src/distrib/utils/embedded/conf/rpi_inst.conf Sat Nov 19 09:19:27 2022 @@ -1,4 +1,4 @@ -# $NetBSD: rpi_inst.conf,v 1.18 2021/07/06 11:49:36 jmcneill Exp $ +# $NetBSD: rpi_inst.conf,v 1.19 2022/11/19 09:19:27 yamt Exp $ # Raspberry Pi customization script used by mkimage # @@ -47,7 +47,7 @@ upstream_kernel=1 os_prefix=dtb/ cmdline=../cmdline.txt kernel=/kernel.img -# UART settings, see https://www.raspberrypi.org/documentation/configuration/uart.md +# UART settings, https://www.raspberrypi.com/documentation/computers/configuration.html#configuring-uarts enable_uart=1 force_turbo=0 EOF
CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: yamt Date: Sat Nov 19 09:19:28 UTC 2022 Modified Files: src/distrib/utils/embedded/conf: armv7.conf rpi.conf rpi_inst.conf Log Message: Update a few www.raspberrypi.com URLs To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/distrib/utils/embedded/conf/armv7.conf cvs rdiff -u -r1.39 -r1.40 src/distrib/utils/embedded/conf/rpi.conf cvs rdiff -u -r1.18 -r1.19 src/distrib/utils/embedded/conf/rpi_inst.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: jmcneill Date: Sun Oct 30 15:08:50 UTC 2022 Modified Files: src/distrib/utils/embedded/conf: evbarm.conf Log Message: Silence a warning when machdep.dmi.chassis-asset-tag is not present To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/distrib/utils/embedded/conf/evbarm.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: jmcneill Date: Sun Oct 30 15:08:50 UTC 2022 Modified Files: src/distrib/utils/embedded/conf: evbarm.conf Log Message: Silence a warning when machdep.dmi.chassis-asset-tag is not present To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/distrib/utils/embedded/conf/evbarm.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/utils/embedded/conf/evbarm.conf diff -u src/distrib/utils/embedded/conf/evbarm.conf:1.40 src/distrib/utils/embedded/conf/evbarm.conf:1.41 --- src/distrib/utils/embedded/conf/evbarm.conf:1.40 Sat Oct 15 18:32:30 2022 +++ src/distrib/utils/embedded/conf/evbarm.conf Sun Oct 30 15:08:50 2022 @@ -1,4 +1,4 @@ -# $NetBSD: evbarm.conf,v 1.40 2022/10/15 18:32:30 jmcneill Exp $ +# $NetBSD: evbarm.conf,v 1.41 2022/10/30 15:08:50 jmcneill Exp $ # evbarm shared config # image=$HOME/${board}.img @@ -154,7 +154,7 @@ is_cloud() { fi # Oracle OCI - case "\$(/sbin/sysctl -n machdep.dmi.chassis-asset-tag)" in + case "\$(/sbin/sysctl -n machdep.dmi.chassis-asset-tag 2>/dev/null)" in OracleCloud*) ret=YES ;;
CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: jmcneill Date: Sat Oct 16 14:05:48 UTC 2021 Modified Files: src/distrib/utils/embedded/conf: arm64.conf Log Message: Background dhcpcd if ec2_init is not enabled to speed up boot. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/distrib/utils/embedded/conf/arm64.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/utils/embedded/conf/arm64.conf diff -u src/distrib/utils/embedded/conf/arm64.conf:1.13 src/distrib/utils/embedded/conf/arm64.conf:1.14 --- src/distrib/utils/embedded/conf/arm64.conf:1.13 Thu Jul 1 17:32:07 2021 +++ src/distrib/utils/embedded/conf/arm64.conf Sat Oct 16 14:05:48 2021 @@ -1,4 +1,4 @@ -# $NetBSD: arm64.conf,v 1.13 2021/07/01 17:32:07 jmcneill Exp $ +# $NetBSD: arm64.conf,v 1.14 2021/10/16 14:05:48 jmcneill Exp $ # ARM64 customization script used by mkimage # board=arm64 @@ -31,6 +31,8 @@ wscons=\$(dev_exists wsdisplay0) ec2_init=\$(dev_exists ena0) if checkyesno ec2_init ; then dhcpcd_flags="\$dhcpcd_flags -w" +else + dhcpcd_flags="\$dhcpcd_flags -b" fi EOF }
CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: jmcneill Date: Sat Oct 16 14:05:48 UTC 2021 Modified Files: src/distrib/utils/embedded/conf: arm64.conf Log Message: Background dhcpcd if ec2_init is not enabled to speed up boot. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/distrib/utils/embedded/conf/arm64.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: jmcneill Date: Wed Oct 30 21:43:42 UTC 2019 Modified Files: src/distrib/utils/embedded/conf: armv7.conf Log Message: Move omap3 dtb files to /boot/dtb To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/distrib/utils/embedded/conf/armv7.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/utils/embedded/conf/armv7.conf diff -u src/distrib/utils/embedded/conf/armv7.conf:1.38 src/distrib/utils/embedded/conf/armv7.conf:1.39 --- src/distrib/utils/embedded/conf/armv7.conf:1.38 Wed Oct 30 14:34:30 2019 +++ src/distrib/utils/embedded/conf/armv7.conf Wed Oct 30 21:43:42 2019 @@ -1,4 +1,4 @@ -# $NetBSD: armv7.conf,v 1.38 2019/10/30 14:34:30 martin Exp $ +# $NetBSD: armv7.conf,v 1.39 2019/10/30 21:43:42 jmcneill Exp $ # ARMv7 customization script used by mkimage # board=armv7 @@ -143,7 +143,7 @@ populate() { for k in ${kernels}; do tgt="$(basename ${k} | sed 's/\.gz$//')" case "${tgt}" in - sun*.dtb|am335x-*.dtb|meson8b-*.dtb|tegra*.dtb|vexpress*.dtb) + sun*.dtb|am335x-*.dtb|omap3-*.dtb|meson8b-*.dtb|tegra*.dtb|vexpress*.dtb) pfx="dtb/";; *) pfx=;;
CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: jmcneill Date: Wed Oct 30 21:43:42 UTC 2019 Modified Files: src/distrib/utils/embedded/conf: armv7.conf Log Message: Move omap3 dtb files to /boot/dtb To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/distrib/utils/embedded/conf/armv7.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: martin Date: Wed Oct 30 14:34:30 UTC 2019 Modified Files: src/distrib/utils/embedded/conf: armv7.conf Log Message: Remove debug output, fix a progress message To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/distrib/utils/embedded/conf/armv7.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: martin Date: Wed Oct 30 14:34:30 UTC 2019 Modified Files: src/distrib/utils/embedded/conf: armv7.conf Log Message: Remove debug output, fix a progress message To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/distrib/utils/embedded/conf/armv7.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/utils/embedded/conf/armv7.conf diff -u src/distrib/utils/embedded/conf/armv7.conf:1.37 src/distrib/utils/embedded/conf/armv7.conf:1.38 --- src/distrib/utils/embedded/conf/armv7.conf:1.37 Wed Oct 30 12:28:32 2019 +++ src/distrib/utils/embedded/conf/armv7.conf Wed Oct 30 14:34:30 2019 @@ -1,4 +1,4 @@ -# $NetBSD: armv7.conf,v 1.37 2019/10/30 12:28:32 martin Exp $ +# $NetBSD: armv7.conf,v 1.38 2019/10/30 14:34:30 martin Exp $ # ARMv7 customization script used by mkimage # board=armv7 @@ -148,7 +148,7 @@ populate() { *) pfx=;; esac - echo "${bar} installing ${k} to /boot/${tgt} (on ${mnt}, pfx=${pfx}) ${bar}" + echo "${bar} installing ${k} to /boot/${pfx}${tgt} ${bar}" case "${k}" in *.gz) ${GZIP_CMD} -dc "${k}" > "${mnt}/boot/${pfx}${tgt}"
CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: martin Date: Wed Oct 30 12:28:32 UTC 2019 Modified Files: src/distrib/utils/embedded/conf: armv7.conf Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/distrib/utils/embedded/conf/armv7.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: martin Date: Wed Oct 30 12:28:32 UTC 2019 Modified Files: src/distrib/utils/embedded/conf: armv7.conf Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/distrib/utils/embedded/conf/armv7.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/utils/embedded/conf/armv7.conf diff -u src/distrib/utils/embedded/conf/armv7.conf:1.36 src/distrib/utils/embedded/conf/armv7.conf:1.37 --- src/distrib/utils/embedded/conf/armv7.conf:1.36 Sun Oct 27 21:38:58 2019 +++ src/distrib/utils/embedded/conf/armv7.conf Wed Oct 30 12:28:32 2019 @@ -1,4 +1,4 @@ -# $NetBSD: armv7.conf,v 1.36 2019/10/27 21:38:58 jmcneill Exp $ +# $NetBSD: armv7.conf,v 1.37 2019/10/30 12:28:32 martin Exp $ # ARMv7 customization script used by mkimage # board=armv7 @@ -106,7 +106,7 @@ populate_amlogic() { ODROIDC-UBOOT-CONFIG setenv bootargs "awge0.mac-address=\${ethaddr}" -setenv bootcmd "fatload mmc 0:1 0x2100 ${odroidc1_kernelimg}; fatload mmc 0:1 0x2000 meson8b-odroidc1.dtb; bootm 0x2100 - 0x2000" +setenv bootcmd "fatload mmc 0:1 0x2100 ${odroidc1_kernelimg}; fatload mmc 0:1 0x2000 dtb/meson8b-odroidc1.dtb; bootm 0x2100 - 0x2000" run bootcmd EOF } @@ -135,16 +135,26 @@ populate() { done done + # "kernels" includes some .dtb files that should go into a separate + # directory + mkdir -p "${mnt}/boot/dtb" + # install kernels to /boot partition for k in ${kernels}; do tgt="$(basename ${k} | sed 's/\.gz$//')" - echo "${bar} installing ${k} to /boot/${tgt} ${bar}" + case "${tgt}" in + sun*.dtb|am335x-*.dtb|meson8b-*.dtb|tegra*.dtb|vexpress*.dtb) + pfx="dtb/";; + *) + pfx=;; + esac + echo "${bar} installing ${k} to /boot/${tgt} (on ${mnt}, pfx=${pfx}) ${bar}" case "${k}" in *.gz) - ${GZIP_CMD} -dc "${k}" > "${mnt}/boot/${tgt}" + ${GZIP_CMD} -dc "${k}" > "${mnt}/boot/${pfx}${tgt}" ;; *) - cp "${k}" "${mnt}/boot/${tgt}" + cp "${k}" "${mnt}/boot/${pfx}${tgt}" ;; esac || fail "Copy of ${k} to ${mnt}/boot/${tgt} failed"
Re: CVS commit: src/distrib/utils/embedded/conf
On May 22, 2015, at 11:07 AM, Christos Zoulas chris...@astron.com wrote: In article 20150522011822.807e...@cvs.netbsd.org, Jared D. McNeill source-changes-d@NetBSD.org wrote: -=-=-=-=-=- Module Name: src Committed By:jmcneill Date:Fri May 22 01:18:22 UTC 2015 Modified Files: src/distrib/utils/embedded/conf: armv7.conf Log Message: add JETSONTK1 to armv7.img Please double-quote all variable expansions... No, use the :Q modifier
Re: CVS commit: src/distrib/utils/embedded/conf
On May 22, 1:26pm, m...@3am-software.com (Matt Thomas) wrote: -- Subject: Re: CVS commit: src/distrib/utils/embedded/conf | No, use the :Q modifier This is not make(1) it is sh(1) :-) christos
Re: CVS commit: src/distrib/utils/embedded/conf
In article 20150522011822.807e...@cvs.netbsd.org, Jared D. McNeill source-changes-d@NetBSD.org wrote: -=-=-=-=-=- Module Name: src Committed By: jmcneill Date: Fri May 22 01:18:22 UTC 2015 Modified Files: src/distrib/utils/embedded/conf: armv7.conf Log Message: add JETSONTK1 to armv7.img Please double-quote all variable expansions... christos
Re: CVS commit: src/distrib/utils/embedded/conf
On 2015/02/07 00:15, Jared D. McNeill wrote: Module Name:src Committed By: jmcneill Date: Fri Feb 6 15:15:02 UTC 2015 Modified Files: src/distrib/utils/embedded/conf: rpi.conf Log Message: 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. + cat /tmp/a EOF This overrides /tmp/a if it exists, and surprises original owner. Is this change intended? AFAICS this file is not used. regards, -- t-hash
Re: CVS commit: src/distrib/utils/embedded/conf
Thank you for catching this mistake, it should have been appending to ${mnt}/etc/rc.local. I have checked in a fix. On Thu, 12 Feb 2015, Takahiro HAYASHI wrote: On 2015/02/07 00:15, Jared D. McNeill wrote: Module Name:src Committed By: jmcneill Date: Fri Feb 6 15:15:02 UTC 2015 Modified Files: src/distrib/utils/embedded/conf: rpi.conf Log Message: 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. + cat /tmp/a EOF This overrides /tmp/a if it exists, and surprises original owner. Is this change intended? AFAICS this file is not used. regards, -- t-hash
Re: CVS commit: src/distrib/utils/embedded/conf
make a swap file? Swap space in the distributed image is just annoying for users to rawwrite it into devices. To use resize_ffs(8), users have to edit disklabel anyway, so I'm using a dumb script that checks disk size, updates labels, and executes resize_ffs(8) for my custom images. --- Izumi Tsutsui
Re: CVS commit: src/distrib/utils/embedded/conf
In article 20140401184816.gq20...@snowdrop.l8s.co.uk, David Laight da...@l8s.co.uk wrote: On Mon, Mar 31, 2014 at 02:18:45PM -0400, Christos Zoulas wrote: Module Name: src Committed By:christos Date:Mon Mar 31 18:18:45 UTC 2014 Modified Files: src/distrib/utils/embedded/conf: x86.conf Log Message: remove swap; these days x86 machines don't need it. What about for dumps? Although I'm not at all sure what this particular file is for... From the diff it looks like it needs for TLC in order to get sane partition offsets. The main reason I removed it is because it makes it easier to resize the ffs to the disk size, if it is the last thing on the disk, and I did not want to put swap first. But I could put swap back. /etc/rc.d/swap2 complains otherwise, and it should not :-) christos
re: CVS commit: src/distrib/utils/embedded/conf
make a swap file? .mrg.
Re: CVS commit: src/distrib/utils/embedded/conf
On Mon, Mar 31, 2014 at 02:18:45PM -0400, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Mon Mar 31 18:18:45 UTC 2014 Modified Files: src/distrib/utils/embedded/conf: x86.conf Log Message: remove swap; these days x86 machines don't need it. What about for dumps? Although I'm not at all sure what this particular file is for... From the diff it looks like it needs for TLC in order to get sane partition offsets. David -- David Laight: da...@l8s.co.uk
Re: CVS commit: src/distrib/utils/embedded/conf
In article 20130916152357.883d...@cvs.netbsd.org, Adrian Steinmann source-changes-d@NetBSD.org wrote: -=-=-=-=-=- Module Name: src Committed By: ast Date: Mon Sep 16 15:23:57 UTC 2013 Modified Files: src/distrib/utils/embedded/conf: beagleboard.conf rpi.conf rpi_inst.conf Log Message: 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. Many thanks! christos