[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] I2C on uClinux



Hi Sky,

sky sky wrote:
> HI,
> 
> I added i2c0 in the list of dev in the romfs already. By the way I set
> the major number to 89. is the minor number important??

Yes, the minor number is important.  If you have one I2C controller in 
the system, it will be minor number zero.  You could add something like 
this to your vendors Makefile:

touch $(ROMFSDIR)/dev/@i2c-0,c,89,0

I think 89 is the correct number, at least that is what's reported by 
the driver for the Xilinx I2C controller.

Regards,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/