Port Nokia 800 Tough (nokia-coconut), fix microSD detection, and stage upcoming a1120 (cocojamboo) build
- Migrate nokia-tough to canonical nokia-coconut while keeping CLI aliases, add layered bootloader/lk2nd/nokia-coconut.patch, bootfs/bootimg validators, and offline scripts/inspect-stock-msm8905-dump.py - Complete nokia-coconut Stage 2 hardware bring-up: wire 6-column 22-key keypad (gpio0, gpio3, gpio7, gpio99, gpio6, gpio1), gpio98 KEY_POWER, and pon@800:resin KEY_DOWN (0x6c); split leds-msm8905-torch into GPIO_13 white:torch (dedicated top-edge flashlight) and GPIO_32 camera:flash (rear camera flash for camera.so and bananarchy-photo) - Restore sdhci@7864000 non-removable across all six DTS/DTB targets, remove unwired gpio38 cd-gpios/sdc2-cd-* states, and harden sxmo_sdcard.sh under flock - Register upcoming build a1120 (cocojamboo) in scripts/version.sh, scripts/check-rebuild.sh, CHANGELOG.md, AGENTS.md, README.md, and MANUAL.md with verified hashes across nokia-argon, nokia-beatles, and nokia-coconut
This commit is contained in:
1 parent
fc5c4282f5
commit
ab53423e33
60 files changed
+2669
-453
No files matched your search
@@ -0,0 +1,2 @@
|
||||
/lib/firmware/nokia,coconut-gc9305-panel.bin
|
||||
/lib/firmware/nokia,argon-gc9305-v2-panel.bin
|
||||
@@ -0,0 +1,35 @@
|
||||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="Nokia 800 Tough"
|
||||
deviceinfo_manufacturer="Nokia"
|
||||
deviceinfo_codename="nokia-coconut"
|
||||
deviceinfo_year="2019"
|
||||
deviceinfo_dtb="qcom-msm8905-nokia-coconut"
|
||||
deviceinfo_append_dtb="true"
|
||||
deviceinfo_arch="armv7"
|
||||
deviceinfo_swap_size_recommended="512"
|
||||
# postmarketos-zram-swap reads this via /usr/share/misc/source_deviceinfo.
|
||||
# lz4 is much cheaper than zramstart's zstd default on a 512 MB Cortex-A7.
|
||||
deviceinfo_zram_swap_algo="lz4"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="handset"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_screen_width="240"
|
||||
deviceinfo_screen_height="320"
|
||||
deviceinfo_drm="true"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_generate_extlinux_config="true"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
deviceinfo_header_version="0"
|
||||
deviceinfo_flash_offset_base="0x80000000"
|
||||
deviceinfo_flash_offset_kernel="0x00008000"
|
||||
# Stock 2019 FIH MSM8905 aboot load addresses, matching nokia-beatles.
|
||||
deviceinfo_flash_offset_ramdisk="0x01000000"
|
||||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
deviceinfo_flash_sparse="true"
|
||||
deviceinfo_partition_type="msdos"
|
||||
Whitespace-only changes.
@@ -0,0 +1,5 @@
|
||||
pm8916-lbc
|
||||
pm8916-bms-vm
|
||||
panel-mipi-dbi
|
||||
matrix_keypad
|
||||
matrix_keymap
|
||||
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
# Nokia 800 Tough (nokia-coconut) 2.4-inch 240x320 QVGA SPI MIPI-DBI panel
|
||||
# Based on arch/arm/boot/dts/argon/spi-panel-gc9305-v2-qvga-cmd from
|
||||
# the downstream kernel, which is:
|
||||
# Copyright (c) 2017, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 and
|
||||
# only version 2 as published by the Free Software Foundation.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
command 0x36 0x00
|
||||
command 0x3a 0x55 # format: 65K 16bit
|
||||
command 0x35 0x00 # TE v-blanking
|
||||
command 0xb2 0x0c 0x0c 0x00 0x33 0x33 # porch setting
|
||||
command 0xb7 0x75 # gate control VGH VGL
|
||||
command 0xbb 0x34 # Vcoms setting 1.4v
|
||||
command 0xc0 0x2c # LCM control
|
||||
command 0xc2 0x01 # VDV VRH COMMAND ENABLE
|
||||
command 0xc3 0x0d # VRH SET
|
||||
command 0xc4 0x20 # VDV SET
|
||||
command 0xc6 0xef # frame rate
|
||||
command 0x44 0x00 0x00 # SET TEARING SCAN LINE
|
||||
command 0xd0 0xa4 0xa1 # power control 1
|
||||
|
||||
# gamma
|
||||
command 0xe0 0xd0 0x02 0x09 0x0d 0x0e 0x19 0x30 0x51 0x43 0x09 0x14 0x13 0x18 0x21
|
||||
command 0xe1 0xd0 0x02 0x09 0x0d 0x0d 0x18 0x32 0x46 0x42 0x09 0x13 0x13 0x17 0x21
|
||||
|
||||
command 0x11 # sleep out
|
||||
delay 120
|
||||
command 0x29 # display on
|
||||
Binary file not shown.
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user