[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1505081956480.15607@T520.local>
Date: Fri, 8 May 2015 20:28:42 +0200 (CEST)
From: Hans Ulli Kroll <ulli.kroll@...glemail.com>
To: Roman Yeryomin <roman@...em.lv>
cc: Hans Ulli Kroll <ulli.kroll@...glemail.com>,
Arnd Bergmann <arnd@...db.de>,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
rtc-linux@...glegroups.com,
Linus Walleij <linus.walleij@...aro.org>,
Russell King <rmk+kernel@....linux.org.uk>,
Felix Fietkau <nbd@...nwrt.org>
Subject: Re: [1/2] RTC: Add core rtc support for Gemini Soc devices
Hi
On Fri, 8 May 2015, Roman Yeryomin wrote:
> On 2015-05-07 20:46, Hans Ulli Kroll wrote:
> > Hi
> >
> > On Thu, 7 May 2015, Arnd Bergmann wrote:
> >
> > > On Thursday 07 May 2015 05:00:03 Hans Ulli Kroll wrote:
> > > > On Wed, 6 May 2015, Arnd Bergmann wrote:
> > > > > As far as I'm concerned, we should just merge all the patches from
> > > > > http://git.openwrt.org/?p=openwrt.git;a=tree;f=target/linux/gemini/patches-3.18
> > > > >
> > > > > We should also try to find a maintainer that can respond to patches
> > > > > in a timely manner. If Ulli has time for that again, that would be
> > > > > great,
> > > > > otherwise I think we should find someone from OpenWRT to take over.
> > > >
> > > > I'm back in busyness.
> > > > Currently me dev device is right next to me.
> > > > I moved some time ago and haav to find it in some 'hidden' box.
> > >
> > > Awesome, welcome back!
> > >
> > > Are you able to look at the patches I mentioned above and submit them
> > > to arm@...nel.org, cc linux-arm-kernel@...ts.infradead.org with proper
> > > patch descriptions?
> > >
> > > Arnd
> > >
> >
> > Already done,
> > RTC driver send.
> > Compilder fix for MACH-RECORD send.
> > Maintainer Update send.
> >
> > This device is a (very) bad design, to be polite !
> > I think they didn't test this properly.
> > And they fixed some software issues in hardware.
> > To be exact :
> > They switched the IDE channels in hardware, to get around the stupid
> > Sausalito software.
>
> AFAIK, ide channels are switchable in the driver.
Yes.
But there is a HW switch.
/* Values of IOMUX
* 26:24 bits is "IDE IO Select"
* 111:100 - Reserved
* 011 - ata0 <-> sata0, sata1; bring out ata1
* 010 - ata1 <-> sata1, sata0; bring out ata0
* 001 - ata0 <-> sata0, ata1 <-> sata1; bring out ata1
* 000 - ata0 <-> sata0, ata1 <-> sata1; bring out ata0
*/
This is from an email long time ago, with Paulius Zaleckas who has the
yoriginal documentation to this SoC.
I hacked some weeks (or months) to get this thing running.
Some HDD are working well, others don't. At this time, this was only one
manufacturer, who has only the "bad" devices.
Early this year, I got some report from one user. He has two hdd's from
the same manufacturer. One hdd is working well, the other don't.
At the end of this "session" I've taken this device to some hidden place.
;-)
Ulli
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists