* Problems using fast write in cfi_cmdset_0002.c
@ 2001-04-23 13:55 Brenk, Rudger van
2001-04-24 5:07 ` Problem compiling under Linux 2.4.3 Edmund Troche
0 siblings, 1 reply; 2+ messages in thread
From: Brenk, Rudger van @ 2001-04-23 13:55 UTC (permalink / raw)
To: 'mtd@infradead.org'
While building a uClinux environment using MTD and JFFS on an AMD AM29DL323
device (Kernel 2.0.38). I encountered some problems using the cfi_cmdset_0002.c,
when ever the fast write option is used the flash is put in a 'unlock bypass
mode' and starts writing bytes to flash.
This is OK but in between byte writes the chip state is set back to FL_READY,
and available for other threads to access. If an other threads accesses the
flash chip it's still in 'unlock bypass mode' and will not accept other
commands/or even worse when this thread schedules out the byte write program
will continue when the device isn't anymore in 'unlock bypass mode'!!
Is there anybody else experiencing problems like this?
Thanks,
Rudger
Rudger.van.Brenk@intersil.com
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Problem compiling under Linux 2.4.3
2001-04-23 13:55 Problems using fast write in cfi_cmdset_0002.c Brenk, Rudger van
@ 2001-04-24 5:07 ` Edmund Troche
0 siblings, 0 replies; 2+ messages in thread
From: Edmund Troche @ 2001-04-24 5:07 UTC (permalink / raw)
To: 'mtd@infradead.org'
Hi,
I just got the latest CVS code and after doing the "patchin.sh" to my source tree I
can't build. Doing a make depend also fails.
This is what I get from make depend:
make[4]: Leaving directory `/usr/src/linux-2.4.3/drivers/misc'
make -C mtd fastdep
make[4]: Entering directory `/usr/src/linux-2.4.3/drivers/mtd'
make[4]: Makefile: No such file or directory
make[4]: *** No rule to make target `Makefile'. Stop.
make[4]: Leaving directory `/usr/src/linux-2.4.3/drivers/mtd'
make[3]: *** [_sfdep_mtd] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.3/drivers'
make[2]: *** [fastdep] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.3/drivers'
make[1]: *** [_sfdep_drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.3'
make: *** [dep-files] Error 2
I looked into the /usr/src/linux-2.4.3/drivers/mtd/Makefile file and it was empty.
This file is softlinked to /usr/src/mtd/kernel/Makefile. My /usr/src/linux
directory is actually softlinked to /usr/src/linux-2.4.3.
Running make xconfig returns the following:
[root@matrix linux]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.3/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
-: 249: unable to open drivers/mtd/Config.in
make[1]: *** [kconfig.tk] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.3/scripts'
make: *** [xconfig] Error 2
[root@matrix linux]#
The file /usr/src/mtd/kernel/Config.in, which is softlinked to
/usr/src/linux/drivers/mtd/Config.in is also empty.
I've done this before in previous kernels (2.2.X and 2.4.2) and it worker. Did I
miss something? Thanks in advance for your help.
Edmund Troche
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-04-24 5:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-23 13:55 Problems using fast write in cfi_cmdset_0002.c Brenk, Rudger van
2001-04-24 5:07 ` Problem compiling under Linux 2.4.3 Edmund Troche
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox