摘要: # 生成 compile_commands.json ```shell # 否则会报 wrapper: failed with: gRPC call failed: Socket closed export no_proxy=localhost bear -- make ARCH=arm CROSS 阅读全文
posted @ 2023-08-25 01:48 chumoath 阅读(358) 评论(0) 推荐(0)
摘要: # bear 报错 ```shell # 初次安装bear时由于提前使用了 $ export https_proxy=http://127.0.0.1:8889 命令,导致了该问题。使用如下命令可以解决: export no_proxy=localhost ``` 阅读全文
posted @ 2023-08-25 01:42 chumoath 阅读(75) 评论(0) 推荐(0)
摘要: # 前 ```shell # 文件数 find . -type f | wc -l 77922 # 目录数 find . -type d | wc -l 5001 # 行数 find . -type f -name "*.[ch]" | xargs wc -l | grep total 728628 阅读全文
posted @ 2023-08-25 01:29 chumoath 阅读(14) 评论(0) 推荐(0)
摘要: # 命令 ```shell ctrl + a + x => 退出 qemu ctrl + a + c => 进入 monitor ``` # monitor 命令 ```shell info roms => 可查看加载位置 => -bios 选项,会放在 NorFlash 中,-kernel 会放在 阅读全文
posted @ 2023-08-25 00:41 chumoath 阅读(1196) 评论(0) 推荐(0)
摘要: # 网络 ```shell Net: smc911x: Invalid chip endian 0x00000000 No ethernet found. # 解决办法 -net nic -net tap,ifname=tap0,script=0 ``` ```shell qemu-system-a 阅读全文
posted @ 2023-08-25 00:39 chumoath 阅读(123) 评论(0) 推荐(0)
摘要: # 下载 https://sourceforge.net/projects/stripcc/files/ # 编译 make && make install # 使用 ```shell # 进入源码目录 time make # 去掉预编译宏 time stripcc -c "make" ``` # 阅读全文
posted @ 2023-08-25 00:36 chumoath 阅读(27) 评论(0) 推荐(0)