Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

/bin/init hangs

hi all,

I am trying to boot uclinux on 2s60 board. where my kernel is hanging

moment it calls /bin/init. I have build uclinux with changed memory layout

where base addresses and irq number differs then default memory layout .sof and .ptf files

given by microtronix. Also I have remover support for compact flash in my case.

I can boot uclinux build from microtronix .sof and .ptf file on the board with similarly

generated file system. I tried "root=/dev/mtdblock0 ro" as well as nfs boot with root=/dev/nfs ro,

and seems fine (nfs boot init gives error with init: execv failed, but get login and prompt ok) .

But when I give my memory layout sof and ptf file the compilation is successful but kernel

get hangs when he calls /bin/init.

Any one has any idea why it is happing so???

Do I need to build new busybox ???

Is it not possible to boot uclinux with custom memory layout on Altera boards ??

Do I need to change my quartus-II 4.2 and nios-II 1.1 versions ???

Any suggestion where I am going wrong ???

If any one need I can post my sof, ptf and nios2_system.h files.

thanks in advance

Ankur

13 Replies