From: Cuong Dang Phu <cuongdp@Cybersoft-VN.com>
To: linux-sh@vger.kernel.org
Subject: Booting kernel problem !
Date: Mon, 13 Oct 2008 04:18:20 +0000 [thread overview]
Message-ID: <loom.20081013T035846-303@post.gmane.org> (raw)
Hi,
I'm having a problem when booting Linux kernel on sh7727, this is what I did:
Kernel start booting with head.s:
[/linux-2.6.22.11/arch/sh/boot/compressed/head.s]
…
/* Set the initial pointer. */
mov.l init_stack_addr, r0
mov.l @r0, r15
/* Decompress the kernel */
mov.l decompress_kernel_addr, r0
jsr @r0
nop
…
And jump to “decompress_kernel”:
[/linux-2.6.22.11/arch/sh/boot/compressed/misc.c]
…
void decompress_kernel(void)
{
output_data = 0;
output_ptr = P2SEGADDR((unsigned long)&_text+PAGE_SIZE);
free_mem_ptr = (unsigned long)&_end;
free_mem_end_ptr = free_mem_ptr + HEAP_SIZE;
makecrc();
puts("Uncompressing Linux... ");
gunzip();
puts("Ok, booting the kernel.\n");
}
…
And it crash when execute “makecrc();”
I don’t why it crash here, could you give me you ideas,
Best regards
next reply other threads:[~2008-10-13 4:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-13 4:18 Cuong Dang Phu [this message]
2008-10-13 13:13 ` Booting kernel problem ! Paul Mundt
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=loom.20081013T035846-303@post.gmane.org \
--to=cuongdp@cybersoft-vn.com \
--cc=linux-sh@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox