Hi Dave,
Thank you for your infos.
I found out some useful information from :
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-ati.git;a=shortlog
2008-07-08 Benjamin Herrenschmidt atombios: add support for other endians.
I'm working on it.
Thank you,
Tai Nguyen.
-----Original Message-----
From: Dave Airlie [mailto:airlied@gmail.com]
Sent: Thursday, July 24, 2008 10:13 AM
To: Tai Tri Nguyen
Cc: radeonhd@opensuse.org; Phong Vo; Tuan Thanh Phan
Subject: Re: [radeonhd] 0x94CC:0x1545:0x3650: <Radeonhd RV610 HD2400Pro>
On Thu, Jul 24, 2008 at 12:48 PM, Tai Tri Nguyen
Hi Dave,
Thank you for your response. You recommended me to try -ati but this card is radeonhd. Actually, I tried it before but it seemed -ati driver hasn't supported the card yet.
The distribution OS I'm using is Ubuntu 7.04. In parallel, I also use another older ATI VGA card (Rage 128 RK/VR) and it worked well in powerpc architecture.
I think that the main issue here is how to initialise the BIOS that is in x86 instructions. I was successful with x86 emulator in Uboot and now in Kernel but just for the old card Rage 128 VR. The new one radeohd uses another kind of Bios, AtomBios (according to information from web).
-ati supports the card just not the version in Ubuntu 7.04, also on powerpc you'll need to build the driver from source as the powerpc fixes are recent, like about 3 weeks ago. you need to get and install the latest -ati development tree from git. Dave.
Thank you,
Tai Nguyen
-----Original Message----- From: Dave Airlie [mailto:airlied@gmail.com] Sent: Wednesday, July 23, 2008 7:24 PM To: Tai Tri Nguyen Cc: radeonhd@opensuse.org Subject: Re: [radeonhd] 0x94CC:0x1545:0x3650: <Radeonhd RV610 HD2400Pro>
On Wed, Jul 23, 2008 at 9:23 PM, Tai Tri Nguyen
wrote: Hi Folks,
I'm developing VGA for powerpc with Radeonhd RV610 HD2400Pro, but the Linux can't detect the card. Following the error recommendation, I contact you. Please help me. Here is some infos:
You might be better trying the -ati driver, IBM and Red Hat recently worked on fixing the endianness issues in the AMD code.
I don't think this has made its way into radeonhd yet.
Dave.
root@sequoia:/var/log# vi Xorg.0.log [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0x7ffec000 - 0x7ffec000 (0x1) MX[B] [5] -1 0 0x7fff0000 - 0x7fff0000 (0x1) MX[B](B) [6] -1 0 0x80000000 - 0x80000000 (0x1) MX[B](B) [7] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [8] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [9] -1 0 0x0000ff00 - 0x0000ffff (0x100) IX[B](B) (II) resource ranges after probing: [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0x7ffec000 - 0x7ffec000 (0x1) MX[B] [5] -1 0 0x7fff0000 - 0x7fff0000 (0x1) MX[B](B) [6] -1 0 0x80000000 - 0x80000000 (0x1) MX[B](B) [7] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [8] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [9] -1 0 0x0000ff00 - 0x0000ffff (0x100) IX[B](B) (==) RADEONHD(0): Depth 24, (--) framebuffer bpp 32 (**) RADEONHD(0): Selected ShadowFB. (II) RADEONHD(0): Unknown card detected: 0x94CC:0x1545:0x3650. If - and only if - your card does not work or does not work optimally please contact radeonhd@opensuse.org to help rectify this. Use the subject: 0x94CC:0x1545:0x3650: <name of board> and *please* describe the problems you are seeing in your message. (--) RADEONHD(0): Detected an RV610 on an unidentified card (II) RADEONHD(0): Mapped IO at 0x30020000 (size 0x00000001) (II) RADEONHD(0): Getting BIOS copy from legacy VBIOS location (EE) RADEONHD(0): rhdAtomGetTables: No AtomBios signature found (II) RADEONHD(0): Query for AtomBIOS Init: failed
Backtrace: 0: X(xf86SigHandler+0x94) [0x10093f44] 1: [0x100474] 2: /usr/lib/xorg/modules/drivers//radeonhd_drv.so [0xf8f330c] 3: X(InitOutput+0xb08) [0x1006e2c8] 4: X(main+0x294) [0x1002e064] 5: /lib/libc.so.6 [0xfc72380] 6: /lib/libc.so.6 [0xfc725c4]
Fatal server error: Caught signal 11. Server aborting
- infomation from lspci:
root@sequoia:/var/log# lspci -vv 00:0a.0 PCI bridge: PLX Technology, Inc. PEX 8111 PCI Express-to-PCI Bridge (rev 21) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
TAbort- 01:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 94cc (prog-if 00 [VGA]) Subsystem: VISIONTEK Unknown device 3650 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
01:00.1 Audio device: ATI Technologies Inc Unknown device aa10 Subsystem: VISIONTEK Unknown device aa10 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
- infos from dmesg:
root@sequoia:/var/log# dmesg Linux version 2.6.25.7 (root@hcmlab-sw3) (gcc version 4.2.2) #5 Wed Jul 23 13:19:49 ICT 2008 AMCC PowerPC 440EPx Sequoia Platform Entering add_active_range(0, 0, 65535) 0 entries of 256 used Zone PFN ranges: DMA 0 -> 65535 Normal 65535 -> 65535 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0 -> 65535 On node 0 totalpages: 65535 DMA zone: 511 pages used for memmap DMA zone: 0 pages reserved DMA zone: 65024 pages, LIFO batch:15 Normal zone: 0 pages used for memmap Movable zone: 0 pages used for memmap Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 Kernel command line: root=/dev/nfs rw nfsroot=10.38.6.3:/opt/ubuntu-6.10 ip=10.38.6.141:10.38.6.3:10.38.4.1:255.255.252.0:sequoia:eth0:off panic=1 console=tty0 console=ttyS0,115200 PID hash table entries: 1024 (order: 10, 4096 bytes) Console: colour dummy device 80x25 console [tty0] enabled console [ttyS0] enabled Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 255872k available (2712k kernel code, 884k data, 156k init, 0k highmem) Calibrating delay loop... 989.18 BogoMIPS (lpj=1978368) Mount-cache hash table entries: 512 net_namespace: 440 bytes NET: Registered protocol family 16 PCI: Probing PCI hardware PCI: Cannot allocate resource region 1 of PCI bridge 1 PCI: Cannot allocate resource region 2 of PCI bridge 1 PCI: bridge 1 resource 2 moved to 8ff00000..8fffffff PCI: Cannot allocate resource region 0 of device 0000:01:00.0 PCI: Cannot allocate resource region 2 of device 0000:01:00.0 PCI: Cannot allocate resource region 0 of device 0000:01:00.1 PCI: Failed to allocate mem resource #0:10000000@90000000 for 0000:01:00.0 PCI: Failed to allocate mem resource #2:10000@0 for 0000:01:00.0 PCI: Failed to allocate mem resource #0:4000@0 for 0000:01:00.1 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered JFFS2 version 2.2. (NAND) Â(c) 2001-2006 Red Hat, Inc. io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) [drm] Initialized drm 1.1.0 20060810 Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled serial8250: ttyS0 at MMIO 0x0 (irq = 0) is a 16550A serial8250: ttyS1 at MMIO 0x0 (irq = 1) is a 16550A serial8250: ttyS2 at MMIO 0x0 (irq = 35) is a 16550A serial8250: ttyS3 at MMIO 0x0 (irq = 36) is a 16550A brd: module loaded PPC 4xx OCP EMAC driver, version 3.54 mal0: initialized, 2 TX channels, 2 RX channels rgmii0: input 0 in RGMII mode eth0: emac0, MAC 00:10:ec:00:ee:73 eth0: found Marvell 88E1111 Ethernet PHY (0x00) rgmii0: input 1 in RGMII mode eth1: emac1, MAC 00:00:00:00:00:00 eth1: found Marvell 88E1111 Ethernet PHY (0x01) Uniform Multi-Platform E-IDE driver ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx Driver 'sd' needs updating - please use bus_type methods physmap platform flash device: 04000000 at fc000000 physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank Amd/Fujitsu Extended Query Table at 0x0040 physmap-flash.0: CFI does not contain boot bank location. Assuming top. number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. RedBoot partition parsing not available Using physmap partition information Creating 5 MTD partitions on "physmap-flash.0": 0x00000000-0x00180000 : "kernel" 0x00180000-0x00400000 : "root" 0x00400000-0x03f60000 : "user" 0x03f60000-0x03fa0000 : "env" 0x03fa0000-0x04000000 : "u-boot" NDFC NAND Driver initialized. Chip-Rev: 0x00000110 NAND device: Manufacturer ID: 0x20, Chip ID: 0x75 (ST Micro NAND 32MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 186 at 0x002e8000 Number of partitions 1 Creating 1 MTD partitions on "NAND 32MiB 3,3V 8-bit": 0x00000000-0x02000000 : "content" ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver ppc-soc-ohci ppc-soc-ohci.0: USB Host Controller ppc-soc-ohci ppc-soc-ohci.0: new USB bus registered, assigned bus number 1 ppc-soc-ohci ppc-soc-ohci.0: irq 21, io mem 0xe0000400 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected Initializing USB Mass Storage driver... usb 1-1: new low speed USB device using ppc-soc-ohci and address 2 usb 1-1: configuration #1 chosen from 1 choice usbcore: registered new interface driver usb-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice i2c /dev entries driver IBM IIC driver v2.1 ibm-iic0: using standard (100 kHz) mode ibm-iic1: using standard (100 kHz) mode ad7414 0-0048: chip found, driver version 0.1 input: DELL DELL USB Keyboard as /class/input/input0 usbcore: registered new interface driver usbkbd drivers/hid/usbhid/usbkbd.c: :USB HID Boot Protocol keyboard driver TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. eth0: interrupt coalescing (RX:count=8 time=1000, TX:count=8 time=1000) eth0: link is down IP-Config: Complete: device=eth0, addr=10.38.6.141, mask=255.255.252.0, gw=10.38.4.1, host=sequoia, domain=, nis-domain=(none), bootserver=10.38.6.3, rootserver=10.38.6.3, rootpath= Looking up port of RPC 100003/2 on 10.38.6.3 eth0: link is up, 1000 FDX, pause enabled Looking up port of RPC 100005/1 on 10.38.6.3 VFS: Mounted root (nfs filesystem). Freeing unused kernel memory: 156k init
Thank you and hope to contact you soon
Tai Nguyen VDC Software Team --------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and contains information that is confidential and proprietary to Applied Micro Circuits Corporation or its subsidiaries. It is to be used solely for the purpose of furthering the parties' business relationship. All unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
-- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org