Skip to content

This is a script to build a custom raspberry pi kernel, including a kernel patch to fix dwc2 wakeup issue.

License

Notifications You must be signed in to change notification settings

aidatorajiro/rpizero-linux-build

Repository files navigation

Raspberry pi zero kernel build tool & other scripts

This is a script to build a custom raspberry pi kernel, including a kernel patch to fix dwc2 wakeup issue.

Also, the directory raspi_scripts contains utilities to setup HID keyboard, RNDIS or ECM. Using a python library by @Danny-Dasilva (https://github.com/Danny-Dasilva/Py_Keyboard)

Patch reference: https://github.com/pikvm/packages/blob/master/packages/linux-rpi-pikvm/1003-remote-wakeup.patch raspberrypi/linux#3977 http://www.dt8.jp/cgi-bin/adiary/adiary.cgi/0583

  1. sh download.sh
  2. sh docker.sh
  3. (inside docker) cd /rpizero-linux-build
  4. (inside docker) sh build.sh
  5. (if necessary change permission to user) sh perm.sh
  6. (inside docker) exit
  7. sh pack.sh
  8. sh packsend.sh

Adjust names.sh to configure hostname and username for ssh connection, or customize kernel name.

known issues

although without the dwc2 patch /root/remove.sh works, with dwc2 patch it does not work. anyway its safer to restart the system when you change usb config.

About

This is a script to build a custom raspberry pi kernel, including a kernel patch to fix dwc2 wakeup issue.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published