Forum Discussion
Altera_Forum
Honored Contributor
20 years agouClinux MMC SPI Driver
Just to let everyone know, an MMC SPI Driver for Alteras SPI Core (modified) is in the works.. currently, cards can be recognized, read/write, and even partitioned.. but some bugs are being worked ou...
Altera_Forum
Honored Contributor
20 years agoI executed this command which causes it to crash:
# dd if=/dev/zero of=./zero_file bs=1024 count=1000 I don't think it's the MMC driver because I tried this on a mounted CF card, and it failed as well. This means it's either something in the kernel, or something else in my hardware (RAM likely). I am using 2.6.16.1. Could you try this when you get some time hippo? I'm quite sure it's not MMC because I can view debugging messages, as well as my status LED, and it doesn't even enter the MMC routines. Maybe the kernel bails because of lack of memory, but I don't get any errors on the console. I also don't think it's hardware because I downloaded a previous kernel build using 2.6.11 with a CF driver, and tried writing 10 Megs using the same command, and it worked without a problem. I couldn't try the MMC Driver because the MMC layer changed a bit. The only other thing I can think of is that I'm using an older version of busybox, so maybe it doesn't like the new kernel..