[Avila] address mapping on GW2348-4

hong zhang henryzhang at arrowspan.com
Fri Nov 3 16:16:49 EST 2006


--0-733398768-1162588609=:33927
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Folks,
   
  I have a address mapping issue. I want to read interrupt status registers on AR5213 using greenhills OS. How to access to the registers from host?
   
  I can use offset provied by PCI config registers as  physical address to access PCI registers. Form there I can get base address for each PCI card where AR5213 sits.
   
  Can I simply say that physical address = base address + offset of AR5213_registers?
   
  Thanks.
   
  ----henry

Amir Fuhrmann <amir at toroki.com> wrote:
  
Because the atheros HAL portion of the driver, comes encoded in "uuencoding"
format, if you don't have the program to "uncompress/decode" it, you can't
proceed.

Amir 

-----Original Message-----
From: hong zhang [mailto:henryzhang at arrowspan.com] 
Sent: Saturday, October 28, 2006 2:13 PM
To: Avila
Subject: RE: [Avila] compile errors for linux kerner with GW2348-4
Subject: [Avila] Amir,

Could please tell me why?
Vendor does not say I need to install something else for compiling GW2348-4.

---henry

Amir Fuhrmann wrote: 
yum install sharutils

Or something equivalent to it.

-----Original Message-----
From: hong zhang [mailto:henryzhang at arrowspan.com] 
Sent: Friday, October 27, 2006 3:48 PM
To: avila at lists.unixstudios.net
Subject: [Avila] compile errors for linux kerner with GW2348-4
Subject: [Avila] Dave,

I try to build snapgear-3.3.0-avila for GW2348-4 on Fedora core 5 laptop.
I followed instruction from README.QUICKBUILD as following

# cd /usr/src
# tar -xfj /cdrom/Source/snapgear-3.3.0-avila.tar.bz2
# cd snapgear
# make dep
# make

And get errors

CC [M] drivers/block/loop.o
CC [M] drivers/net/eepro100.o
CC [M] drivers/net/tun.o
CC [M] drivers/net/e1000/e1000_main.o
CC [M] drivers/net/e1000/e1000_hw.o
CC [M] drivers/net/e1000/e1000_ethtool.o
CC [M] drivers/net/e1000/e1000_param.o
LD [M] drivers/net/e1000/e1000.o
CC [M] drivers/net/wireless/hostap.o
CC [M] drivers/net/wireless/hostap_crypt_wep.o
CC [M] drivers/net/wireless/hostap_crypt_tkip.o
CC [M] drivers/net/wireless/hostap_crypt_ccmp.o
CC [M] drivers/net/wireless/hostap_pci.o
In file included from drivers/net/wireless/hostap_wlan.h:9,
from drivers/net/wireless/hostap_pci.c:25:
drivers/net/wireless/hostap_common.h:4:1: warning: "BIT" redefined
In file included from include/asm/io.h:71,
from include/linux/dmapool.h:14,
from include/linux/pci.h:454,
from drivers/net/wireless/hostap_pci.c:22:
include/asm/arch/io.h:20:1: warning: this is the location of the 
previous definition
drivers/net/wireless/hostap_hw.c:3536: warning: `prism2_suspend' 
defined but not used
CC [M] drivers/net/wireless/_ath_hal/ah_osdep.o
uudecode -o drivers/net/wireless/_ath_hal/hal.o < 
drivers/net/wireless/_ath_hal/../hal/public/xscale-be-elf.hal.o.uu
/bin/sh: uudecode: command not found
make[5]: *** [drivers/net/wireless/_ath_hal/hal.o] Error 127
make[4]: *** [drivers/net/wireless/_ath_hal] Error 2
make[3]: *** [drivers/net/wireless] Error 2
make[2]: *** [drivers/net] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/snapgear/linux-2.6.x'
make: *** [modules] Error 2

I just install a new Fedora 5 to my laptop. Machine should be clean 
enough.

---henry

---------------------------------------------------------------------
To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
For additional commands, e-mail: avila-help at lists.unixstudios.net

---------------------------------------------------------------------
To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
For additional commands, e-mail: avila-help at lists.unixstudios.net

--0-733398768-1162588609=:33927--





More information about the Avila mailing list