Skip to content
Snippets Groups Projects
  1. Oct 26, 2011
  2. Oct 23, 2011
  3. Oct 17, 2011
  4. Oct 05, 2011
  5. Oct 01, 2011
  6. Sep 21, 2011
  7. Sep 19, 2011
  8. Sep 09, 2011
  9. Sep 05, 2011
  10. Sep 04, 2011
    • Michal Simek's avatar
      net: Check network device driver name · 58c583b6
      Michal Simek authored
      
      If name is longer than allocated space NAMESIZE
      mac address is rewritten which show error
      message like:
      
      Error message:
      Warning: Xlltemac.87000000 MAC addresses don't match:
      Address in SROM is         30:00:00:00:00:00
      Address in environment is  00:0a:35:00:6a:04
      
      NAMESIZE contains Driver name + zero terminated character.
      
      Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
      58c583b6
  11. Aug 08, 2011
  12. Aug 03, 2011
  13. Jul 27, 2011
  14. Jun 01, 2011
    • Enric Balletbo i Serra's avatar
      net/net.c: Update ipaddr if the environment has changed · 23a70bf9
      Enric Balletbo i Serra authored
      
      At least on ARM the ipaddr is only set in board_init_r function. The
      problem is if ipaddr is not defined in environment importing another
      environment defined don't update the ipaddr value.
      
      For example, suppose we've a default environment without net variables
      defined and we want to import an uEnv.txt environment from SD-card like
      this:
      
        ipaddr=192.168.2.240
        netmask=255.255.255.0
        gatewayip=192.168.2.1
        serverip=192.168.2.114
      
      Then if you try boot from NFS results in:
      
        Importing environment from mmc ...
        Running uenvcmd ...
        smc911x: detected LAN9221 controller
        smc911x: phy initialized
        smc911x: MAC ac:de:48:00:00:00
        *** ERROR: `ipaddr' not set
      
      The ipaddr at this point is NULL beacause is only set at board_init_r
      function. This patch updates the ipaddr value if the environment has
      changed.
      
      Signed-off-by: default avatarEnric Balletbo i Serra <eballetbo@iseebcn.com>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      23a70bf9
  15. May 19, 2011
  16. May 12, 2011
Loading