Mainline Linux kernel for the Jolla C2

I’ve uploaded a new version in which voice calls should work. However, VoLTE is not working yet, and it seems that the phone cannot fall back to 2G/3G unless the call is initiated by the user.

I was hoping to get the “Network mode” switch working in settings so that you can at least switch 4G off manually, but for some reason the modem fails to power off its LTE hardware and crashes when the setting is changed (or when flight mode is enabled):

Platform Version: MOCORTM_22B_W23.08.5_Debug
Project Version:   qogirl6_pub
BASE  Version:    4G_MODEM_22B_W23.08.5
HW Version:        qogirl6_modem
02-24-2023 04:20:30
File:  PS/stack/nas/emm/src/control/nam/nam.c
Line:  15330
PASSERT(0)
NAM_IND_AS_AL_shutDown_Confirm failure!
Current thread info:
                        ID:               0x94
                        Name:             MM Task
                        Tcb_Addr:         0x8c26f63c
                        Last_Err:         0x0
                        Stack_Start:      0x8c9f1cdc
                        Stack_End:        0x8c9f632b
                        Queue_Name:       MM Q
                        Queue_Total:      200
                        Queue_Used:       0
                        Queue_Available:  200
                        Queue_Start:      0x8c9ad08c
                        Queue_End:        0x8c9add0c
Current status is SVC, below is the registers before assert:
Current mode:
        R0  = 0x00000000    R1   = 0x8c9f610c
        R2  = 0x8c9f6110    R3   = 0x800000d3
        R4  = 0x00000000    R5   = 0x00000000
        R6  = 0x8d106430    R7   = 0x8c9f6150
        R8  = 0x00000000    R9   = 0x8af2f17c
        R10 = 0x00000000    R11  = 0x00003be2
        R12 = 0x0000000a    R13  = 0x8c9f60f4
        R14 = 0x8b7e40e1    PC   = 0x8bd21060
        SPSR= 0x80000013    CPSR = 0x800000d3
SVC mode:
        R13 = 0x8c9f60f4    R14  = 0x8b7e40e1
        SPSR = 0x80000013
IRQ mode:
        R13 = 0x8d83b7d8    R14  = 0x8b111eb8
        SPSR = 0x80000013
Abort mode:
        R13 = 0x8d8351b0    R14  = 0x00000000
        SPSR = 0x00000010
Undefined mode:
        R13 = 0x8ce807f8    R14  = 0x00000000
        SPSR = 0x00000010
FIQ mode:
        R13 = 0x8d8355d0    R14  = 0x00000000
        SPSR = 0x00000010
Assert Debug Menu:
0. Print help info.
1. Print assert info.
2. Print important registers.
3. Dump all memory to a file.
4. Print memory allocated info.
5. Print memory pools info.
6. Print tasks info.
7. Print stack info.
8. Print callback function list.
a. Dump task usage.
b. Dump definite memory to a file.
c. Dump TaskSwitch memory to a file.
d. Print Event list information.
e. Print Mutex list information.
g. Print Semaphore list information.
h. Print Fat system control block info.
i. Print Byte Pool infomation
j. Print PS tasks queue info
k. Print PS function call stack
l. Print timer list infomation.
m. Print DSP assert info.
o. Mini dump info.
t. Print the all assert information.
v. Print Version Information.
z. Reset MCU.

The network technology switch is disabled for now, which means that you cannot receive incoming calls when a 4G network is available.

6 Likes