Hi,
I am trying to set up the network on a Renesas SystemH-AMANDA with QNX
6.2.1B (also tried with A, without the Power Management supplement). The
network chipset is a SMC91c110, as mentioned in your documentation. I
installed the IPL in flash, and QNX runs fine, until I try setting up the
network. I don’t use the Amanda board yet, because and I want to set up the
SystemH engine properly before.
First, when I tried to start io-net either from the console or the boot
script, it froze after a little while. Before freezing, it shows the
following driver info.
SMC9000
Vendor … 0x0
Device … 0x9
Revision … 0x0
I/O port base … 0x13010300
Interrupt … 0x7
MAC address … 000002 821c55
To start io-net, I used the command as defined the “Getting the OS
Running…” section of the systemH-ASB BSP documents to which I added the
verbose flag and modified the mac address.
io-net -dsmc9000 mac=000002821c55,ioport=0x13010300,irq=7,verbose=1 &
Then I tried the same command without setting the irq, it takes the irq 2
and it doesn’t freeze anymore.
SMC9000
Vendor … 0x0
Device … 0x9
Revision … 0x0
I/O port base … 0x13010300
Interrupt … 0x2
MAC address … 000002 821c55
Then, I (try to) set up the interface using the following commands…
- mount -T io-net npm-tcpip.so
- ifconfig en0 10.1.0.226
- route add default 10.1.0.1 — to add our default gateway
- ping 10.1.0.1 — fails to find the gateway, I tried with other hosts and
it didn’t work either…
Everyting is connected properly and the gateway is running, I ping it from
other hosts on the same network. One thing I am not sure of is how to set
the MAC address properly. MAC addresses aren’t supposed to be written in the
chipset ? I set up the Sandpoint PPC eval board the same way before this
one, so I assumed it would be as easy to do but it doesn’t seem like it…
Here is my build file, I barely modified the default version from the BSP.
[image=0x8c010000]
[virtual=shle/binary +compress] .bootstrap = {
uncomment for SH7751 support
#startup-systemh -Dscif -v
uncomment for SH7751R support
startup-systemh -Dscif…57600.47923200.16 -f234000000 -v
PATH=/proc/boot procnto -v
}
[+script] .script = {
procmgr_symlink …/…/proc/boot/libc.so.2 /usr/lib/ldqnx.so.2
uncomment for SH7751 support
#devc-sersci -b57600 -c 41670000/16 -e scif &
uncomment for SH7751R support
devc-sersci -b57600 -c 47923200/16 -e scif &
reopen
display_msg Welcome to Neutrino on SystemH
slogger &
SYSNAME=nto
TERM=qansi
LD_LIBRARY_PATH=/proc/boot
#io-net -dsmc9000 mac=000002821c55,ioport=0x13010300,verbose=1 &
[+session] PATH=:/proc/boot sh &
}
[type=link] /dev/console=/dev/ser1
[type=link] /tmp=/dev/shmem
libc.so.2
libsocket.so
devn-smc9000.so
npm-ttcpip.so
npm-tcpip.so
npm-qnet.so
[data=c]
slogger
sloginfo
devc-sersci
sh=esh
pidin
ls
io-net
ping
slay
mount
ifconfig
route
I am a little confused about some parts of the documentation also. In the
Step 8, in the instructions to load an OS image using the qconn target
agent, point 11 tells us to add the npm-tcpip.so dll and then, in 14 the
io-net is started with ttcpip ?
Anyway, my main problem now is the network interface…
Regards,
Marc Labbé