From: kaloz@openwrt.org (Imre Kaloz)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/8] Convert Netgear WNR854T to devicetree
Date: Fri, 26 Aug 2016 22:30:47 +0200 [thread overview]
Message-ID: <op.ymtkllii2s3iss@ecaz> (raw)
In-Reply-To: <alpine.DEB.2.11.1608261703460.19980@marmot.wormnet.eu>
On Fri, 26 Aug 2016 18:50:33 +0200, Jamie Lentin <jm@lentin.co.uk> wrote:
> On Fri, 26 Aug 2016, Andrew Lunn wrote:
>
>>>> - the factory layout gives you almost no space to play with
>>
>> Given that the kernel has grown in size over the years, does the
>> mainline kernel fit in the factory layout?
>
> The factory layout has a 6MB JFFS2 for root & uImage (uboot mounts it by
> default) + 1MB miscellany. So the main restriction on kernel size is the
> size of your userland.
>
> The non-DT mainline layout is 1MB JFFS2 for uImage + 7MB rootfs. Which
> is a closer approximation to other devices with a uImage in it's own
> partition.
>
>>> Of course, one could also argue I'm breaking backwards compatibility
>>> at this point by changing it, so maybe I should put it back.
>>
>> I don't mind breaking backwards compatibility, if the factory defaults
>> no longer actually work.....
>>
>> Also, lets think about the users here. This is a very old box. Anybody
>> playing with one are probably of the sort who tinker with a classic
>> car in the garage, taking the engine apart and putting it back
>> together again. I doubt there are users of this box who take their car
>> in for a service once they are out of windscreen washing water.
>
> My line of thinking was that the only people that will see this default
> partition scheme are people that have just compiled a mainline kernel
> and booted it to see what happens. At which point you probably still
> have the Netgear image in Flash. If you had OpenWRT in Flash then in all
> likelihood you'd already be using an OpenWRT kernel too, with it's own
> flash layout. Finally, you could have rolled your own userland and put
> that on Flash, but by then you should know enough to do what you like :)
Well, that means you have serial console - otherwise without userland it's
pretty unusable ;) Anyways, I would stay with a modified version of the
non-DT partitions, with the kernel size increased to ~1.4MB (didn't check
how much overhead is DT support).
Imre
WARNING: multiple messages have this Message-ID (diff)
From: "Imre Kaloz" <kaloz-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
To: Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>,
Jamie Lentin <jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org>
Cc: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>,
Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Vivien Didelot
<vivien.didelot-4ysUXcep3aM1wj+D4I0NRVaTQe2KTcn/@public.gmane.org>,
Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>,
Sebastian Hesselbarth
<sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Gregory Clement
<gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH 0/8] Convert Netgear WNR854T to devicetree
Date: Fri, 26 Aug 2016 22:30:47 +0200 [thread overview]
Message-ID: <op.ymtkllii2s3iss@ecaz> (raw)
In-Reply-To: <alpine.DEB.2.11.1608261703460.19980-5X291BYdrx55rAo4AelP/Ydd74u8MsAO@public.gmane.org>
On Fri, 26 Aug 2016 18:50:33 +0200, Jamie Lentin <jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org> wrote:
> On Fri, 26 Aug 2016, Andrew Lunn wrote:
>
>>>> - the factory layout gives you almost no space to play with
>>
>> Given that the kernel has grown in size over the years, does the
>> mainline kernel fit in the factory layout?
>
> The factory layout has a 6MB JFFS2 for root & uImage (uboot mounts it by
> default) + 1MB miscellany. So the main restriction on kernel size is the
> size of your userland.
>
> The non-DT mainline layout is 1MB JFFS2 for uImage + 7MB rootfs. Which
> is a closer approximation to other devices with a uImage in it's own
> partition.
>
>>> Of course, one could also argue I'm breaking backwards compatibility
>>> at this point by changing it, so maybe I should put it back.
>>
>> I don't mind breaking backwards compatibility, if the factory defaults
>> no longer actually work.....
>>
>> Also, lets think about the users here. This is a very old box. Anybody
>> playing with one are probably of the sort who tinker with a classic
>> car in the garage, taking the engine apart and putting it back
>> together again. I doubt there are users of this box who take their car
>> in for a service once they are out of windscreen washing water.
>
> My line of thinking was that the only people that will see this default
> partition scheme are people that have just compiled a mainline kernel
> and booted it to see what happens. At which point you probably still
> have the Netgear image in Flash. If you had OpenWRT in Flash then in all
> likelihood you'd already be using an OpenWRT kernel too, with it's own
> flash layout. Finally, you could have rolled your own userland and put
> that on Flash, but by then you should know enough to do what you like :)
Well, that means you have serial console - otherwise without userland it's
pretty unusable ;) Anyways, I would stay with a modified version of the
non-DT partitions, with the kernel size increased to ~1.4MB (didn't check
how much overhead is DT support).
Imre
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-08-26 20:30 UTC|newest]
Thread overview: 179+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-16 14:28 [PATCH v0 00/10] Convert Netgear WNR854T to devicetree Jamie Lentin
2016-07-16 14:28 ` Jamie Lentin
2016-07-16 14:28 ` Jamie Lentin
2016-07-16 14:28 ` [PATCH v0 01/10] arm: orion5x: Add required properties for orion-wdt to DT node Jamie Lentin
2016-07-16 14:28 ` Jamie Lentin
2016-07-16 14:28 ` Jamie Lentin
2016-07-16 16:03 ` Andrew Lunn
2016-07-16 16:03 ` Andrew Lunn
2016-07-16 14:29 ` [PATCH v0 02/10] arm: orion5x: Add documentation for SoC and board bindings Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 16:05 ` Andrew Lunn
2016-07-16 16:05 ` Andrew Lunn
2016-07-16 16:05 ` Andrew Lunn
2016-07-17 20:35 ` Rob Herring
2016-07-17 20:35 ` Rob Herring
2016-07-17 20:35 ` Rob Herring
2016-07-16 14:29 ` [PATCH v0 03/10] arm: orion5x: Add clk support for mv88f5181 Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 16:10 ` Andrew Lunn
2016-07-16 16:10 ` Andrew Lunn
2016-07-16 16:10 ` Andrew Lunn
2016-07-16 17:34 ` Sergei Shtylyov
2016-07-16 17:34 ` Sergei Shtylyov
2016-07-16 17:34 ` Sergei Shtylyov
2016-07-17 20:36 ` Rob Herring
2016-07-17 20:36 ` Rob Herring
2016-07-17 20:36 ` Rob Herring
2016-07-16 14:29 ` [PATCH v0 04/10] arm: orion5x: Generalise mv88f5181l pinctrl support for 88f5181 Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 16:15 ` Andrew Lunn
2016-07-16 16:15 ` Andrew Lunn
2016-07-17 20:40 ` Rob Herring
2016-07-17 20:40 ` Rob Herring
2016-07-17 20:40 ` Rob Herring
2016-07-16 14:29 ` [PATCH v0 05/10] arm: orion5x: Add DT include for mv88f5181 Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 16:17 ` Andrew Lunn
2016-07-16 16:17 ` Andrew Lunn
2016-07-16 16:17 ` Andrew Lunn
2016-07-17 20:41 ` Rob Herring
2016-07-17 20:41 ` Rob Herring
2016-07-16 14:29 ` [PATCH v0 06/10] arm: orion5x: Add DT-based support for Netgear WNR854T Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 16:34 ` Andrew Lunn
2016-07-16 16:34 ` Andrew Lunn
2016-07-16 16:34 ` Andrew Lunn
2016-07-16 16:39 ` Andrew Lunn
2016-07-16 16:39 ` Andrew Lunn
2016-07-16 19:10 ` Arnd Bergmann
2016-07-16 19:10 ` Arnd Bergmann
2016-07-17 9:39 ` Jamie Lentin
2016-07-17 9:39 ` Jamie Lentin
2016-07-17 9:39 ` Jamie Lentin
2016-07-17 20:41 ` Arnd Bergmann
2016-07-17 20:41 ` Arnd Bergmann
2016-07-18 9:44 ` Thomas Petazzoni
2016-07-18 9:44 ` Thomas Petazzoni
2016-07-18 10:06 ` Arnd Bergmann
2016-07-18 10:06 ` Arnd Bergmann
2016-07-18 10:06 ` Arnd Bergmann
2016-07-19 9:40 ` Jamie Lentin
2016-07-19 9:40 ` Jamie Lentin
2016-07-19 9:46 ` Arnd Bergmann
2016-07-19 9:46 ` Arnd Bergmann
2016-07-17 20:51 ` Rob Herring
2016-07-17 20:51 ` Rob Herring
2016-07-19 9:46 ` Jamie Lentin
2016-07-19 9:46 ` Jamie Lentin
2016-07-19 9:46 ` Jamie Lentin
2016-07-16 14:29 ` [PATCH v0 07/10] arm: orion5x: Remove old non-DT-based WNR854T support Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 16:36 ` Andrew Lunn
2016-07-16 16:36 ` Andrew Lunn
2016-07-16 14:29 ` [PATCH v0 08/10] net: phy: Try looking for a phy-handle property to find the OF node Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 16:44 ` Andrew Lunn
2016-07-16 16:44 ` Andrew Lunn
2016-07-16 14:29 ` [PATCH v0 09/10] net: phy: Re-attempt custom DT configuration after configuration Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 16:44 ` Andrew Lunn
2016-07-16 16:44 ` Andrew Lunn
2016-07-16 16:44 ` Andrew Lunn
2016-07-16 14:29 ` [PATCH v0 10/10] arm: orion5x: Configure Netgear WNR854T network port LEDs Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 14:29 ` Jamie Lentin
2016-07-16 20:53 ` [PATCH v0 00/10] Convert Netgear WNR854T to devicetree Andrew Lunn
2016-07-16 20:53 ` Andrew Lunn
2016-07-17 12:52 ` Jamie Lentin
2016-07-17 12:52 ` Jamie Lentin
2016-07-17 15:33 ` Andrew Lunn
2016-07-17 15:33 ` Andrew Lunn
2016-07-19 9:33 ` Jamie Lentin
2016-07-19 9:33 ` Jamie Lentin
2016-07-19 14:01 ` Andrew Lunn
2016-07-19 14:01 ` Andrew Lunn
2016-07-19 14:16 ` Andrew Lunn
2016-07-19 15:04 ` Vivien Didelot
2016-08-26 9:20 ` [PATCH 0/8] " Jamie Lentin
2016-08-26 9:20 ` Jamie Lentin
2016-08-26 9:20 ` [PATCH 1/8] arm: orion5x: Add documentation for SoC and board bindings Jamie Lentin
2016-08-26 9:20 ` Jamie Lentin
2016-08-26 9:20 ` [PATCH 2/8] arm: orion5x: Add clk support for mv88f5181 Jamie Lentin
2016-08-26 9:20 ` Jamie Lentin
2016-08-26 11:34 ` LABBE Corentin
2016-08-26 11:34 ` LABBE Corentin
2016-08-26 12:24 ` Jamie Lentin
2016-08-26 12:24 ` Jamie Lentin
2016-08-26 14:24 ` Andrew Lunn
2016-08-26 14:24 ` Andrew Lunn
2016-08-26 9:20 ` [PATCH 3/8] arm: orion5x: Generalise mv88f5181l pinctrl support for 88f5181 Jamie Lentin
2016-08-26 9:20 ` Jamie Lentin
2016-08-26 9:21 ` [PATCH 4/8] arm: orion5x: Alias uart0 to serial0 for all orion5x Jamie Lentin
2016-08-26 9:21 ` Jamie Lentin
2016-08-26 14:54 ` Andrew Lunn
2016-08-26 14:54 ` Andrew Lunn
2016-09-12 21:12 ` Arnd Bergmann
2016-09-12 21:12 ` Arnd Bergmann
2016-08-26 9:21 ` [PATCH 5/8] arm: orion5x: Add DT include for mv88f5181 Jamie Lentin
2016-08-26 9:21 ` Jamie Lentin
2016-08-26 14:55 ` Andrew Lunn
2016-08-26 14:55 ` Andrew Lunn
2016-08-31 15:15 ` Rob Herring
2016-08-31 15:15 ` Rob Herring
2016-08-26 9:21 ` [PATCH 6/8] arm: orion5x: Add DT-based support for Netgear WNR854T Jamie Lentin
2016-08-26 9:21 ` Jamie Lentin
2016-08-31 15:26 ` Rob Herring
2016-08-31 15:26 ` Rob Herring
2016-09-05 21:07 ` [PATCH 6/8 v2] " Jamie Lentin
2016-09-05 21:07 ` Jamie Lentin
2016-09-08 12:41 ` Gregory CLEMENT
2016-09-08 12:41 ` Gregory CLEMENT
2016-09-08 16:47 ` Jamie Lentin
2016-09-08 16:47 ` Jamie Lentin
2016-09-12 17:06 ` Rob Herring
2016-09-12 17:06 ` Rob Herring
2016-09-12 21:13 ` Arnd Bergmann
2016-09-12 21:13 ` Arnd Bergmann
2016-09-12 21:19 ` Arnd Bergmann
2016-09-12 21:19 ` Arnd Bergmann
2016-09-12 22:03 ` Andrew Lunn
2016-09-12 22:03 ` Andrew Lunn
2016-09-13 9:10 ` Jamie Lentin
2016-09-13 9:10 ` Jamie Lentin
2016-09-13 12:36 ` Andrew Lunn
2016-09-13 12:36 ` Andrew Lunn
2016-09-13 14:15 ` Jamie Lentin
2016-09-13 14:15 ` Jamie Lentin
2016-09-13 19:16 ` Gregory CLEMENT
2016-09-13 19:16 ` Gregory CLEMENT
2016-09-13 20:39 ` Arnd Bergmann
2016-09-13 20:39 ` Arnd Bergmann
2016-08-26 9:21 ` [PATCH 7/8] arm: orion5x: Remove old non-DT-based WNR854T support Jamie Lentin
2016-08-26 9:21 ` Jamie Lentin
2016-08-26 14:59 ` Andrew Lunn
2016-08-26 14:59 ` Andrew Lunn
2016-08-26 9:21 ` [PATCH 8/8] arm: orion5x: Configure WNR854T ethernet PHY LEDs Jamie Lentin
2016-08-26 9:21 ` Jamie Lentin
2016-08-26 15:05 ` Andrew Lunn
2016-08-26 15:05 ` Andrew Lunn
2016-08-26 15:05 ` Andrew Lunn
2016-08-26 15:05 ` Andrew Lunn
2016-08-26 12:09 ` [PATCH 0/8] Convert Netgear WNR854T to devicetree Imre Kaloz
2016-08-26 12:09 ` Imre Kaloz
2016-08-26 12:56 ` Jamie Lentin
2016-08-26 12:56 ` Jamie Lentin
2016-08-26 14:33 ` Andrew Lunn
2016-08-26 14:33 ` Andrew Lunn
2016-08-26 16:50 ` Jamie Lentin
2016-08-26 16:50 ` Jamie Lentin
2016-08-26 20:30 ` Imre Kaloz [this message]
2016-08-26 20:30 ` Imre Kaloz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=op.ymtkllii2s3iss@ecaz \
--to=kaloz@openwrt.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.