1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 19:23:01 +03:00
Commit Graph

27 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
de733ea6a5 xiaomi-lavender: Identify device for flashable zips 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
ca37afbf3c xiaomi-lavender: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
d062d8174e xiaomi-lavender: Enable ADB support 2021-01-27 22:16:55 -05:00
Samuel Dionne-Riel
69f1126ffc xiaomi-lavender: Set CONFIG_PANIC_TIMEOUT to 1 2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
6b2482578e xiaomi-lavender: drop unused kernelPatches argument 2020-10-02 19:49:12 -04:00
Samuel Dionne-Riel
9356bbd9aa xiaomi-lavender: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
63b1643a0d xiaomi-lavender: Clean kernel derivation 2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
1639060ab9 xiaomi-lavender: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
ab90426563 xiaomi-lavender: 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
d020fd3822 xiaomi-lavender: Fix header for docs inclusion 2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
4436184447 xiaomi-lavender: Fix device information 2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
2e8a553269 xiaomi-lavender: enable CONFIG_USB_RTL815* 2020-03-25 22:37:14 -04:00
Samuel Dionne-Riel
07a92043eb xiaomi-lavender: Describe it uses a discrete recovery partition 2020-03-02 14:02:05 -05:00
Samuel Dionne-Riel
a208267763 xiaomi-lavender: configure boot_as_recovery 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
c02373d322 xiaomi-lavender: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES 2020-02-03 21:58:22 -05:00
Samuel Dionne-Riel
bcda887e7a initrd-usb: ffs -> adb for ADB
It looks like it didn't matter for some device, but may be an issue for
`google-marlin`.

I'm not sure where the `ffs` feature name came from.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
37863126cd xiaomi-lavender: Specify gadgetfs 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
c25f89051c xiaomi-lavender: Document required USB configurations. 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
2da063466f xiaomi-lavender: Add useful notes 2019-12-03 20:37:47 -05:00
Samuel Dionne-Riel
f295dc1739 xiaomi-lavender: Remove console= argument
This broke things subtly in the initrd.

The argument came from an OEM image. It might not affect Android images,
but it affects our setup.

It looks like it breaks console redirection and such things. This, in
turn, breaks systemd-udevd, aborting with the following:

```
close_nointr(fd) != -EBADF' failed at src/basic/fd-util.c:71, function safe_close(). Aborting
```

In turn, what tipped me off is this dmesg message:

```
Warning: unable to open an initial console.
```

Though there is no certainty it is related.
2019-12-03 20:37:47 -05:00
Samuel Dionne-Riel
2b99b1d607 xiaomi-lavender: Enable USER_NS 2019-12-03 20:37:47 -05:00
Samuel Dionne-Riel
29f19019db xiaomi-lavender: Init the kernel 2019-12-03 20:37:47 -05:00
Samuel Dionne-Riel
18e392f1c9 xiaomi-lavender: Add the partition details 2019-12-03 20:37:07 -05:00
Samuel Dionne-Riel
c449acc344 xiaomi-lavender: Init the device 2019-12-03 20:37:00 -05:00