Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by hippo@May 28 2006, 09:09 AM did you edit mtd map file atlera.c ?
what is your map section now?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15627)
--- quote end ---
--- Quote End --- hi hippo Yes, i did. My map section is mtdblock0(cfi-flash) and can see it from command line of booting info. <div class='quotetop'>QUOTE </div> --- Quote Start --- Uncompressing Linux... Ok, booting the kernel. Linux version 2.6.16.1 (jay@localhost.localdomain) (gcc version 3.4.6)# 127 PRE MPT Sat May 27 01:03:31 CST 2006 uClinux/Nios II Altera Nios II support © 2004 Microtronix Datacom Ltd. Built 1 zonelists Kernel command line: root=/dev/mtdblock0 PID hash table entries: 64 (order: 6, 1024 bytes) Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Memory available: 6428k/8192k RAM, 0k/0k ROM (1184k kernel code, 484k data) Mount-cache hash table entries: 512 SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub JFFS2 version 2.2. (NAND) © 2001-2003 Red Hat, Inc. io scheduler noop registered io scheduler deadline registered (default) Serial: JTAG UART driver $Revision: 1.4 $ ttyJ0 at MMIO 0x80c81120 (irq = 1) is a jtag_uart Altera NDK flash (AMD): Found 1 x16 devices at 0x0 in 8-bit bank Amd/Fujitsu Extended Query Table at 0x0040 number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. cmdlinepart partition parsing not available RedBoot partition parsing not available Using Altera NDK partition definition Creating 1 MTD partitions on "Altera NDK flash (AMD)": 0x00000000-0x00400000 : "romfs/jffs2" usbmon: debugfs is not available driver isp1362-hcd, 2005-04-04 isp1362-hcd isp1362-hcd: ISP1362 Host Controller isp1362_hc_reset: isp1362-hcd isp1362-hcd: new USB bus registered, assigned bus number 1 isp1362-hcd isp1362-hcd: irq 4, io mem 0x80c810d0 isp1362_hc_start: isp1362-hcd isp1362-hcd: ISP1362 Memory usage: isp1362-hcd isp1362-hcd: ISTL: 2 * 256: 512 @ $0000:$0100 isp1362-hcd isp1362-hcd: INTL: 16 * ( 64+8): 1152 @ $0200 isp1362-hcd isp1362-hcd: ATL : 32 * ( 64+8): 2304 @ $0680 isp1362-hcd isp1362-hcd: USED/FREE: 3968 128 usb usb1: configuration# 1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ISP1362 Host Controller, irq 4 Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. Freeing unused kernel memory: 384k freed (0x138000 - 0x197000) init started: BusyBox v1.1.1-pre0 (2006.04.20-12:52+0000) multi-call binary BusyBox v1.1.1-pre0 (2006.04.20-12:52+0000) Built-in shell (msh) Enter 'help' for a list of built-in commands. # mount -t jffs2 /dev/mtdblock0 /mnt# Erase at 0x003e0000 failed immediately: -EROFS. Is the sector locked? Erase at 0x003d0000 failed immediately: -EROFS. Is the sector locked? Erase at 0x003c0000 failed immediately: -EROFS. Is the sector locked? Erase at 0x003b0000 failed immediately: -EROFS. Is the sector locked? Erase at 0x003a0000 failed immediately: -EROFS. Is the sector locked? Erase at 0x00390000 failed immediately: -EROFS. Is the sector locked? Erase at 0x00380000 failed immediately: -EROFS. Is the sector locked? Erase at 0x00370000 failed immediately: -EROFS. Is the sector locked? Erase at 0x00360000 failed immediately: -EROFS. Is the sector locked? Erase at 0x00350000 failed immediately: -EROFS. Is the sector locked? Erase at 0x00340000 failed immediately: -EROFS. Is the sector locked? Erase at 0x00330000 failed immediately: -EROFS. Is the sector locked? Erase at 0x00320000 failed immediately: -EROFS. Is the sector locked? Erase at 0x00310000 failed immediately: -EROFS. Is the sector locked? Erase at 0x00300000 failed immediately: -EROFS. Is the sector locked? Erase at 0x002f0000 failed immediately: -EROFS. Is the sector locked? Erase at 0x002e0000 failed immediately: -EROFS. Is the sector locked? Erase at 0x002d0000 failed immediately: -EROFS. Is the sector locked? . . . . .[/b] --- Quote End --- help me !!! How to solve this problem ? Thx !