mbox series

[0/2] arm/arm64: dts: Use ip=on for bootargs

Message ID 155817382883.14383.9127828804463512592.sendpatchset@octo (mailing list archive)
Headers show
Series arm/arm64: dts: Use ip=on for bootargs | expand

Message

Magnus Damm May 18, 2019, 10:03 a.m. UTC
arm/arm64: dts: Use ip=on for bootargs

[PATCH 1/2] arm: dts: Use ip=on for bootargs
[PATCH 2/2] arm64: dts: renesas: Use ip=on for bootargs

These patches convert boards from Renesas that use ip=dhcp in bootargs to
ip=on to allow more flexible network protocol auto configuration support.

The supported network protocols used for auto configuration depend both
on the ip= boot argument and the kernel configuration.

The arm64 defconfig currently contains the following Kconfig symbols:
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
# CONFIG_IP_PNP_RARP is not set

Unless overridden by the user the above kernel configuration with ip=on
results in that the kernel will perform auto configuration with both BOOTP
and DHCP during boot. Compared to DHCP the user will not experience any
real difference unless he/she also has a BOOTP server on the same network
and relies on ip=dhcp to pick the desired protocol.

I recall the ISC DHCP server being a helpful tool to test BOOTP and DHCP.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

 Developed on top of renesas-devel-20190516-v5.1

 arch/arm/boot/dts/emev2-kzm9d.dts                |    2 +-
 arch/arm/boot/dts/r7s72100-genmai.dts            |    2 +-
 arch/arm/boot/dts/r8a73a4-ape6evm.dts            |    2 +-
 arch/arm/boot/dts/r8a7740-armadillo800eva.dts    |    2 +-
 arch/arm/boot/dts/r8a7743-sk-rzg1m.dts           |    2 +-
 arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts      |    2 +-
 arch/arm/boot/dts/r8a7745-sk-rzg1e.dts           |    2 +-
 arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts        |    2 +-
 arch/arm/boot/dts/r8a7778-bockw.dts              |    2 +-
 arch/arm/boot/dts/r8a7779-marzen.dts             |    2 +-
 arch/arm/boot/dts/r8a7790-lager.dts              |    2 +-
 arch/arm/boot/dts/r8a7790-stout.dts              |    2 +-
 arch/arm/boot/dts/r8a7791-koelsch.dts            |    2 +-
 arch/arm/boot/dts/r8a7791-porter.dts             |    2 +-
 arch/arm/boot/dts/r8a7792-blanche.dts            |    2 +-
 arch/arm/boot/dts/r8a7792-wheat.dts              |    2 +-
 arch/arm/boot/dts/r8a7793-gose.dts               |    2 +-
 arch/arm/boot/dts/r8a7794-alt.dts                |    2 +-
 arch/arm/boot/dts/r8a7794-silk.dts               |    2 +-
 arch/arm/boot/dts/sh73a0-kzm9g.dts               |    2 +-
 arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts  |    2 +-
 arch/arm64/boot/dts/renesas/r8a77970-eagle.dts   |    2 +-
 arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts   |    2 +-
 arch/arm64/boot/dts/renesas/r8a77995-draak.dts   |    2 +-
 arch/arm64/boot/dts/renesas/salvator-common.dtsi |    2 +-
 arch/arm64/boot/dts/renesas/ulcb.dtsi            |    2 +-
 26 files changed, 26 insertions(+), 26 deletions(-)