diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-05-13 18:29:00 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-05-13 19:25:23 +0200 |
commit | e279f47b8b9d31b2659d2ca3e1a7d65f3feb6f63 (patch) | |
tree | a6b504e92881706d2302e91215241209e5d34990 | |
parent | 1c46fc93912595d78b4d336c71e2cd0e6ab6d64e (diff) | |
download | kernel_replicant_linux-forkbomb/v4.16.tar.gz kernel_replicant_linux-forkbomb/v4.16.tar.bz2 kernel_replicant_linux-forkbomb/v4.16.zip |
Move Samsung modem driver as builtinforkbomb/v4.16
Without that fix, libsamsung-ipc fails to use the modem as we need
that driver for the modem to work and we're not using modules:
[...]
/dev/umts_ipc: -1 2
/dev/umts_ipc: -1 2
[E] Something went wrong
And with that fix, we can finally initialize the modem
enough to receive one message:
ipc-modem --debug --call=XXXXXXXXXX start
[I] Debug enabled
[I] Got call number!
[0] Starting modem on FMT client
[D] Starting n7100 modem boot
[D] Opened modem image device
[D] Mapped modem image data to memory
[D] Turned the modem off
0
0
[D] Turned the modem on
[D] Opened modem boot device
[D] Wrote ATAT in ASCII
[D] Read chip id (0x16)
[D] Wrote PSI header
[D] Wrote PSI, CRC is 0xc8
[D] Wrote PSI CRC (0xc8)
[D] Read PSI CRC ACK
[D] Read PSI ACK
[D] Sent XMM626 HSIC PSI
[D] Wrote EBL size
[D] Wrote EBL, CRC is 0xb5
[D] Wrote EBL CRC (0xb5)
[D] Sent XMM626 HSIC EBL
[D] Read port config
[D] Sent XMM626 HSIC port config
[D] Sent XMM626 HSIC SEC start
[D] Sent XMM626 HSIC firmware
[D] Checked nv_data path
[D] Checked nv_data md5 path
[D] Calculated nv_data md5: 50e04bd1ae13445977f3aec356ada08d
[D] Read nv_data md5: 50e04bd1ae13445977f3aec356ada08d
[D] Checked nv_data backup path
[D] Loaded nv_data
[D] Sent XMM626 HSIC nv_data
[D] Sent XMM626 HSIC SEC end
[D] Sent XMM626 HSIC HW reset
[D] Waiting for host wake failed
[D] Waited for host wake
[D] Waited for link connected
[D] (null) completed succesfully
/dev/umts_ipc: -1 2
/dev/umts_ipc: -1 19
/dev/umts_ipc: -1 19
/dev/umts_ipc: -1 19
/dev/umts_ipc: -1 19
/dev/umts_ipc: -1 19
/dev/umts_ipc: -1 19
/dev/umts_ipc: -1 19
[1] Starting modem_read_loop on FMT client
poll returns 1
[D] xmm626_sec_modem_fmt_recv: Received FMT message
[D] xmm626_sec_modem_fmt_recv: Message: aseq=0xff, command=IPC_PWR_PHONE_PWR_UP, type=IPC_TYPE_NOTI, size=0
[2] Phone is powered up (LPM)!
poll returns 1
[D] xmm626_sec_modem_fmt_recv: Received FMT message
[D] xmm626_sec_modem_fmt_recv: Message: aseq=0x00, command=IPC_MISC_ME_IMSI, type=IPC_TYPE_NOTI, size=16
[D] ================================= IPC FMT data =================================
[D] [0000] XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXX XXXXXXXX
[D] ================================================================================
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | arch/arm/configs/midas_defconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/configs/midas_defconfig b/arch/arm/configs/midas_defconfig index 32f262f553b7..f57c0ca08575 100644 --- a/arch/arm/configs/midas_defconfig +++ b/arch/arm/configs/midas_defconfig @@ -181,7 +181,7 @@ CONFIG_PPP_DEFLATE=y CONFIG_PPP_MPPE=y CONFIG_USB_RTL8152=y CONFIG_USB_USBNET=y -CONFIG_USB_NET_SAMSUNG_IPC=m +CONFIG_USB_NET_SAMSUNG_IPC=y CONFIG_USB_NET_SMSC75XX=y CONFIG_USB_NET_SMSC95XX=y # CONFIG_WLAN_VENDOR_ADMTEK is not set @@ -200,7 +200,7 @@ CONFIG_BRCMFMAC=m # CONFIG_WLAN_VENDOR_TI is not set # CONFIG_WLAN_VENDOR_ZYDAS is not set # CONFIG_WLAN_VENDOR_QUANTENNA is not set -CONFIG_NET_SAMSUNG_IPC=m +CONFIG_NET_SAMSUNG_IPC=y CONFIG_INPUT_EVDEV=y CONFIG_KEYBOARD_GPIO=y CONFIG_KEYBOARD_SAMSUNG=y |