1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-16 11:43:21 +03:00
Commit Graph

14 Commits

Author SHA1 Message Date
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