Samuel Dionne-Riel
fb3dbeb667
sony-pioneer: kernel config: Enabled DT_OVERLAY option
...
This one is important as, contrary to what the name sounds like, it
builds the full device tree with the kernel, rather than rely on
on-device overlays.
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
14a161b43e
sony-pioneer: kernel config: Enabled DEVTMPFS options
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
4bbd72e180
sony-pioneer: kernel config: Enabled missing _NS options
...
(As with xiaomi-lavender)
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
e5c530dca2
sony-pioneer: kernel config: Enabled SYSVIPC options
...
(As with xiaomi-lavender)
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
a67d6a9387
sony-pioneer: kernel-config: Configure to ignore skip_initramfs
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
815d8536ae
sony-pioneer: kernel config: "fix" version name
...
We do not add LOCALVERSION to the kernels.
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
4c8d5ddc09
sony-pioneer: Normalized config for LinageOS' fork
...
Otherwise untouched from OEM config.
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
e04354f6f9
sony-pioneer: Add kernel derivation based on xiaomi-lavender
...
Same SoC, same kernel version, most likely will work better that way
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
96b5a3dda8
sony-pioneer: Import autoport data
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
03762a409b
Merge pull request #196 from samueldr-wip/feature/motorola-addison/upgrades
...
motorola-addison: Build firmware and enable wcnss
2020-08-22 21:35:47 -04:00
Samuel Dionne-Riel
9e438bf3b2
motorola-addison: Compress initrd with xz
...
This makes it go from ~7MiB to ~5MiB, which ends up fitting in the boot
partition.
2020-08-22 21:28:14 -04:00
Samuel Dionne-Riel
d3eb1f813e
motorola-addison: Enable XZ initrd for kernel
...
(And normalize kernel config)
2020-08-22 21:28:14 -04:00
Samuel Dionne-Riel
509cdbe2f3
motorola-addison: Build firmware and enable wcnss
2020-08-20 16:30:54 -04:00
Samuel Dionne-Riel
b679eb93fd
Merge pull request #193 from samueldr-wip/update/pinephone/2020-08
...
pine64-pinephone-braveheart: August 2020 updates
2020-08-20 15:17:53 -04:00
Samuel Dionne-Riel
73f8f13a7d
pine64-pinephone-braveheart: Add missing kernel options
...
Some of those are required for the NixOS firewall.
This is more than strictly necessary. What was enabled is what was a
module in the default NixOS config.
2020-08-17 01:13:28 -04:00
Samuel Dionne-Riel
47a37a9c22
pine64-pinephone-braveheart: linux 5.7 -> 5.8
...
This is using the patchset from the previous 5.7 kernel, applied and
lightly massaged to work with 5.8
2020-08-15 00:25:15 -04:00
@noneucat
a94f820bc5
pine64-pinephone-braveheart: Fix LED patch for 5.7
2020-08-15 00:25:15 -04:00
@noneucat
de00c9f452
pine64-pinephone-braveheart: linux 5.5 -> 5.7
2020-08-15 00:25:15 -04:00
@noneucat
681245bbab
pine64-pinephone-braveheart: New kernel config from 5.7
2020-08-15 00:25:15 -04:00
@noneucat
38a85860f9
pine64-pinephone-braveheart: Power off EG25 during boot
2020-08-15 00:25:15 -04:00
Samuel Dionne-Riel
64cb6ec46f
pine64-pinephone-braveheart: u-boot: * -> 2020.07 + patches
...
This way we're building with a limited change set, compared to using a
full-blown fork.
In theory the chosen change set gives us the ability to use the Crust
alternative firmware.
* https://github.com/crust-firmware/
2020-08-15 00:25:05 -04:00
Samuel Dionne-Riel
e5dbfb681d
asus-dumo: Add device-specific notes
2020-08-14 21:03:26 -04:00
Samuel Dionne-Riel
158d7057c7
asus-dumo: Drop loglevel from the kernel command line
2020-08-14 20:59:23 -04:00
Samuel Dionne-Riel
49d462a75d
asus-dumo: kernel 5.7 -> 5.8
...
With a patch to work around a regression with sbs-battery
2020-08-14 20:59:23 -04:00
Samuel Dionne-Riel
058d1b7f2d
google-walleye: kernel 4.4.208 -> 4.4.230
...
As described in 60ebbb50eaf75daa8bf68f062b1754a7a4e0fae0,
CONFIG_MSM_KERNEL_PROTECT is conflicting with added downstream features.
2020-07-28 00:39:46 -04:00
Samuel Dionne-Riel
6747f104a3
asus-x018d: Fix hash
...
https://hydra.nixos.org/build/123671200/nixlog/4
2020-07-07 18:47:02 -04:00
Samuel Dionne-Riel
51e7b891ff
asus-x018d: Add default-trigger
implementation with default
2020-06-29 01:15:48 -04:00
Samuel Dionne-Riel
9db6d4db21
asus-x018d: Add the logo centering patch
2020-06-28 23:54:14 -04:00
Samuel Dionne-Riel
ba2d7afb89
asus-x018d: Add device tree identifiers
2020-06-28 23:54:14 -04:00
Samuel Dionne-Riel
0e1d6c974b
asus-x018d: Add kernel
2020-06-28 23:54:14 -04:00
Samuel Dionne-Riel
6af383b2b4
asus-x018d: Init new device
2020-06-28 23:54:14 -04:00
Samuel Dionne-Riel
6e00fa0eee
xiaomi-begonia: LED now defaults to on
2020-06-27 21:42:53 -04:00
Samuel Dionne-Riel
7eee77e797
xiaomi-begonia: Backport kernel logo centering patches
2020-06-27 21:42:53 -04:00
Samuel Dionne-Riel
bcb1037446
xiaomi-begonia: mtkfb: Default to RGB order
2020-06-27 21:42:53 -04:00
Samuel Dionne-Riel
64684c34f8
xiaomi-begonia: Add kernel
2020-06-27 21:42:53 -04:00
Samuel Dionne-Riel
ccc4e5bea1
xiaomi-begonia: Init new device
2020-06-26 22:51:39 -04:00
Samuel Dionne-Riel
d41b3750fd
pine64-pinephone-braveheart: Add firmware package
...
The firmware is limited to bluetooth only, nothing else (for now)
requires a discrete firmware file.
It looks like the touchscreen can get one, but it is not required, and
seemingly no one provides one.
2020-06-11 19:11:17 -04:00
Samuel Dionne-Riel
f68c78cacb
Merge pull request #158 from samueldr-wip/feature/stage-1-firmware
...
Add firmware support to stage-1
2020-06-06 01:03:09 -04:00
Samuel Dionne-Riel
141ffff360
asus-dumo: Provide minimal firmware for stage-1
...
The firmware is part of the unfree redistributable set already in
nixpkgs, so unlike some other devices in-tree (asus-z00t) we can
directly add the firmware to the build without any issue.
2020-06-01 18:59:32 -04:00
Samuel Dionne-Riel
e4c72a08aa
asus-dumo: kernel 5.5 -> 5.7
2020-06-01 18:19:05 -04:00
Samuel Dionne-Riel
84cb903ec7
motorola-addison: Use the fb notify quirk
2020-05-31 02:29:23 -04:00
Samuel Dionne-Riel
adc157f0c0
xiaomi-tissot: Fix for new kernel package option
2020-05-24 20:13:07 -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
df0cfabada
qemu-x86_64: Fix for new kernel package option
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
746244f9d1
pine64-pinephone-braveheart: Fix for new kernel package option
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
2ac23a7828
oneplus-oneplus3: Fix for new kernel package option
2020-05-24 20:13:07 -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
b13079f37e
google-walleye: Fix for new kernel package option
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
e1c3130004
google-marlin: Fix for new kernel package option
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
0357c2a8ae
asus-z00t: Fix for new kernel package option
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
350f8549cb
asus-flo: Fix for new kernel package option
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
879505199a
asus-dumo: Fix for new kernel package option
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
86f850104c
xiaomi-tissot: Fix build using new options
...
(and minor cleanup)
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
f9e0364e49
qemu-x86_64: cleanup device description
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
7d087b8028
pine64-pinephone-braveheart: cleanup
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
08f30c43a6
oneplus-oneplus3: Fix build using new options
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
9d039a300b
google-walleye: Fix build using new options
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
16893c00f9
google-marlin: Fix build using new options
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
0c1a9d23f2
asus-z00t: Fix build using new options
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
5044aaeaef
asus-flo: Fix build using new options
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
fa8fbd58de
asus-dumo: 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
dcbda16fc5
system-types: Rename kernel-initrd -> qemu-startscript
...
In addition, put the implementation of the build side-by-side with the
system type definition. It made no sense to keep those where they were,
as it was baggage from the earlier implementation of the project.
2020-05-15 16:10:43 -04:00
Samuel Dionne-Riel
5ba8fea8b8
families: Create empty directory with docs link
...
This is a bit of a premature optimization, as we don't have a family
to implement and validate _just yet_, but we're still making the
structure ready as both `asus-dumo` and `google-taimen` are subject to
receive family members as soon as someone can test them.
2020-05-14 17:22:28 -04:00
Samuel Dionne-Riel
fd66311f9f
qemu-x86_64: Use qemu EDID support
...
This removes the need for the gnarly hack we were using to get a custom
resolution.
2020-04-22 22:48:30 -04:00
Samuel Dionne-Riel
f6a8abdd41
oneplus-oneplus3: Configure LED using kernel triggers
2020-04-13 17:44:28 -04:00
Samuel Dionne-Riel
e01d58031d
oneplus-oneplus3: Use otg_switch
2020-04-13 17:44:28 -04:00
Samuel Dionne-Riel
640f2d4c79
asus-z00t: Configure green LED to turn on by default
...
This is done at the device tree / kernel level.
2020-04-10 15:54:58 -04:00
Samuel Dionne-Riel
fc07219c7d
asus-z00t: show the device tree in /proc
2020-04-10 15:53:47 -04:00
Samuel Dionne-Riel
be396f4807
asus-z00t: Add firmware
2020-04-10 00:24:13 -04:00
Samuel Dionne-Riel
0b68cf893a
asus-z00t: Use wcnss-wlan quirk
2020-04-09 22:27:15 -04:00
Samuel Dionne-Riel
c21f57b12b
asus-z00t: Shut up some kernel modules, so noisy!
2020-04-09 22:27:15 -04:00
Samuel Dionne-Riel
ae440f4135
asus-z00t: Protect firmware load path from rude trampling
2020-04-09 22:27:15 -04:00
Samuel Dionne-Riel
dd262a68a5
xiaomi-tissot: Fix device information
2020-04-04 00:26:41 -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
2e597afadf
pine64-pinephone-braveheart: Fix device specific notes
...
The headings have been pushed one lower.
2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
62508badad
oneplus-oneplus3: Fix device information
2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
3526c7114b
oneplus-oneplus3: Fix device specific notes
2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
c19eff7310
motorola-addison: Fix device information
2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
0969d5fd2a
google-walleye: Fix device information
2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
c3ec6728c8
google-walleye: Fix header for docs inclusion
2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
daf2bf2b90
asus-dumo: Fix device information
2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
dad8916ed5
Merge pull request #96 from samueldr-wip/device/pine64-pinephone-braveheart
...
device: add pine64-pinephone-braveheart
2020-03-28 19:33:42 -04:00
Samuel Dionne-Riel
e026485d61
pine64-pinephone-braveheart: Document LED patterns
2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
d74390b9a9
pine64-pinephone-braveheart: Setup LEDs during earlier boot
...
The red LED is turned on ASAP.
2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
93039954c2
pine64-pinephone-braveheart: Setup LEDs during early boot
...
This sets the red + green LEDs, making it yellow.
2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
f4c995e3b5
pine64-pinephone-braveheart: Setup LEDs during boot
...
The boot.scr lights the LED yellow.
2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
b9ca44c3b5
pine64-pinephone-braveheart: Add u-boot
2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
fd8c0d03b4
pine64-pinephone-braveheart: Add kernel configuration
2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
64a19095ae
pine64-pinephone-braveheart: Init new device
2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
744ae56ece
Merge pull request #104 from ashkitten/master
...
google-marlin: fix partitions
2020-03-27 23:30:18 -04:00
Samuel Dionne-Riel
127fe2b9e8
Merge pull request #106 from samueldr-wip/doc/oneplus3
...
oneplus-oneplus3: Document workaround for fastboot flash issue
2020-03-26 16:25:29 -04:00
Samuel Dionne-Riel
30a63ecbe8
oneplus-oneplus3: Document workaround for fastboot flash issue
2020-03-26 14:46:28 -04:00
Samuel Dionne-Riel
2e8a553269
xiaomi-lavender: enable CONFIG_USB_RTL815*
2020-03-25 22:37:14 -04:00
Samuel Dionne-Riel
906ee78fff
oneplus-oneplus3: enable CONFIG_USB_RTL815*
2020-03-25 22:37:03 -04:00
Samuel Dionne-Riel
073259763c
motorola-addison: enable CONFIG_USB_RTL815*
2020-03-25 22:36:51 -04:00
Samuel Dionne-Riel
5586c0eaa0
asus-z00t: enable CONFIG_USB_RTL815*
2020-03-25 22:36:39 -04:00
ash lea
84c537a554
google-marlin: load vendor firmware
2020-03-23 21:54:56 -07:00
ash lea
b82fcab704
google-marlin: use a/b partitions
2020-03-23 21:54:29 -07:00
Samuel Dionne-Riel
0b6cd4de5e
qemu-x86_64: Stop relying on removed option
2020-03-09 19:59:12 -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
a4a22e521b
asus-dumo: review kernel command line
2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
100e1d7458
qemu-x86_64: review kernel command line
2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
a208267763
xiaomi-lavender: configure boot_as_recovery
2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
b89ece26f5
google-walleye: configure boot_as_recovery
2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
8ee49d935d
Merge pull request #66 from samueldr-wip/feature/new-init
...
Completely bespoke stage-1 init, shell-free
2020-02-03 22:44:23 -05:00
Samuel Dionne-Riel
06dbca4706
xiaomi-tissot: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES
2020-02-03 21:58:22 -05:00
Samuel Dionne-Riel
c02373d322
xiaomi-lavender: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES
2020-02-03 21:58:22 -05:00
Samuel Dionne-Riel
54f8799520
oneplus-oneplus3: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES
2020-02-03 21:58:22 -05:00
Samuel Dionne-Riel
9542050705
motorola-addison: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES
2020-02-03 21:58:22 -05:00
Samuel Dionne-Riel
1c87211c89
google-walleye: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES
2020-02-03 21:58:21 -05:00
Samuel Dionne-Riel
3394658150
google-marlin: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES
2020-02-03 21:58:21 -05:00
Samuel Dionne-Riel
aaf540011b
asus-z00t: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES
2020-02-03 21:58:21 -05:00
Samuel Dionne-Riel
6c3cfccf16
asus-flo: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES
2020-02-03 21:58:21 -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
e032363fc5
qemu-x86_64: remove dependency on initrd-order
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
12918e0f58
initrd: Remove logger module
...
This, anyway, needs to be re-thought entirely with the new init.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
7fb0f1846a
asus-dumo: kernel 5.3.0 -> 5.5.0
...
With a less intrusive patch.
I'm thinking that the hs400 values for other gru devices are statistical
outliers, since most rk3399 platform seem to use hs200 for this.
2020-02-03 15:26:24 -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
dc91d1bca7
oneplus-oneplus3: Document USB settings
2020-01-25 19:42:48 -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
0b39a66569
google-walleye: Specify gadgetfs
2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
5794555feb
google-walleye: Create README with notes
2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
84fe395240
google-walleye: Document vendor partition
2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
4c893c62a0
google-walleye: Document gadgetfs function names
2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
155e4b4471
google-walleye: Document use of A/B scheme
2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
59b2d468e8
google-walleye: Set USB product/vendor IDs
2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
c1e6d1333d
google-walleye: kernel 4.4.201 => 4.4.208
2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
3a50138d0b
google-marlin: Configure USB mode and identifiers
2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
9f3d88f221
asus-z00t: Specify android_usb
2020-01-25 19:02:52 -05:00
Samuel Dionne-Riel
dc09f07063
asus-z00t: Document USB identifiers
2020-01-25 19:02:52 -05:00
Samuel Dionne-Riel
a018c48329
asus-dumo: Add hack to rebind the SDHCI driver
...
This is better than simply relyin on a crash/reboot cycle.
2020-01-25 19:02:52 -05:00
Samuel Dionne-Riel
7803d9ec0e
Merge pull request #67 from samueldr-wip/fix/google-walleye-framebuffer
...
google-walleye: Fix early framebuffer
2019-12-28 17:39:05 -05:00
Samuel Dionne-Riel
f5ee476645
google-walleye: Fix early framebuffer
...
It looks like *not* having `quiet` in the kernel cmdline somehow makes
the early init of the framebuffer fail.
I don't know the exact difference, but lowering loglevel rather than
using quiet doesn't work here.
In addition, this changes
2019-12-27 17:11:41 -05:00
Samuel Dionne-Riel
49e725c868
google-walleye: Split-up cmdline
2019-12-27 17:11:35 -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
d2d5edf1d9
qemu-x86_64: Increase RAM to 2GiB
2019-12-04 17:16:09 -05:00
Samuel Dionne-Riel
8dbfb72759
qemu-x86_64: Adds missing modules to initrd
...
No modules are part of the closure, for now...
2019-12-04 17:16:09 -05:00
Samuel Dionne-Riel
00c7d73781
qemu-x86_64: Use a 1080p vertical display
2019-12-04 17:16:09 -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
Daniel Fullmer
7f438bd45f
google-marlin: Fix CONFIG_VT
...
Without this kernel patch to revert these commits, the kernel hangs
immediately with no serial port output.
2019-11-23 21:04:25 -05:00
Samuel Dionne-Riel
6198805861
Merge pull request #47 from lheckemann/tissot-cleanup
...
Add support for xiaomi-tissot
2019-11-23 12:33:35 -05:00
Linus Heckemann
97d3690b27
tissot: enable USB RTL network drivers
2019-11-21 20:56:49 +01:00
Linus Heckemann
6537a5e898
tissot: fix colours
...
Patch copied from motorola-addison
2019-11-21 19:49:02 +01:00
Linus Heckemann
ee722a7b1d
tissot: enable namespaces for sandbox
2019-11-21 19:49:02 +01:00
Linus Heckemann
25ab9e3247
devices/xiaomi-tissot: init
...
Kernel patch is copied from xiaomi-lavender.
2019-11-21 19:49:02 +01:00
Samuel Dionne-Riel
bcc0f77156
Merge pull request #50 from samueldr-wip/devices/google-walleye
...
device: Google Pixel 2 (non-XL) // google-walleye
2019-11-19 14:08:56 -05:00
Daniel Fullmer
cbaa708ea3
google-marlin: Add device configuration
2019-11-18 23:45:13 -05:00
Daniel Fullmer
c9cc88c7e2
google-marlin: Add kernel
2019-11-18 23:45:07 -05:00
Samuel Dionne-Riel
0ad7247a53
Merge pull request #37 from samueldr-wip/device/asus-z00t-userns
...
asus-z00t: Enable USER_NS
2019-11-18 21:42:15 -05:00
Samuel Dionne-Riel
766b168dbe
google-walleye: kernel: 4.4.195 -> 4.4.201
2019-11-18 21:18:24 -05:00
Samuel Dionne-Riel
4c54a7c76d
google-walleye: Enable CONFIG_VT
...
And related options.
2019-11-18 21:18:24 -05:00
Samuel Dionne-Riel
3ebc6b46da
google-walleye: Fix CONFIG_VT
2019-11-18 21:18:24 -05:00
Samuel Dionne-Riel
5116490a22
google-walleye: Inits kernel at 4.4.195
...
The kernel build is technically the same as google-taimen, with some
options switched around. An upcoming improvement will be to share the
"wahoo" platform's kernel build with an option to switch between the
two at build time, and further along the line, with modular kernels,
sharing the same exact builds, but with the device-specifics as modules.
2019-11-18 21:18:24 -05:00
Samuel Dionne-Riel
49d13b3a5a
google-walleye: init device
2019-11-18 21:18:24 -05:00
Samuel Dionne-Riel
b83eafa2b7
qemu-x86_64: Add missing mobile.device.info.name
attribute
2019-11-15 22:01:09 -05:00
Samuel Dionne-Riel
0f648ef834
asus-flo: import data from postmarketOS-devices.json
2019-11-07 17:23:33 -05:00
Samuel Dionne-Riel
3ad5496ad1
asus-z00t: import data from postmarketOS-devices.json
2019-11-07 17:23:33 -05:00
Samuel Dionne-Riel
8a41ff879b
qemu-x86_64: import data from postmarketOS-devices.json
2019-11-07 17:23:33 -05:00
Samuel Dionne-Riel
19d3e79bff
Remove postmarketOS-devices.json
...
Anchoring ourselves to an external project, at this point, is not
feasible. This does not allow us to explore making better use of the
capabilities of nix.
Though, a mechanism using third-party resources, like the postmarketOS
device information, is something that is desirable. The difference is
that it would need to *import* the information in the format used by
mobile-nixos, rather than mobile-nixos importing the information from a
"data dump".
2019-11-07 17:23:33 -05:00
Samuel Dionne-Riel
fb79113a00
asus-z00t: Fixes compilation with USER_NS
...
This is dumb... These are all android/google/qualcomm/asus "features"
added to the kernel with no concern about actually being compatible
with the kernel. They all assume no USER_NS stuff.
Fun!
2019-10-09 22:12:48 -04:00
Samuel Dionne-Riel
0b875aa152
asus-z00t: Enable USER_NS
2019-10-09 22:12:48 -04:00
Samuel Dionne-Riel
ff5de40077
asus-z00t: update kernel to latest lineageos revision
2019-10-09 22:12:48 -04:00
Samuel Dionne-Riel
aa4ab0ce0e
oneplus-oneplus3: normalize config
2019-10-08 00:33:26 -04:00
Samuel Dionne-Riel
c4fd6fda1a
oneplus-oneplus3: Enable USER_NS
2019-10-08 00:33:13 -04:00
Samuel Dionne-Riel
af62d74a3b
oneplus-oneplus3: workaround bug with touchscreen
...
libinput, which I believe, claims there is a kernel bug with the
synaptics driver touchscreen in use.
This is the recommended fix according to PostmarketOS.
* https://wiki.postmarketos.org/wiki/Troubleshooting:touchscreen#sec_touchscreen:_kernel_bug
I have not seen any issues from using this fix.
The error:
```
synaptics: kernel bug: device has min == max on ABS_MT_WIDTH_MAJOR
```
According to the touchscreen documentation of the kernel, I don't think
that it is an issue to remove this information from touch events.
2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
8d91d348e6
oneplus-oneplus3: Imports input driver changes from lineageos
2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
f3af08488b
oneplus-oneplus3: add kernel
2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
acb8d53880
oneplus-oneplus3: Add partitions information
2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
86045db587
oneplus-oneplus3: Add device information
2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
8804cb6dbc
asus-dumo: defaults to hidden vt caret...
...
This is a "temporary" measure. I intend to move this to an option
(defaulting to true) that would add to the kernel cmdline.
2019-09-23 00:03:55 -04:00
Samuel Dionne-Riel
7f53a18b07
asus-dumo: Enable touchscreen input
...
The pen input already was enabled.
2019-09-22 23:41:30 -04:00
Samuel Dionne-Riel
4ed7c58e40
asus-dumo: Adds required config for wifi
2019-09-22 21:52:29 -04:00
Samuel Dionne-Riel
828b1619f9
asus-z00t: fixes build
...
See https://github.com/NixOS/nixpkgs/issues/64916
2019-09-21 22:43:39 -04: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
7adda4a8d5
asus-dumo: Uses the mainline kernel with a hack
2019-09-18 15:40:01 -04:00
Samuel Dionne-Riel
b7f945aa69
asus-dumo: Adds ASUS Chromebook Tablet CT100PA
2019-09-18 15:40:01 -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
ed82df0e29
asus-flo: misc.
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
aea6ca0627
asus-z00t: fix build
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
25c4ea6d0b
asus-flo: normalize kernel config
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
7446f778a5
asus-flo: (wip) build bootimg only
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
145c42156c
asus-flo: Reviews kernel build
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
3552355eb4
asus-z00t: normalizes kernel config
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
e5f3d1ea51
asus-z00t: use of 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
383f6ff71a
asus-flo: kernel: Fixes build for stage-2 cross-compile.
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
c7069ac2fb
WIP: system.img generation.
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
Samuel Dionne-Riel
1ed9e63ab1
z00t: enables /proc/config.gz
2018-11-05 22:50:59 -05:00
Samuel Dionne-Riel
62164cc048
WIP: kernel config is getting old... might need to migrate stuff!
...
The kernel infra is being updated for newer kernels. I may need to keep
track locally of older kernel build infras, or something :(.
2018-11-05 21:11:47 -05:00
Samuel Dionne-Riel
a522e256d3
WIP: cross building changed upstream...
...
... and now the little I understood doesn't work.
2018-11-05 20:51:27 -05:00
Samuel Dionne-Riel
a4cbf37699
Updates qemu-x86_64 to use the latest LTS kernel.
2018-11-05 20:34:52 -05:00
Samuel Dionne-Riel
b5fe8b8807
doc: Adds initial blurb about partitions.
2018-07-10 19:23:13 -04:00
Samuel Dionne-Riel
fc66877f68
Fixes asus-z00t kernel build...
...
Damn it, didn't change sha256sum !
2018-07-08 22:01:37 -04:00
Samuel Dionne-Riel
931daa8404
Revert "asus-z00t: Adds kernel patch to *not* clear framebuffers on release."
...
This reverts commit 6712957ab1
.
2018-07-06 19:52:45 -04:00
Samuel Dionne-Riel
6712957ab1
asus-z00t: Adds kernel patch to *not* clear framebuffers on release.
...
This tackles an annoying issue where framebuffer will be cleaned and the
display turned off when all handles to it are closed.
2018-07-06 19:13:42 -04:00
Samuel Dionne-Riel
c40156c163
asus-z00t: Adds a patch that backports mdss_fb
changes from another kernel.
...
Those changes may change nothing with what I'm trying to accomplish...
Though they will make a full backport easier to handle as I now have
isolated upstream changes from device-specific changes.
2018-07-06 18:30:06 -04:00
Samuel Dionne-Riel
350ca1b90a
asus-*: fixes framebuffer patches...
...
The parameters were wrong for BGRA.
asus-flo had mismatched field positions.
Both devices had one offset two bits wrongly positioned.
Hope nobody sees this, ever...
2018-07-05 00:48:35 -04:00
Samuel Dionne-Riel
ca8b4900dc
asus-z00t: Handles BGRA through kernel patch.
...
Let's hope all devices can be fixed by fixing their device driver
instead of doing other unsightly hacks.
2018-07-04 23:40:35 -04:00
Samuel Dionne-Riel
08d1b812de
asus-flo: Adds framebuffer patch to use BGRA.
...
I don't know what ill effects this may cause.
This makes the framebuffer aware of how it should be BGRA instead of
RGBA.
2018-07-04 21:02:52 -04:00
Samuel Dionne-Riel
ff6acd2be2
asus-flo: Removes fb.modes
as it doesn't work anyway.
2018-07-03 23:51:24 -04:00
Samuel Dionne-Riel
a7708a3f0c
asus-z00t: Now outputs kernel as vmlinuz
...
Decided to use that name for the finally-used kernel.
2018-07-01 17:58:06 -04:00
Samuel Dionne-Riel
1f0e57a195
asus-z00t: removes accidentally leftover package.
2018-07-01 17:57:44 -04:00
Samuel Dionne-Riel
a5b9e275ed
Adds asus-flo
with lineageos kernel
...
Current issues:
* Framebuffer colors are wrong. (RGBA → BGRA)
2018-07-01 17:42:33 -04:00
Samuel Dionne-Riel
242bb764b0
Moves platforms definition in more generic hardware definitions.
2018-06-26 22:07:46 -04:00
Samuel Dionne-Riel
04a59a0aed
Adds mobile.system.platform
2018-06-26 21:52:09 -04:00
Samuel Dionne-Riel
d688408b6d
Removes dead code...
...
I can find it elsewhere anyway.
2018-06-25 15:54:26 -04:00
Samuel Dionne-Riel
f13735a9c1
WIP : asus-z00t's gcc6 is buildPackages.gcc6
2018-06-25 15:54:09 -04:00
Samuel Dionne-Riel
ccebd0e548
qemu-x86_64: Adds more kernel modules.
2018-06-23 18:47:00 -04:00
Samuel Dionne-Riel
a30bbfaf02
qemu-x86_64: Adds minimally required modules.
2018-06-23 17:46:06 -04:00
Samuel Dionne-Riel
0a1b75d91c
qemu-x86_64: splash enables/disables features from configuration.
...
Useful with local.nix.
2018-06-18 22:23:15 -04:00
Samuel Dionne-Riel
809c3f37a6
qemu-x86_64: refactors splash into a variable...
...
To allow playing around.
2018-06-18 22:13:57 -04:00
Samuel Dionne-Riel
334185ea21
qemu-x86_64: use a smaller VT by default.
2018-06-18 21:50:10 -04:00
Samuel Dionne-Riel
64d4e5a604
qemu-x86_64: default to no splash (for now)
2018-06-18 21:49:35 -04:00
Samuel Dionne-Riel
6095b623f6
Adds qemu-x86_64 device.
...
Network doesn't work :/
2018-06-17 20:55:34 -04:00
Samuel Dionne-Riel
982a705dc2
Removes dead code.
2018-06-17 18:53:34 +00:00
Samuel Dionne-Riel
707d62ab81
WIP fixes framebuffer modes.
2018-06-17 00:56:44 +00:00
Samuel Dionne-Riel
a3a4a44704
WIP progress with configuration system.
...
Regression: fb.modes isn't copied anymore
2018-06-17 00:43:19 +00:00
Samuel Dionne-Riel
844313903e
WIP Migrates device configuration into the options system.
2018-06-16 23:21:41 +00:00
Samuel Dionne-Riel
67926d02ca
Tries looking at how "quirks" could exist.
...
This may, instead, need the configuration system from nixos, where
lib.mkForce, lib.mkDefault and friends would make more sense here.
2018-06-13 02:07:26 +00:00
Samuel Dionne-Riel
adc28af2a5
Makes kernel part of the device description.
2018-06-13 02:06:24 +00:00
Samuel Dionne-Riel
9f4453a4d2
Reviews start of init script.
2018-06-13 01:47:00 +00:00
Samuel Dionne-Riel
6fcd7a09e0
Makes rootfs configuratble by device_config...
...
This is a WIP, but this already should allow device-specific fb.modes
2018-06-12 23:14:55 +00:00
Samuel Dionne-Riel
e56da86a90
rootfs: Use fbset when possible to set a specific mode.
2018-06-12 03:11:22 +00:00
Samuel Dionne-Riel
d6f632d427
Adds my development device.
2018-06-10 12:51:59 -04:00
Samuel Dionne-Riel
9cb4255117
Ugh, use my feature branch.
2018-06-10 12:51:50 -04:00
Samuel Dionne-Riel
7df88ae56d
Actually import data.
2018-06-10 12:49:17 -04:00
Samuel Dionne-Riel
6fe9d78c52
Actually write data.
2018-06-10 12:49:11 -04:00
Samuel Dionne-Riel
246de0741b
Imports devices description...
...
From personal fork including a yet non-upstreamed device.
2018-06-10 12:43:19 -04:00
Samuel Dionne-Riel
a5fea374b1
Adds tooling necessary to gather up device information automatically.
2018-06-10 12:40:32 -04:00