LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-06-2013, 11:26 AM   #1
mukiwa
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Rep: Reputation: 0
pci BAR problem - 2 BARs given same address


Hi I am using an imx6 SOC by freescale and a 3.0.35 kernel created by them. When plugging in a pci device (which works perfectly on intel), I can see that 2 BARs have been assigned the same address. This seems to be a kernel problem - is my assumption correct? If it is how would I go about trying to fix it?

The following is output from /sys/... and the 2 BARs are highlighted in red

Thanks.

/sys/devices/pci0000:00/0000:00:00.0/0000:01:00.0$ od -X config
0000000 ec301204 00100140 00000000 00000008
0000020 fffc0000 fffc0000 00000000 00000000
0000040 00000000 00000000 00000000 30101204
0000060 00000000 00000050 00000000 0000019b
0000100 00000000 00000000 00000000 00000000
0000120 00037001 00000000 00000000 00000000
 
Old 02-06-2013, 11:56 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,160

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
On x86 the BIOS probes PCI devices, sets up BARs and passes info to the kernel in the ACPI structure. Not sure whether it is BIOS or kernel on your ARM system, depends how it's built.
 
  


Reply



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
windowmaker restore window (title bar, scroll bars etc) frieza Linux - Software 3 02-17-2024 12:36 PM
Problem in writing to PCI BAR Mahmoud_eltahawy Linux - Kernel 0 10-19-2009 06:25 AM
regarding multi serial port PCI card IO address problem ayaskant16 Linux - Hardware 0 11-12-2008 12:32 AM
vsftpd requires user@address in address bar hazmatt20 Linux - Software 11 10-27-2006 08:05 PM
Firefox Address bar problem iain.ross SUSE / openSUSE 2 03-23-2005 03:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:09 PM.

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