Re: N900 device tree conversion: how to do first step

2013-07-28 Thread Pavel Machek
Hi! > > I'd like to convert Nokia N900 to device tree. > > > > Unfortunately, serial port is not easily available (very special cable > > would be needed, does someone know where to get one?) > > One way to get one is building it yourself. I finished mine yesterday: > >

Re: N900 device tree conversion: how to do first step

2013-07-28 Thread Pavel Machek
Hi! I'd like to convert Nokia N900 to device tree. Unfortunately, serial port is not easily available (very special cable would be needed, does someone know where to get one?) One way to get one is building it yourself. I finished mine yesterday:

Re: N900 device tree conversion: how to do first step

2013-07-19 Thread Sebastian Reichel
Hi, On Sun, Jun 09, 2013 at 03:59:44AM +0200, Pavel Machek wrote: > I'd like to convert Nokia N900 to device tree. > > Unfortunately, serial port is not easily available (very special cable > would be needed, does someone know where to get one?) One way to get one is building it yourself. I

Re: N900 device tree conversion: how to do first step

2013-07-19 Thread Sebastian Reichel
Hi, On Sun, Jun 09, 2013 at 03:59:44AM +0200, Pavel Machek wrote: I'd like to convert Nokia N900 to device tree. Unfortunately, serial port is not easily available (very special cable would be needed, does someone know where to get one?) One way to get one is building it yourself. I

Re: N900 device tree conversion: how to do first step

2013-06-17 Thread Tony Lindgren
* Pavel Machek [130614 14:34]: > > * Pavel Machek [130613 16:14]: > > > > No, there really are two instances of mux registers even on omap3, > > but I missed that earlier while reading the docs, and with the legacy > > mux framework it does not matter which mux domain it is. But it > > matters

Re: N900 device tree conversion: how to do first step

2013-06-17 Thread Tony Lindgren
* Pavel Machek pa...@ucw.cz [130614 14:34]: * Pavel Machek pa...@ucw.cz [130613 16:14]: No, there really are two instances of mux registers even on omap3, but I missed that earlier while reading the docs, and with the legacy mux framework it does not matter which mux domain it is. But

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Tony Lindgren
* Pavel Machek [130613 16:14]: > Hi! > > > > Now, by chance, any idea what is DT equivalent of > > > > > > omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); > > > > You can try the attached hack after calling the above to grep for > > pins in /sys/kernel/debug/omap_mux/board/core and you get the

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Pavel Machek
Hi! > > Now, by chance, any idea what is DT equivalent of > > > > omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); > > You can try the attached hack after calling the above to grep for > pins in /sys/kernel/debug/omap_mux/board/core and you get the pins > in DT suitable format. There's a bug where

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Tony Lindgren
* Pavel Machek [130613 08:58]: > Hi! > > > * Pavel Machek [130613 07:34]: > > > On Thu 2013-06-13 07:10:01, Tony Lindgren wrote: > > > > * Pavel Machek [130613 06:32]: > > > > > > > > > If I init spi manually (and some more hacks), it works in the > > > > > qemu. But I have not tested on

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Pavel Machek
Hi! > * Pavel Machek [130613 07:34]: > > On Thu 2013-06-13 07:10:01, Tony Lindgren wrote: > > > * Pavel Machek [130613 06:32]: > > > > > > > If I init spi manually (and some more hacks), it works in the > > > > qemu. But I have not tested on real hw for a while. > > > > > > You should be

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Tony Lindgren
* Pavel Machek [130613 07:34]: > On Thu 2013-06-13 07:10:01, Tony Lindgren wrote: > > * Pavel Machek [130613 06:32]: > > > > > If I init spi manually (and some more hacks), it works in the > > > qemu. But I have not tested on real hw for a while. > > > > You should be able to initialize spi

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Pavel Machek
On Thu 2013-06-13 07:10:01, Tony Lindgren wrote: > * Pavel Machek [130613 06:32]: > > Hi! > > > > > > I'd like to convert Nokia N900 to device tree. > > > > > > > > Unfortunately, serial port is not easily available (very special cable > > > > would be needed, does someone know where to get

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Tony Lindgren
* Pavel Machek [130613 06:32]: > Hi! > > > > I'd like to convert Nokia N900 to device tree. > > > > > > Unfortunately, serial port is not easily available (very special cable > > > would be needed, does someone know where to get one?) and I don't have > > > BDI (and very special cable would be

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Pavel Machek
Hi! > > I'd like to convert Nokia N900 to device tree. > > > > Unfortunately, serial port is not easily available (very special cable > > would be needed, does someone know where to get one?) and I don't have > > BDI (and very special cable would be needed, too). > > > > So I tried doing very

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Pavel Machek
Hi! I'd like to convert Nokia N900 to device tree. Unfortunately, serial port is not easily available (very special cable would be needed, does someone know where to get one?) and I don't have BDI (and very special cable would be needed, too). So I tried doing very small first

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Tony Lindgren
* Pavel Machek pa...@ucw.cz [130613 06:32]: Hi! I'd like to convert Nokia N900 to device tree. Unfortunately, serial port is not easily available (very special cable would be needed, does someone know where to get one?) and I don't have BDI (and very special cable would be

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Pavel Machek
On Thu 2013-06-13 07:10:01, Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [130613 06:32]: Hi! I'd like to convert Nokia N900 to device tree. Unfortunately, serial port is not easily available (very special cable would be needed, does someone know where to get one?) and I

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Tony Lindgren
* Pavel Machek pa...@ucw.cz [130613 07:34]: On Thu 2013-06-13 07:10:01, Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [130613 06:32]: If I init spi manually (and some more hacks), it works in the qemu. But I have not tested on real hw for a while. You should be able to

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Pavel Machek
Hi! * Pavel Machek pa...@ucw.cz [130613 07:34]: On Thu 2013-06-13 07:10:01, Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [130613 06:32]: If I init spi manually (and some more hacks), it works in the qemu. But I have not tested on real hw for a while. You should be

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Tony Lindgren
* Pavel Machek pa...@ucw.cz [130613 08:58]: Hi! * Pavel Machek pa...@ucw.cz [130613 07:34]: On Thu 2013-06-13 07:10:01, Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [130613 06:32]: If I init spi manually (and some more hacks), it works in the qemu. But I have not

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Pavel Machek
Hi! Now, by chance, any idea what is DT equivalent of omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); You can try the attached hack after calling the above to grep for pins in /sys/kernel/debug/omap_mux/board/core and you get the pins in DT suitable format. There's a bug where the the

Re: N900 device tree conversion: how to do first step

2013-06-13 Thread Tony Lindgren
* Pavel Machek pa...@ucw.cz [130613 16:14]: Hi! Now, by chance, any idea what is DT equivalent of omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); You can try the attached hack after calling the above to grep for pins in /sys/kernel/debug/omap_mux/board/core and you get the pins

Re: N900 device tree conversion: how to do first step

2013-06-09 Thread Aaro Koskinen
Hi, On Sun, Jun 09, 2013 at 03:59:44AM +0200, Pavel Machek wrote: > I'd like to convert Nokia N900 to device tree. > > Unfortunately, serial port is not easily available (very special cable > would be needed, does someone know where to get one?) and I don't have > BDI (and very special cable

Re: N900 device tree conversion: how to do first step

2013-06-09 Thread Pavel Machek
On Sun 2013-06-09 03:59:44, Pavel Machek wrote: > Hi! > > I'd like to convert Nokia N900 to device tree. > > Unfortunately, serial port is not easily available (very special cable > would be needed, does someone know where to get one?) and I don't have > BDI (and very special cable would be

Re: N900 device tree conversion: how to do first step

2013-06-09 Thread Pali Rohár
On Sunday 09 June 2013 18:47:45 Pavel Machek wrote: > On Sun 2013-06-09 11:24:40, Pali Rohár wrote: > > On Sunday 09 June 2013 03:59:44 Pavel Machek wrote: > > > Hi! > > > > > > I'd like to convert Nokia N900 to device tree. > > > > > > Unfortunately, serial port is not easily available (very >

Re: N900 device tree conversion: how to do first step

2013-06-09 Thread Pavel Machek
On Sun 2013-06-09 11:24:40, Pali Rohár wrote: > On Sunday 09 June 2013 03:59:44 Pavel Machek wrote: > > Hi! > > > > I'd like to convert Nokia N900 to device tree. > > > > Unfortunately, serial port is not easily available (very > > special cable would be needed, does someone know where to get >

Re: N900 device tree conversion: how to do first step

2013-06-09 Thread Pali Rohár
On Sunday 09 June 2013 03:59:44 Pavel Machek wrote: > Hi! > > I'd like to convert Nokia N900 to device tree. > > Unfortunately, serial port is not easily available (very > special cable would be needed, does someone know where to get > one?) and I don't have BDI (and very special cable would be

Re: N900 device tree conversion: how to do first step

2013-06-09 Thread Pali Rohár
On Sunday 09 June 2013 03:59:44 Pavel Machek wrote: Hi! I'd like to convert Nokia N900 to device tree. Unfortunately, serial port is not easily available (very special cable would be needed, does someone know where to get one?) and I don't have BDI (and very special cable would be

Re: N900 device tree conversion: how to do first step

2013-06-09 Thread Pavel Machek
On Sun 2013-06-09 11:24:40, Pali Rohár wrote: On Sunday 09 June 2013 03:59:44 Pavel Machek wrote: Hi! I'd like to convert Nokia N900 to device tree. Unfortunately, serial port is not easily available (very special cable would be needed, does someone know where to get one?) and I

Re: N900 device tree conversion: how to do first step

2013-06-09 Thread Pali Rohár
On Sunday 09 June 2013 18:47:45 Pavel Machek wrote: On Sun 2013-06-09 11:24:40, Pali Rohár wrote: On Sunday 09 June 2013 03:59:44 Pavel Machek wrote: Hi! I'd like to convert Nokia N900 to device tree. Unfortunately, serial port is not easily available (very special cable

Re: N900 device tree conversion: how to do first step

2013-06-09 Thread Pavel Machek
On Sun 2013-06-09 03:59:44, Pavel Machek wrote: Hi! I'd like to convert Nokia N900 to device tree. Unfortunately, serial port is not easily available (very special cable would be needed, does someone know where to get one?) and I don't have BDI (and very special cable would be needed,

Re: N900 device tree conversion: how to do first step

2013-06-09 Thread Aaro Koskinen
Hi, On Sun, Jun 09, 2013 at 03:59:44AM +0200, Pavel Machek wrote: I'd like to convert Nokia N900 to device tree. Unfortunately, serial port is not easily available (very special cable would be needed, does someone know where to get one?) and I don't have BDI (and very special cable would be

N900 device tree conversion: how to do first step

2013-06-08 Thread Pavel Machek
Hi! I'd like to convert Nokia N900 to device tree. Unfortunately, serial port is not easily available (very special cable would be needed, does someone know where to get one?) and I don't have BDI (and very special cable would be needed, too). So I tried doing very small first step, hoping that

N900 device tree conversion: how to do first step

2013-06-08 Thread Pavel Machek
Hi! I'd like to convert Nokia N900 to device tree. Unfortunately, serial port is not easily available (very special cable would be needed, does someone know where to get one?) and I don't have BDI (and very special cable would be needed, too). So I tried doing very small first step, hoping that