[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] mb_vanilla can't run kernel image
Hi Aaron,
Aaron Rasmussen wrote:
> We have built a uClinux image.bin using straight defaults and tried to
> run it, but the kernel is not able to boot fully. It quits in slightly
> different states, so we're having trouble traking down the problem. A
> few questions:
Is this a stock standard mbvanilla_net on an Insight v2mb1000 board? Or
have you ported it across to a new board?
Also, just make sure your kernel tree is up to date with CVS, and you've
applied at least the critical patch from the website. Ensure you have
the latest toolchain as well.
> 1) The last few lines of output before crashing are:
>
> Command: mount -t proc proc /proc
> Command: mount -t ext2 /dev/ram0 /var
> Command: mount -t ext2 /dev/ram1 /usr
> Command: portmap &
> [17]
> Command: mkdir /var/tmp
>
> It sometimes stops here, and sometimes prints out "Unable to read
> code+data+bss, errno 12"
> It seems to have trouble with the filesystem/memory map. Could this be
> caused by a bad DRAM configuration?
I'm really not sure - I'm running a stock mbvanilla_net platform here,
just pulled a fresh dist and kernel, applied the critical dist patch,
selected mbvanila_net as the platform, built and booted with nothing
like this....
So, I'd try doing a make distclean, rerun the configuration menu, select
mbbvanilla_net, no other options, try building and booting that.
If you are using an insight board, this should work straight out of the
box. If not, then it means theres still a little more work to be done
on your port.
What are the specs of your board again?
> 2) Is there any documentation somewhere that describes dependancies for
> the various kernel modules? We would like to cut out as much as
> possible, but don't want to break anything (that's not already broken... :)
Not sure - try asking on the uclinux-dev mailing list.
> 3) We are interested in setting up either boa or thttpd to build a
> simple web interface for our project (an MP3 player). Has anyone set up
> a web server on the Microblaze that can be accessed via a crossover
> cable from a PC? Also, does anyone have any advice on how to set up the
> web server on the microblaze? For example, where do you put
> configuration/html files, and how do you collect posted data from the
> client side, cgi, php etc..?
I run a webserver on my microblaze board everyday - the defacto server
in uClinux is called boa. Enable it in the user/vendor config (under
network apps), then off you go. Search the uclinux-dev archives for
info on where it expects its files to live etc. google for "boa
embedded webserver" and you'll find the boa homepages that will tell you
a lot as well.
In the user/vendor menu (miscellaneous) are some options for some test
cgi programs and so on.
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/