[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#751716: [debian-installer] Patch



On Sun, 2014-07-13 at 00:58 +0200, Bastien ROUCARIES wrote:
> On Sun, Jul 13, 2014 at 12:14 AM, Martin Michlmayr <tbm@cyrius.com> wrote:
> > * Bastien ROUCARIES <roucaries.bastien@gmail.com> [2014-07-12 19:05]:
> >> Hi UImage is too big to get into mtd :S You said that it it is a
> >> trimmed down version ? Any idea to trim more ?
> >
> > I believe we said the initramfs generated by initramfs-tools is
> > trimmed down.  How big is the uimage and how much space do you have?
> 
> 5242880 byte or 5M

The kirkwood kernel is just under 2MB, so there's no way the uImage
could be 5M. This is enforced at kernel build time see
linux/debian/config/armel/defines which has:
        [kirkwood_image]
        recommends: uboot-mkimage
        # SheevaPlug: 4194304 - 8 - 64 = 4194232
        # QNAP TS-119/TS-219: 2097152 - 8 - 64 = 2097080
        check-size: 2097080

Maybe we are talking about uInitrd/uRamdisk?

> >> BTW it seems that this config need  a serial console in order to set
> >> ssh password. Do you have pointer about documentation of how to set it
> >> without serial. I plan to document dns-320 on the wiki.
> >
> > Take a look at oldsys-preseed.  You could just generate a dummy stanza
> > that will do DHCP with a fallback IP address (instead of actually
> > reading the network config from the device).

I always thought that this was the default behaviour of the
network-console flavour images, is it not?

Ian.


Reply to: