-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathnotes.txt
39 lines (20 loc) · 800 Bytes
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Compiling:
make clean && make all && make commands
Open a terminal:
pyserial-miniterm /dev/ttyUSB0 38400
Load the kernel across serial:
python3 tools/load.py kernel.load
Send a command:
python3 tools/load.py -l src/commands/daemontest.send
(the -l optionally limits the speed, but flow control works, so it shouldn't be necessary anymore)
Enable SLIP on linux:
sudo slattach -s 38400 -p slip /dev/ttyUSB1
sudo ifconfig sl0 192.168.1.2 pointopoint 192.168.1.200 up
// (this is automatically added on my machine) >> sudo route add -host 192.168.1.200 sl0
sudo arp -Ds 192.168.1.200 enp3s0 pub
sudo iptables -A FORWARD -i sl0 -j ACCEPT
sudo iptables -A FORWARD -o sl0 -j ACCEPT
sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
From the Monitor:
To Boot from flash/ata0:
boot 20000