public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* Booting kernel problem !
@ 2008-10-13  4:18 Cuong Dang Phu
  2008-10-13 13:13 ` Paul Mundt
  0 siblings, 1 reply; 2+ messages in thread
From: Cuong Dang Phu @ 2008-10-13  4:18 UTC (permalink / raw)
  To: linux-sh

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-13 13:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-13  4:18 Booting kernel problem ! Cuong Dang Phu
2008-10-13 13:13 ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox