SC20 Linux Eval Board bricked

Hello,

I Think I’ve bricked my eval board. I’ve create a minimal image from the recipe meta-qti-bsp/recipes-products/images/machine-minimal-image.bb.

After that I’ve do :
$ ls
jimini-minimal-image-msm8909-20201023093707.rootfs.ext4 machine-recovery-image-msm8909-20201023093707.rootfs.ext4 msm8909-boot.img
jimini-minimal-image-msm8909-20201023093707.rootfs.manifest machine-recovery-image-msm8909-20201023093707.rootfs.manifest msm8909-boot.img.nonsecure
jimini-minimal-image-msm8909-20201023093707.testdata.json machine-recovery-image-msm8909-20201023093707.testdata.json msm8909-recoveryfs.ext4
jimini-minimal-image-msm8909.ext4 machine-recovery-image-msm8909.ext4 vmlinux
jimini-minimal-image-msm8909.manifest machine-recovery-image-msm8909.manifest
jimini-minimal-image-msm8909.testdata.json machine-recovery-image-msm8909.testdata.json
$ fastboot flash system jimini-minimal-image-msm8909.ext4
target reported max download size of 262144000 bytes
erasing ‘system’…
OKAY [ 0.059s]
sending ‘system’ (65536 KB)…
OKAY [ 2.069s]
writing ‘system’…
OKAY [ 1.771s]
finished. total time: 3.899s
$ fastboot reboot
rebooting…

finished. total time: 0.055s

Now my display show me the Tux but the USB port not appear with dmesg or lsusb… The two uart give no feedback too.

What I’ve done wrong? Have you a solution to resolve this problem?

From the UART debug I can have some info, I don’t know how to enable USB or fastboot mode in order to upload a new system.

Log from boot on UART debug :

Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.2.C2-00037
S - IMAGE_VARIANT_STRING=DAASANAZA
S - OEM_IMAGE_VERSION_STRING=quectel
S - Boot Config, 0x000000e1
B - 1566 - PBL, Start
B - 4542 - bootable_media_detect_entry, Start
B - 59759 - bootable_media_detect_success, Start
B - 59763 - elf_loader_entry, Start
B - 60860 - auth_hash_seg_entry, Start
B - 61118 - auth_hash_seg_exit, Start
B - 74745 - elf_segs_hash_verify_entry, Start
B - 133933 - PBL, End
B - 146552 - SBL1, Start
B - 204167 - boot_flash_init, Start
D - 0 - boot_flash_init, Delta
B - 210816 - boot_config_data_table_init, Start
D - 7289 - boot_config_data_table_init, Delta - (0 Bytes)
B - 222711 - CDT version:3,Platform ID:8,Major ID:1,Minor ID:0,Subtype:0
B - 228872 - pm_device_init, Start
B - 232196 - pm_device_init, TEST - MSM8909 detected
B - 237595 - pm_device_init, INFO - PM8909 is selected
B - 251960 - PM_SET_VAL:Skip
D - 21441 - pm_device_init, Delta
B - 253333 - sbl1_ddr_set_params, Start
B - 255742 - cpr_init, Start
D - 0 - cpr_init, Delta
B - 261385 - Pre_DDR_clock_init, Start
D - 183 - Pre_DDR_clock_init, Delta
D - 0 - sbl1_ddr_set_params, Delta
B - 274286 - pm_driver_init, Start
B - 280966 - --> Charge init
B - 281210 - battery good, boot up
B - 282247 - boot up
B - 10 - Current status
D - 11163 - pm_driver_init, Delta
B - 297527 - clock_init, Start
D - 152 - clock_init, Delta
B - 297924 - Image Load, Start
D - 25681 - QSEE Image Loaded, Delta - (490280 Bytes)
B - 323666 - Image Load, Start
D - 274 - SEC Image Loaded, Delta - (2048 Bytes)
B - 332084 - sbl1_efs_handle_cookies, Start
D - 640 - sbl1_efs_handle_cookies, Delta
B - 338672 - Image Load, Start
D - 13084 - RPM Image Loaded, Delta - (157136 Bytes)
B - 351787 - Image Load, Start
D - 35685 - APPSBL Image Loaded, Delta - (570264 Bytes)
B - 387502 - QSEE Execution, Start
D - 427 - QSEE Execution, Delta
B - 393206 - SBL1, End
D - 248941 - SBL1, Delta
S - Throughput, 34000 KB/s (1219728 Bytes, 35803 us)
S - DDR Frequency, 400 MHz
Android Bootloader - UART_DM Initialized!!!
[0] welcome to lk

[0] SCM call: 0x2000601 failed with :fffffffc
[0] Failed to initialize SCM
[10] platform_init()
[10] target_init()
[50] SDHC Running in HS200 mode
[50] Done initialization of the card
[60] pm8x41_get_is_cold_boot: cold boot
[60] Waiting for the RPM to populate smd channel table
[60] Not able to search the panel:
[70] panel_operating_mode=0x0
[120] ERROR: Splash image header invalid
[150] Config MIPI_VIDEO_PANEL.
[300] dsi panel init error
[300] Turn off MIPI_VIDEO_PANEL.
[380] Not able to search the panel:
[380] panel_operating_mode=0x0
[480] ERROR: Splash image header invalid
[510] Config MIPI_VIDEO_PANEL.
[640] Panic Lut0 512 Lut1 fff Robest 0
[640] Turn on MIPI_VIDEO_PANEL.
[660] Video lane tested successfully
CTRL+C: enter instruction mode
CTRL+C: out instruction mode
input FCT : enter instruction mode
[840] is_enter_fctmode ch:�
enter next loop
out fct instruction mode
[840] Recovery command: 32 normal1
[850] Unable to locate /bootselect partition
[850] Loading (boot) image (18632704): start
[980] Loading (boot) image (18632704): done
[990] use_signed_kernel=1, is_unlocked=1, is_tampered=0.
[990] Uncpmpressed kernel in use
[990] Kernel image not patched…Unable to locate dt offset
[1020] Best match DTB tags 245/00000008/0x00000000/0/1000d/0/0/0/9119dcac/30a19
[1030] Using pmic info 0x1000d/0x0/0x0/0x0 for device 0x1010d/0x0/0x0/0x0
[1030] display kernel cmdline: mdss_mdp3.panel=1:dsi:0:qcom,mdss_dsi_hx8394f_720p_video:1:none:cfg:single_dsi
[1040] cmdline: noinitrd ro console=ttyHSL0,115200,n8 androidboot.hardware=qcom ehci-hcd.park=3 msm_rtb.filter=0x37 lpm_levels.sleep_disabled=1 rootwait androidboot.bootdevice=7824900.sdhci androidboot.bootdevice=7824900.sdhci androidboot.serialno=3dca6203 andro[1060] Updating device tree: start
[1080] Updating device tree: done
[1080] Turn off MIPI_VIDEO_PANEL.
[1080] Continuous splash enabled, keeping panel alive.
[1090] Channel alloc freed
[1100] booting linux @ 0x80008000, ramdisk @ 0x82000000 (0), tags/device tree @ 0x81e00000

Log from booting with Ctrl + C pressed :

Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.2.C2-00037
S - IMAGE_VARIANT_STRING=DAASANAZA
S - OEM_IMAGE_VERSION_STRING=quectel
S - Boot Config, 0x000000e1
B - 1566 - PBL, Start
B - 4542 - bootable_media_detect_entry, Start
B - 59774 - bootable_media_detect_success, Start
B - 59778 - elf_loader_entry, Start
B - 60874 - auth_hash_seg_entry, Start
B - 61134 - auth_hash_seg_exit, Start
B - 74761 - elf_segs_hash_verify_entry, Start
B - 133948 - PBL, End
B - 145790 - SBL1, Start
B - 203069 - boot_flash_init, Start
D - 30 - boot_flash_init, Delta
B - 209687 - boot_config_data_table_init, Start
D - 7259 - boot_config_data_table_init, Delta - (0 Bytes)
B - 221491 - CDT version:3,Platform ID:8,Major ID:1,Minor ID:0,Subtype:0
B - 227652 - pm_device_init, Start
B - 230946 - pm_device_init, TEST - MSM8909 detected
B - 236283 - pm_device_init, INFO - PM8909 is selected
B - 250649 - PM_SET_VAL:Skip
D - 21380 - pm_device_init, Delta
B - 252052 - sbl1_ddr_set_params, Start
B - 254431 - cpr_init, Start
D - 0 - cpr_init, Delta
B - 260073 - Pre_DDR_clock_init, Start
D - 183 - Pre_DDR_clock_init, Delta
D - 0 - sbl1_ddr_set_params, Delta
B - 272975 - pm_driver_init, Start
B - 279654 - --> Charge init
B - 279898 - battery good, boot up
B - 280935 - boot up
B - 10 - Current status
D - 11285 - pm_driver_init, Delta
B - 296216 - clock_init, Start
D - 152 - clock_init, Delta
B - 296612 - Image Load, Start
D - 25803 - QSEE Image Loaded, Delta - (490280 Bytes)
B - 322446 - Image Load, Start
D - 244 - SEC Image Loaded, Delta - (2048 Bytes)
B - 330894 - sbl1_efs_handle_cookies, Start
D - 640 - sbl1_efs_handle_cookies, Delta
B - 337452 - Image Load, Start
D - 13023 - RPM Image Loaded, Delta - (157136 Bytes)
B - 350506 - Image Load, Start
D - 35502 - APPSBL Image Loaded, Delta - (570264 Bytes)
B - 386069 - QSEE Execution, Start
D - 396 - QSEE Execution, Delta
B - 391772 - SBL1, End
D - 248239 - SBL1, Delta
S - Throughput, 34000 KB/s (1219728 Bytes, 35619 us)
S - DDR Frequency, 400 MHz
Android Bootloader - UART_DM Initialized!!!
[0] welcome to lk

[0] SCM call: 0x2000601 failed with :fffffffc
[0] Failed to initialize SCM
[10] platform_init()
[10] target_init()
[50] SDHC Running in HS200 mode
[50] Done initialization of the card
[60] pm8x41_get_is_cold_boot: cold boot
[60] Waiting for the RPM to populate smd channel table
[60] Not able to search the panel:
[70] panel_operating_mode=0x0
[120] ERROR: Splash image header invalid
[150] Config MIPI_VIDEO_PANEL.
[300] dsi panel init error
[300] Turn off MIPI_VIDEO_PANEL.
[380] Not able to search the panel:
[380] panel_operating_mode=0x0
[480] ERROR: Splash image header invalid
[510] Config MIPI_VIDEO_PANEL.
[640] Panic Lut0 512 Lut1 fff Robest 0
[640] Turn on MIPI_VIDEO_PANEL.
[660] Video lane tested successfully
CTRL+C: enter instruction mode
[680] aboot_init ch: 3
Please input your instruction:

PINTEST: test gpio(s) connectivity.
fastboot: enter fastboot mode.
[3010] aboot_init ch: d
aboot_init: invalid cmd .

Hello gilou,

I too got the same error. If your error is resolved, can you share the solution.

Hello The_Martian_Man,

Unfortunately I’ve not fixed this problem. I’ve no answer from Quectel too…

I’ve tried the method given by the document Quectel_SC20_Linux_Packaging%26Download_On_Ubuntu_Guide_V1.2.pdf.

But the board is not responding now… I’ve a timout error. See this other post

Hi gilou,

Thank you for your immediate response.I have a doubt from other topic. Have you tried to update the images through OTA? If yes, Can you share me the procedure for SC20.

Hello gilou,

My issue has been solved. I have installed fastboot and dependencies regarding SC20.

How do you do that? Can you give me your method ?

I first installed the fastboot
sudo apt-get install fastboot
then
install the depencencies from the below document

ftp://tor.kpi.ua/pub/pavlov/Distrib/UnitedHelp/Datasheet/Quectel%20SC20%20-%20Multi-mode%20Smart%20LTE%20Module%20with%20Wi-Fi%20&%20Bluetooth/Quectel_SC20_Android_Compiling_Instructions_V1.0.pdf

If the error is not solved, just try to unplug the usb and connect to other port.

Thank you, I will try this monday. I’m not using Android but yocto linux, but for upload, there is probably a common way.
Thank you

Hi Gilou,

I have the same issue on my SC20, did you find the solution?

logs:

Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.2.C2-00060
S - IMAGE_VARIANT_STRING=DAASANAZA
S - OEM_IMAGE_VERSION_STRING=quectel
S - Boot Config, 0x000000e1
B - 1566 - PBL, Start
B - 4542 - bootable_media_detect_entry, Start
B - 111261 - bootable_media_detect_success, Start
B - 111265 - elf_loader_entry, Start
B - 112058 - auth_hash_seg_entry, Start
B - 112318 - auth_hash_seg_exit, Start
B - 126222 - elf_segs_hash_verify_entry, Start
B - 185665 - PBL, End
B - 198097 - SBL1, Start
B - 255712 - boot_flash_init, Start
D - 30 - boot_flash_init, Delta
B - 262361 - boot_config_data_table_init, Start
D - 3599 - boot_config_data_table_init, Delta - (0 Bytes)
B - 272334 - CDT version:3,Platform ID:8,Major ID:1,Minor ID:0,Subtype:0
B - 279593 - pm_device_init, Start
B - 282735 - pm_device_init, TEST - MSM8909 detected
B - 288103 - pm_device_init, INFO - PM8909 is selected
B - 302377 - PM_SET_VAL:Skip
D - 21319 - pm_device_init, Delta
B - 303749 - sbl1_ddr_set_params, Start
B - 306159 - cpr_init, Start
D - 0 - cpr_init, Delta
B - 311801 - Pre_DDR_clock_init, Start
D - 183 - Pre_DDR_clock_init, Delta
D - 0 - sbl1_ddr_set_params, Delta
B - 324764 - pm_driver_init, Start
B - 331260 - → Charge init
B - 3663 - battery voltage
B - 334768 - boot up
B - 10 - Current status
D - 10705 - pm_driver_init, Delta
B - 347242 - clock_init, Start
D - 122 - clock_init, Delta
B - 347608 - Image Load, Start
D - 21991 - QSEE Image Loaded, Delta - (505472 Bytes)
B - 369660 - Image Load, Start
D - 335 - SEC Image Loaded, Delta - (2048 Bytes)
B - 378047 - sbl1_efs_handle_cookies, Start
D - 762 - sbl1_efs_handle_cookies, Delta
B - 384666 - Image Load, Start
D - 13664 - RPM Image Loaded, Delta - (157080 Bytes)
B - 398391 - Image Load, Start
D - 36264 - APPSBL Image Loaded, Delta - (590648 Bytes)
B - 434686 - QSEE Execution, Start
D - 396 - QSEE Execution, Delta
B - 440389 - SBL1, End
D - 244580 - SBL1, Delta
S - Throughput, 38000 KB/s (1255248 Bytes, 32993 us)
S - DDR Frequency, 400 MHz
Android Bootloader - UART_DM Initialized!!!
[0] welcome to lk

[0] SCM call: 0x2000601 failed with :fffffffc
[0] Failed to initialize SCM
[10] platform_init()
[10] target_init()
[40] SDHC Running in HS200 mode
[150] Done initialization of the card
[150] pm8x41_get_is_cold_boot: cold boot
[150] Qseecom Init Done in Appsbl version is 0x405000
[160] secure app region addr=0x87a00000 size=0x200000[160] TZ App region notif returned with status:0 addr:87a00000 size:2097152
[170] TZ App log region register returned with status:0 addr:8f6cc000 size:4096
[180] Qseecom TZ Init Done in Appsbl
[190] Loading cmnlib done
[190] qseecom_start_app: Loading app keymaster for the first time’
[210] Waiting for the RPM to populate smd channel table
[210] Not able to search the panel:
[220] panel_operating_mode=0x0
[290] Config MIPI_VIDEO_PANEL.
[460] Panel CMD: command mode dma test failed
[460] dsi panel init error
[460] Turn off MIPI_VIDEO_PANEL.
[550] Not able to search the panel:
[550] panel_operating_mode=0x0
[660] Config MIPI_VIDEO_PANEL.
[810] Panel CMD: command mode dma test failed
[810] dsi panel init error
[820] Turn off MIPI_VIDEO_PANEL.
[900] Not able to search the panel:
[900] panel_operating_mode=0x0
[1060] Config MIPI_VIDEO_PANEL.
[1220] Panic Lut0 1a90000 Lut1 fff Robest 0
[1230] Turn on MIPI_VIDEO_PANEL.
[1250] Video lane tested successfully
CTRL+C: enter instruction mode
CTRL+C: out instruction mode
[2280] fastboot_init()
[2280] Loading keystore failed status 5 [2380] USB init ept @ 0x8f6d8000
[2400] udc_start()
[2430] creating fastboot menu keys detect thread

Hello, sorry for the delay.

My problem was the modemmanager on my linux. I removed this service and I’m able to reprogram the board after that.