boot hang

Kevin Diggs kevdig at hypersurf.com
Tue May 27 04:21:19 EST 2008


Hi,

	I am getting a boot hang right after a message something like:

console handover

I am trying to stop the reloading of HID1 out of nap:

--- idle_6xx-old_S      2008-02-25 18:10:30.000000000 -0800
+++ idle_6xx-new_S      2008-05-26 10:01:58.000000000 -0700
@@ -179,9 +179,15 @@
  1:
  END_FTR_SECTION_IFSET(CPU_FTR_NAP_DISABLE_L2_PR)
  BEGIN_FTR_SECTION
+       /* 750FX/GX CPU Freq support requires this be disabled */
+       lis     r9,powersave_nap_no_hid1 at ha
+       lwz     r9,powersave_nap_no_hid1 at l(r9)
+       cmpwi   0,r9,0
+       beq     1f
         addis   r9,r11,(nap_save_hid1-KERNELBASE)@ha
         lwz     r9,nap_save_hid1 at l(r9)
         mtspr   SPRN_HID1, r9
+1:
  END_FTR_SECTION_IFSET(CPU_FTR_DUAL_PLL_750FX)
         b       transfer_to_handler_cont

@@ -195,3 +201,6 @@

  _GLOBAL(powersave_lowspeed)
         .long   0
+
+_GLOBAL(powersave_nap_no_hid1)
+       .long   0

I also added powersave_lowspeed and powersave_nap_no_hid1 to the end of 
ppc_ksyms.c.

Any suggestions would be appreciated.

kevin



More information about the Linuxppc-dev mailing list