[Trac #641] Debug port(80h) need open firmware support.

Zarro Boogs per Child bugtracker at laptop.org
Wed Apr 11 04:54:26 EDT 2007


#641: Debug port(80h) need open firmware support.
--------------------------+-------------------------------------------------
 Reporter:  chiaying.lin  |        Owner:  chiaying.lin
     Type:  defect        |       Status:  new         
 Priority:  high          |    Milestone:  BTest-3     
Component:  hardware      |   Resolution:              
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by wmb at firmworks.com):

 * cc: ted.juan at quatatw.com (removed)
  * owner:  rsmith => chiaying.lin
  * component:  ofw - open firmware => hardware

Comment:

 I added port 80 output codes to the firmware startup sequence.  I don't
 see a connector on the LPC bus on the current B3 schematics, so I'm not
 sure if the hardware is set up for a port 80 device.  I'm reassigning to
 hardware.

 {{{
 0x01  beginning of real mode startup code in rmstart.fth, prior to PLL
 turn-on
 0x02  after return from auto-reset with PLL on
 0x03  after entry to protected mode, still executing from 16-bit segment
 0x0f  just before far jump to 32-bit startup code (exit from rmstart.fth)

 0x10  entry to romreset.bth, prior to setting up MSRs to access 5536
 0x11  finished turning on serial port; prior to init memory controller
 0x12  finished memory controller init; prior to init SDRAMs
 0x18  entry to draminit.fth
 0x19  SDRAM turned on
 0x1a  cache turned on

 0x1b  determined that this is a resume from SD, jumping to resume-specific
 code

 0x1c  cold start, not resume.  About to setup memory info for OFW
 0x1d  exiting from draminit.fth

 0x1f  back in romreset.fth, about to go to resetend.fth

 0x20  in resetend.fth, just switched to new GDT in RAM
 0x21  prior to turning on paging
 0x22  finished turning on paging; prior to locating OFW main image in ROM

 0x23  prior to copying inflater into RAM
 0x24  finished copying inflater
 0x25  prior to inflating OFW main image into RAM

 0x26  OFW main image wasn't compressed; prior to copying it to RAM

 0x27  exiting from resetend.fth; entering OFW main image in RAM

 The following are the port 80 output points during main OFW startup.
 They are subject to change.

 0x40 gpio
 0x41 Probing memory
 0x42 MMU
 0x43 Reclaim dictionary
 0x44 PCI host bridge
 0x45 ISA
 0x46 RTC
 0x47 CPU nodes
 0x48 CMOS
 0x49 nand5536
 0x4a Null-NVRAM
 0x4b PCI properties
 0x4c USB setup
 0x4d Init SHA-1 variables
 0x4e Suspend/resume


 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/641#comment:5>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list