Forum Discussion
Altera_Forum
Honored Contributor
16 years agoFlash locked !
Hi all, My configuration for uClinux is : uClinux-dist-20090618.tar.bz2 nios2gcc-20080203.tar.bz2 I followed this tutorial to instanciate a "Spansion S29GL01GP 64Mx16bit (128Mbyte) ...
Altera_Forum
Honored Contributor
16 years agoI install "nios2-linux-20090730.tar" following this tutorial :
http://www.nioswiki.com/installnios2linux But still the same problem : physmap platform flash device: 02000000 at 00000000 physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank Amd/Fujitsu Extended Query Table at 0x0040 physmap-flash.0: CFI does not contain boot bank location. Assuming top. 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 physmap partition information Creating 2 MTD partitions on "physmap-flash.0": 0x000000200000-0x000000400000 : "romfs/jffs2" 0x000000000000-0x000000200000 : "loader/kernel" ... Sash command shell (version 1.1.1) /> flash_unlock /dev/mtd0 Could not unlock MTD device: /dev/mtd0 /> flash_eraseall /dev/mtd0 Erasing 128 Kibyte @ 200000 -- 100 % complete. /> mount -t jffs2 /dev/mtdblock0 /mnt /> MTD do_write_buffer(): software timeout Write clean marker to block at 0x001c0000 failed: -5 MTD do_write_buffer(): software timeout Write clean marker to block at 0x001a0000 failed: -5 MTD do_write_buffer(): software timeout Write clean marker to block at 0x00180000 failed: -5 MTD do_write_buffer(): software timeout Write clean marker to block at 0x00160000 failed: -5 MTD do_write_buffer(): software timeout Write clean marker to block at 0x00140000 failed: -5 MTD do_write_buffer(): software timeout Write clean marker to block at 0x00120000 failed: -5 MTD do_write_buffer(): software timeout Write clean marker to block at 0x00100000 failed: -5 MTD do_write_buffer(): software timeout Write clean marker to block at 0x000e0000 failed: -5 MTD do_write_buffer(): software timeout Write clean marker to block at 0x000c0000 failed: -5 MTD do_write_buffer(): software timeout Write clean marker to block at 0x000a0000 failed: -5 MTD do_write_buffer(): software timeout Write clean marker to block at 0x00080000 failed: -5 MTD do_write_buffer(): software timeout Write clean marker to block at 0x00060000 failed: -5 MTD do_write_buffer(): software timeout Write clean marker to block at 0x00040000 failed: -5 MTD do_write_buffer(): software timeout Write clean marker to block at 0x00020000 failed: -5 MTD do_write_buffer(): software timeout Write clean marker to block at 0x00000000 failed: -5 MTD do_write_buffer(): software timeout Write clean marker to block at 0x001e0000 failed: -5 I don't understand what i'm doing wrong... Maybe the Avalon bridge shared between SRAM and CFI Flash ? Do I must force the SRAM pin to be disabled ? Thanks for your help ! Papy