Hello all, I have a flash memory in a custom device and I'd like to place a standard filesystem on it, so I guess there must be a way to tell the kernel to use it. Here's the DTS definition:
Flash_Serie: gpio@81460000 { compatible = "xlnx,xps-gpio-2.00.a", "xlnx,xps-gpio-1.00.a"; reg = < 0x81460000 0x10000 >; xlnx,all-inputs = <0x0>; xlnx,all-inputs-2 = <0x0>; xlnx,dout-default = <0x0>; xlnx,dout-default-2 = <0x0>; xlnx,family = "virtex4"; xlnx,gpio-width = <0xa>; xlnx,gpio2-width = <0x20>; xlnx,interrupt-present = <0x1>; xlnx,is-dual = <0x0>; xlnx,tri-default = <0xffffffff>; xlnx,tri-default-2 = <0xffffffff>; } ; The bits are addressed as such: // Flash memory control #define FLASH_SCK (1<<4) // Serial Clock #define FLASH_SI (1<<3) // Data Out _to_ the flash (DO) #define FLASH_RSTN (1<<2) // Reset #define FLASH_WPN (1<<1) // Write Protect #define FLASH_SO (1<<0) // Data In _from_ the flash (DI) So how can I tell the kernel that there's a FAT32 or ext2 filesystem on it (note, I don't need it as a root/boot filesystem) ? Thanks. -- Guillaume Dargaud http://www.gdargaud.net/ _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev