1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 13:10:29 +03:00
Commit Graph

1394 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
1a083f8b3e system-types/android: Output different instructions for Odin 2021-01-09 19:22:32 -05:00
Samuel Dionne-Riel
ea684466e5 system-types/android: Allow defining flashing method 2021-01-09 19:22:32 -05:00
Samuel Dionne-Riel
901eb37767
Merge pull request #278 from samueldr-wip/device/samsung-a5y17lte/init
samsung-a5y17lte: Init Samsung Galaxy A5 (2017)
2021-01-09 18:09:05 -05:00
Samuel Dionne-Riel
8698680fe1 samsung-a5y17lte: use updated kernel
This fork is the one used by TWRP, is much more up-to-date with source
releases from the OEM, compared to the LineageOS fork.
2021-01-09 17:40:40 -05:00
Samuel Dionne-Riel
5e6f7cc23c samsung-a5y17lte: Update kernel configuration 2021-01-09 16:37:48 -05:00
Samuel Dionne-Riel
052b9bd479 samsung-a5y17lte: normalize kernel config 2021-01-09 16:37:12 -05:00
Samuel Dionne-Riel
0a82aca162 samsung-a5y17lte: Init config from defconfig 2021-01-09 16:37:12 -05:00
Samuel Dionne-Riel
8f68949366 samsung-a5y17lte: Init kernel with patches
This uses the LinageOS kernel fork.
2021-01-09 16:36:49 -05:00
Samuel Dionne-Riel
9d5b72472d samsung-a5y17lte: Add additional autoport files 2021-01-09 16:26:28 -05:00
Samuel Dionne-Riel
55d684ebdf samsung-a5y17lte: Init Samsung Galaxy A5 (2017) 2021-01-09 16:26:28 -05:00
Samuel Dionne-Riel
5b81f1d6dd android: Use Exynos dt.img for android bootimg 2021-01-09 16:26:28 -05:00
Samuel Dionne-Riel
1d8991a3e0 kernel-builder: Handle Exynos dt.img 2021-01-09 16:26:28 -05:00
Samuel Dionne-Riel
c5e86da64c dtbTool-exynos: init at 2020-09-14 2021-01-09 16:26:28 -05:00
Samuel Dionne-Riel
6bc8e35681 quirks: Add exynos fb "notify" quirk
Used to "toggle" the framebuffer so the driver starts rendering.
2021-01-09 16:26:28 -05:00
Samuel Dionne-Riel
205d1bbfca exynos: Add Exynos 7880 2021-01-09 16:24:32 -05:00
Samuel Dionne-Riel
caa37e3f66
Merge pull request #274 from samueldr-wip/fix/quiet
uefi-x86_64: Drop "quiet" kernel command line option
2021-01-05 17:44:41 -05:00
Samuel Dionne-Riel
87204971b0
Merge pull request #110 from samueldr-wip/examples/jumpdrive
Add "target-disk-mode" example system
2021-01-05 17:42:56 -05:00
Samuel Dionne-Riel
3c62793297 examples/target-disk-mode: disable rootfs build
For "whole disk image" systems, like the Pinephone, this produces much
smaller images.
2021-01-05 17:38:03 -05:00
Samuel Dionne-Riel
cc56bbbe49 examples/target-disk-mode: Update README 2021-01-05 17:37:52 -05:00
Samuel Dionne-Riel
0fe8fa0ee2 examples/target-disk-mode: Split GUI task from configuration
There was no need to keep it there. Came from the `examples/hello` GUI
task, which in turn I *think* that in the past used a variable
interpolation.

We don't need any of that.
2021-01-05 16:29:48 -05:00
Samuel Dionne-Riel
8c8bed6ace
Merge pull request #277 from samueldr-wip/fix/276-less-regression
doc: Fix lessc maths breaking change
2021-01-05 01:48:21 -05:00
Samuel Dionne-Riel
4c5d43ac18 doc: Fix lessc maths breaking change
Fixes #276
2021-01-05 01:43:51 -05:00
Samuel Dionne-Riel
b7d1fe8290 pine64-pinephone: Declare internal storage block device 2021-01-04 05:52:07 -05:00
Samuel Dionne-Riel
a73e89610c pine64-pinephone: Add gadgetfs information 2021-01-04 05:52:07 -05:00
Samuel Dionne-Riel
90c39ef613 examples/target-disk-mode: Rename to target disk mode 2021-01-04 05:52:01 -05:00
Samuel Dionne-Riel
c3ca0d0b3c examples/jumpdrive: Ensure SSH is available 2021-01-04 05:51:48 -05:00
Samuel Dionne-Riel
e54f535c2d uefi-x86_64: Drop "quiet" kernel command line option
This, in turn, causes the kernel to go to console level 4. Not ideal
when a user tries to set it to something else. Leave this to
boot.consoleLogLevel.
2021-01-04 04:56:58 -05:00
Samuel Dionne-Riel
dd243bd1f2 examples/jumpdrive: Fix build with recent LVGUI import 2021-01-04 00:59:26 -05:00
Samuel Dionne-Riel
72e456b761 examples/jumpdrive: Remove internal knowledge of storage devices 2021-01-04 00:59:26 -05:00
Samuel Dionne-Riel
70874a3d02 examples/jumpdrive: Rework "app" for latest changes 2021-01-04 00:59:14 -05:00
Samuel Dionne-Riel
d820247350 examples/jumpdrive: Hardcode a list of known storage locations
This is not ideal. Ideally devices would provide that information, but
since for now it's only used by jumpdrive, we're skipping the
generalization.

Furthermore, I don't really know how to provide that information in a
way that is coherent with the rest, for now.
2021-01-04 00:59:14 -05:00
Samuel Dionne-Riel
b39df9f58f examples/jumpdrive: Save storage information in configuration 2021-01-03 23:08:24 -05:00
Samuel Dionne-Riel
1d5acb1782 examples/jumpdrive: Add GUI applet
This only serves to show instructions and reboot/poweroff.

In the future, it should be the owner of gadget mode stuff.
2021-01-03 23:08:24 -05:00
Samuel Dionne-Riel
41978bc480 examples/jumpdrive: WIP init of a jumpdrive example system 2021-01-03 23:08:24 -05:00
Samuel Dionne-Riel
179d8b1b70 stage-1/usb-gadget: Add mass storage usb gadget support 2021-01-03 23:08:24 -05:00
Samuel Dionne-Riel
61c6776cb8 stage-1/usb-gadget: Quirk is aware of its path
This will be used for quirks that needs to know where to write more
configuration.
2021-01-03 23:08:24 -05:00
Samuel Dionne-Riel
badb5c635b boot/init: Add System.symlink
Same as File.symlink, but logged.

(Also fixes logging of System.write)
2021-01-03 23:08:24 -05:00
Samuel Dionne-Riel
25e9db5474
Merge pull request #273 from samueldr-wip/feature/gadget-teardown-kexec
stage-0: Teardown gadget before kexec
2021-01-03 23:07:00 -05:00
Samuel Dionne-Riel
b4c603bc56 boot/init: Tear down usb gadget on kexec
Yikes, specialized code in the kexec codepath... though this is okay for
now. Let's not over-generalize when we don't know what will be required
in the future for abstraction.
2021-01-03 20:23:44 -05:00
Samuel Dionne-Riel
10c1ccece2 stage-1/usb-gadget: Implement gadgetfs teardown
This way on kexec the device is in a better state, and the kernel that
boots next is able to use the controller.

This was verified to fix an issue with kexec+gadget on the Chuwi Hi10
Pro HQ64 tablet.
2021-01-03 20:23:44 -05:00
Samuel Dionne-Riel
2d3ba8d21d boot/init: Add System.delete() to delete files or directories 2021-01-03 20:23:44 -05:00
Samuel Dionne-Riel
805620652b
Merge pull request #271 from samueldr-wip/fix/accidental-puts
boot/lib: Remove accidentally left puts
2021-01-02 01:18:37 -05:00
Samuel Dionne-Riel
19ff65e821 boot/lib: Remove accidentally left puts 2021-01-02 00:55:21 -05:00
Samuel Dionne-Riel
e6376850dc
Merge pull request #270 from samueldr-wip/feature/mruby-lvgui-merge
Import mruby-lvgui and minor mruby refactor
2021-01-01 21:52:42 -05:00
Samuel Dionne-Riel
6ebe6dd6e6 examples/testing/*: Use .vm output 2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
2fefc0ae5b boot/splash: Fixes for extracted libs
And additionally review how it's built.
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
dc809d47bd boot/lib: Import splash components in lvgui 2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
7cd9acd991 boot/splash: Remove useless var 2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
966f000c5d boot/error: Use extracted reboot mode hal 2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
562ddc1272 boot/recovery-menu: Use extracted reboot mode hal 2021-01-01 21:37:30 -05:00