strauman at slac.stanford.edu
Tue Jan 27 05:16:38 UTC 2009
Matt Rippa wrote:
> Hi Kate -
> Bits [7:3] are reserved defaulting to 00100, and bit 2 is read
> only so I don't think it matters. But I agree it was sloppy.
> Interesting though, the Data Sheet I found was the W83C553F. It
> specifies bit 1 as "Alt A20", and Bit 0 as "Hot Reset". I've
> only tried setting bit 1. Does this make sense to anyone?
Maybe it late at night (either for me or for you) but
I'd say outb(1,0x92) is setting bit 0...
> Feng, Kate wrote:
>> Hi Matt,
>> It seems that your original plan was to do
>> outb(inb(0x92) | 1, 0x92);
>> I do not have datasheet for those boards.
>> Anyway, it probably does not make a differnce since you are
>> resetting the board.
>> From: rtems-users-bounces at rtems.org on behalf of Matt Rippa
>> Sent: Mon 1/26/2009 8:16 PM
>> To: rtems-users at rtems.org
>> Subject: Powerpc: bsp_reset()
>> Hi -
>> For older mvme boards I noticed bsp_reset() was not actually
>> resetting my board. Tracked this down to
>> libbsp/powerpc/shared/console/reboot.c and propose the following
>> I've also submitted PR 1362 and updated the wiki for the
>> mvme2700, although I think this affects mvme2300--mvme2700.
>> Thanks for helping Till,
>> 2008-10-23 03:45:55.000000000 -1000
>> +++ reboot.c 2009-01-26 09:30:30.295646000 -1000
>> @@ -16,10 +16,14 @@
>> printk("Printing a stack trace for your convenience :-)\n");
>> /* shutdown and reboot */
>> -#if defined(BSP_KBD_IOBASE)
>> - kbd_outb(0x4, 0xFE); /* use keyboard controler to do the
>> job... */
>> #if defined(mvme2100)
>> *(unsigned char*)0xffe00000 |= 0x80;
>> + /* Memory-mapped Port 92 PIB device access
>> + *(unsigned char*)0x80000092 |= 0x01;
>> + */
>> + outb(1, 0x92);
>> } /* bsp_reset */
>> rtems-users mailing list
>> rtems-users at rtems.com
> rtems-users mailing list
> rtems-users at rtems.com
More information about the users