From: M. R. B. <mr...@0x...> - 2002-11-03 12:45:55
|
Is now in CVS. To enable it, select the following under the "Memory Technology Devices (MTD)" menu: - Memory Technology Device (MTD) support - MTD partitioning support - Direct char device access to MTD devices=20 RAM/ROM/Flash chip drivers: - Detect non-CFI AMD/JEDEC-compatible flash chips - Support for AMD/Fujitsu flash chips Mapping drivers for chip access: - SEGA Dreamcast internal JEDEC-compatible flash device [Note: you do not want to select "Disable SEGAs logical partition mapping"] To play with it, after your system has booted, "cat /proc/mtd" to get a list of partitions and the MTD devices that they are mapped to. If you've compiled in DevFS support, you're good to go, or else you may need to create the /dev/mtd[0-7] devices by hand. Do a "man mknod" and read linux/Documentation/devices.txt to figure out how to do this. After you've done this, you can read (and potentially write, but I haven't tested it and you're advised to tread carefully) flash to your heart's content. Note that partition 0 "System configuration" is read-only in hardware. To the gentleman who owns a Development station, please send me a private e-mail, as I'm curious as to whether or not flash is mapped differently or is bigger on your machine. M. R. |