Samuel Dionne-Riel
a73e89610c
pine64-pinephone: Add gadgetfs information
2021-01-04 05:52:07 -05:00
Samuel Dionne-Riel
04b8e4c464
uefi-x86_64: Enable stage-0
2020-12-29 19:22:43 -05:00
Samuel Dionne-Riel
b2790d13d6
qemu-x86_64: Delete device
...
It's being replaced by the generic uefi-x86_64 device.
Basically, replace the QEMU-specific system type by the totally standard
UEFI system type. This way we're dogfooding it way better!
2020-12-29 19:22:43 -05:00
Samuel Dionne-Riel
ed23cbaeb6
uefi-x86_64: default values for ram and display
...
This is basically what I think are the minimum requirements for support.
720p display, 2GB of RAM.
Not that it will be a great experience.
2020-12-29 19:21:02 -05:00
Samuel Dionne-Riel
01de3d31a4
devices/uefi-x86_64: Init, from qemu-x86_64
...
For the time being, this is mostly a copy of the QEMU system.
The QEMU system is slated to be removed, once the UEFI system provides
the necessary tooling to get a VM going easily.
We'll probably want to add other generically-useful modules to that
system.
We'll have to look at NixOS's boot.initrd.availableKernelModules and
boot.initrd.kernelModules options.
2020-12-29 19:21:02 -05:00
Samuel Dionne-Riel
32f58ada71
Merge pull request #262 from samueldr-wip/feature/stage-0
...
stage-0: Add ability to boot in generation kernel+initrd
2020-12-29 18:13:24 -05:00
Samuel Dionne-Riel
5113fad354
pine64-pinephone: Enable stage-0 support
2020-12-29 17:59:09 -05:00
Samuel Dionne-Riel
b81fd24f33
pine64-pinephone: Enable proc kcore
2020-12-29 17:59:09 -05:00
Samuel Dionne-Riel
b49dcaaa4c
motorola-surfna: Note quirk about flashing
2020-12-28 06:04:18 -05:00
Samuel Dionne-Riel
a7441ec1cc
motorola-surfna: Edit kernel configuration as needed
2020-12-28 06:04:18 -05:00
Samuel Dionne-Riel
b4150e7579
motorola-surfna: Normalized OEM kernel configuration
...
(But the 64 bit variant)
2020-12-28 06:04:18 -05:00
Samuel Dionne-Riel
4eacd4bbc8
motorola-surfna: Basic defconfig
...
To be normalized. Built this way:
```
cat \
arch/arm64/configs/msm8937-perf_defconfig \
arch/arm64/configs/ext_config/moto-msm8937.config \
arch/arm64/configs/ext_config/moto-msm8937_64.config \
arch/arm64/configs/ext_config/moto-msm8937-surfna.config \
> surfna.64.defconfig
```
2020-12-28 06:04:18 -05:00
Samuel Dionne-Riel
0d5c580df8
motorola-surfna: Init kernel at 4.9.112
2020-12-28 06:04:18 -05:00
Samuel Dionne-Riel
fe5a135992
motorola-surfna: Clean-up device description
2020-12-28 06:04:18 -05:00
Samuel Dionne-Riel
f67bbf99d9
motorola-surfna: Import config from autoport
...
NOTE: this has been detected as armv7l as the kernel and system on the
device is built for 32 bit ARM. The SoC actually supports 64 bit.
2020-12-28 05:59:46 -05:00
Samuel Dionne-Riel
91380a8b3d
Merge pull request #260 from samueldr-wip/devices/xiaomi-begonia/misc
...
xiaomi-begonia: kernel update + fixes
2020-12-27 17:32:51 -05:00
Samuel Dionne-Riel
54220bc004
xiaomi-begonia: work around poweroff issue
2020-12-27 17:31:08 -05:00
Samuel Dionne-Riel
a41d236dc1
xiaomi-begonia: kernel 4.14.184 -> 4.14.194
2020-12-27 17:31:08 -05:00
Samuel Dionne-Riel
073604a3b9
xiaomi-begonia: Stop using vendor ufdt_apply_overlay
...
This should fix native AArch64 builds.
2020-12-27 17:31:08 -05:00
Samuel Dionne-Riel
88b5267dd7
razer-cheryl2: Workaround made more descriptive
2020-12-27 16:39:52 -05:00
Samuel Dionne-Riel
a4a36a42cb
Merge pull request #258 from samueldr-wip/feature/pinephone-5.10
...
pine64-pinephone: kernel 5.9 -> 5.10
2020-12-25 19:37:55 -05:00
Samuel Dionne-Riel
b687361aaf
pine64-pinephone: Normalized kernel config on top of 5.10
2020-12-25 16:49:27 -05:00
Samuel Dionne-Riel
90fb0d1df9
pine64-pinephone: Update patch for 5.10
2020-12-25 16:49:27 -05:00
Samuel Dionne-Riel
8650b4c3a6
pine64-pinephone: kernel 5.9 -> 5.10
2020-12-25 15:45:44 -05:00
Andy Chun @noneucat
0b518aeca5
pine64-pinephone: add Crust
2020-12-25 06:06:12 -08:00
Samuel Dionne-Riel
4a64556355
Merge pull request #244 from leenaars/patch-1
...
Solution for USB3 flashing issue
2020-11-23 13:57:47 -05:00
Samuel Dionne-Riel
abc0ab9add
asus-dumo: Fix regression from kernel builder changes
...
The kernel isn't compressed!
2020-11-22 20:37:12 -05:00
leenaars
c73816ef84
Solution for USB3 flashing issue
2020-11-22 19:26:40 -05:00
Samuel Dionne-Riel
5bad6b7ab5
xiaomi-begonia: Don't rely on bundled dtc_overlay
...
While discussing with other devs, working on a samsung device on another
distro, I figured out it was basically free to try and build it with a
shim that's calling "proper" `dtc` and see if it works.
It worked for xiaomi-begonia.
It worked for that other device (on postmarketOS) too!
This means we're suddently gaining the ability to build natively.
Additionally, for postmarketOS, it allows them to build, considering
`dtc_overlay` uses glibc, and postmarketOS doesn't.
2020-11-22 16:40:03 -05:00
Samuel Dionne-Riel
f335005132
xiaomi-tissot: Set CONFIG_PANIC_TIMEOUT to 1
2020-11-08 18:37:13 -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
a3c5e85b47
sony-pioneer: Set CONFIG_PANIC_TIMEOUT to 1
2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
dd80aa4110
razer-cheryl2: Set CONFIG_PANIC_TIMEOUT to 1
2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
9fd1003e79
pine64-pinephone: Set CONFIG_PANIC_TIMEOUT to 1
2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
7b75357cb0
oneplus-oneplus3: Set CONFIG_PANIC_TIMEOUT to 1
2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
d90cd15a62
motorola-addison: Set CONFIG_PANIC_TIMEOUT to 1
2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
4d71caa530
google-marlin: Set CONFIG_PANIC_TIMEOUT to 1
2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
3a6326d6e0
asus-z00t: Set CONFIG_PANIC_TIMEOUT to 1
2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
fcd8f6ce4b
asus-flo: Set CONFIG_PANIC_TIMEOUT to 1
2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
125aaeb09e
asus-dumo: Set CONFIG_PANIC_TIMEOUT to 1
2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
efd902736b
pine64-pinephone: review kernel config for cryptsetup
2020-11-07 20:23:31 -05:00
Samuel Dionne-Riel
6675a044d5
Merge pull request #231 from samueldr-wip/feature/pinephone/modem
...
pine64-pinephone: Modem support improvements
2020-10-27 15:15:15 -04:00
Samuel Dionne-Riel
082770117c
pine64-pinephone: Add modem firmware updater
...
This has not been made "fancier" for easier use yet. It is unknown how
useful updating the firmware is.
Usage:
```
$ NIXPKGS_ALLOW_UNFREE=1 nix-build --argstr device pine64-pinephone -A pkgs.pine64-pinephone.qfirehose
$ sudo ./result/bin/QFirehose -l ./ -f ./newfw
```
But maybe read more about whether you want to update or not beforehand?
https://forum.pine64.org/showthread.php?tid=11815
2020-10-18 17:53:41 -04:00
Samuel Dionne-Riel
788b1605e9
pine64-pinephone: Add service to control the modem
2020-10-18 16:30:24 -04:00
Samuel Dionne-Riel
e379e18fff
pine64-pinephone: Re-configure based on megi's defconfig
...
The following from megi's have to be disabled (not set) or else the
console logo will not show up at boot (pre-init).
> CONFIG_FRAMEBUFFER_CONSOLE_ROTATION
> CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER
2020-10-18 16:30:24 -04:00
Samuel Dionne-Riel
91cec80471
pine64-pinephone: Switch to megi's fork
2020-10-18 16:30:24 -04:00
Samuel Dionne-Riel
dced7ef12b
pine64-pinephone: Fix kernel build
...
The kernel shouldn't be compressed for our current usage.
Otherwise we need to do more work with U-Boot.
2020-10-18 16:30:24 -04:00
Samuel Dionne-Riel
317bf728fa
pine64-pinephone: u-boot: Add now required CONFIG_REGEX
2020-10-15 19:15:46 -04:00
Samuel Dionne-Riel
e9487fd116
razer-cheryl2: Disable some of the default command line parameters
...
They are causing trouble during boot
2020-10-10 18:54:54 -04:00
Samuel Dionne-Riel
6b7573ffe9
razer-cheryl2: Add kernel build
...
This does not include the steps to configure. It's been simmering
through a bunch of work in a WIP branch.
2020-10-10 18:54:54 -04:00