Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 08-26-2008, 08:28 AM   #1
LQ Newbie
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
Reseting PCI graphic controller

I've been having trouble with my ARM based system (ipdx425), running linux, not rebooting when issuing the "reboot" command, it would simply hang after "Restarting system". After a bit of searching I was able to find that I needed to modify include/asm-arm/arch-ixp4xx/system.h.

static inline void arch_reset(char mode)
	if ( 1 && mode == 's') {	
		/* Jump into RedBoot Flash ROM at address 0x50000040 */
		cpu_reset(0x50000040); // This is the fix, changed from cpu_reset(0)
	} else {
		/* Use on-chip reset capability */

		/* set the "key" register to enable access to
		 * "timer" and "enable" registers

		/* write 0 to the timer register for an immediate reset */
		*IXP4XX_OSWT = 0;

By changing cpu_reset(0) to cpu_reset(0x50000040) the system now reboots when the "reboot" command is issued. However it does not reset the graphic controller, any image drawn to the screen will stay there until the kernel has booted and it receives a command to draw something else. I need this to be reseted as well.

The graphic controller (SM722, Lynx3DM+) is on the PCI buss and I should be able to reset it by issuing a reset command over the PCI buss (as far as I understand all PCI devices has to respond do this command). The problem is I don't know how to do this, I'd be grateful for any help.


Last edited by leonl; 08-26-2008 at 09:39 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Standard Dual Channel PCI IDE Controller driver for FPGA controller weshutchins Linux - Kernel 1 07-11-2012 07:15 AM
About PCI-E graphic card satimis Linux - Hardware 6 05-16-2008 09:03 PM
Unable to allocate PCI Ethernet controller. Too many PCI devices already configured. tirtildim Linux - Software 2 04-17-2008 07:18 AM
s3 64mp2 pci graphic card detection error D3javu Linux - Hardware 0 02-15-2006 01:37 AM
resolution problem with i82845G graphic controller ritturaj Linux - Hardware 6 02-23-2005 12:50 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 01:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration