Forum Discussion
Altera_Forum
Honored Contributor
19 years agoThanks hippo
Now I find the SOPC builder have the DM9000 interface ,The next information is my hardward,the name is dm9000, so I will not change the name in dm9000.c in driver/net/ niosii DM9000 Addr[2]------------------------->[cmd] [rd_n]---------------------------->[rd_n] [cs_n]---------------------------->[cs_n] [wr_n]---------------------------->[wr_n] [irq]<------------------------------[irq] but I got the next errors . <div class='quotetop'>QUOTE </div> --- Quote Start --- NET: Registered protocol family 16 Initializing Cryptographic API NIOS serial driver version 0.0 ttyS0 (irq = 1) is a builtin NIOS UART io scheduler noop registered io scheduler deadline registered dmfe_probe:eth0, 50000 Khz Nios dmfe_probe: eth0 VID: 0x2B2A2928 .ne. 0x90000A46 NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP established hash table entries: 512 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: -1, 2048 bytes) TCP: Hash tables configured (established 512 bind 512) IPv4 over IPv4 tunneling driver GRE over IPv4 tunneling driver NET: Registered protocol family 17 Freeing unused kernel memory: 360k freed (0x119e000 - 0x11f7000) init started: BusyBox v1.1.1-pre0 (2006.11.01-13:08+0000) multi-call binary BusyBox v1.1.1-pre0 (2006.11.01-13:08+0000) Built-in shell (msh) Enter 'help' for a list of built-in commands.# ifconfig eth0 192.168.1.30 netmask 255.255.255.0 oom-killer: gfp_mask=0xd0 DMA per-cpu: cpu 0 hot: low 2, high 6, batch 1 cpu 0 cold: low 0, high 2, batch 1 Normal per-cpu: empty HighMem per-cpu: empty Free pages: 1196kB (0kB HighMem) Active:159 inactive:156 dirty:0 writeback:0 unstable:0 free:299 slab:934 mapped: 0 pagetables:0 DMA free:1196kB min:360kB low:448kB high:540kB active:636kB inactive:624kB prese nt:8192kB pages_scanned:1445 all_unreclaimable? yes lowmem_reserve[]: 0 0 0 Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pag es_scanned:0 all_unreclaimable? no lowmem_reserve[]: 0 0 0 HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB present: 0kB pages_scanned:0 all_unreclaimable? no lowmem_reserve[]: 0 0 0 DMA: 1*4kB 1*8kB 0*16kB 1*32kB 0*64kB 1*128kB 0*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1196kB Normal: empty HighMem: empty Out of Memory: Killed process 40 (sh).[/b] --- Quote End --- why? I have no dma in my system . how to deal with it ?