blob: 33a9be2500007b1df29d5fdd4818894d8d3bf935 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
sleep 1
/sbin/modprobe c_can_platform
/sbin/modprobe can-raw
sleep 1
/sbin/ip link set can0 down
/sbin/ip link set can0 type can tq 1500 prop-seg 2 phase-seg1 1 phase-seg2 2 sjw 1
# /sbin/ip link set can0 type can bitrate 111111
/sbin/ip link set can0 type can restart-ms 100 listen-only off berr-reporting on
/sbin/ip link set can0 promisc on up
sleep 1
exec /root/spaceautomation/cethcan/cethcan
|