All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch v2 0/3] Kirwood: Add Iomega Iconnect support
@ 2012-04-18 21:16 Arnaud Patard (Rtp)
  2012-04-18 21:16 ` [patch v2 1/3] kirkwood/orion: fix orion_gpio_set_blink Arnaud Patard (Rtp)
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Arnaud Patard (Rtp) @ 2012-04-18 21:16 UTC (permalink / raw)
  To: linux-arm-kernel


This patchset is a new try to merge support for the iconnect platforms.
Compared to v1, this one is adding also a (forgotten) patch I made to fix led
blinking and a patch creating a common function for it, to avoid code duplication.


Arnaud Patard

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [patch v2 1/3] kirkwood/orion: fix orion_gpio_set_blink
  2012-04-18 21:16 [patch v2 0/3] Kirwood: Add Iomega Iconnect support Arnaud Patard (Rtp)
@ 2012-04-18 21:16 ` Arnaud Patard (Rtp)
  2012-04-18 21:16 ` [patch v2 2/3] orion/kirkwood: create a generic function for gpio led blinking Arnaud Patard (Rtp)
  2012-04-18 21:16 ` [patch v2 3/3] kirkwood: Add iconnect support Arnaud Patard (Rtp)
  2 siblings, 0 replies; 11+ messages in thread
From: Arnaud Patard (Rtp) @ 2012-04-18 21:16 UTC (permalink / raw)
  To: linux-arm-kernel

An embedded and charset-unspecified text was scrubbed...
Name: orion_fix_set_blink.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120418/5f9817a9/attachment.ksh>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [patch v2 2/3] orion/kirkwood: create a generic function for gpio led blinking
  2012-04-18 21:16 [patch v2 0/3] Kirwood: Add Iomega Iconnect support Arnaud Patard (Rtp)
  2012-04-18 21:16 ` [patch v2 1/3] kirkwood/orion: fix orion_gpio_set_blink Arnaud Patard (Rtp)
@ 2012-04-18 21:16 ` Arnaud Patard (Rtp)
  2012-04-18 21:16 ` [patch v2 3/3] kirkwood: Add iconnect support Arnaud Patard (Rtp)
  2 siblings, 0 replies; 11+ messages in thread
From: Arnaud Patard (Rtp) @ 2012-04-18 21:16 UTC (permalink / raw)
  To: linux-arm-kernel

An embedded and charset-unspecified text was scrubbed...
Name: orion_gpio_led_blink_set.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120418/157609cb/attachment.ksh>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [patch v2 3/3] kirkwood: Add iconnect support
  2012-04-18 21:16 [patch v2 0/3] Kirwood: Add Iomega Iconnect support Arnaud Patard (Rtp)
  2012-04-18 21:16 ` [patch v2 1/3] kirkwood/orion: fix orion_gpio_set_blink Arnaud Patard (Rtp)
  2012-04-18 21:16 ` [patch v2 2/3] orion/kirkwood: create a generic function for gpio led blinking Arnaud Patard (Rtp)
@ 2012-04-18 21:16 ` Arnaud Patard (Rtp)
  2012-04-25 22:45   ` Adam Baker
  2 siblings, 1 reply; 11+ messages in thread
From: Arnaud Patard (Rtp) @ 2012-04-18 21:16 UTC (permalink / raw)
  To: linux-arm-kernel

An embedded and charset-unspecified text was scrubbed...
Name: iconnect-dt.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120418/00fb8ef2/attachment.ksh>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [patch v2 3/3] kirkwood: Add iconnect support
  2012-04-18 21:16 ` [patch v2 3/3] kirkwood: Add iconnect support Arnaud Patard (Rtp)
@ 2012-04-25 22:45   ` Adam Baker
  2012-04-26 10:23     ` Arnaud Patard (Rtp)
  0 siblings, 1 reply; 11+ messages in thread
From: Adam Baker @ 2012-04-25 22:45 UTC (permalink / raw)
  To: linux-arm-kernel

On Wednesday 18 April 2012, Arnaud Patard wrote:
> Add support for Iomega Iconnect system.
> 
> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
> 

Arnaud,

I have so far been unable to get a kernel to boot with your patches. I just 
get
 
Uncompressing Linux... done, booting the kernel.

then nothing even with earlyprintk in the cmd line.

I applied the patches to a recent clone of Linus' tree as they depend on other 
device tree work that isn't in the latest stable kernel - I haven't yet 
verified if that tree boots as if it were a RD88F6281 with your changes 
disabled so that is probably my next step.

I've also hit the issue of the stock U-Boot not supporting DTB so am running 
with
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
Have you been using the latter option or are you just using the settings in 
your dtb file? I'm assuming that you are running with an initrd, so far I've 
been trying to run without one hence I was hoping to be able to set the rootfs 
location on the kernel command line.

Regards

AdamBaker

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [patch v2 3/3] kirkwood: Add iconnect support
  2012-04-25 22:45   ` Adam Baker
@ 2012-04-26 10:23     ` Arnaud Patard (Rtp)
  2012-04-29 23:11       ` Adam Baker
  0 siblings, 1 reply; 11+ messages in thread
From: Arnaud Patard (Rtp) @ 2012-04-26 10:23 UTC (permalink / raw)
  To: linux-arm-kernel

Adam Baker <linux@baker-net.org.uk> writes:

Hi,

> On Wednesday 18 April 2012, Arnaud Patard wrote:
>> Add support for Iomega Iconnect system.
>> 
>> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
>> 
>
> Arnaud,
>
> I have so far been unable to get a kernel to boot with your patches. I just 
> get
>  
> Uncompressing Linux... done, booting the kernel.

hm. sounds weird. Are you sure that you have the DTB appended to your
kernel image ?

>
> then nothing even with earlyprintk in the cmd line.
>
> I applied the patches to a recent clone of Linus' tree as they depend on other 
> device tree work that isn't in the latest stable kernel - I haven't yet 
> verified if that tree boots as if it were a RD88F6281 with your changes 
> disabled so that is probably my next step.

With device-tree, you don't have to worry with your machine number.

>
> I've also hit the issue of the stock U-Boot not supporting DTB so am running 
> with
> CONFIG_ARM_APPENDED_DTB=y
> CONFIG_ARM_ATAG_DTB_COMPAT=y
> Have you been using the latter option or are you just using the settings in 
> your dtb file? I'm assuming that you are running with an initrd, so far I've 

It depends on what your boot media is. For instance if you boot your
kernel and the rootfs on usb and necessary modules built-in you can boot
directly with things like root=/dev/sdaX rootwait.

> been trying to run without one hence I was hoping to be able to set the rootfs 
> location on the kernel command line.

either you use ARM_ATAG_DTB_COMPAT and set the command line on from
uboot or you don't set it and set the command line from the dts file.

Arnaud

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [patch v2 3/3] kirkwood: Add iconnect support
  2012-04-26 10:23     ` Arnaud Patard (Rtp)
@ 2012-04-29 23:11       ` Adam Baker
  2012-04-30  6:52         ` Arnaud Patard (Rtp)
  0 siblings, 1 reply; 11+ messages in thread
From: Adam Baker @ 2012-04-29 23:11 UTC (permalink / raw)
  To: linux-arm-kernel

On Thursday 26 April 2012, Arnaud Patard wrote:
> Adam Baker <linux@baker-net.org.uk> writes:
> 
> Hi,
> 
> > On Wednesday 18 April 2012, Arnaud Patard wrote:
> >> Add support for Iomega Iconnect system.
> >> 
> >> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
> > 
> > Arnaud,
> > 
> > I have so far been unable to get a kernel to boot with your patches. I
> > just get
> > 
> > Uncompressing Linux... done, booting the kernel.
> 
> hm. sounds weird. Are you sure that you have the DTB appended to your
> kernel image ?

Yes, if I don't append the DTB and I set ArcNumber to 1682 then it boots using 
the ref board setup, if the DTB is appended then it doesn't boot (I configured 
the kernel to support iconnect, dreamplug and RD-88F6281)

> > I've also hit the issue of the stock U-Boot not supporting DTB so am
> > running with
> > CONFIG_ARM_APPENDED_DTB=y
> > CONFIG_ARM_ATAG_DTB_COMPAT=y
> > Have you been using the latter option or are you just using the settings
> > in your dtb file? I'm assuming that you are running with an initrd, so
> > far I've
> 
> It depends on what your boot media is. For instance if you boot your
> kernel and the rootfs on usb and necessary modules built-in you can boot
> directly with things like root=/dev/sdaX rootwait.
> 

That's exactly how I had been booting it with my old kernel, I was just 
wondering what your setup is to help narrow down the difference that means 
yours works and mine doesn't.

> > been trying to run without one hence I was hoping to be able to set the
> > rootfs location on the kernel command line.
> 
> either you use ARM_ATAG_DTB_COMPAT and set the command line on from
> uboot or you don't set it and set the command line from the dts file.
> 

I tried disabling ARM_ATAG_DTB_COMPAT and setting my desired command line in 
the dts but that didn't help. I'll have to give some thought to what to try 
next.

Adam

P.S. I note your LED names don't have the platform name in fromnt of them - I 
thought that was normally included to avoid any confusion with LED names for 
attached peripherals.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [patch v2 3/3] kirkwood: Add iconnect support
  2012-04-29 23:11       ` Adam Baker
@ 2012-04-30  6:52         ` Arnaud Patard (Rtp)
  2012-05-01 22:55           ` Adam Baker
  0 siblings, 1 reply; 11+ messages in thread
From: Arnaud Patard (Rtp) @ 2012-04-30  6:52 UTC (permalink / raw)
  To: linux-arm-kernel

Adam Baker <linux@baker-net.org.uk> writes:

Hi,

> On Thursday 26 April 2012, Arnaud Patard wrote:
>> Adam Baker <linux@baker-net.org.uk> writes:
>> 
>> Hi,
>> 
>> > On Wednesday 18 April 2012, Arnaud Patard wrote:
>> >> Add support for Iomega Iconnect system.
>> >> 
>> >> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
>> > 
>> > Arnaud,
>> > 
>> > I have so far been unable to get a kernel to boot with your patches. I
>> > just get
>> > 
>> > Uncompressing Linux... done, booting the kernel.
>> 
>> hm. sounds weird. Are you sure that you have the DTB appended to your
>> kernel image ?
>
> Yes, if I don't append the DTB and I set ArcNumber to 1682 then it boots using 
> the ref board setup, if the DTB is appended then it doesn't boot (I configured 
> the kernel to support iconnect, dreamplug and RD-88F6281)

hm. ok. Can you provide your uImage/kernel config/modules/ and which
sources you've used... so that I can try to reproduce / boot your kernel?

Arnaud

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [patch v2 3/3] kirkwood: Add iconnect support
  2012-04-30  6:52         ` Arnaud Patard (Rtp)
@ 2012-05-01 22:55           ` Adam Baker
  2012-05-11 11:54             ` Arnaud Patard (Rtp)
  0 siblings, 1 reply; 11+ messages in thread
From: Adam Baker @ 2012-05-01 22:55 UTC (permalink / raw)
  To: linux-arm-kernel

On Monday 30 April 2012, Arnaud Patard wrote:
> Adam Baker <linux@baker-net.org.uk> writes:
> 
> Hi,
> 
> > On Thursday 26 April 2012, Arnaud Patard wrote:
> >> Adam Baker <linux@baker-net.org.uk> writes:
> >> 
> >> Hi,
> >> 
> >> > On Wednesday 18 April 2012, Arnaud Patard wrote:
> >> >> Add support for Iomega Iconnect system.
> >> >> 
> >> >> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
> >> > 
> >> > Arnaud,
> >> > 
> >> > I have so far been unable to get a kernel to boot with your patches. I
> >> > just get
> >> > 
> >> > Uncompressing Linux... done, booting the kernel.
> >> 
> >> hm. sounds weird. Are you sure that you have the DTB appended to your
> >> kernel image ?
> > 
> > Yes, if I don't append the DTB and I set ArcNumber to 1682 then it boots
> > using the ref board setup, if the DTB is appended then it doesn't boot
> > (I configured the kernel to support iconnect, dreamplug and RD-88F6281)
> 
> hm. ok. Can you provide your uImage/kernel config/modules/ and which
> sources you've used... so that I can try to reproduce / boot your kernel?
> 

Arnaud has spotted that my kernel config was missing CONFIG_SERIAL_OF_PLATFORM 
which is why I was getting no output from it. After fixing that I've got a 
working system, therefore

Tested-By: Adam Baker <linux@baker-net.org.uk>

I have verified that all of the LED options work, that the reset and OTB 
buttons generate the expected codes (I think the reason Iomega chose odd SW_ 
values is simply those are the first 2 defined values in linux/input.h) and that 
the mtd partitions start at the correct offsets for what they claim to contain 
(although the last one might make more sense called root rather than boot). 
I've verified that the WLAN interface works but not tested wired ethernet.

Unfortunately CONFIG_SERIAL_OF_PLATFORM has dependencies so it wouldn't be a 
good idea for CONFIG_MACH_ICONNECT_DT to select it. There could be some value 
in it making the default value for CONFIG_SERIAL_OF_PLATFORM=y.

Regards

Adam

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [patch v2 3/3] kirkwood: Add iconnect support
  2012-05-01 22:55           ` Adam Baker
@ 2012-05-11 11:54             ` Arnaud Patard (Rtp)
  2012-05-11 13:02               ` Jason Cooper
  0 siblings, 1 reply; 11+ messages in thread
From: Arnaud Patard (Rtp) @ 2012-05-11 11:54 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

I don't see any trace of my patch in arm-soc#for-next. Did I miss to
address some comments, preventing it to be merged ?


Thanks,
Arnaud

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [patch v2 3/3] kirkwood: Add iconnect support
  2012-05-11 11:54             ` Arnaud Patard (Rtp)
@ 2012-05-11 13:02               ` Jason Cooper
  0 siblings, 0 replies; 11+ messages in thread
From: Jason Cooper @ 2012-05-11 13:02 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, May 11, 2012 at 01:54:53PM +0200, Arnaud Patard wrote:
> Hi,
> 
> I don't see any trace of my patch in arm-soc#for-next. Did I miss to
> address some comments, preventing it to be merged ?

Nope, I'm just a little behind.  Hopefully I'll get it moving in the
next day or two.

thx,

Jason.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-05-11 13:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-18 21:16 [patch v2 0/3] Kirwood: Add Iomega Iconnect support Arnaud Patard (Rtp)
2012-04-18 21:16 ` [patch v2 1/3] kirkwood/orion: fix orion_gpio_set_blink Arnaud Patard (Rtp)
2012-04-18 21:16 ` [patch v2 2/3] orion/kirkwood: create a generic function for gpio led blinking Arnaud Patard (Rtp)
2012-04-18 21:16 ` [patch v2 3/3] kirkwood: Add iconnect support Arnaud Patard (Rtp)
2012-04-25 22:45   ` Adam Baker
2012-04-26 10:23     ` Arnaud Patard (Rtp)
2012-04-29 23:11       ` Adam Baker
2012-04-30  6:52         ` Arnaud Patard (Rtp)
2012-05-01 22:55           ` Adam Baker
2012-05-11 11:54             ` Arnaud Patard (Rtp)
2012-05-11 13:02               ` Jason Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.