mirror of
https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git
synced 2025-09-08 15:10:45 +02:00
Infos
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
```
|
Reference in New Issue
Block a user