[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trying to get CFI to work on my board.
> Correct? So when I execute virt_to_phys on physmap_map.map_priv_1
> shouldn't I get my "original" physical address of 0x28000000 back? but
> I am getting following output
No. You should get a 'cookie' back which is to be passed to the kernel's
read[bwl] functions. This 'cookie' may be coincidence be very similar to a
I don't think virt_to_phys() is supposed to work for ioremapped areas -
only for main memory. If you just use map_rom_probe instead of cfi_probe,
can you read sensible data from the beginning of the chip (i.e. does it
match what you know is in there)?
What chips are on the board and how are they arranged?
To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to email@example.com