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

54 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
d004fb988a libhybris: Allow relying on legacy properties
This is used to get a slimmer libhybris for adbd for stage-1.

The previous behaviour (before 35976c201741cfc21c114615b8524db5367e034a)
was to rely on a "homegrown" system to get properties.

Starting with that new properties system, it will rely on the vendor
libraries, thus requiring all of them, plus the linker, to get
properties.

Turns out, adbd doesn't actively need anything from the vendor libraries
or from the actual propeties system.

So, it's fine to revert the change to get a working libhybris for
stage-1.

Though, what would be even better is to strip out only the minimum
requirements for adbd, and make a "mini hybris" that we can rely on for
adbd.
2019-12-10 00:13:51 -05:00
Samuel Dionne-Riel
49234e9c76 libhybris: 2018-06-18 -> 2019-12-02 2019-12-10 00:13:34 -05:00
Samuel Dionne-Riel
31902140cf seabios: build vgabios for qemu use, with custom resolution 2019-12-04 17:16:09 -05:00
Samuel Dionne-Riel
0ede24f2c4 hack: Add hack to fbdev to ignore initialization failure
This makes X11 work just fine on xiaomi-lavender.
2019-12-03 20:36:55 -05:00
Samuel Dionne-Riel
4c5b4b6a2c kernel-builder: Add gcc49 variant
Some kernel builds may require it.
2019-12-03 20:36:48 -05:00
Samuel Dionne-Riel
680aa87967
Merge pull request #54 from samueldr-wip/fix/make_ext4fs_workaround
make_ext4fs: Fix issue with read-only filesystems
2019-11-23 18:09:03 -05:00
Samuel Dionne-Riel
bd0220acc2 make_ext4fs: Fix issue with read-only filesystems
This may trip newer kernels, under some unknown circumstances.

As shown here:

[   10.016001] c7    604 EXT4-fs error (device sda45): ext4_has_uninit_itable:2895: comm mount: Inode table for bg 0 marked as needing zeroing

This happens with the google-walleye device, and unvalidated due to
lack of logs, might be affecting xiaomi-lavender
2019-11-23 17:51:57 -05:00
Samuel Dionne-Riel
3d93a9b72d kernel-builder: Allow passing additional make flags 2019-11-16 21:21:03 +01:00
Samuel Dionne-Riel
b52dd792dd msm-fb-refresher: 0.1 -> 0.2 2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
546dce59a8 overlay: picks up unused changes 2019-09-21 17:32:16 -04:00
Samuel Dionne-Riel
6d0b820318 overlay: Adds imageBuilder 2019-09-21 17:32:16 -04:00
Samuel Dionne-Riel
3c1408c82d Merge branch 'master' into feature/stage-2 2019-09-18 16:14:30 -04:00
Samuel Dionne-Riel
474f3caa0a overlay: vboot_reference cross-compilation fix 2019-09-18 15:40:01 -04:00
Samuel Dionne-Riel
ca99d75be0 kernel-builder: Use the platform's kernel target 2019-09-18 15:29:15 -04:00
Samuel Dionne-Riel
039f2c24a0 overlay: updates make_ext4fs with the missing meta 2019-09-05 22:30:31 -04:00
Samuel Dionne-Riel
56d04dcb1e make_ext4fs: init at unstable-2017-05-21 2019-08-29 18:14:18 -04:00
Samuel Dionne-Riel
2f9853f496 kernel-builder: Reviews dtb detection 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
41af579ea5 hard-*: Adds hard-shutdown script
On my qualcomm devices, it really shuts down the device even when
plugged into power.
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
42b797d9e8 mkbootimg: Updates to latest version 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
ac2ad419f7 kernel-builder: Adds a WIP Pre-init logo
When using CONFIG_LOGO, this "pre-init" logo will be shown in the
center. This abuses the Linux mascot logo feature to help end-users
figure out without console logging whether the kernel is hung really
early, or after the framebuffer kicked-in. The initrd is expected to
replace the logo ASAP.

This is to be changed for something better integrated into the style
guide once written up.
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
d737e0fd3e mobile-nixos.kernel-builder 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
3ddb53c6fd bootimg: Makes the build more resilient across devices...
This is because sometimes the final kernel image isn't named as
expected...

Also adds an important note about our mkbootimg.
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
0acd0f54e2 Removes unneeded patches 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
e0573bea77 Adds local overrides to get fbterm compiling.
It will not work as-is with stage-1.
2018-07-11 14:32:29 -04:00
Samuel Dionne-Riel
74dea85237 adbd: Inits adbd from ubports.
There are a bunch of patches to remove some stuff.

Some of those may become optional (through settings) so security and
features are available in the full system, but a slimmer version is
available in boot.img.
2018-07-08 21:14:16 -04:00
Samuel Dionne-Riel
499a347799 libhybris: Adds libhybris. 2018-07-08 21:14:13 -04:00
Samuel Dionne-Riel
e0674ad6d6 stage-1: Fixes use of stripDirs
https://github.com/NixOS/nixpkgs/pull/43169
2018-07-08 21:11:50 -04:00
Samuel Dionne-Riel
aafae19269 extra-utils: more debug printing. 2018-07-08 21:10:00 -04:00
Samuel Dionne-Riel
c6c8eb9f18 android-headers: inits at 23. 2018-07-06 22:43:03 -04:00
Samuel Dionne-Riel
44ab8fe3ed msm-fb-handle: Adds quirk for msm_mdss_fb. 2018-07-06 19:53:57 -04:00
Samuel Dionne-Riel
56458a477c ply-image: Adds hack for framebuffer flipping...
This is more specifically for msm devices.

Let's hope it won't cause issues down the line, otherwise we'll have to
make it configurable.
2018-07-05 15:08:57 -04:00
Samuel Dionne-Riel
4a5896322d ply-image: Adds additional debug information.
This is to help figure out framebuffer RGBA/BGRA issues.
2018-07-04 20:20:02 -04:00
Samuel Dionne-Riel
f9b5868c1a stage-1: Use ply-image for splash purposes.
This is upstream in-use by google for chromebooks, which means some
support for some advanced things.

This especially means animations can be handled by ply-image if so
desired.
2018-07-03 23:50:16 -04:00
Samuel Dionne-Riel
871e4aed96 fbv: Removes. 2018-07-03 23:35:35 -04:00
Samuel Dionne-Riel
be0d3b6fb8 Revert "WIP: fbv builds, but seems not to work."
This reverts commit 0df9018ab9.
2018-06-27 20:06:36 -04:00
Samuel Dionne-Riel
cf47617e62 Reviews how overlay works and is used. 2018-06-26 20:49:15 -04:00
Samuel Dionne-Riel
0df9018ab9 WIP: fbv builds, but seems not to work. 2018-06-26 00:32:21 -04:00
Samuel Dionne-Riel
8e917ff0aa mkExtraUtils: use upstream's method. 2018-06-26 00:08:04 -04:00
Samuel Dionne-Riel
79bbe4e6d7 WIP : missing arguments. 2018-06-25 21:02:35 -04:00
Samuel Dionne-Riel
734e72437d extra-utils: tentative cross fix. 2018-06-25 21:01:34 -04:00
Samuel Dionne-Riel
75465eaddb dtbtool: Use DTC from buildPackages. 2018-06-25 16:26:50 -04:00
Samuel Dionne-Riel
f90e5e94ce msm-fb-refresher: Specifies CC. 2018-06-25 16:26:21 -04:00
Samuel Dionne-Riel
a035a01535 WIP : (FIXME) unconditionally build for AArch64 cross. 2018-06-24 21:41:37 -04:00
Samuel Dionne-Riel
9e44b27e21 Finishes porting to declarative configuration. 2018-06-17 17:50:32 +00:00
Samuel Dionne-Riel
adc28af2a5 Makes kernel part of the device description. 2018-06-13 02:06:24 +00:00
Samuel Dionne-Riel
e0b4766216 Refactors "extra-utils" into a function. 2018-06-13 00:07:36 +00:00
Samuel Dionne-Riel
65871a850b fbv: inits at 1.0b 2018-06-11 19:24:14 -04:00
Samuel Dionne-Riel
2e3d7ac8d0 mkbootimg: misc cleanup. 2018-06-11 19:24:02 -04:00
Samuel Dionne-Riel
3f0999ee50 misc. cleanups 2018-06-10 20:07:39 +00:00
Samuel Dionne-Riel
e2c318359d ply-image: Adds with checkout to most current revision. 2018-06-10 19:35:53 +00:00