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


Default branch: MAIN


Revision 1.6.32.2 / (download) - annotate - [select for diffs], Mon Jan 1 14:00:17 2024 UTC (3 months, 2 weeks ago) by martin
Branch: 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
Changes since 1.6.32.1: +3 -17 lines
Diff to previous 1.6.32.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

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) - annotate - [select for diffs], Mon Jan 1 13:38:57 2024 UTC (3 months, 2 weeks ago) by rin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +3 -17 lines
Diff to previous 1.8 (colored)

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) - annotate - [select for diffs], Sat Dec 30 19:33:25 2023 UTC (3 months, 2 weeks ago) by martin
Branch: netbsd-10
Changes since 1.6: +25 -3 lines
Diff to previous 1.6 (colored)

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) - annotate - [select for diffs], Wed Dec 27 09:40:35 2023 UTC (3 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.7: +9 -1 lines
Diff to previous 1.7 (colored)

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) - annotate - [select for diffs], Wed Dec 27 09:28:04 2023 UTC (3 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.6: +17 -3 lines
Diff to previous 1.6 (colored)

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) - annotate - [select for diffs], Mon Jun 10 22:09:56 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.6.4.1: +560 -0 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with HEAD

Revision 1.6.4.1, Sun Mar 31 22:24:41 2019 UTC (5 years ago) by christos
Branch: phil-wifi
Changes since 1.6: +0 -560 lines
FILE REMOVED

file efinet.c was added on branch phil-wifi on 2019-06-10 22:09:56 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 31 22:24:41 2019 UTC (5 years ago) by jmcneill
Branch: 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-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
Changes since 1.5: +60 -76 lines
Diff to previous 1.5 (colored)

Add support for netbooting with non-PCI network devices.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Mar 5 08:25:03 2019 UTC (5 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.4: +1 -5 lines
Diff to previous 1.4 (colored)

 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) - annotate - [select for diffs], Mon Nov 26 01:52:52 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.3.2.2: +29 -4 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.4 / (download) - annotate - [select for diffs], Thu Nov 15 23:52:33 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Changes since 1.3: +29 -4 lines
Diff to previous 1.3 (colored)

Add support for loading kernels over NFS.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:47 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.3.2.1: +555 -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, Tue Sep 4 21:29:54 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.3: +0 -555 lines
FILE REMOVED

file efinet.c was added on branch pgoyette-compat on 2018-09-06 06:56:47 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Tue Sep 4 21:29:54 2018 UTC (5 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Branch point for: pgoyette-compat
Changes since 1.2: +35 -9 lines
Diff to previous 1.2 (colored)

If the loader is loaded from the network, try to load the kernel from the
same network device.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 4 15:08:30 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Fix some min/max -> uimin/uimax stragglers.

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

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 3 00:04:02 2018 UTC (5 years, 7 months ago) by jmcneill
Branch: MAIN

Add PXE support.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>