Re: Problem about porting mips kernel

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

 



I carefully check the codes of TLB, but no any problem found.
And I debug my kernel, I found that before init task jump into application, it means after do_execve, sp is 0. it is for __strnlen_user_asm function return invalid result. And I done a little change(only for test), the system stop after ret_from_syscall. In normal, it should jump to user space to execute user task.
before ret_from_syscall, the start_thread arguments is:"elf_entry:0x2aaa8a00,user_sp is:0x7fff7f40,cp0_status is:0x200cc13".I determine that the arguments are correct. But why my application cann't run at all?
> these days, I am busy with porting mips kernel to a board with vr4131
> core. This board has only SIU serial port, and some hw have been
modified.
> Now, I have ported the kernel to it, and modified hw run well. But so
> puzzling me, the execution file cann't run at all. If some one can help
me
> or give some advices. I have been crazy for the problem. Off hat for
your
> help. Thanks a lot.
> btw, I use the ramdisk with busybox.

In general this kind of problem means the tlb or cache code for a
particular
platform is faulty or the kernel not configured properly.

  Ralf

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux