03 2020 档案

摘要:答:示例如下: =>setenv bootargs "root=/dev/ram0 ramdisk_size=0x10000000 cma=64M@0x0-0xa0000000" 阅读全文
posted @ 2020-03-30 20:41 Jello 阅读(1048) 评论(1) 推荐(0)
摘要:答: 改变仓库的地址(<source code dir>/.git/config中的[remote "origin"]),如: .git/config中的[remote "origin"]如下: [remote "origin"] url= git://git.kernel.org/pub/scm/ 阅读全文
posted @ 2020-03-27 16:36 Jello 阅读(2533) 评论(0) 推荐(0)
摘要:1. 情形 linux-kernel$ ./scripts/checkpatch.pl my.patchperl: warning: Setting locale failed.perl: warning: Please check that your locale settings: LANGUA 阅读全文
posted @ 2020-03-25 19:59 Jello 阅读(830) 评论(0) 推荐(0)
摘要:请参考此处 阅读全文
posted @ 2020-03-24 17:50 Jello 阅读(178) 评论(0) 推荐(0)
摘要:1. 查看防火墙状态 $ sudo ufw status 2. 允许访问特定端口666 $ sudo ufw allow 666 阅读全文
posted @ 2020-03-22 22:49 Jello 阅读(4607) 评论(0) 推荐(0)
摘要:答: 将命令中的/dev/sdx替换为对应设备的DeviceID 1. 如何获取对应设备的DeviceID? 在powershell下执行以下命令:C:/> Get-WmiObject Win32_diskdrive Partitions : 2 DeviceID : \\.\PHYSICALDRI 阅读全文
posted @ 2020-03-22 12:19 Jello 阅读(1200) 评论(0) 推荐(0)
摘要:$ gdb vmlinux (gdb) l *your_function_name+offset_address 例如内核的call trace如下: [ 3.218641] Call trace: [ 3.221081] jello_probe+0xaaa/0xddd 那么执行如下命令 $ gdb 阅读全文
posted @ 2020-03-20 18:46 Jello 阅读(784) 评论(0) 推荐(0)
摘要:答: => env default -a 阅读全文
posted @ 2020-03-18 11:06 Jello 阅读(2455) 评论(0) 推荐(0)
摘要:1. 关注属性gpio-hog GPIO hogging is a mechanism providing automatic GPIO request and configuration as part of the gpio-controller's driver probe function. 阅读全文
posted @ 2020-03-16 09:45 Jello 阅读(2005) 评论(0) 推荐(0)
摘要:1. 安装Microsoft Visual C++ 2010 (安装后无需重启即可生效)2. 下载地址如下: Microsoft Visual C++ 2010 Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) https://w 阅读全文
posted @ 2020-03-13 11:56 Jello 阅读(8048) 评论(0) 推荐(1)
摘要:1. systemd 使用文件/lib/systemd/system/weston.service启动 2. 停止weston服务 # systemctl stop weston 3. 重新启动weston服务(先停止服务,然后再启动服务) # systemctl restart weston 4. 阅读全文
posted @ 2020-03-08 22:02 Jello 阅读(2005) 评论(0) 推荐(0)
摘要:答: 使用dumpimage工具可以对itb文件进行分离,示例如下: $ dumpimage -l <your.itb> (列出itb文件中描述内核、根文件系统、设备树等的相关信息) $ dumpimage -T flat_dt -p index -o kernel.gz <your.itb> (i 阅读全文
posted @ 2020-03-06 18:57 Jello 阅读(2756) 评论(0) 推荐(1)
摘要:1. gpios,output-high,output-low gpios=<index GPIO_ACTIVE_HIGH> gpios=<index GPIO_ACTIVE_LOW> active output-high( write 1 to registers) output-high(wri 阅读全文
posted @ 2020-03-06 10:30 Jello 阅读(2189) 评论(0) 推荐(0)
摘要:1. 参考这里 阅读全文
posted @ 2020-03-03 22:55 Jello 阅读(393) 评论(0) 推荐(0)
摘要:1. linux的启动过程如下: 阅读全文
posted @ 2020-03-03 22:50 Jello 阅读(369) 评论(0) 推荐(0)
摘要:1. 参考这里 阅读全文
posted @ 2020-03-03 22:14 Jello 阅读(534) 评论(0) 推荐(0)
摘要:1. 参考这里 阅读全文
posted @ 2020-03-03 22:01 Jello 阅读(185) 评论(0) 推荐(0)
摘要:1. 这个问题直接导致无法登陆系统 2. 有可能是串口导致的问题,直接往/etc/inittab文件中根据串口情况添加内容,示例如下: 串口为/dev/ttyLP0,那么应添加以下内容至/etc/inittab LP0:5:respawn:/sbin/getty 115200 ttyLP0 (运行级 阅读全文
posted @ 2020-03-01 17:51 Jello 阅读(1669) 评论(0) 推荐(0)
摘要:1. 按下三个按键进入文本复制模式 CTRL + b + [2. 按下两个按键进入文本开始复制的起始位置 CTRL + 空格 3. 上下左右键选择要复制的文本 4. 选中了要复制的文本后,按下两个按键,将文本保存到tmux的buffer中 ALT + w 5. 按下三个按键将文本粘贴到某处 CTRL 阅读全文
posted @ 2020-03-01 13:31 Jello 阅读(10448) 评论(0) 推荐(1)
摘要:$ man shadow 或者 请点击这里 阅读全文
posted @ 2020-03-01 00:14 Jello 阅读(235) 评论(0) 推荐(0)