diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2014-07-04 01:27:06 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-04 07:36:16 +0200 |
commit | 988ecf42691e101a35ecae83d26253e9590d14c6 (patch) | |
tree | 442997ce73181e1ece523607c69171d2b43ba326 /arch/mips/mach-malta | |
parent | 657f7eac3fb0f9d3541c21c3b56283c58eb25743 (diff) | |
download | barebox-988ecf42691e101a35ecae83d26253e9590d14c6.tar.gz barebox-988ecf42691e101a35ecae83d26253e9590d14c6.tar.xz |
MIPS: qemu-malta_defconfig: enable PCI & network stuff
qemu usage:
# ifconfig br0:1 172.20.0.1
# qemu-system-mips -nodefaults -nographic -M malta -m 256 \
-serial stdio -monitor null \
-bios ./barebox-flash-image \
-net nic,vlan=0,model=rtl8139 \
-net tap,vlan=0,script=net_br0.sh
...
barebox:/ eth0.ipaddr=172.20.0.2
barebox:/ eth0.serverip=172.20.0.1
barebox:/ ping 172.20.0.1
phy0: Link is up - 100/Full
host 172.20.0.1 is alive
barebox:/
Sample net_br0.sh (for connecting to br0 interface, so you can
connect barebox to your real network):
#!/bin/sh
brctl addif br0 $1
ifconfig $1 up
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/mach-malta')
0 files changed, 0 insertions, 0 deletions