public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v6 0/4] OMAP: SPL networking support
@ 2012-09-17 20:26 Ilya Yanok
  2012-09-17 20:26 ` [U-Boot] [PATCH v6 1/4] net/bootp: add VCI support for BOOTP also Ilya Yanok
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Ilya Yanok @ 2012-09-17 20:26 UTC (permalink / raw)
  To: u-boot


These series provides support for networking in SPL.
In this version some effort is done to minimize the resulting SPL
size and now Net-only SPL is <50KB in size. So theoretically it
can be used on boards with enough SRAM space like AM3517.
But real testing was done only on AM335x.


Changes in v3:
 - use BOOTP in SPL regardless of CONFIG_CMD_DHCP
 - add support for setting different VCI in SPL
 - set Vendor Class Identifier for SPL

Changes in v4:
 - used strlen instead of sizeof
 - moved vci_strlen var inside macro
 - fix compilation of SPL's libcommon with CONFIG_HUSH_PARSER
   and CONFIG_BOOTD defined
 - rename spl_eth.c to spl_net.c
 - set ethact variable if device name is passed
 - SPL_BOARD_INIT is not needed anymore

Changes in v5:
 - set up guards in cmd_nvedit.c more carefully
 - now we don't need command.c and only need main.c for
   show_boot_progress() so defined it to be noop and remove
   both files from SPL sources
 - SPL guards in command.c and main.c are no longer needed
 - add some guards in env_common.c
 - qsort.c is no longer needed
 - add guard to hashtable.c to save some space
 - undefine unneeded CONFIG_CMD_* while building SPL to save space

Changes in v6:
 - fix typo in patch name
 - remove some unneeded changes introduced by earlier versions
 - switch clauses and use ifdef instead of ifndef
 - create new header config_uncmd_spl.h which undefines CONFIG_CMD_*
   options unneeded in SPL and include it last from config.h
 - remove explicit undefs from net/net.c and net/bootp.c

Ilya Yanok (4):
  net/bootp: add VCI support for BOOTP also
  OMAP: spl: call timer_init() from SPL
  OMAP: networking support for SPL
  am335x_evm: enable networking in SPL

 arch/arm/cpu/armv7/omap-common/Makefile  |    3 ++
 arch/arm/cpu/armv7/omap-common/spl.c     |   11 +++++++
 arch/arm/cpu/armv7/omap-common/spl_net.c |   52 ++++++++++++++++++++++++++++++
 arch/arm/include/asm/omap_common.h       |    4 +++
 common/Makefile                          |    4 +++
 common/cmd_nvedit.c                      |    8 +++++
 common/env_common.c                      |    7 ++--
 include/bootstage.h                      |    6 +++-
 include/config_uncmd_spl.h               |   24 ++++++++++++++
 include/configs/am335x_evm.h             |    5 ++-
 lib/Makefile                             |    9 ++++--
 lib/hashtable.c                          |    2 ++
 lib/vsprintf.c                           |    2 +-
 mkconfig                                 |    1 +
 net/bootp.c                              |   27 ++++++++++++----
 net/tftp.c                               |    4 +++
 spl/Makefile                             |    3 ++
 17 files changed, 159 insertions(+), 13 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/omap-common/spl_net.c
 create mode 100644 include/config_uncmd_spl.h

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-09-20 19:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-17 20:26 [U-Boot] [PATCH v6 0/4] OMAP: SPL networking support Ilya Yanok
2012-09-17 20:26 ` [U-Boot] [PATCH v6 1/4] net/bootp: add VCI support for BOOTP also Ilya Yanok
2012-09-17 20:26 ` [U-Boot] [PATCH v6 2/4] OMAP: spl: call timer_init() from SPL Ilya Yanok
2012-09-17 20:26 ` [U-Boot] [PATCH v6 3/4] OMAP: networking support for SPL Ilya Yanok
2012-09-18  0:17   ` Tom Rini
2012-09-18 10:22     ` [U-Boot] [PATCH v7 " Ilya Yanok
2012-09-20 19:35       ` Joe Hershberger
2012-09-18 10:25     ` [U-Boot] [PATCH v6 " Ilya Yanok
2012-09-17 20:26 ` [U-Boot] [PATCH v6 4/4] am335x_evm: enable networking in SPL Ilya Yanok

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox