320 warps, 1 thread each | 10 warps, 32 threads each |
---|---|
? | ? |
320 warps, 1 thread each | 10 warps, 32 threads each |
---|---|
✓ | ✘ |
/dts-v1/;
/ {
model = "semu";
aliases {
serial0 = "/soc/serial@4000000";
};
chosen {
bootargs = "earlycon console=ttyS0";
stdout-path = "serial0";
linux,initrd-start = <0x1f700000>; /* @403 MiB (503 * 1024 * 1024) \*/
linux,initrd-end = <0x1fefffff>; /* @511 MiB (511 * 1024 * 1024 - 1) */
};
cpus {
timebase-frequency = <65000000>;
cpu0: cpu@0 {
device_type = "cpu";
compatible = "riscv";
reg = <0>;
riscv,isa = "rv32ima";
mmu-type = "riscv,rv32";
cpu0_intc: interrupt-controller {
interrupt-controller;
compatible = "riscv,cpu-intc";
};
};
};
sram: memory@0 {
device_type = "memory";
reg = <0x00000000 0x20000000>;
reg-names = "sram0";
};
soc {
compatible = "simple-bus";
ranges = <0x0 0xF0000000 0x10000000>;
interrupt-parent = <&plic0>;
plic0: interrupt-controller@0 {
compatible = "sifive,plic-1.0.0";
reg = <0x0000000 0x4000000>;
interrupt-controller;
interrupts-extended = <&cpu0_intc 9>;
riscv,ndev = <31>;
};
serial@4000000 {
compatible = "ns16550";
reg = <0x4000000 0x100000>;
interrupts = <1>;
no-loopback-test;
clock-frequency = <5000000>; /* the baudrate divisor is ignored */
};
net0: virtio@4100000 {
compatible = "virtio,mmio";
reg = <0x4100000 0x100000>;
interrupts = <2>;
};
};
};
dduka@dduka-mlt: iptables -A INPUT -p tcp --dport 4000
--tcp-flags RST RST -j DROP
printf "Starting network: \n"
ifconfig eth0 192.168.0.113 netmask 255.255.255.0
hw ether 34:6f:24:4a:95:53 up
printf "ifconfig info: \n"
printf "$(ifconfig)"
printf "\n---------------------------\n"
printf "Updating ARP entry for 192.168.0.112\n"
arp -s 192.168.0.112 33:6f:24:4a:95:53
iptables -t raw -A PREROUTING -p tcp -j TRACE
iptables -t raw -A OUTPUT -p tcp -j TRACE
iptables -t raw -A PREROUTING -p tcp -j TRACE
iptables -t raw -A OUTPUT -p tcp -j TRACE
iptables -t raw -A PREROUTING -p tcp -j TRACE
iptables -t raw -A OUTPUT -p tcp -j TRACE
printf "Starting network: \n"
ifconfig eth0 192.168.0.113 netmask 255.255.255.0
hw ether 34:6f:24:4a:95:53 up
printf "ifconfig info: \n"
printf "$(ifconfig)"
printf "\n---------------------------\n"
printf "Updating ARP entry for 192.168.0.112\n"
arp -s 192.168.0.112 33:6f:24:4a:95:53
printf "Adding default route\n"
route add default gw 192.168.0.1 dev eth0