1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-14 18:21:41 +03:00
Commit Graph

23 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
84cb903ec7 motorola-addison: Use the fb notify quirk 2020-05-31 02:29:23 -04:00
Samuel Dionne-Riel
1a4d5a90dc motorola-addison: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
5ce9b7977d motorola-addison: Fix build using new options 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
ef141f83c2 devices: Drop kernel_cmdline in favour to boot.kernelParams 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
4396ee43ee devices: Use new device identity options 2020-05-23 17:27:57 -04:00
Samuel Dionne-Riel
4408bc2ead devices: Drop unused device information
This is the first step in actually dropping all device information.
2020-05-23 17:10:54 -04:00
Samuel Dionne-Riel
c19eff7310 motorola-addison: Fix device information 2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
073259763c motorola-addison: enable CONFIG_USB_RTL815* 2020-03-25 22:36:51 -04:00
Samuel Dionne-Riel
9542050705 motorola-addison: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES 2020-02-03 21:58:22 -05:00
Samuel Dionne-Riel
c0497d2d84 motorola-addison: Document USB settings 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
ba1a8e2469 motorola-addison: Re-enable disabled modules to fix usb gadget
The android_usb driver somehow doesn't fail to build even though those
drivers are required to be enabled for the driver to work. Sigh.
2020-01-25 19:42:48 -05: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
2ab4dac55f motorola-addison: Add partitions information 2019-12-04 17:29:00 -05:00
Samuel Dionne-Riel
ef09e30679 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 f295dc1739 for a similar instance of
the issue.
2019-12-04 17:29:00 -05:00
Samuel Dionne-Riel
8c8d48c7c7 devices: Renames system type to android
Crossing fingers that this'll be enough.
2019-09-21 22:42:41 -04: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
ec34370450 motorola-addison: Sync config.aarch64 2019-06-09 22:16:43 -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