摘要: https://blog.csdn.net/l1028386804/article/details/84504217 https://blog.csdn.net/The_IT_Crowd/article/details/7672676 备忘用,老是忘记怎么暴力破解压缩包,这个错误加两个 -- 就行。 阅读全文
posted @ 2023-05-18 10:17 Juwan 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 有天做 USB host 串口驱动的时候发下 FT \ CP 都没有问题,就 CH341 有问题,读写正常,但数据不正常。 有一点稀奇,可能是 ch 中间有版本变更了吧。 解法就更新到 https://github.com/torvalds/linux/blob/master/drivers/usb 阅读全文
posted @ 2023-05-05 13:11 Juwan 阅读(151) 评论(0) 推荐(0) 编辑
摘要: make_ext4fs error: make_file: failed to allocate inode error: do_inode_allocate_extents: Failed to allocate 1146 blocks make menuconfig Target Images 阅读全文
posted @ 2023-04-24 10:57 Juwan 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 主要就记录一下自己食用过程中遇到的一些问题吧,板子有新有旧,但都差不多。 还需要整理呢,H6 的编译了但没测,IMX8MM 的修了一个 uboot 到 Android 还没做完,还有 kernel 要修,rk3399 是这里面最正常的板子了,啥都OK,就是内存太小和版本太老,只够学习参考用。 目前结 阅读全文
posted @ 2023-04-09 20:10 Juwan 阅读(187) 评论(2) 推荐(0) 编辑
摘要: 广告 练习时长两年半(不是),一颗 3.6TOPs@INT8 大算力低功耗超强夜景的芯片总算是来到了 MAIX-III Linux AI 系列! 没错,它就是来自「爱芯元智」的 AX620A,这是一款高算力,高能效比,低功耗的 AI SoC 芯片,芯片集成了四核 Cortex A7 @ 1Ghz C 阅读全文
posted @ 2023-03-28 19:18 Juwan 阅读(801) 评论(0) 推荐(0) 编辑
摘要: 当你遇到这个傻逼问题的时候,可以看参考这个ubi文件系统 / ubi file system 解决方法就是继续加大 @$(HOME_PATH)/tools/mkubifs/mkfs.ubifs –F -q -r $(BUILD_PATH)/out/$(PROJECT)/rootfs -m 2048 阅读全文
posted @ 2023-03-28 16:08 Juwan 阅读(487) 评论(0) 推荐(0) 编辑
摘要: 调试需要: from time import time class LPR: loc_model_path = { "param": "./slim_awnn.param", "bin": "./slim_awnn.bin" } loc_model_options = { "model_type": 阅读全文
posted @ 2023-03-17 15:10 Juwan 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 最近因为一些奇怪的需求,需要实时更新一下内核(boot.img),以下所有用法为自己记录用途。 关于 V831 / V833 Tina Linux 更新设备树( dts > dtb )的用法 是更新设备树文件的一种方法,后来把摄像头驱动、触摸驱动之类的模块移到用户空间 rootfs 下后也解决了一些 阅读全文
posted @ 2023-03-15 18:55 Juwan 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 有点愚蠢,记录一下,先编过去,然后再把 x86_64-linux-gnu 移回来,估计是我环境变量脏了。 juwan@juwan-n85-dls:~/v831/out/v831-sipeed/compile_dir/target/pypi/Pillow-7.2.0$ cd "/home/juwan/ 阅读全文
posted @ 2023-02-27 13:32 Juwan 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 这是给 wiki.sipeed.com/m3axpi 准备的示例代码。 gpio & pwm linux_gpio.h #ifndef __LINUX_GPIO_H #define __LINUX_GPIO_H #ifdef __cplusplus extern "C" { #endif #incl 阅读全文
posted @ 2022-11-23 11:59 Juwan 阅读(670) 评论(0) 推荐(0) 编辑