Up to [cvs.NetBSD.org] / src / sys / stand / efiboot
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.28 / (download) - annotate - [select for diffs], Sat Jun 3 21:26:29 2023 UTC (4 days, 10 hours ago) by lukem
Branch: MAIN
CVS Tags: HEAD
Changes since 1.27: +2 -3
lines
Diff to previous 1.27 (colored)
adapt to ${CC_WNO_ADDRESS_OF_PACKED_MEMBER} Simplify CWARNFLAGS to use ${CC_WNO_ADDRESS_OF_PACKED_MEMBER} which works for both clang and gcc, and remove compiler-specific equivalents.
Revision 1.27 / (download) - annotate - [select for diffs], Sat Jun 3 08:52:59 2023 UTC (4 days, 23 hours ago) by lukem
Branch: MAIN
Changes since 1.26: +2 -2
lines
Diff to previous 1.26 (colored)
bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER Provide a single variable CC_WNO_ADDRESS_OF_PACKED_MEMBER with options for both clang and gcc, to replace CLANG_NO_ADDR_OF_PACKED_MEMBER CC_NO_ADDR_OF_PACKED_MEMBER GCC_NO_ADDR_OF_PACKED_MEMBER Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 25 21:23:00 2022 UTC (14 months, 1 week ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Changes since 1.25: +2 -2
lines
Diff to previous 1.25 (colored)
efiboot: Add support for 'userconf' command. Add support for the 'userconf' command at the boot prompt and in boot.cfg, and for FDT based booting, pass the commands as a string list property named "netbsd,userconf" on the /chosen node.
Revision 1.25 / (download) - annotate - [select for diffs], Sun Oct 17 14:12:54 2021 UTC (19 months, 2 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.24: +2 -1
lines
Diff to previous 1.24 (colored)
Honour the timeout= entry in boot.cfg
Revision 1.24 / (download) - annotate - [select for diffs], Wed Oct 6 10:13:19 2021 UTC (20 months ago) by jmcneill
Branch: MAIN
Changes since 1.23: +15 -6
lines
Diff to previous 1.23 (colored)
efiboot: Make FDT support optional on a per-arch basis.
Revision 1.23 / (download) - annotate - [select for diffs], Tue Sep 28 11:37:45 2021 UTC (20 months, 1 week ago) by jmcneill
Branch: MAIN
Changes since 1.22: +3 -3
lines
Diff to previous 1.22 (colored)
efiboot: Add support for changing the video mode. Add a new "gop" command that can query the list of available video modes. With a mode number as argument (eg. "gop 16"), the new display mode will be selected. The "version" command prints the current display mode.
Revision 1.19.6.3 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:44 2021 UTC (22 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.19.6.2: +3 -2
lines
Diff to previous 1.19.6.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)
Sync with HEAD.
Revision 1.22 / (download) - annotate - [select for diffs], Sun Jun 20 19:10:47 2021 UTC (23 months, 2 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2
Changes since 1.21: +3 -2
lines
Diff to previous 1.21 (colored)
Add support for the boot services watchdog and pet it on every block I/O access. For slow media (like ISO image redirection on Lenovo HR330A BMC) this is needed because otherwise the default watchdog timeout fires before we can finish loading the kernel from install media.
Revision 1.19.6.2 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:36 2021 UTC (23 months, 3 weeks ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.19.6.1: +3 -1
lines
Diff to previous 1.19.6.1 (colored) to branchpoint 1.19 (colored)
Sync w/ HEAD.
Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:22 2021 UTC (2 years ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.20: +3 -1
lines
Diff to previous 1.20 (colored) next main 1.21 (colored)
sync with head
Revision 1.21 / (download) - annotate - [select for diffs], Thu May 27 06:54:45 2021 UTC (2 years ago) by mrg
Branch: MAIN
CVS Tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1
Changes since 1.20: +3 -1
lines
Diff to previous 1.20 (colored)
add bi-endian support to the libsa ufs reader and enable it in efiboot. ffs frontends to "ufs.c" now also define ufs_dinode_swap, ufs_indp_swap, and FS_MAGIC (moved from ufs.c #if segments.) these are used to call the right (32/64 bit) ffsv1/v2 version. ufs.c 'struct file' gains f_swapped member. accessors for d_magic, d_reclen, and d_ino are introduced (they need to be swapped.) sfter reading an inode from disk, read_inode() may call ufs_dinode_swap(). indirect block number and caches may be swapped. error handling in ffs_find_superblock() is cleaned up. (size is slightly reduced on some ports with this part.) defaults for new defines added to ufs.c. (XXX: we build ufs.c but i think all the consumers don't use it, and we can stop building it.) LFS support is not included. add a cut-down copy of ffs_bswap.c from the kernel. also enable bi-endian disklabel support in efiboot. most ports build and sizes compared for platforms that don't enable this code and all but one saw reduced code size. booted several platforms with new boot code.
Revision 1.19.6.1 / (download) - annotate - [select for diffs], Thu May 13 00:47:33 2021 UTC (2 years ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.19: +2 -2
lines
Diff to previous 1.19 (colored)
Sync with HEAD.
Revision 1.20 / (download) - annotate - [select for diffs], Tue May 4 19:07:19 2021 UTC (2 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: cjep_staticlib_x-base
Branch point for: cjep_staticlib_x
Changes since 1.19: +2 -2
lines
Diff to previous 1.19 (colored)
Set VERSIONMACHINE to ${MACHINE} instead of evbarm (oops)
Revision 1.19 / (download) - annotate - [select for diffs], Sun Oct 11 14:03:33 2020 UTC (2 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-futex-base,
thorpej-futex,
thorpej-cfargs-base,
thorpej-cfargs
Branch point for: thorpej-i2c-spi-conf
Changes since 1.18: +2 -2
lines
Diff to previous 1.18 (colored)
Add ISO9660 support.
Revision 1.18 / (download) - annotate - [select for diffs], Sun Sep 6 07:20:31 2020 UTC (2 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.17: +2 -1
lines
Diff to previous 1.17 (colored)
add support for new GCC 9 warnings that may be too much to fix right now. new address-of-packed-member and format-overflow warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd GCC_NO_FORMAT_OVERFLOW variables to remove these warnings. apply to a bunch of the tree. mostly, these are real bugs that should be fixed, but in many cases, only by removing the 'packed' attribute from some structure that doesn't really need it. (i looked at many different ones, and while perhaps 60-80% were already properly aligned, it wasn't clear to me that the uses were always coming from sane data vs network alignment, so it doesn't seem safe to remove packed without careful research for each affect struct.) clang already warned (and was not erroring) for many of these cases, but gcc picked up dozens more.
Revision 1.17 / (download) - annotate - [select for diffs], Sun Jun 28 11:39:50 2020 UTC (2 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.16: +2 -2
lines
Diff to previous 1.16 (colored)
Remove support for storing settings in EFI environment variables now that we have boot.cfg support.
Revision 1.16 / (download) - annotate - [select for diffs], Fri Jun 26 03:23:04 2020 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +2 -2
lines
Diff to previous 1.15 (colored)
Add dtoverlay command to specify device tree overlays from the boot loader command line. Add support for specifying device tree overlays in boot.cfg, with the syntax: dtoverlay=/path/to/overlay.dtbo dtoverlay=hd0e:/overlays/example.dtbo Multiple overlays can be specified, and they are loaded in the order they appear in boot.cfg. Remove support for efiboot.plist.
Revision 1.15 / (download) - annotate - [select for diffs], Sun Jun 21 23:53:26 2020 UTC (2 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.14: +3 -3
lines
Diff to previous 1.14 (colored)
Add boot.cfg support.
Revision 1.14 / (download) - annotate - [select for diffs], Sun Jun 21 17:24:26 2020 UTC (2 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.13: +5 -3
lines
Diff to previous 1.13 (colored)
Add module support.
Revision 1.13 / (download) - annotate - [select for diffs], Thu May 14 19:19:08 2020 UTC (3 years ago) by riastradh
Branch: MAIN
Changes since 1.12: +2 -2
lines
Diff to previous 1.12 (colored)
Draft logic to get at EFI RNG.
Revision 1.12 / (download) - annotate - [select for diffs], Sun Apr 26 06:51:35 2020 UTC (3 years, 1 month ago) by rin
Branch: MAIN
Changes since 1.11: +2 -1
lines
Diff to previous 1.11 (colored)
Adjust for binutils 2.34 in the same manner as efiboot/x86: http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/i386/stand/efiboot/Makefile.efiboot#rev1.17
Revision 1.7.2.4 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:19 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.7.2.3: +1 -0
lines
Diff to previous 1.7.2.3 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)
Mostly merge changes from HEAD upto 20200411
Revision 1.7.2.3 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:02 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.7.2.2: +8 -3
lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored)
Merge changes from current as of 20200406
Revision 1.11 / (download) - annotate - [select for diffs], Wed Apr 1 10:45:44 2020 UTC (3 years, 2 months ago) by tnn
Branch: MAIN
CVS Tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Changes since 1.10: +6 -1
lines
Diff to previous 1.10 (colored)
efiboot: add clang fix from i386/stand/efiboot/bootx64/Makefile here too
Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sun Jan 26 11:21:58 2020 UTC (3 years, 4 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2
Changes since 1.8.2.1: +2 -2
lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)
Pull up following revision(s) (requested by jmcneill in ticket #653): sys/stand/efiboot/prompt.c: revision 1.6 sys/stand/efiboot/boot.c: revision 1.20 sys/stand/efiboot/bootarm/Makefile: revision 1.4 sys/stand/efiboot/efiacpi.c: revision 1.6 sys/stand/efiboot/exec.c: revision 1.13 sys/stand/efiboot/Makefile.efiboot: revision 1.10 sys/stand/efiboot/bootaa64/Makefile: revision 1.7 Fix for disappearing counters on graphics consoles Hide the twiddle while loading efiboot plist Clean up the banner so it fits in 80 columns and add some extra details to the "version" command output.
Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sat Jan 25 22:38:52 2020 UTC (3 years, 4 months ago) by ad
Branch: ad-namecache
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (colored) next main 1.10 (colored)
Sync with head.
Revision 1.10 / (download) - annotate - [select for diffs], Sat Jan 25 11:24:20 2020 UTC (3 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3,
ad-namecache-base2
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (colored)
Clean up the banner so it fits in 80 columns and add some extra details to the "version" command output.
Revision 1.8.2.1 / (download) - annotate - [select for diffs], Sun Dec 8 13:13:06 2019 UTC (3 years, 6 months ago) by martin
Branch: netbsd-9
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored)
Pull up following revision(s) (requested by jmcneill in ticket #503): sys/stand/efiboot/Makefile.efiboot: revision 1.9 sys/stand/efiboot/efiacpi.c: revision 1.5 sys/stand/efiboot/version: revision 1.13 sys/stand/efiboot/smbios.h: revision 1.1 sys/stand/efiboot/smbios.c: revision 1.1 Use SMBIOS system vendor and product strings to create a "model" string for the root node in the fabricated ACPI device tree, when possible.
Revision 1.9 / (download) - annotate - [select for diffs], Sat Nov 30 13:02:18 2019 UTC (3 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored)
Use SMBIOS system vendor and product strings to create a "model" string for the root node in the fabricated ACPI device tree, when possible.
Revision 1.8 / (download) - annotate - [select for diffs], Sun Jul 21 17:01:39 2019 UTC (3 years, 10 months ago) by rin
Branch: MAIN
CVS Tags: phil-wifi-20191119,
netbsd-9-base,
netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.7: +2 -1
lines
Diff to previous 1.7 (colored)
Enable us to load kernel image of different byte order. Now, earmv7hf-eb kernel can successfully boot from EFI bootloader. XXX We need to recognize disklabel and filesystem written in opposite byte oder.
Revision 1.7.2.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:56 2019 UTC (3 years, 11 months ago) by christos
Branch: phil-wifi
Changes since 1.7.2.1: +151 -0
lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored)
Sync with HEAD
Revision 1.7.2.1, Sun Apr 21 22:30:41 2019 UTC (4 years, 1 month ago) by christos
Branch: phil-wifi
Changes since 1.7: +0 -151
lines
FILE REMOVED
file Makefile.efiboot was added on branch phil-wifi on 2019-06-10 22:09:56 +0000
Revision 1.7 / (download) - annotate - [select for diffs], Sun Apr 21 22:30:41 2019 UTC (4 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20190609
Branch point for: phil-wifi
Changes since 1.6: +4 -2
lines
Diff to previous 1.6 (colored)
- Add support for a boot configuration file, defaulting to /etc/efiboot.plist. - Add support for pre-loading EFI environment variables from efiboot.plist. - Add support for device tree overlays specified in efiboot.plist. (Man page for efiboot forthcoming.)
Revision 1.3.2.4 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:46 2018 UTC (4 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.3.2.3: +2 -2
lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)
Sync with head
Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 12 22:08:04 2018 UTC (4 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
isaki-audio2-base,
isaki-audio2
Changes since 1.5: +2 -2
lines
Diff to previous 1.5 (colored)
Add ACPI support (enable with -DEFIBOOT_ACPI, currently disabled). When UEFI reports that ACPI tables are available, generate a DTB with compatible string "netbsd,generic-acpi" and pass this to the booted kernel. The DTB contains a /chosen property "netbsd,acpi-root-table" that contains the physical address of the ACPI RSDP, along with a special /acpi node with compatible string "netbsd,acpi" for the kernel to attach an acpi(4) device driver.
Revision 1.3.2.3 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:57 2018 UTC (4 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.3.2.2: +3 -2
lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored)
Ssync with HEAD
Revision 1.5 / (download) - annotate - [select for diffs], Sat Sep 15 17:06:32 2018 UTC (4 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0930
Changes since 1.4: +2 -1
lines
Diff to previous 1.4 (colored)
Suppress printing size info when calling loadfile with COUNT_KERNEL
Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 9 17:55:22 2018 UTC (4 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.3: +2 -2
lines
Diff to previous 1.3 (colored)
Add support for setting environment variables. Currently the following env vars are supported: "fdtfile", "initrd", and "rootdev".
Revision 1.3.2.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:47 2018 UTC (4 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.3.2.1: +148 -0
lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)
Sync with HEAD Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.3.2.1, Mon Sep 3 00:04:02 2018 UTC (4 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.3: +0 -148
lines
FILE REMOVED
file Makefile.efiboot was added on branch pgoyette-compat on 2018-09-06 06:56:47 +0000
Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 3 00:04:02 2018 UTC (4 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0906
Branch point for: pgoyette-compat
Changes since 1.2: +8 -8
lines
Diff to previous 1.2 (colored)
Add PXE support.
Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 26 21:28:18 2018 UTC (4 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.1: +4 -4
lines
Diff to previous 1.1 (colored)
Add support for booting kernels from FFS partitions.
Revision 1.1 / (download) - annotate - [select for diffs], Fri Aug 24 02:01:06 2018 UTC (4 years, 9 months ago) by jmcneill
Branch: MAIN
Add MI EFI bootloader and AArch64 glue.