Skip to content

LydiaSevelt/cyberdeck_rpi_boot_logo_kernels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cyberdeck_rpi_boot_logo_kernels

Updated to be a script that builds the kernel(s) on the raspberry pi since precompiled binaries tend to become out of date quickly. This is slower bit it's also a lot more flexible.

Raspbian kernels are built for every ppm file in the cyberdeck_rpi_boot_logo_kernels/deck_logos/ directory.

NOTE It is recommended that you clone with repo with:
git clone --depth=1 https://github.com/LydiaSevelt/cyberdeck_rpi_boot_logo_kernels.git
As otherwise you pull old binaries and tarballs that are no longer needed and will do nothing but waste space.

Adding or subtracting logos

Subtracting logos are as simple as removing them from the directory.

To add files they must be in the proper format.

  1. Take your image(s) and make then 80x80 pixels, then export them into the PPM RAW file format (Gimp supports this)

  2. Install the netpbm package: sudo apt-get install netpbm

  3. Reduce the number of colors to 224: ppmquant 224 deck_logo.ppm > deck_logo_224.ppm

  4. Convert the format to PPM ASCII: pnmnoraw deck_logo_224.ppm > deck_logo_ascii_224.ppm

  5. Place your logo(s) into the cyberdeck_rpi_boot_logo_kernels/deck_logos/ so that the script will build a kernel for that logo and add it to the randomized rotation.

Using the build script

!!Warning!! This script is barely tested and has almost no error checking, hey it works for me.

You probably want to fully update your raspbian image before running this with: sudo apt-get dist-upgrade

  1. cd into the cyberdeck_rpi_boot_logo_kernels directory

  2. run the build_kernels.sh script with sudo: sudo ./build_kernels.sh

  3. Wait.

That should be it!

Updating for newer kernels

There are two options, you can either cd into the linux directory where the sources were pulled and do a "git pull" to pull the most recent version, or you can delete the linux directory to have a fresh copied pulled.

Option 1:

  1. cd cyberdeck_rpi_boot_logo_kernels/linux

  2. git pull

Option 2:

  1. rm -rf cyberdeck_rpi_boot_logo_kernels/linux

  2. Follow the instructions under "Using the build script" above to just re-run the build_kernels.sh script

About

Raspbian image kernels built with cyberdeck logos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages