This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| comma@comma-37975f2f:/data/openpilot/tinygrad_repo$ PYTHONPATH="." QCOM=1 IMAGE=0 python3 examples/openpilot/compile3.py ../selfdrive/modeld/models/driving_policy.onnx | |
| loaded model | |
| created tensors | |
| run 0 | |
| /data/openpilot/tinygrad_repo/extra/onnx.py:375: UserWarning: input desire has mismatch on dtype. Expected dtypes.half, received dtypes.float. | |
| if tensor.dtype is not spec.dtype: warnings.warn(f"input {name} has mismatch on dtype. Expected {spec.dtype}, received {tensor.dtype}.") | |
| /data/openpilot/tinygrad_repo/extra/onnx.py:375: UserWarning: input traffic_convention has mismatch on dtype. Expected dtypes.half, received dtypes.float. | |
| if tensor.dtype is not spec.dtype: warnings.warn(f"input {name} has mismatch on dtype. Expected {spec.dtype}, received {tensor.dtype}.") | |
| /data/openpilot/tinygrad_repo/extra/onnx.py:375: UserWarning: input features_buffer has mismatch on dtype. Expected dtypes.half, received dtypes.float. | |
| if tensor.dtype is not spec.dtype: warnings.warn(f"input {name} has mismatch on dtype. Exp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| comma@xiaomi-nabu:~$ ls -l /dev/kgsl* /dev/dri/* | |
| ls: cannot access '/dev/kgsl*': No such file or directory | |
| crw-rw----+ 1 root video 226, 0 Oct 16 08:00 /dev/dri/card0 | |
| crw-rw----+ 1 root render 226, 128 Oct 16 08:00 /dev/dri/renderD128 | |
| /dev/dri/by-path: | |
| total 0 | |
| lrwxrwxrwx 1 root root 8 Oct 16 08:00 platform-ae01000.mdp-card -> ../card0 | |
| lrwxrwxrwx 1 root root 13 Oct 16 08:00 platform-ae01000.mdp-render -> ../renderD128 | |
| comma@xiaomi-nabu:~$ lsmod | grep -i kgsl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| comma@xiaomi-nabu:~$ ls -al /dev/* | |
| crw-r--r-- 1 root root 10, 235 Oct 14 00:08 /dev/autofs | |
| crw-rw---- 1 root disk 10, 234 Oct 14 00:08 /dev/btrfs-control | |
| crw--w---- 1 root tty 5, 1 Oct 14 00:09 /dev/console | |
| crw------- 1 root root 10, 125 Oct 14 00:08 /dev/cpu_dma_latency | |
| crw------- 1 root root 10, 203 Oct 14 00:08 /dev/cuse | |
| crw------- 1 root root 10, 126 Oct 14 00:08 /dev/efi_capsule_loader | |
| crw-rw---- 1 root video 29, 0 Oct 14 00:08 /dev/fb0 | |
| lrwxrwxrwx 1 root root 13 Oct 14 00:08 /dev/fd -> /proc/self/fd | |
| crw-rw-rw- 1 root root 1, 7 Oct 14 00:08 /dev/full |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (openpilot) comma@xiaomi-nabu:/data/openpilot/tinygrad_repo$ clinfo | |
| clinfo: /lib/aarch64-linux-gnu/libOpenCL.so.1: no version information available (required by clinfo) | |
| Number of platforms 1 | |
| Platform Name QUALCOMM Snapdragon(TM) | |
| Platform Vendor QUALCOMM | |
| Platform Version OpenCL 3.0 QUALCOMM build: 0808.0.6 | |
| Platform Profile FULL_PROFILE | |
| Platform Extensions cl_khr_icd | |
| Platform Extensions with Version cl_khr_icd 0xc00000 (3.0.0) | |
| Platform Numeric Version 0xc00000 (3.0.0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| De-Brick Redmi Note 8 And Unlock Bootloader From EDL | |
| After Flashing Wrong FW (Screen Flashing) Or Whatever Gives You HardBrick | |
| From Linux ..... | |
| Install QDL > | |
| https://www.96boards.org/documentation/consumer/guides/qdl.md.html | |
| git clone https://git.linaro.org/landing-teams/working/qualcomm/qdl.git QDL-ENG-Ginkgo | |
| cd QDL-ENG-Ginkgo ; make ; cd - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| execve("/usr/bin/gst-inspect-1.0", ["gst-inspect-1.0", "--gst-disable-segtrap", "--gst-disable-registry-fork", "droidcamsrc"], 0x7fdfd9f788 /* 46 vars */) = 0 | |
| brk(NULL) = 0x13278000 | |
| faccessat(AT_FDCWD, "/etc/ld.so.preload", R_OK) = -1 ENOENT (没有那个文件或目录) | |
| openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
| fstat(3, {st_mode=S_IFREG|0644, st_size=54856, ...}) = 0 | |
| mmap(NULL, 54856, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7bb2bbd000 | |
| close(3) = 0 | |
| openat(AT_FDCWD, "/usr/lib64/libgstreamer-1.0.so.0", O_RDONLY|O_CLOEXEC) = 3 | |
| read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 | |
| fstat(3, {st_mode=S_IFREG|0755, st_size=1453008, ...}) = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --------- beginning of main | |
| 08-20 13:24:26.773 1509 1509 D QSEECOMD: : qseecom listener services process entry PPID = 1392 | |
| 08-20 13:24:26.773 1509 1509 E QSEECOMD: : Listener: index = 0, hierarchy = 0 | |
| 08-20 13:24:26.778 1509 1509 D QSEECOMD: : Init dlopen(librpmb.so, RTLD_NOW) succeeds | |
| 08-20 13:24:26.778 1509 1509 D QSEECOMD: : Init::Init dlsym(g_FSHandle rpmb_init_service) succeeds | |
| 08-20 13:24:26.778 1509 1509 I rpmb_emmc: RPMB Mult (512-bytes sector) = 32768, Rel_sec_cnt = 32 | |
| 08-20 13:24:26.778 1509 1509 E DrmLibRpmb: rpmb_init succeeded! with ret = 0 | |
| 08-20 13:24:26.778 1509 1509 D QSEECOMD: : Init rpmb_init_service ret = 0 | |
| 08-20 13:24:26.778 1509 1509 D QSEECOMD: : RPMB system services: init (Listener ID = 8192) | |
| 08-20 13:24:26.778 1509 1509 E QSEECOMD: : Listener: index = 1, hierarchy = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@RedmiNote8 defaultuser]# journalctl -fa | |
| -- Logs begin at Tue 2024-08-20 21:17:43 CST. -- | |
| 8月 20 21:18:00 RedmiNote8 systemd-logind[1511]: New session c2 of user defaultuser. | |
| 8月 20 21:18:00 RedmiNote8 sshd[4305]: pam_unix(sshd:session): session opened for user defaultuser by (uid=0) | |
| 8月 20 21:18:01 RedmiNote8 mce[1342]: modules/proximity.c: mp_datapipe_set_proximity_sensor_actual(): state: OPEN -> UNDEF | |
| 8月 20 21:18:06 RedmiNote8 encsfa-fpd[1510]: Device /dev/sailfish/home does not exist or access denied. | |
| 8月 20 21:18:06 RedmiNote8 encsfa-fpd[1510]: Device /dev/sailfish/home does not exist or access denied. | |
| 8月 20 21:18:07 RedmiNote8 mce[1342]: tklock.c: tklock_dbus_notification_end_cb(): notification end from name=:1.59 owner=:1.59 pid=3209 uid=100000 gid=996 priv=1 cmd=/usr/bin/lipstick -plugin evdevtouch -plugin evdevkeyboard:keym | |
| 8月 20 21:18:11 RedmiNote8 kernel: [kworker/u16:9][0x37157b83][13:18:10.997385] wlan: [342:E:HDD] __hdd_validate_adapter: 868: bad adapter magic (via __wlan_hdd_ipv6_changed) | |
| 8月 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ strace -Ff -s1024 -e file -o gst-inspect.strace gst-inspect-1.0 --gst-disable-segtrap --gst-disable-registry-fork droidcamsrc | |
| 4764 execve("/usr/bin/gst-inspect-1.0", ["gst-inspect-1.0", "--gst-disable-segtrap", "--gst-disable-registry-fork", "droidcamsrc"], 0x7fcddd2278 /* 46 vars */) = 0 | |
| 4764 faccessat(AT_FDCWD, "/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
| 4764 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
| 4764 openat(AT_FDCWD, "/usr/lib64/libgstreamer-1.0.so.0", O_RDONLY|O_CLOEXEC) = 3 | |
| 4764 openat(AT_FDCWD, "/usr/lib64/libglib-2.0.so.0", O_RDONLY|O_CLOEXEC) = 3 | |
| 4764 openat(AT_FDCWD, "/usr/lib64/libgobject-2.0.so.0", O_RDONLY|O_CLOEXEC) = 3 | |
| 4764 openat(AT_FDCWD, "/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 | |
| 4764 openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 | |
| 4764 openat(AT_FDCWD, "/usr/lib64/libgmodule-2.0.so.0", O_RDONLY|O_CLOEXEC) = 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| I NPUTransfer: Starting NPU Transfer Client, Transfer version 2.1.0 (b5861e7@2020-11-23T11:50:36) | |
| D RKNNAPI: ============================================== | |
| D RKNNAPI: RKNN VERSION: | |
| D RKNNAPI: API: 1.6.0 (535b468 build@2023-12-11T09:05:46) | |
| D RKNNAPI: DRV: rknn_server: 1.6.0 (535b468 build@2023-12-11T17:05:07) | |
| D RKNNAPI: DRV: rknnrt: 1.6.0 (585b3edcf@2023-12-11T15:30:19) | |
| D RKNNAPI: ============================================== | |
| D RKNNAPI: Input tensors: | |
| D RKNNAPI: index=0, name=input_imgs, n_dims=4, dims=[1, 128, 256, 12], n_elems=393216, size=786432, w_stride = 0, size_with_stride = 0, fmt=NHWC, type=FP16, qnt_type=NONE, zp=0, scale=1.000000 | |
| D RKNNAPI: index=1, name=big_input_imgs, n_dims=4, dims=[1, 128, 256, 12], n_elems=393216, size=786432, w_stride = 0, size_with_stride = 0, fmt=NHWC, type=FP16, qnt_type=NONE, zp=0, scale=1.000000 |
NewerOlder