From: Thierry Bultel <thierry.bultel@wanadoo.fr>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Limited kernel size for booting ?
Date: Tue, 19 Mar 2013 16:38:13 +0100 [thread overview]
Message-ID: <51488665.3010505@wanadoo.fr> (raw)
In-Reply-To: <514854E3.2070707@xenomai.org>
Really many thanks. This works like a charm.
I also add to hack into arch/arm/kernel/sleep.S,
because the "cpu_resume" is located in .data, and it had a 24bits jump
to cpu_do_resume
that could not be relocated and led to a linker error.
I have simply removed the line, because I am not insterested in cpu
suspend for my application anyway.
FYI, the freescale rel_imx_3.0.35_12.09.01 tag version of that file is
closed enough to
the committed patch for being taken as is.
Also, this is not related, but I have been a little confused by failing
attempts, because I had forgotten the "rootwait" bootarg,
which is mandatory with that kernel.
Cheers
Thierry
Le 19/03/2013 13:06, Gilles Chanteperdrix a écrit :
> On 03/19/2013 11:05 AM, Gilles Chanteperdrix wrote:
>
>> On 03/19/2013 09:57 AM, Thierry Bultel wrote:
>>
>>> Hi Gilles,
>>>
>>> First, I apologize for posting such a question that is sincerely not
>>> really related to xenomai.
>>> But I am using the kernel from ipipe-gch.git, branch ipipe-3.0-imx6q
>>>
>>> The issue I have is that it is not booting when using a really big
>>> built-in initramfs(about 60 Mo)
>>> It does not seem to reach "start_kernel", there is nomore log after
>>> Uboot says "Starting kernel"
>>>
>>> I have payed attention to address zones, and even tried to use an
>>> uncompressed kernel
>>> in the uImage container, to skip and discriminate the gzip phase. Same
>>> result.
>>>
>>> I do not have an operational Jtag probe yet, thus I only would like to
>>> get your opinion on
>>> this. To your mind, is this assumed to work ?
>>
>> No, the maximum size of initramfs is limited, you need to change the
>> linker script to put the initramfs at the end of the memory used by the
>> kernel, a patch exists to do that on the linux arm kernel mailing list
>> and has been merged in recent kernels.
>>
>>
>
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=3835d69a6c7048a28d0aea3cb8403d5e83a0f867
>
prev parent reply other threads:[~2013-03-19 15:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-19 8:57 [Xenomai] Limited kernel size for booting ? Thierry Bultel
2013-03-19 10:05 ` Gilles Chanteperdrix
2013-03-19 12:06 ` Gilles Chanteperdrix
2013-03-19 15:38 ` Thierry Bultel [this message]
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=51488665.3010505@wanadoo.fr \
--to=thierry.bultel@wanadoo.fr \
--cc=gilles.chanteperdrix@xenomai.org \
--cc=xenomai@xenomai.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.