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

Reduce size of kernel for motorola-addison + fixups #64

Merged
merged 3 commits into from
Dec 6, 2019

Commits on Dec 4, 2019

  1. motorola-addison: Remove console= argument

    Ah! It looks like this is not a constant, but a common failure mode
    among android-based devices!
    
    In dmesg:
    
    ```
    Warning: unable to open an initial console.
    ```
    
    Simply removing the `console=` fixes the console.
    
    See f295dc1 for a similar instance of
    the issue.
    samueldr committed Dec 4, 2019
    Configuration menu
    Copy the full SHA
    ef09e30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ab4dac View commit details
    Browse the repository at this point in the history
  3. motorola-addison: Reduce size of the kernel

    The patches added here are required to build under some conditions, but
    not all are ended up needed as CONFIG_DEBUG_FS is required to be active
    otherwise the kernel doesn't even boot :/
    
    The kernel size was reduced by:
    
     * Removing tracing support
     * Removing unneeded exfat and sdcardfs filesystems
     * Removing all sound support
     * Removing video input (camera) support
    
    The latter options seem awfully shortsighted, until you remember that a goal is
    to eventually deal with booting our own kernels through kexec.
    
    The Moto Z Play device's boot partition size is putting us in a hard
    spot.
    samueldr committed Dec 4, 2019
    Configuration menu
    Copy the full SHA
    4c11bf2 View commit details
    Browse the repository at this point in the history