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
93436077f1
hardware-qualcomm: Add msm8996 SoC
2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
a2505a5f6a
kernel-normalize-config: don't assume -I nixpkgs
2019-10-02 00:34:05 -04:00
Samuel Dionne-Riel
c40ddf15ac
Fixes command in README
...
The `-I` was accidentally left over.
I prefer assuming `<nixpkgs>` resolves to what is needed (a recent
nixos-unstable checkout) rather than forcing the users to checkout
nixpkgs into this project as I personally do.
Close #22
Close #25
2019-10-02 00:32:43 -04:00
Samuel Dionne-Riel
190619e4e6
Updates README
2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
645274d163
examples/demo: Adds README
2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
e8e3b46207
examples/demo: inits a demo configuration for a system
2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
e318e1603f
examples/demo: Inits its android-burn-tool
2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
d99f4d0135
quirks-qualcomm: Enables stage-2 fb refresher
2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
b52dd792dd
msm-fb-refresher: 0.1 -> 0.2
2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
5aa721d656
bin/ssh-initrd: also be lenient with host keys
2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
df7bc1f08e
default.nix: Allows composition
2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
c498dc1b38
initrd-usb: Fixes for adbd on asus-z00t
...
The gist of it:
* The "adb" function is not available (-22, EINVAL) on asus-z00t
* Enabling both adb and ffs breaks asus-flo
* Enabling ffs is fine with asus-flo.
So I guess it's ffs that enables adb!
2019-09-23 20:31:56 -04:00
Samuel Dionne-Riel
7b1d782893
initrd: reviews udev integration with switch_root
2019-09-23 15:45:18 -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
4c4f8468f3
depthcharge: Allows kpart to be built independently
2019-09-22 15:52:10 -04:00
Samuel Dionne-Riel
7f5266de24
Merge branch 'feature/stage-2'
2019-09-21 23:22:57 -04:00
Samuel Dionne-Riel
110b88c082
bin/ssh-initrd: Adds tool to ssh with the usb networking gadget
2019-09-21 23:22:03 -04:00
Samuel Dionne-Riel
3cdecd5c00
android: working system.img/boot.img output
...
Can be flashed
```
fastboot flash system result/system.img
fastboot flash boot result/boot.img
```
2019-09-21 23:21:12 -04:00
Samuel Dionne-Riel
9d61e3d4a6
Updates README
2019-09-21 22:46:01 -04:00
Samuel Dionne-Riel
a9f4c851cc
Adds an installer
output...
2019-09-21 22:45:41 -04:00
Samuel Dionne-Riel
683ce12eb7
Removes custom porcelain...
...
Let's rely on nix-build mainly.
2019-09-21 22:45:08 -04:00
Samuel Dionne-Riel
701c01187f
initrd: adbd defaults to true only for android
2019-09-21 22:44:44 -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
f9decea807
Adds back android
2019-09-21 22:42:26 -04:00
Samuel Dionne-Riel
507805e9f2
Adds back depthcharge
2019-09-21 22:41:57 -04:00
Samuel Dionne-Riel
b8c4bcda18
Adds back kernel-initrd (for qemu)
2019-09-21 22:41:33 -04:00
Samuel Dionne-Riel
327fda2329
Review build to better use system.build and be more composable
2019-09-21 22:40:24 -04:00
Samuel Dionne-Riel
a9368b3623
splash: review "loading"...
...
While it's not as useful as the other splashes, this may help showing
issues with early post-framebuffer init. E.g. network or adbd in
stage-1.
The hollow logo is simple to describe, compared to a black and white
one, compared to a full colour one.
2019-09-21 18:07:42 -04:00
Samuel Dionne-Riel
54a52b8351
splash: different splash for sthe stages
...
This is to allow platforms where the virtual console is not available to
graphically show the state of the system; is it stuck in stage-1, early
stage-2 or is it about to get into systemd's init?
This is still a big hack, though but relatively clean.
2019-09-21 17:46:09 -04:00
Samuel Dionne-Riel
66a7f812c9
depthcharge: Integrates rootfs into image build
2019-09-21 17:32:16 -04:00
Samuel Dionne-Riel
c4d16fd341
rootfs: Build using the image-builder
2019-09-21 17:32:16 -04:00
Samuel Dionne-Riel
70a967a904
modules: Integrate with NixOS...
...
Otherwise, passing configuration to the NixOS modules system would
become harder, for "outside-in" builds, and would make it harder to
integrate into a nixos-rebuild type build.
2019-09-21 17:32:16 -04:00
Samuel Dionne-Riel
77110eaa92
default.nix: WIP minor refactor
2019-09-21 17:32:16 -04:00
Samuel Dionne-Riel
546dce59a8
overlay: picks up unused changes
2019-09-21 17:32:16 -04:00
Samuel Dionne-Riel
4be6154021
stage-1: Hardcoded udev usage for device detection
...
This should be extracted into a self-contained module.
2019-09-21 17:32:16 -04:00
Samuel Dionne-Riel
7f236593f3
stage-2: Fixes system path detection
...
Though this is still naïve and hardcoded to the last one.
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
14ed832220
depthcharge: Build a disk image using our kpart
...
It's missing a system partition. Fear not, it's coming!
2019-09-21 17:32:16 -04:00
Samuel Dionne-Riel
343407099e
Removes old system image stuff
...
The new upcoming stage-2 things are more clean
2019-09-21 17:32:16 -04:00
Samuel Dionne-Riel
acd6d41ec9
system-target: rephrase trace about cross
2019-09-21 17:32:13 -04:00
Samuel Dionne-Riel
f846f343f3
modules: misc minor refactor
2019-09-21 13:58:59 -04:00
Samuel Dionne-Riel
a04255b4eb
image-builder: FIXME disables ext4 fsck...
...
I *think* there is a new check that wasn't previously (in 19.03) part of
e2fsck. This is now causing the check to fail.
FIXME : figure out a way to disable the check, or make the image comply.
2019-09-21 13:58:03 -04:00
Samuel Dionne-Riel
9264c6afc7
image-builder: WIP adds makeGPT
...
TODO : review makeMBR
TODO : share common code into makeFromSfdisk
TODO : add tests
2019-09-21 13:57:12 -04:00
Samuel Dionne-Riel
4e0b281d99
misc. removes unneeded comments
2019-09-21 13:56:51 -04:00