Problems compiling MTD

David Woodhouse dwmw2 at infradead.org
Mon Mar 11 08:28:51 EST 2002


securez at teleline.es said:
>  I redefine this references in include/asm/io.h to solve this, where
> need to  go this?? is correct here?? 

That should work. You can add these in include/linux/mtd/compatmac.h, 
dependent on LINUX_VERSION_CODE < KERNEL_VERSION(2,2,0).


securez at teleline.es said:
> I program the flash, and when i reboot, the kernel seems ok, but when
> a  message appears in the console: physmap flash device:40000 at
> 2000000 The system reboots, :(.

> What is happend?? 

I don't know. Are the address and length printed above correct? Can you 
debug it to work out _exactly_ how far it gets before rebooting?

--
dwmw2






More information about the linux-mtd mailing list