Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

properly enable eth1 across reboots #363

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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