The NetBSD Project

CVS log for src/sys/stand/efiboot/efinet.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / stand / efiboot

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.6.32.2: download - view: text, markup, annotated - select for diffs
Mon Jan 1 14:00:17 2024 UTC (11 months, 1 week ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2
Diff to: previous 1.6.32.1: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.32.1: +3 -17 lines
Additionally pull up following revision(s) (requested by rin in ticket #524):

	sys/stand/efiboot/efinet.c: revision 1.9

MI efiboot: Revert "Stop using efi_bootdp after exclusive open for PXE"
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/stand/efiboot/efinet.c#rev1.7

Some UEFI implementations pass multiple boot options as boot device path,
and NULL-clearing it results in boot failures.

Thanks skrll@ for pointing it out.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jan 1 13:38:57 2024 UTC (11 months, 1 week ago) by rin
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -17 lines
MI efiboot: Revert "Stop using efi_bootdp after exclusive open for PXE"

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/stand/efiboot/efinet.c#rev1.7

Some UEFI implementations pass multiple boot options as boot device path,
and NULL-clearing it results in boot failures.

Thanks skrll@ for pointing it out.

Revision 1.6.32.1: download - view: text, markup, annotated - select for diffs
Sat Dec 30 19:33:25 2023 UTC (11 months, 1 week ago) by martin
Branches: netbsd-10
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +25 -3 lines
Pull up following revision(s) (requested by rin in ticket #524):

	sys/stand/efiboot/efinet.c: revision 1.7
	sys/stand/efiboot/efinet.c: revision 1.8

MI efiboot: Stop using efi_bootdp after exclusive open for PXE

Once boot device is exclusively opened for Simple Network Protocol,
further access via device path (efi_bootdp) is illegal.

For some implementations, boot device path gets corrupted by
exclusive open, and subsequent access by efi_device_path_depth(),
e.g., causes infinite recursion.

Fix PXE boot for QEMU/aarch64 with EDK2 on some Linux distributions.
Thanks yamaguchi@ for comments and tests.

MI efiboot: efi_net_probe: Examine Messaging Device Path also
Network devices can be found as Hardware or Messaging Device Paths,
see Sec 10.4.4 of UEFI Spec 2.10.

In addition to Hardware Device Path, try Messaging Device Path also.

This fixes PXE boot on implementations with the latter choice, e.g.,
Raspberry Pi 4 UEFI firmware.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Dec 27 09:40:35 2023 UTC (11 months, 2 weeks ago) by rin
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +9 -1 lines
MI efiboot: efi_net_probe: Examine Messaging Device Path also

Network devices can be found as Hardware or Messaging Device Paths,
see Sec 10.4.4 of UEFI Spec 2.10.

In addition to Hardware Device Path, try Messaging Device Path also.
This fixes PXE boot on implementations with the latter choice, e.g.,
Raspberry Pi 4 UEFI firmware.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Dec 27 09:28:04 2023 UTC (11 months, 2 weeks ago) by rin
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +17 -3 lines
MI efiboot: Stop using efi_bootdp after exclusive open for PXE

Once boot device is exclusively opened for Simple Network Protocol,
further access via device path (efi_bootdp) is illegal.

For some implementations, boot device path gets corrupted by
exclusive open, and subsequent access by efi_device_path_depth(),
e.g., causes infinite recursion.

Fix PXE boot for QEMU/aarch64 with EDK2 on some Linux distributions.

Thanks yamaguchi@ for comments and tests.

Revision 1.6.4.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:56 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.6.4.1: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.4.1: +560 -0 lines
Sync with HEAD

Revision 1.6.4.1
Sun Mar 31 22:24:41 2019 UTC (5 years, 8 months ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.6: +0 -560 lines
file efinet.c was added on branch phil-wifi on 2019-06-10 22:09:56 +0000

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Mar 31 22:24:41 2019 UTC (5 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, 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, netbsd-9, netbsd-10-base, netbsd-10-0-RC1, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: phil-wifi, netbsd-10
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +60 -76 lines
Add support for netbooting with non-PCI network devices.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Mar 5 08:25:03 2019 UTC (5 years, 9 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -5 lines
 Centralize ETHER_ALIGN into net/if_ether.h. Note that this commit also changes
if_upgt.c's ETHER_ALIGN from 0 to 2.

Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:52 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.2: +29 -4 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Nov 15 23:52:33 2018 UTC (6 years ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +29 -4 lines
Add support for loading kernels over NFS.

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:47 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +555 -0 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.3.2.1
Tue Sep 4 21:29:54 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.3: +0 -555 lines
file efinet.c was added on branch pgoyette-compat on 2018-09-06 06:56:47 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Sep 4 21:29:54 2018 UTC (6 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Branch point for: pgoyette-compat
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +35 -9 lines
If the loader is loaded from the network, try to load the kernel from the
same network device.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Sep 4 15:08:30 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Fix some min/max -> uimin/uimax stragglers.

Confirmed by the 2018-09-04T04:40Z autobuild.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 00:04:02 2018 UTC (6 years, 3 months ago) by jmcneill
Branches: MAIN
Add PXE support.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>