9
0
Fork 0
barebox/net
Jean-Christophe PLAGNIOL-VILLARD b00be49bdb net: dhcp: add private extention 224 to pass the oftree file via dhcp.
DHCP option 224 to 254 are for private use, so use one.

Export it via env dhcp_oftree_file.

E.g. the ISC dhcp server can be configured with

   | option oftree-path code 224 = string
   | class "at91sam9x5ek" {
   | match if substring (option vendor-class-identifier,0,20) = "barebox-at91sam9x5ek";
   |
   | filename "/tftpboot/atmel/at91sam9x5/sam9x5ek/zImage";
   | option tftp-server-name "192.168.200.98";
   | option root-path "192.168.200.98:/opt/work/buildroot/build/sam9x5/target";
   | option oftree-path "/tftpboot/atmel/at91sam9x5/sam9x5ek/sam9g25ek/dtb";
   | }

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-04-10 09:54:43 +02:00
..
Kconfig tftp: Add push support 2010-06-28 10:45:04 +02:00
Makefile net: add dns support 2010-06-17 08:28:29 +02:00
dhcp.c net: dhcp: add private extention 224 to pass the oftree file via dhcp. 2012-04-10 09:54:43 +02:00
dns.c net: env: getenv_ip use resolv 2012-04-03 11:39:29 +08:00
eth.c net: eth: don't say that MAC comes from EEPROM 2012-04-05 18:26:18 +02:00
net.c net: arp_request: do not retry endlessly 2012-04-05 08:56:03 +02:00
netconsole.c net: add a context to the packet handler 2011-04-12 09:54:56 +02:00
nfs.c commands: remove struct command pointer from commands 2012-02-27 20:28:07 +01:00
nfs.h pass filename to nfs and tftp start functions 2009-10-19 10:18:51 +02:00
ping.c net: ping: do not retry endlessly 2012-04-05 08:56:03 +02:00
rarp.h Initial revision 2002-07-20 20:14:13 +00:00
tftp.c net: tftp: do not retry endlessly 2012-04-05 08:56:03 +02:00
tftp.h net: remove switch/case in NetLoop() 2009-10-13 10:57:40 +02:00