SCC2 as console on 8260
I have custom 8260 board.
My bootloader console works on SCC2(hardware configured).
I modified arch/ppc/mbxboot/m8260_tty.c and I can see this on my SCC2.
loaded at: 00410000 0041B29C relocated to: 00400000 0040B29C board data at: 00400190 004001BC relocated to: 00200100 0020012C zimage at: 00416000 00486818 avail ram: 00487000 04000000
Linux/PPC load:
Uncompressing Linux...done.
Now booting the kernel
Next:
I set in "arch/ppc/8260_io/uart.c"
#define CONFIG_SERIAL_CONSOLE_PORT 2
Is it enough to to make SCC2 main console?
You help is greatly appreciated.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 3 lines · Konstantin Sabodash
I set in "
arch/ppc/8260_io/uart.c"
#defineCONFIG_SERIAL_CONSOLE_PORT2
Is it enough to to make SCC2 main console?
No. The current 8260 uart.c driver is in pretty bad shape. I started making some changes to support exactly what you are asking for, but didn't yet finish.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 10 lines · Dan Malek
Quoted 3 lines · Konstantin Sabodash
I set in "
arch/ppc/8260_io/uart.c"
#defineCONFIG_SERIAL_CONSOLE_PORT2
Is it enough to to make SCC2 main console?No. The current 8260
uart.cdriver is in pretty bad shape. I started making some changes to support exactly what you are asking for, but didn't yet finish.-- Dan
Maybe this will help. Here are the changes I had to make to the 8260 uart.c driver for our custom board (Hymod). As well as console working properly on the SCC port (I use SCC1, but should work on SCC2), I have added support for KGDB on any serial port (I use KGDB on SCC2). Everything appears to be running well. The code is still a mess (I tried to keep the changes to a minimum), but it works for SCC now (at least for me :-). Cheers!
Murray...
PS: I figured I'd post the diffs here because they were only 8K compressed.
Is this too big for this list?
--
Murray Jensen, CSIRO Manufacturing Sci & Tech, Phone: +61 3 9662 7763
Locked Bag No. 9, Preston, Vic, 3072, Australia. Fax: +61 3 9662 7853
Internet: [email protected] (old address was [email protected])