- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,all
I'm trying to use linux with MMU(nios2-linux-20090929) in the DE2-70,then I came into some problems.Maybe someone could help. what I have done: 1.Add Altera SPI Core for the MMC in the step in uClinux wiki,and DM9000 interface. 2.before adding the MMU,I first Use the sopc in uClinux(nios2-linux-20090730),configthe kernel to surpport Net DM9000 and Altera Spi for mmc.then everything works fine,including the SD card mounting and boa application that I will tell below. what I have failed: 1.when I switch the sopc and follow the wiki to build an sopc system with MMU,configthe Altera Spi for mmc and DM9000 in the same way as I did when using uClinu.the strange thing happened,the SPI driver for MMC recongnize the SD card and register in the "/dev" dir,but when I use command "mount -t vfat /dev/mmcblk0p1 /mnt" ,it shows "mount: mounting /dev/mmcblk0p1 on /mnt failed: No such device or address". 2.when I run the boa application ,the shell promotes"Could not open boa.conf for reading." Here is my booting message: Linux version 2.6.30-00494-g84a224b-dirty (cfistalent@cfistalent-desktop) (gcc version 4.1.2)# 6 Mon Apr 19 19:11:04 CST 2010 console [early0] enabled Early printk initialized Linux/Nios II-MMU init_bootmem_node(?,0x2e7, 0x0, 0x2000) free_bootmem(0x2e7000, 0x1d19000) reserve_bootmem(0x2e7000, 0x400) Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 Kernel command line: NR_IRQS:32 PID hash table entries: 128 (order: 7, 512 bytes) Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) We have 8192 pages of RAM Memory available: 29504k/2970k RAM, 0k/0k ROM (1555k kernel code, 1414k data) Calibrating delay loop... 49.25 BogoMIPS (lpj=246272) Mount-cache hash table entries: 512 net_namespace: 296 bytes NET: Registered protocol family 16 init_BSP(): registering device resources bio: create slab <bio-0> at 0 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered NET: Registered protocol family 1 msgmni has been set to 57 io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) ttyJ0 at MMIO 0x44014b0 (irq = 1) is a Altera JTAG UART console handover: boot [early0] -> real [ttyJ0] dm9000 Ethernet Driver, V1.31 eth0 (dm9000): not using net_device_ops yet eth0: dm9000a at e44014b8,e44014bc IRQ 3 MAC: 00:7d:2a:4f:55:e3 (chip) mice: PS/2 mouse device common for all mice mmc_spi spi2.0: ASSUMING SPI bus stays unshared! mmc_spi spi2.0: ASSUMING 3.2-3.4 V slot power mmc_spi spi2.0: SD/MMC host mmc0, no DMA, no WP, no poweroff TCP cubic registered NET: Registered protocol family 17 mmc0: host does not support reading read-only switch. assuming write-enable. mmc0: new SD card on SPI mmcblk0: mmc0:0000 SD256 241 MiB mmcblk0: p1 Welcome to ____ _ _ / __| ||_| _ _| | | | _ ____ _ _ _ _ | | | | | | || | _ \| | | |\ \/ / | |_| | |__| || | | | | |_| |/ | ___\____|_||_|_| |_|\____|\_/\_/ | | |_| BusyBox v1.15.1 (2010-04-19 16:37:19 CST) hush - the humble shell Enter 'help' for a list of built-in commands. /# mount /dev/mmcblk0p1 /mnt mount: mounting /dev/mmcblk0p1 on /mnt failed: No such device or address /# mount /dev/mmcblk0 /mnt mount: mounting /dev/mmcblk0 on /mnt failed: No such device or address /# boa Could not open boa.conf for reading.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I avoided the error of BOA notifying the server root, or in the configuration file or with a command by terminal. Command:#boa -c /etc
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page