Skip to content

ARM: orion5x/dove/mv78xx0 multiplatform

Detlef Vollmann linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 5 patches 1 replyIn review

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] ARM: orion5x/dove/mv78xx0 multiplatform
Quoted 22 lines · Arnd Bergmann
Quoted 10 lines · On Thursday 10 December 2015 14:18:11 Arnd Bergmann wrote:
Quoted 7 lines · On Thursday 10 December 2015 13:56:05 Detlef Vollmann wrote:

The bad news:
My own config (which is massivly stripped down) produces a kernel image that's more than 26K bigger than on v4.4-rc3 without any added functionality.
The DNS-323 is extremly constrained in space (the whole system including boot loader, kernel and filesystem has to fit into 8M flash). Any ideas how I can get rid of this additional overhead?

Quoted 2 lines

Can you send me your config file? I can have a look.

I've done a quick check with an allnoconfig-like test and it seems that CONFIG_OF is weighing in at around 86K here, with all the other options it pulls in, comparing an allnoconfig kernel for DS-323 with one that has CONFIG_OF enabled as well.

The multiplatform kernel also enables CONFIG_OF unconditionally, but is otherwise a little smaller than the mach-orion5x based one:

Quoted 7 lines

text data bss dec hex filename

 942144   64112   17648 1023904   f9fa0 build/tmp/vmlinux-orion-allno
1027516   54052   20824 1102392  10d238 build/tmp/vmlinux-multi-plus-orion
1025320   66020   18744 1110084  10f044 build/tmp/vmlinux-orion-plus-of

The diff below shows all the differences between orion-allno and multi-plus-orion.

How did you get the orion-allno config and how did you get it compiled? I tried to apply your changes to my config and compile it, but it started silentoldconfig which introduced back 'ARCH_MULTIPLATFORM'

Detlef