Skip to content

Instantly share code, notes, and snippets.

@jchuang1977
jchuang1977 / boot.log
Created August 8, 2022 03:38
x55 boot log
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.SBL.4.1-00188
S - IMAGE_VARIANT_STRING=MAATANAZA
S - OEM_IMAGE_VERSION_STRING=HF-SW-PANDA
S - Boot Interface: NAND
S - Secure Boot: Off
S - Boot Config @ 0x00786070 = 0x00000041
S - JTAG ID @ 0x00786130 = 0x200cf0e1

Command:

curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"

URLs that can be created is from:

  • https://github.com/*
  • https://*.github.com
  • https://*.github.com/*
  • https://*.github.io
console:/ # dmesg | grep CAM_
[ 7.873530] CAM_INFO: CAM-CPAS: cam_cpas_hw_start: 1021 AXI client=[17][cpas-cdm][0] comp[1024], comp_ab[1024], uncomp[1024]
[ 7.893844] CAM_WARN: CAM-ISP: cam_vfe_top_ver2_init: 1020 Invalid mux type: 0
[ 7.901356] CAM_ERR: CAM-ISP: cam_vfe_bus_rd_ver1_init: 1082 Inval_prms soc_info:ffffffc2da6fc910 hw_intf:ffffffc2da6f2b00 hw_info0000000000000000
[ 7.914867] CAM_ERR: CAM-ISP: cam_vfe_bus_rd_ver1_init: 1083 controller: ffffffc2da709e80
[ 7.923266] CAM_INFO: CAM-ISP: cam_vfe_core_init: 876 RD cam_vfe_bus_init failed
[ 7.930982] CAM_INFO: CAM-CPAS: cam_cpas_hw_start: 1021 AXI client=[10][ife][0] comp[10640000000], comp_ab[10640000000], uncomp[10640000000]
[ 7.945752] CAM_WARN: CAM-ISP: cam_vfe_top_ver2_init: 1020 Invalid mux type: 0
[ 7.953284] CAM_ERR: CAM-ISP: cam_vfe_bus_rd_ver1_init: 1082 Inval_prms soc_info:ffffffc2da6fed10 hw_intf:ffffffc2da72c080 hw_info0000000000000000
[ 7.966754] CAM_ERR: CAM-ISP: cam_vfe_bus_rd_ver1_init: 1083 controller: fffff
@jchuang1977
jchuang1977 / gist:9dd7c707439d1a97cffc8aeb85cbbd00
Created April 30, 2020 07:19
adp-start CAM debug message
console:/ # dmesg | grep CAM_
[ 5.998192] CAM_INFO: CAM-CPAS: cam_cpas_hw_start: 1021 AXI client=[17][cpas-cdm][0] comp[1024], comp_ab[1024], uncomp[1024]
[ 6.018502] CAM_WARN: CAM-ISP: cam_vfe_top_ver2_init: 1020 Invalid mux type: 0
[ 6.026011] CAM_ERR: CAM-ISP: cam_vfe_bus_rd_ver1_init: 1082 Inval_prms soc_info:ffffffc2dab41310 hw_intf:ffffffc2dab4b780 hw_info0000000000000000
[ 6.039498] CAM_ERR: CAM-ISP: cam_vfe_bus_rd_ver1_init: 1083 controller: ffffffc2dab4f380
[ 6.047891] CAM_INFO: CAM-ISP: cam_vfe_core_init: 876 RD cam_vfe_bus_init failed
[ 6.055629] CAM_INFO: CAM-CPAS: cam_cpas_hw_start: 1021 AXI client=[10][ife][0] comp[10640000000], comp_ab[10640000000], uncomp[10640000000]
[ 6.070386] CAM_WARN: CAM-ISP: cam_vfe_top_ver2_init: 1020 Invalid mux type: 0
[ 6.077887] CAM_ERR: CAM-ISP: cam_vfe_bus_rd_ver1_init: 1082 Inval_prms soc_info:ffffffc2dab42510 hw_intf:ffffffc2dab79200 hw_info0000000000000000
[ 6.091363] CAM_ERR: CAM-ISP: cam_vfe_bus_rd_ver1_init: 1083 controller: fffff
@jchuang1977
jchuang1977 / start_stop_services_via_adb
Created November 11, 2019 08:53 — forked from chris-piekarski/start_stop_services_via_adb
android am force-stop and start services
adb -d shell am force-stop com.android.Settings
adb -d shell am startservice com.android.Settings/com.android.Settings.ServiceName
#list intent receivers
adb shell dumpsys package com.ubnt.restapi | grep intent
adb shell pm list packages
#force factory reset
adb shell "am broadcast -n "com.android.server/com.android.server.MasterClearReceiver" -a android.intent.action.FACTORY_RESET"
@jchuang1977
jchuang1977 / start_stop_services_via_adb
Created November 11, 2019 08:53 — forked from chris-piekarski/start_stop_services_via_adb
android am force-stop and start services
adb -d shell am force-stop com.android.Settings
adb -d shell am startservice com.android.Settings/com.android.Settings.ServiceName
#list intent receivers
adb shell dumpsys package com.ubnt.restapi | grep intent
adb shell pm list packages
#force factory reset
adb shell "am broadcast -n "com.android.server/com.android.server.MasterClearReceiver" -a android.intent.action.FACTORY_RESET"
@jchuang1977
jchuang1977 / phyreg.c
Created July 2, 2019 06:36
read phy register through mdio
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <linux/mii.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/sockios.h>
for ColorBar Test
--------------------------------------------------------
Dump Panel EDID
--------------------------------------------------------
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
--------------------------------------------------------
00| 00 ff ff ff ff ff ff 00 0e 14 93 1c 00 00 00 00
10| 13 17 01 04 95 16 0e 78 0a a7 9d 91 52 54 93 2b
20| 1a 50 54 00 00 fd 01 01 01 01 01 01 01 01 01 01
30| 01 01 01 01 01 01 28 3c 80 a0 70 b0 23 40 3b 27
@jchuang1977
jchuang1977 / test_dsi86.c
Created June 21, 2018 05:55 — forked from UWINGS-KUNYI/test_dsi86.c
SN65DSI86 Testing program
//*****************************************************************************
//
// SN65DSI86 testing program
//
// This is part of revision 1.0 of the EK-TM4C123GXL Firmware Package.
//
//*****************************************************************************
#include <stdint.h>
#include <string.h>