Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1616213
| From | Andy Shevchenko <andy.shevchenko@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems |
| Date | 2017-04-04 19:10 +0200 |
| Message-ID | <tsA7T-7Nb-5@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <trVxM-6aX-7@gated-at.bofh.it> <trWDw-6PH-11@gated-at.bofh.it> <tseK6-1XU-15@gated-at.bofh.it> <tshoC-3Mv-11@gated-at.bofh.it> <tszYe-7uN-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Apr 4, 2017 at 7:59 PM, Tom Zanussi <tom.zanussi@linux.intel.com> wrote: > On Tue, 2017-04-04 at 00:05 +0300, Andy Shevchenko wrote: > Yes, in a previous project, I had been working toward getting a < 1M > system to boot on Galileo hardware (which it did, but using more than > that - the Galileo2 has 256MB, but it was the target hardware at the > time, and I was hoping eventually to be able to boot out of the 512k > on-chip SRAM). > > I was focused at that point mainly on the kernel static size, and using > a combination of Josh Triplett's tinification tree, Andi Kleen's LTO and > net-diet patches, and my own miscellaneous patches that I was planning > on eventually upstreaming, I ended up with a system that I could boot to > shell with a 455k text size: > > Memory: 235636K/245176K available (455K kernel code, 61K rwdata, > 64K rodata, 132K init, 56K bss, 3056K reserved, 0K cma-reserved) > > virtual kernel memory layout: > fixmap : 0xfffe5000 - 0xfffff000 ( 104 kB) > vmalloc : 0xd05f0000 - 0xfffe3000 ( 761 MB) > lowmem : 0xc0000000 - 0xcfdf0000 ( 253 MB) > .init : 0xc1094000 - 0xc10b5000 ( 132 kB) > .data : 0xc1071fac - 0xc1092760 ( 129 kB) > .text : 0xc1000000 - 0xc1071fac ( 455 kB) > > That was without networking. Enabling networking added about 250k, and > at that point I could ssh in and run a webserver, still less than 1M as > far as kernel static size, which of course completely ignores the kernel > dynamic size and userspace. Thanks for sharing your experience. The question closer to this discussion what did you do against TTY/UART/(related) layer(s)? -- With Best Regards, Andy Shevchenko
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Nicolas Pitre <nicolas.pitre@linaro.org> - 2017-04-02 00:40 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-04-02 15:30 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Nicolas Pitre <nicolas.pitre@linaro.org> - 2017-04-02 18:00 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Alan Cox <alan@linux.intel.com> - 2017-04-03 15:00 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Nicolas Pitre <nicolas.pitre@linaro.org> - 2017-04-03 18:10 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Alan Cox <alan@linux.intel.com> - 2017-04-03 20:10 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Nicolas Pitre <nicolas.pitre@linaro.org> - 2017-04-03 22:00 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Alan Cox <alan@linux.intel.com> - 2017-04-04 15:50 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Nicolas Pitre <nicolas.pitre@linaro.org> - 2017-04-04 21:30 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Andi Kleen <andi@firstfloor.org> - 2017-04-02 22:50 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Nicolas Pitre <nicolas.pitre@linaro.org> - 2017-04-02 23:50 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Stuart Longland <stuartl@longlandclan.id.au> - 2017-04-03 01:00 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Nicolas Pitre <nicolas.pitre@linaro.org> - 2017-04-03 03:10 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Stuart Longland <stuartl@longlandclan.id.au> - 2017-04-04 02:50 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Geert Uytterhoeven <geert@linux-m68k.org> - 2017-04-03 20:20 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Rob Herring <robh@kernel.org> - 2017-04-03 21:00 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Geert Uytterhoeven <geert@linux-m68k.org> - 2017-04-03 21:50 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-04-03 23:10 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Tom Zanussi <tom.zanussi@linux.intel.com> - 2017-04-04 19:00 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-04-04 19:10 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Tom Zanussi <tom.zanussi@linux.intel.com> - 2017-04-04 20:00 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-04-04 20:10 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Nicolas Pitre <nicolas.pitre@linaro.org> - 2017-04-04 20:40 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Tom Zanussi <tom.zanussi@linux.intel.com> - 2017-04-04 22:00 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Nicolas Pitre <nicolas.pitre@linaro.org> - 2017-04-04 22:30 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Nicolas Pitre <nicolas.pitre@linaro.org> - 2017-04-04 21:00 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-04-03 10:00 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Andi Kleen <andi@firstfloor.org> - 2017-04-03 17:40 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Nicolas Pitre <nicolas.pitre@linaro.org> - 2017-04-03 19:30 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Adam Borowski <kilobyte@angband.pl> - 2017-04-03 22:00 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Nicolas Pitre <nicolas.pitre@linaro.org> - 2017-04-03 22:10 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Adam Borowski <kilobyte@angband.pl> - 2017-04-03 22:40 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Nicolas Pitre <nicolas.pitre@linaro.org> - 2017-04-03 18:50 +0200
Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-04-03 09:50 +0200
csiph-web