Permalink
Commits on Nov 28, 2011
Commits on Nov 27, 2011
  1. standby: auto-on

    sbourdeauducq committed Nov 27, 2011
Commits on Nov 24, 2011
  1. fpvm: accessor functions

    sbourdeauducq committed Nov 24, 2011
  2. Update copyright notices

    sbourdeauducq committed Nov 24, 2011
Commits on Nov 23, 2011
  1. softusb: new DPLL

    sbourdeauducq committed Nov 23, 2011
Commits on Nov 22, 2011
  1. bios: enable bus errors

    By default bus errors are disabled, enable them.
    mwalle committed with sbourdeauducq Nov 21, 2011
  2. gdbstub: disable bus errors

    Disable bus errors while the gdbstub is running. This will prevent nested
    gdbstub invokations.
    mwalle committed with sbourdeauducq Nov 21, 2011
  3. bios: lock gdbstub ROM

    For now, unconditionally lock the GDB stub ROM as soon as possible.
    mwalle committed with sbourdeauducq Nov 21, 2011
  4. update monitor rom

    mwalle committed with sbourdeauducq Nov 21, 2011
  5. gdbstub: set correct uart speed

    Set the UART speed to a fixed value when gdbstub is called and restore its
    previous value if gdbstub exits.
    mwalle committed with sbourdeauducq Nov 21, 2011
  6. monitor: introduce write lock

    Make ROM writeable unless the lock is set.
    mwalle committed with sbourdeauducq Nov 21, 2011
  7. sysctl: new debug control register

    Introduce a debug control register. It can be used to lock the gdbstub ROM
    and enable/disable bus errors. The gdbstub ROM will be read/writeable until
    one writes the corresponding lock bit to this register. This will ease
    future gdbstub updates.
    mwalle committed with sbourdeauducq Nov 21, 2011
  8. sysctl: change offsets and new frequency register

    Reorganize register offsets and introduce new register to read the system
    clock frequency.
    mwalle committed with sbourdeauducq Nov 21, 2011
  9. Cleanup BIOS makefile

    sbourdeauducq committed Nov 22, 2011
  10. connect the dependency between softusb and libhal, add libs dependenc…

    …y to bios
    
    Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
    Xiangfu Liu committed with sbourdeauducq Nov 22, 2011
Commits on Nov 21, 2011
  1. bios: fix initrd end pointer

    initrd_end points just past the last byte of the initrd. This way initramfs
    images works.
    mwalle committed with sbourdeauducq Nov 20, 2011
  2. flterm: make kernel image optional

    This way flterm can be used as a 'normal' terminal emulator.
    mwalle committed with sbourdeauducq Nov 20, 2011
Commits on Nov 19, 2011
  1. softusb: clear EPs on disconnect

    Along with the logic to handle multiple interfaces, commit
    a26dc51 also introduced the following
    bug:
    
    When a keyboard or composite device with keyboard was replaced by a
    mouse after enumeration, the stack would still poll the "keyboard",
    which most likely resulted in the mouse data to be b drained and
    discarded.
    
    This patch clears the EP roles on disconnect.
    wpwrak committed with sbourdeauducq Nov 19, 2011
  2. softusb: convert last remaining use of usb_rx to usb_rx_ack

    Since usb_rx is now only used to receive ACK/NAK, we can replace it
    with a more streamlined version. This should also marginally improve
    error handling.
    wpwrak committed with sbourdeauducq Nov 19, 2011
  3. softusb: fail garbled packets fatally again

    As the result of more testing that showed no degradation in performance,
    this reverts to the original logic of failing garbled packets harder.
    wpwrak committed with sbourdeauducq Nov 19, 2011
  4. softusb: send ACKs from dedicated inline function

    To accelerate sending ACKs, this patch avoids the call setup overhead
    of usb_tx and introduces a dedicated inline function. In experiments,
    this reduced EOP-to-ACK time by about 10 full-speed bit times.
    wpwrak committed with sbourdeauducq Nov 19, 2011
  5. softusb: partially unroll usb_in

    This patch partially unrolls usb_in and takes decisions on the further
    disposition of a packet at early as possible. The objective is to
    minimize the processing needed between EOP of the DATAx packet and the
    sending of an ACK.
    
    The patch also changes error handling in two ways:
    
    1) when deciding to discard a packet, always wait until the device
       really stops sending
    
    2) packets with a garbled PID are treated as non-fatal errors
    wpwrak committed with sbourdeauducq Nov 19, 2011
  6. Revert 4KB hack

    sbourdeauducq committed Nov 19, 2011
  7. softusb: move all OUT transfers to function usb_out

    This is mainly cosmetic, to reduce the amount of code. It adds
    retry on timeout, though.
    
    Again, as a side-effect, debug messages become a bit less detailed.
    wpwrak committed with sbourdeauducq Nov 19, 2011
  8. softusb: move all IN transfers to function usb_in

    Besides reducing some redundancy, this patch also makes the following
    changes:
    
    - retry on timeout (e.g., if the DATAx packet was garbled) in the data
      stage of control transfers instead of failing the entire transfer
    
    - retry IN tranfers in the status stage
    
    - reject IN transfers in the status stage if they have the wrong
      sequence bit (more USB 1.1 sec 8.5.2 and USB 2.0 sec 8.5.3)
    
    - slightly reduce the information in debugging output since control
      and bulk/interrupt now use the same code path for IN transfers
    
    The streamlined code path also makes full-speed work occasionally.
    wpwrak committed with sbourdeauducq Nov 19, 2011