[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] boa on uClinux
Has anyone successfully run boa on uClinux?
I used the Xilinx EDK 8.1.02i Base System Builder tutorial and then added an EMAC also during the BSB process to generate the hardware platform for Xilinx' ML403 evaluation board. At first experienced a problem where the first ping would succeed and subsequent pings would time out. Reverting the EMAC core in the .mhs from
1.04a back 1.02a:
BEGIN opb_ethernet
PARAMETER INSTANCE = Ethernet_MAC
#PARAMETER HW_VER = 1.04.a
PARAMETER HW_VER = 1.02.a
and the driver in the .mss from 1.01a to 1.00f:
BEGIN DRIVER
PARAMETER DRIVER_NAME = emac
# PARAMETER DRIVER_VER = 1.01.a
PARAMETER DRIVER_VER = 1.00.f
PARAMETER HW_INSTANCE = Ethernet_MAC
END
Solved the strange ping problem... so I could ping continuously without any difficulty.
Next I set up boa. I modified the example boa.conf and copied the example mime.types file from uClinux/uClinux-dist/user/boa/examples. Using an NFS mount I copied these files to /var on the uClinux system. In /var/ I also created subdirectories /log/boa and all the log files that
boa.conf listed. I also created a simple index.html and stored it in /var. I start boa with "boa -c /var &."
If I use a machine on the same network to try and access a webpage from boa on uClinux, the webpage is retrieved and presented as raw text - but uClinux crashes immediately afterward. I can no longer input to the uClinux shell, no further output is displayed (although one time out of about 30 crashes, this message was displayed:
# Warning: kfree_skb passed an skb still on a list (from 24367114).
kernel BUG at skbuff.c:331!
uClinux also does not respond to any more pings immediately after the webpage is requested.
Also one time out of my many attempts, I was able to load a page from boa without it crashing uClinux. However, the next page I tried to load DID crash it.
Has anyone experienced anything like this?
Jim Snyder