Skip to content
Snippets Groups Projects

add linux-nokia-n900 and remove linux-postmarketos-stable

Merged Imported Administrator requested to merge device/nokia-n900-kernel into master
All threads resolved!

The linux-nokia-n900 package is based on the linux-postmarketos-stable, same kernel version and same config.

I've removed a lot of unnecessary code for multiple architecture and -dev subpackage (I don't think somebody ever used it on the N900).

I've also added 2 patches from the maemo leste kernel:

  • 0001-ARM-dts-n900-increase-charge-current-limit-to-950mA.patch
  • 0002-ARM-dts-n900-remove-rx51-battery.patch

And added a patch to ignore the battery inaccurate flag, which indicates that the battery is not calibrated (requires full charge -> empty cycle to calibrate)

  • 0003-power-supply-bq27xxx_battery-ignore-inaccurate-flag.patch

The battery driver in the original 2.6 kernel used in the Maemo Freemantle did not have this flag and the battery percentage wasn't that inaccurate.

Closes #464 (closed)

Edited by Administrator

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Administrator added type::feature + 1 deleted label · Imported

    added type::feature + 1 deleted label

  • Administrator marked as a Work In Progress · Imported

    marked as a Work In Progress

    By Daniele Debernardi on 2020-03-17T22:18:25

  • Administrator changed the description · Imported

    changed the description

    By Daniele Debernardi on 2020-03-17T22:18:25

  • Administrator added 3 commits · Imported

    added 3 commits

    • 4e0afce8 - testing/linux-nokia-n900: new aport
    • c78e75a4 - testing/device-nokia-n900: use linux-nokia-n900
    • f1f83f60 - main/linux-postmarketos-stable: remove

    Compare with previous version

    By Daniele Debernardi on 2020-03-17T23:40:25

  • Administrator unmarked as a Work In Progress · Imported

    unmarked as a Work In Progress

    By Daniele Debernardi on 2020-03-17T23:40:33

  • Administrator marked as a Work In Progress · Imported

    marked as a Work In Progress

    By Daniele Debernardi on 2020-03-17T23:54:55

    • Author Owner
      Resolved by Administrator

      While testing the kernel sometimes doesn't boot and just remains with a black screen.

      I've changed how the kernel is built, and I'm wondering if the cause might be that I removed the CFLAGS_MODULE=-fno-pic.

      Or maybe because I removed the HOSTCC variables?

      HOSTCC="${CC:-gcc}"
      HOSTCC="${HOSTCC#${CROSS_COMPILE}}"

      Or maybe my patch of the bq27xxx_battery driver?

      Any idea?

      ps: booting in original Maemo 5 works and shows the battery is 65%

      edit: connecting the usb cable I'm able to connect with ssh

      edit2: the switch on the right side of the phone actually enabled the display backlight and everything is fine. But why it was black during the boot? It keeps the last value from the reboot?

      By Daniele Debernardi on 2020-03-19T01:06:23

      Edited by Administrator
  • Administrator resolved all threads · Imported

    resolved all threads

    By Daniele Debernardi on 2020-03-18T11:31:59

  • Administrator
  • Administrator unmarked as a Work In Progress · Imported

    unmarked as a Work In Progress

    By Daniele Debernardi on 2020-03-18T13:21:55

  • Administrator changed the description · Imported

    changed the description

    By Minecrell on 2020-03-18T16:51:21

  • Administrator added 25 commits · Imported

    added 25 commits

    Compare with previous version

    By Daniele Debernardi on 2020-03-18T20:02:50

  • Administrator marked as a Work In Progress · Imported

    marked as a Work In Progress

    By Daniele Debernardi on 2020-03-18T21:06:22

  • Administrator added 3 commits · Imported

    added 3 commits

    • f1069831 - testing/linux-nokia-n900: new aport
    • e979e4b0 - testing/device-nokia-n900: use linux-nokia-n900
    • 64c225f4 - main/linux-postmarketos-stable: remove

    Compare with previous version

    By Daniele Debernardi on 2020-03-18T22:36:36

  • Administrator unmarked as a Work In Progress · Imported

    unmarked as a Work In Progress

    By Daniele Debernardi on 2020-03-18T22:36:47

  • Author Owner

    I can't say anything about the extra patches you have added. But for all other changes:

    By Minecrell on 2020-03-19T12:24:01

  • Administrator approved this merge request · Imported

    approved this merge request

    By Minecrell on 2020-03-19T12:24:03

  • Administrator approved this merge request · Imported

    approved this merge request

    By Oliver Smith on 2020-03-21T19:49:22

  • Author Owner

    LGTM, ready to be merged! (Not merging right now, because I'm waiting for CI to build and then auto-merge !1002.)

    By Oliver Smith on 2020-03-21T19:50:10

  • Administrator resolved all threads · Imported

    resolved all threads

    By Oliver Smith on 2020-03-21T20:11:08

  • Administrator mentioned in commit d4181b19 · Imported

    mentioned in commit d4181b19

    By Daniele Debernardi on 2020-03-21T20:12:35

  • Administrator mentioned in commit ecb510c2 · Imported

    mentioned in commit ecb510c2

    By Daniele Debernardi on 2020-03-21T20:12:36

  • Administrator mentioned in commit 57556f30 · Imported

    mentioned in commit 57556f30

    By Daniele Debernardi on 2020-03-21T20:12:36

  • Administrator added 18 commits · Imported

    added 18 commits

    Compare with previous version

    By Oliver Smith on 2020-03-21T20:12:37

  • Administrator enabled an automatic merge when the pipeline for ecb510c2 succeeds · Imported

    enabled an automatic merge when the pipeline for ecb510c2 succeeds

    By Oliver Smith on 2020-03-21T20:13:14

  • Administrator merged · Imported

    merged

    By Oliver Smith on 2020-03-21T20:14:16

  • Administrator mentioned in issue #359 (closed) · Imported

    mentioned in issue #359 (closed)

    By Daniele Debernardi on 2020-03-21T21:23:20

  • Administrator mentioned in issue pmbootstrap#1891 (closed) · Imported

    mentioned in issue pmbootstrap#1891 (closed)

    By Antoine Fontaine on 2020-03-22T07:51:35

  • Administrator mentioned in merge request pmbootstrap!1916 (merged) · Imported

    mentioned in merge request pmbootstrap!1916 (merged)

    By Antoine Fontaine on 2020-05-11T21:41:49

  • Please register or sign in to reply
    Loading