Skip to content
Snippets Groups Projects
  1. Oct 13, 2015
    • Alessandro Rubini's avatar
      tools/pfilter-builder: completed · d52fdb87
      Alessandro Rubini authored
      
      This changes pfilter-builder.c so it really build in user space, but removing
      register setting and creating output files instead.
      
      Running this program creates 3 files, that correspond to the previous
      three #ifdef conditions.  The files are:
      
            rules-plain.bin    this is used for the no-etherbone configuration
            rules-ebone.bin    etherbone setup
            rules-e+nic.bin    etherbon plus 7solution's wr-nic packet filter
      
      The files begin with a magix 0x11223344 word, that allows the soft-core
      to fix any endianness difference (so no hairy mishaps are expected when
      switching to a different soft-core). Then the 40-bit command words are
      saved as 64-bit vaules, LSB-first. The output file is thus an odd number
      of words and no 64-bit alignment is required.
      
      The first three instructions of the packet filter are used to compare
      the destination mac address of the frame.  We now use a fake mac address,
      and the LM32 code will change it while programming the binary.
      
      Please look at this commit while ignoring white-space, as it changes
      indentation while turning #ifdef/#else into if()/else .
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
      d52fdb87
    • Alessandro Rubini's avatar
      tools/pfilter-builder.c: currently a copy of ep_pfilter.c · c9930892
      Alessandro Rubini authored
      
      We are going to have a user-space tool to build the packet filter
      images. The first step is copying dev/ep_pfilter.c, so we can
      "git diff" the changes.  At this point the file is not
      even built.
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
      c9930892
    • Alessandro Rubini's avatar
      76d2f062
    • Cesar Prados's avatar
      tools: trivial: change of function declarations · f159dff2
      Cesar Prados authored and Alessandro Rubini's avatar Alessandro Rubini committed
      f159dff2
  2. Sep 28, 2015
  3. Sep 21, 2015
  4. Sep 18, 2015
  5. Jul 24, 2015
  6. Jun 30, 2015
  7. Jun 03, 2015
  8. Feb 06, 2015
  9. Jan 09, 2015
  10. Jan 08, 2015
  11. Jan 06, 2015
  12. Nov 18, 2014
    • Alessandro Rubini's avatar
      ldscript and crt0.S: remove useless _gp · f235dfbc
      Alessandro Rubini authored and Grzegorz Daniluk's avatar Grzegorz Daniluk committed
      
      The global pointer is used by some special assembly instructions
      that we are not using (i.e., the compiler is not generating them
      for us, because we don't use PIC or other "strange" stuff.
      
      So, we'd better remove an assignement in the linker script that makes
      little sense (it must be a typo of some kind, in the dark ages of this
      code base).
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
      f235dfbc
  13. Mar 14, 2014
  14. Mar 07, 2014
  15. Nov 14, 2013
  16. Oct 25, 2013
  17. Sep 24, 2013
  18. Jul 25, 2013
  19. May 22, 2013
  20. May 20, 2013