-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.me
106 lines (81 loc) · 2.85 KB
/
README.me
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
NanoPI NEO
http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO
embedded Linux 5.11.2 _ musl native image 1Gb
https://drive.google.com/file/d/19s5KiI2sKwEWOq1tR6ug3npP2V8Y1PAC/view?usp=sharing
Support Can-module MCP2515 (can-utils), Alsa ,i2c .....
make sure you write to the card and not the hard drive ... !!
The letter instead of the X is very important
sudo dd if=sdcard.img of=/dev/sdX bs=1M ; sync;
sdX (sd_card)
----------------------
login : root
password : admin
user login : plk
password : admin
source for static cross- and native- musl-based toolchains
https://musl.cc/
armv7l-linux-musleabihf-native 20/02/2021
https://drive.google.com/file/d/1Av_5EBzpeLgX2UtKNu4NpnpGGmjpQy1R/view?usp=sharing
armv7l-linux-musleabihf-cross 20/02/2021
https://drive.google.com/file/d/1nkNJKoUlucLkpAf4NmJ61ecV2OW1vK1w/view?usp=sharing
https://musl.libc.org/
https://www.musl-libc.org/faq.html
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/armv7l-linux-musleabihf-native/bin/../libexec/gcc/armv7l-linux-musleabihf/10.2.1/lto-wrapper
Target: armv7l-linux-musleabihf
Configured with: ../src_gcc/configure
--enable-languages=c,c++,fortran
--with-float=hard CC='armv7l-linux-musleabihf-gcc -static
--static' CXX='armv7l-linux-musleabihf-g++ -static
--static' FC='armv7l-linux-musleabihf-gfortran -static
--static' CFLAGS='-g0 -O2 -fno-align-functions -fno-align-jumps -fno-align-loops -fno-align-labels' CXXFLAGS='-g0 -O2 -fno-align-functions -fno-align-jumps -fno-align-loops -fno-align-labels' FFLAGS='-g0 -O2 -fno-align-functions -fno-align-jumps -fno-align-loops -fno-align-labels' LDFLAGS='-s -static
--static'
--disable-bootstrap
--disable-assembly
--disable-werror
--target=armv7l-linux-musleabihf
--prefix= --libdir=/lib
--disable-multilib
--with-sysroot=/
--enable-tls
--disable-libmudflap
--disable-libsanitizer
--disable-gnu-indirect-function
--disable-libmpx
--enable-libstdcxx-time=rt
--enable-deterministic-archives
--enable-libstdcxx-time
--enable-libquadmath
--enable-libquadmath-support
--disable-decimal-float
--build=x86_64-pc-linux-gnu
--host=armv7l-linux-musleabihf 'CC_FOR_BUILD=cc -static
--static' 'CXX_FOR_BUILD=g++ -static --static'
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.2.1 20210116 (GCC)
CAN start
---
/etc/network/interfaces
auto can0
iface can0 inet manual
pre-up ip link set $IFACE type can bitrate 500000 restart-ms 100
up ip link set $IFACE up
down ip link set $IFACE down
systemd
---
can-setup.service
sudo cp can-setup.service /etc/systemd/system/
sudo chmod 644 /etc/systemd/system/can-setup.service
sudo systemctl daemon-reload
---
sudo systemctl start can-setup.service
sudo systemctl stop can-setup.service
---
auto-start
sudo systemctl enable can-setup.service
disabled auto-start
sudo systemctl disable can-setup.service