Ignore:
Timestamp:
Jun 8, 2001, 1:29:13 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
622a429
Parents:
b7f5447b
Message:

2000-06-08 Eric Valette <valette@…>

  • console/console.c, include/commproc.h, startup/start.S: The printk/printf did not work when loaded by EPPCBUG. They did work when loaded with the BDM debugger. I suspected EPPBUG made some nasty things like patching Communication processor microcode... Anyway, the attached patch: 1) Enables to have printk nearly immediately after boot, 2) Make printf work automagically (I do not know why except I make a different initialization for printk that should be overwritten by console init later ?)

I let the default to be using EPPCBUG embedded firmware to boot and
using this printk early enabler code (LOADED_BY_EPPCBUG and
EARLY_CONSOLE) are on.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mbx8xx/startup/start.S

    rb7f5447b r0eef948f  
    243243 * #define LOADED_BY_EPPCBUG
    244244 */
     245#define LOADED_BY_EPPCBUG
     246#define EARLY_CONSOLE           
    245247/*
    246248 * Initialization code
     
    276278        bl      bssclr
    277279        nop
    278 
     280#if defined(EARLY_CONSOLE) && defined(LOADED_BY_EPPCBUG)
     281        EXTERN_PROC (serial_init)
     282        bl      PROC (serial_init)
     283#endif 
    279284        lis     r5,environ@ha
    280285        la      r5,environ@l(r5)                /* environp */
Note: See TracChangeset for help on using the changeset viewer.