BIOS Considerations for USB 2.0 - PowerPoint PPT Presentation

1 / 30
About This Presentation
Title:

BIOS Considerations for USB 2.0

Description:

Both the PS/2 Mouse & PS/2 Keyboard are emulated along with the Keyboard Controller ... Keyboard and Mouse still available during POST. INT15H (C2H), INT16H ... – PowerPoint PPT presentation

Number of Views:96
Avg rating:3.0/5.0
Slides: 31
Provided by: rickco
Category:

less

Transcript and Presenter's Notes

Title: BIOS Considerations for USB 2.0


1
(No Transcript)
2
BIOS Considerationsfor USB 2.0
  • Curtis E. Stevens
  • Phoenix Technologies Ltd.

3
Agenda
  • BIOS Candidates
  • USB BIOS support for Keyboard and Mouse
  • Booting from USB
  • BIOS support for USB 2.0

4
BIOS Candidates
  • USB Keyboard support
  • Basic need of all environments
  • USB Mouse support
  • For GUI and DOS game environments
  • USB Floppy, HardDisk, CD ROM support
  • Potential future candidates - INT13H Interface

5
USB BIOS Requirementsfor Keyboard and Mice
  • Design for Desktops, Portables andServer Systems
  • Support for Multiple Host Controllers
  • Enumeration should handle all legalBus
    topologies
  • USB Devices must coexist with PS/2 Devices
  • Must support multiple USB Keyboards USB Mice

6
USB BIOS Requirementsfor Keyboard and Mice
  • Each USB Keyboard has its own Typematic Rate
  • Hot Attach/Detach must be supported
  • Must be able to transition to the USB Aware O/S
  • USB support performance must be usable
  • Must not notice the difference between PS/2 USB
  • USB must not degrade System performance
  • When USB Devices are idle
  • When PS/2 Devices only mode is selected

7
Device Emulation Overview
  • Both the PS/2 Mouse PS/2 Keyboard are emulated
    along with the Keyboard Controller
  • An SMI is generated on accesses to the KBC
  • An SMI is generated by the Host Controller on a
    Transfer Completion event
  • USB Data is converted sent to the System
  • UHCI Echoed through the Keyboard Controller
  • OHCI Placed in the Legacy Registers.

8
Device Emulation Overview
  • Block diagrams of UHCI OHCI SMI Trapping
  • UHCI KBC Status and IRQs come from the KBC
  • OHCI KBC Status and IRQs come from the Host
    Controllers Legacy hardware

9
USB BIOS O/S Support
USB Aware Operating System
BIOS Surrenders To the O/S
BIOS Initialization
BIOS Transition
USB Initialization
Non-USB Aware Operating System
BIOS Legacy Support Stays Intact
10
PS/2-Only Architecture
11
BIOS USB PS/2 Architecture
12
BIOS USB PS/2 Architecture
13
SMI Performance
  • 10 SMIs per Keystoke (5 Make 5 Break)
  • USB Device Transfer Completion (hcTransfer)
  • INT09hs Disable of the Keyboard Interface (ADh)
  • INT09hs Read of Port 60h
  • INT09hs Re-Enable of the Keyboard Interface
    (AEh)
  • Persistence Callback (UHCI only)
  • On OHCI the Rd P60h the Persistence are the
    same SMI
  • Arrow Keys w/NumLk 34 SMIs per Keystroke

14
Legacy-Free Keyboard
  • Keyboard and Mouse still available during POST
  • INT15H (C2H), INT16H Compatible
  • Legacy-Free Keyboard Feature set same as current
  • Keyboard Controller hardware issues finally
    addressed
  • GateA20 Confusion and Problems are eliminated
  • USB SMI Emulation is no longer required
  • USB uses a standard IRQ instead
  • New OS hand-off required for IRQ keyboard
    emulation
  • IRQ1 and IRQ12 are released
  • Keyboard Module simplified

15
Current Desktop
16
Legacy-Free Desktop
17
Replacing the Floppy
Booting From USB
18
What Constitutes A Mass Storage Device?
  • Any SCSI device
  • Any ATAPI device
  • Two transport mechanisms
  • Control-Bulk-Interrupt (CBI)
  • Bulk-Only Transport (BOT)
  • Can be found at WWW.USB.ORG

19
Why Serial Number
  • Allows for a change in topology
  • The user can hot-plug USB devices
  • This causes a bus re-enumeration
  • USB physical addresses can change
  • Serial number keeps A on the expected device
    during a hot-plug
  • Allows for interchange of devices
  • When devices are re-inserted they can maintain
    their original drive letters

20
Requesting Serial Number
  • Serial Number is required for devices that follow
    the BOT specification
  • Serial Number is optional for devices that follow
    the CBI specification
  • Mainly USB 1.44MB floppy drives

Require Serial Number Supportfor Your USB Floppy
Drive
21
Mode Page 5(Flexible Disk Page)
  • Required by system firmware
  • Useful for devices that use preformatted media
  • Provides Cylinder-Head-Sector information
    forBIOS services
  • The system BIOS does not read parameters from
    media
  • The system BIOS only reads parameters from
    devices
  • Required for devices that would be A
  • Guarantees media compatibility from system to
    system
  • Required for devices that would be C
  • Guarantees that partition table parameters are
    consistent from system to system

22
Appropriate Devices
  • Devices with minor speed considerations
  • Large Floppy
  • Slow Tape
  • Any Mass Storage device which is interfaced via
    parallel port, today
  • USB 2.0 will bring many new devices to USB
  • Hard Drives, CD-ROM drives, etc.

23
Special Use Devices
  • Laptops are driving these devices
  • IA Products
  • USB 2.0 changes these from special use devices to
    normal use devices for Laptops, Desktops,
    Workstations, Servers

24
USB Boot In Conclusion
  • Phoenix is currently offering support for
  • Floppy
  • Zip
  • Hard Drive
  • CD-ROM/DVD
  • In process
  • USB 2.0
  • Target date H1 2002
  • Devices to follow as needed

25
Support USB 2.0 Host
USB 1.1 Signals
USB 2.0 Signals
USB 2.0Host Chip
Router
USB 1.1Host
USB 2.0Host
26
BIOS Support forHybrid Controller
  • BIOS Can Support HS/FS device at FS
  • Using Classic portion
  • No new code required
  • Performance degraded
  • BIOS Can Support FS/LS device at FS/LS
  • Using Classic portion
  • No new code required

27
BIOS Support forHS Controller
  • New code to support
  • HS devices
  • FS/LS devices using split transaction

28
Summary
  • USB keyboard legacy emulation should be shipped
    on all systems with USB and KBC
  • USB mass storage is now available as a secondary
    boot device
  • Require serial numbers in your massstorage
    devices
  • Send us some prototype USB 2.0 massstorage
    devices

29
For More Information
  • WWW.USB.ORG
  • WWW.PHOENIX.COM
  • For questions related to Phoenix BIOSes
  • E-Mail Robert_Mendez_at_Phoenix.com regarding
    Phoenix BIOS
  • E-Mail Kangkang_Shen_at_Phoenix.com regarding Award
    BIOS
  • E-Mail Curtis_Stevens_at_Phoenix.com regarding
    general questions specification issues

30
Any Questions?
Write a Comment
User Comments (0)
About PowerShow.com