---
name: "fblogo_patch"
section: "1"
platform: "linux"
package: "fblogo"
version: "0.5.1-2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/fblogo_patch"
---

# fblogo\_patch(1)

Generate a kernel patch using a kernel source tree and a custom logo header

## NAME

fblogo\_patch - Generate a kernel patch using a kernel source tree and a custom logo header

## SYNOPSIS

**fblogo\_patch** *logo-header* *path-to-linux-source* \[*width* *height*\]

## DESCRIPTION

**fblogo\_patch** takes a logo header file, the linux source tree, and dimensions of the logo, and sends a reusable diff to patch the kernel tree with to stdout. No manual editing in the kernel sources is therefor required (e.g. editing fbcon.c)

## OPTIONS

- **logo-header**

  Your custom logo header file

- **path-to-linux-source**

  Path to your kernel source tree, e.g. /usr/src/linux

- **width**

  Width in pixels of the logo image

- **height**

  Height in pixels of the logo image

- If width and height are omitted, fblogo\_patch will try to detect these values from the specified header file, which will only work if the header was created by fblogo. This feature is still experimental though, and will likely fail.

  ## USAGE

First generate a header file using [**fblogo**(1)](/fblogo/1.md), which will also tell you the image's dimensions in case you don't know them. Using this new header file and it's dimensions, call fblogo\_patch: (Assuming your kernel sources are to be found in /usr/src/linux, and you just created a linux\_logo.h using an image of 300x80 size)

- **fblogo\_patch linux\_logo.h /usr/src/linux 300 80 \> mylogo.patch**

  ## SEE ALSO

[**fblogo**(1)](/fblogo/1.md)

## AUTHOR

fblogo\_patch was written by Gordon Fraser \<gordon@debian.org\>. It is licensed under the terms of the GNU  General Public License.
