Commit graph

7 commits

Author SHA1 Message Date
Bhushan Shah
e9f8f27b51 linux-purism-librem5dev: Disable CONFIG_FW_LOADER_USER_HELPER (!237)
When working on Librem5 devkit we had issue with touchscreen driver not
probing fast enough and taking ~70 seconds to finish initialization.

Touchscreen driver for the Librem5 devkit uses goodix driver, roughly
speaking device initialization is done in following sequence,

- start kernel and load driver
- attempt to request firmware
- if no firmware is found use defaults value
- initialize touchscreen

Now, on Librem 5 no firmware is provided (of course!) which makes 2nd
step 4 step process,

- attempt to load firmware at initramfs level
- fail, wait for it userspace to finish loading
- userspace attempts to load firmware
- fail and tell kernel to stop looking for firmware.

Step 2 to 4 is done after udev is loaded in userspace, which easily
takes 40-50 seconds. Since Purism Librem 5 devkit is never going to have
userspace level firmware, it is safe bet to disable this altogether.

[skip ci] tested locally and this is going to take more then hour on CI
and fail
2019-02-25 20:29:00 +00:00
Clayton Craft
c5db817421
linux-purism-librem5dev: Update to latest purism kernel (!232)
Most notably, this update enabled the LCD display for all devices!
2019-02-21 19:56:10 +01:00
Oliver Smith
bf12556657
purisum-librem5dev: skip kconfig check (!215)
Ignore this kernel in "pmbootstrap kconfig check" by default, so we can
use the upstream kernel config without any changes. But still enable the
kernel config check again.

The related pmbootstrap change will be merged soon:
https://gitlab.com/postmarketOS/pmbootstrap/merge_requests/1753

[skip ci]: this change doesn't affect the build
2019-02-21 19:24:55 +01:00
Clayton Craft
bbcc878e4f linux-purism-librem5dev: update to latest linux-emcraft branch (4.18-wip) (!192) 2019-02-05 09:41:32 +01:00
Clayton Craft
8fc1c28d9a linux-purism-librem5dev: use correct flavor name (!182) 2019-01-31 08:25:42 +01:00
Oliver Smith
e04192baf3
linux-purism-librem5dev: set REPLACE_GCCH=0
Do not replace compiler-gcc.h. This is necessary now, as we are
replacing compiler-gcc.h by default again, as it is needed for most
kernels. Not increasing the pkgrel to avoid unnecessary rebuild, I have
verified that this works.

NOTE: in the last commit message, I wrote about OVERWRITE_GCC=0. But
the variable is called REPLACE_GCC, as I've decided to rename it before
submitting. I forgot to change it in the commit message.

[skip ci]: this kernel takes more than one hour to build, so it won't
           finish in CI.
2019-01-29 09:55:45 +01:00
Clayton Craft
03fcb0d08f
device/linux-purism-librem5dev: new package (!141) 2019-01-28 20:45:18 +01:00