Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion recipes/additional-devices.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,20 @@ To enable it execute this command as `root`:
enable_dtoverlay eth1 ethernet@ff550000 okay
```

This will enable `eth1` till next reboot. If you want to make it permamently consider adding this line to `/etc/rc.local` or other file that is executed on boot.
This will enable `eth1` till next reboot. If you want to make it permamently execute this commands as `root`:

### on SD card
```
fdtoverlay -i `ls /boot/dtb-*` -o /root/dtb-eth1 /sys/kernel/config/device-tree/overlays/eth1/dtbo
mv /root/dtb `ls /boot/dtb-*`
dtc -I dtb -O dts `ls /boot/dtb-*` > `ls /boot/dts-*`
```

### on eMMC
```
fdtoverlay -i /boot/dtbs/4.4.132-1075-rockchip-ayufan-ga83beded8524/rockchip/rk3328-rock64.dtb -o /root/dtb-eth1 /sys/kernel/config/device-tree/overlays/eth1/dtbo
mv /root/dtb-eth1 /boot/dtbs/4.4.132-1075-rockchip-ayufan-ga83beded8524/rockchip/rk3328-rock64.dtb
```

## Help wanted

Expand Down