1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-18 13:31:36 +03:00
Commit Graph

11 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
86d08e3da2 motorola-addison: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
ccd3a542fc motorola-addison: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
302ffc43ee motorola-addison: Pass postPatch as argument rather than override 2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
4c11bf2c50 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.
2019-12-04 17:39:46 -05:00
Samuel Dionne-Riel
c1acf97334 system-target: reviews implementation
Since the initial implementation I learned enough to know where it was
slighly wrong. I think this fixes most of the slight wrongness.
2019-09-19 15:31:26 -04:00
Samuel Dionne-Riel
672ae44cb6 motorola-addison: Adds hybrid build...
By overriding the system.platform attribute, motorola-addison can be
built for armv7l.
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
eefad16870 motorola-addison: use kernel builder 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
2a4bc7fa6a Fixes bootimg builds for the existing qcdt devices 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
9d703de07e Fixes cross-compilation issues...
Though not in a nice manner, I'd like to know why I have to fiddle with
`system`.
2018-11-18 21:45:01 -05:00
Samuel Dionne-Riel
f5b77929c8 WIP motorola-addison: use lineageos tree...
... the real reason is that I need to figure out why the sd card isn't
detected. Figured that trying a less "random" tree could help figure
things out, though it doesn't help.

At least, the build seems consistent with either versions.

The config changes are also to try to "fix" things, while in reality
they don't seem to do anything useful.
2018-11-18 21:36:01 -05:00
Samuel Dionne-Riel
5624723bab Adds motorola-addison device. 2018-11-17 18:25:49 -05:00