Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to use AT73C213 on linux

Status
Not open for further replies.

impet14

Junior Member level 3
Joined
Jul 11, 2009
Messages
25
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Thailand
Activity points
1,504
Please,anyone can suggest me to use at73c213 with at91sam9260 that how to set configuration in menuconfig and something what I sould do so.

now I 'm finding the way to solve this problem.
I got in initial board.


//----------------------------------------------------------------------------------------//

U-Boot 2009.06-00374-g3427faf (Jul 16 2009 - 16:56:00)

DRAM: 64 MB
NAND: 256 MiB
DataFlash:AT45DB161
Nb pages: 4096
Page Size: 528
Size= 2162688 bytes
Logical address: 0xD0000000
Area 0: D0000000 to D00041FF (RO) Bootstrap
Area 1: D0004200 to D00083FF Environment
Area 2: D0008400 to D0041FFF (RO) U-Boot
Area 3: D0042000 to D0251FFF Kernel
Area 4: D0252000 to D020FFFF FS
In: serial
Out: serial
Err: serial
Net: macb0
macb0: Starting autonegotiation...
macb0: Autonegotiation complete
macb0: link up, 100Mbps full-duplex (lpa: 0x45e1)
Hit any key to stop autoboot: 3  2  1  0
macb0: link up, 100Mbps full-duplex (lpa: 0x45e1)
Using macb0 device
TFTP from server 192.168.55.121; our IP address is 192.168.55.50
Filename 'uImage'.
Load address: 0x22200000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###########################
done
Bytes transferred = 2131892 (2087b4 hex)
## Booting kernel from Legacy Image at 22200000 ...
Image Name: Linux-2.6.33-intellenics
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2131828 Bytes = 2 MB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.33-intellenics (mestcom@mestcom-desktop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #27 PREEMPT Sat Feb 27 14:12:24 ICT 2010
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: intellenics SAM9-L9260 for GBOX
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 180 MHz, master 90 MHz, main 18.432 MHz
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60408KB available (3908K code, 329K data, 128K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:192
AT91: 96 gpio irqs in 3 banks
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 89.70 BogoMIPS (lpj=448512)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Version 1.0.21.
Switching to clocksource pit
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 118
alg: No test for stdrng (krng)
io scheduler noop registered (default)
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL
atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL
atmel_usart.3: ttyS3 at MMIO 0xfffb8000 (irq = 8) is a ATMEL_SERIAL
atmel_usart.4: ttyS4 at MMIO 0xfffd0000 (irq = 23) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
ssc ssc.0: Atmel SSC device at 0xc4890000 (irq 14)
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 2 MTD partitions on "atmel_nand":
0x000000000000-0x000000400000 : "Bootloader Area"
0x000000400000-0x000010000000 : "Root Filesystem"
atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffc8000 (irq 12)
atmel_spi atmel_spi.1: Atmel SPI Controller at 0xfffcc000 (irq 13)
dm9000 Ethernet Driver, V1.31
MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffc4000 irq 21 (3a:1f:34:08:54:54)
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 20, io mem 0x00500000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
udc: at91_udc version 3 May 2006
mice: PS/2 mouse device common for all mice
rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0
IRQ 1/rtc0: IRQF_DISABLED is not guaranteed on shared IRQs
rtc-at91sam9 at91_rtt.0: rtc0: SET TIME!
i2c /dev entries driver
Registered led device: led_stat
Registered led device: led_pwr
at73c213 spi1.0: at73c213: supported bitrate is 44000 (64 divider)
No device for DAI AD73311
Asahi Kasei AK4104 ALSA SoC Codec Driver
No device for DAI AK4535
Cirrus Logic CS4270 ALSA SoC Codec Driver
No device for DAI PCM3008 HiFi
No device for DAI SSM2602
No device for DAI tlv320aic23
No device for DAI UDA134X
No device for DAI WM8510 HiFi
No device for DAI WM8728
No device for DAI WM8750
No device for DAI WM8971
No device for DAI WM8990 ADC/DAC Primary
ALSA device list:
#0: GBOX AUDIO external DAC on irq 14
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock
Empty flash at 0x08e388fc ends at 0x08e39000
Empty flash at 0x0d1fe1a0 ends at 0x0d1fe800
VFS: Mounted root (jffs2 filesystem) on device 31:1.
Freeing init memory: 128K
modprobe: FATAL: Could not load /lib/modules/2.6.33-intellenics/modules.dep: No such file or directory



INIT: version 2.86 booting

Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Setting the system clock.
RTC_RD_TIME: Invalid or incomplete multibyte or wide character
ioctl() to /dev/rtc to read the time failed.
Unable to set System Clock to: Thu Jan 1 00:00:48 UTC 1970 (warning).
Activating swap...done.
Checking root file system...fsck 1.41.3 (12-Oct-2008)
fsck: fsck.auto: not found
fsck: Error 2 while executing fsck.auto for /lib/init/rw/rootdev
done.
Setting the system clock.
RTC_RD_TIME: Invalid or incomplete multibyte or wide character
ioctl() to /dev/rtc to read the time failed.
Unable to set System Clock to: Thu Jan 1 00:00:51 UTC 1970 (warning).
Cleaning up ifupdown....
Loading kernel modules...FATAL: Could not load /lib/modules/2.6.33-intellenics/modules.dep: No such file or directory
Checking file systems...fsck 1.41.3 (12-Oct-2008)
done.
Setting kernel variables (/etc/sysctl.conf)...done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...done.
Starting portmap daemon....
Starting NFS common utilities: statd.
eth0: link up (100/Full)
Setting console screen modes and fonts.

INIT: Entering runlevel: 2

Starting enhanced syslogd: rsyslogdJFFS2 notice: (1247) check_node_data: wrong data CRC in data node at 0x08e38420: read 0xbfe9fff6, calculated 0x87c0f032.
.
Starting Dropbear SSH server: dropbear.
Starting MTA: exim4.
Starting NFS common utilities: statd.
Not starting internet superserver: no services enabled.
Starting NTP server: ntpd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: crond.
warning: `ntpd' uses 32-bit capabilities (legacy support in use)

Debian GNU/Linux 5.0 sam9-l9260 ttyS0

sam9-l9260 login:

//----------------------------------------------------------------------------------------//
 

amraldo

Advanced Member level 4
Joined
Aug 29, 2004
Messages
1,183
Helped
145
Reputation
290
Reaction score
37
Trophy points
1,328
Location
Egypt
Activity points
5,880
From your initialization log, the required device is found and initialized.
You can use this device through the audio device driver APIs; ALSA or OSS.
--
Amr Ali
 

impet14

Junior Member level 3
Joined
Jul 11, 2009
Messages
25
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Thailand
Activity points
1,504
I have tried with board which has not audio chip but can initial I was so confused.
I add code from at91sam9260ek for audio section.

I attached my code and configuration file.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top