1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-08 15:10:45 +02:00
This commit is contained in:
Elias Kotlyar
2017-11-01 22:58:45 +01:00
parent 8af4f35d94
commit 65f09b2013

View File

@@ -1,4 +1,4 @@
## Crosscompile for the Dafang
## Infos
## Some Information about the System:
```
@@ -26,3 +26,34 @@ Serial : 00000000 00000000 00000000 00000000
Attention:
It is a little-Endian System
```
Here is a
```
Add Sensor:
insmod /driver/sensor_jxf22.ko data_interface=2 pwdn_gpio=-1 reset_gpio=18 sensor_gpio_func=0
Insmod Motor:
hmaxstep = 2600
hmotor2vmotor = 1
vmaxstep = 700
Get Info about the Sensor:
echo 1 >/proc/jz/sinfo/info
echo 100 > /proc/sys/vm/swappiness
echo 16777216 > /sys/block/zram0/disksize
mkswap /dev/zram0
swapon /dev/zram0
```