Hi Ryan,
1. If I have to close the model from inside, what is the command? (So that don't have to do Ctrl+C from the launch window.
I have tried the following two networking options (nat and bridged):
2. With the following launch command (networking option used bridged):
./Foundation_v8 --image img-foundation.axf --block-device vexpress64-openembedded_lamp-armv8-gcc-4.8_20140126-59g --network=bridged --network-bridge=eth0
I get the following on the model:
root@genericarmv8:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:02:F7:EF:20:B3
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:195 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:62094 (60.6 KiB)
Interrupt:47 Base address:0x2000 DMA chan:ff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:784 (784.0 B) TX bytes:784 (784.0 B)
root@genericarmv8:~#
This doesn't help, there is no ip address. Could not find anywhere what value should be used for flag network-bridge. Is eth0 correct?
The website mentions default is ARM0, don't know what does that mean.
3. With the following command (networking option used nat):
./Foundation_v8 --image img-foundation.axf --block-device vexpress64-openembedded_lamp-armv8-gcc-4.8_20140126-596.img --network=nat --network-nat-ports=8022=22
I get the following on the model:
root@genericarmv8:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:02:F7:EF:20:B3
inet addr:172.20.51.1 Bcast:172.20.51.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:646 (646.0 B) TX bytes:4788 (4.6 KiB)
Interrupt:47 Base address:0x2000 DMA chan:ff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:784 (784.0 B) TX bytes:784 (784.0 B)
root@genericarmv8:~#
This doesn't help either. I can't ping anywhere to the outside world, not even to the host itself. And "ssh
root@172.20.51.1" doesn't work from the host (outside the model).
But surprisingly wget works. Here the value of "network-nat-ports", i.e. 8022=22 is provided in the document.
I don't know what is it in the instructions that I missing. I am not a networking expert at all, so it is actually too much work figuring out all these details just to be able to use the model.
Could you please let me know the set of commands you use to launch the model so that you can ping outside world and also do ssh to the model.
Thanks and regards,
Anil