自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

行者无疆

好好学习,天天向上, Life is haha fun!

  • 博客(20)
  • 收藏
  • 关注

原创 ubuntu 18.04 perf 新安装遇到问题解决

目标:新建Ubuntu 虚拟机(18.04),安装perf 命令调试,安装出现报错,问题解决总结如下,希望对大家有所帮助。1.perf 安装提示WARNING: perf not found for kernel 5.4.0-42 You may need to install the following packages for this specific kernel: linux-tools-5.4.0-42-generic linux-cloud-tools-5.4...

2020-08-30 22:58:21 7473 1

原创 Linux 性能调试 之 drop_caches

Linux free 命令中buffer和cache 都是页缓存(page cache),可以手动清理清理,降低内存消耗。清理前free命令查看guobin@guobin-VirtualBox:~/work$ free -m total used free shared buff/cache availableMem: 1496 923 106 ...

2020-08-28 22:52:57 3037 1

原创 NVIDIA Jetson Nano AI板卡 bring up

Getting Started With Jetson Nano Developer Kit官网地址:https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit#write按照步骤执行即可,下载镜像可能需要很长时间。

2020-06-01 14:12:47 833

原创 什么是FPU

floating point unit,简称FPU,即浮点运算器,纯硬件,涉及软件浮点运算需注意。

2020-05-28 17:22:31 7039

原创 GCC --target-help 参数

arm-none-linux-gnueabi-gcc --target-help //(debug 和 配置编译选项很有帮助)The following options are target specific: -mabi= Specify an ABI. -mabort-on-noreturn Generate a call to abort if a noreturn function returns. -mandro...

2020-05-26 11:12:05 1785

原创 Yocto ubifs image 制作必要参数

IMAGE_FSTYPES_append = " ubifs "MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 4000"UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096"IMAGE_ROOTFS_ALIGNMENT = "4096

2020-05-26 10:17:12 1356 2

原创 Yocto 配置串口必要参数

CONSOLE_LINUX = "ttyS1"CONSOLE ?= "${CONSOLE_LINUX}"SERIAL_CONSOLES = "115200;ttyS1"

2020-05-26 09:59:50 680

原创 git cherry-pick 出现冲突怎么办?

1、修改冲突2、git cherry-pick --continue3、git commit --amend4、git push

2020-05-08 13:55:49 2729

原创 systemd 官方手册地址

https://www.freedesktop.org/software/systemd/man/

2020-05-08 10:23:56 681

原创 Yocto do_patch 高级用法

新建match 内部字符串,传递参数。errorFile: '/home2/guobin.xue/yocto-001/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl 0364: """ 0365: 0366: m = re.compile('(?P<t...

2020-05-07 16:31:36 1976

原创 Yocto do_patch

yocto do_patch 实际使用是quilt 命令, 本地可以灵活安装调试patchDEBUG: Executing python function extend_recipe_sysrootNOTE: Direct dependencies are ['/home2/guobin.xue/yocto-001/build-unisoc-initgc/conf/../../layers...

2020-05-07 16:01:05 1008

原创 Yocto do_install build issue : "installed-vs-shipped"

error log:ERROR: glibc-external-2.23-1.24.0-r0 do_package: QA Issue: glibc-external: Files/directories were installed but not shipped in any package: /usr/sharePlease set FILES such that thes...

2020-04-24 20:22:16 1953

原创 git 多个commit 操作

git push 多个commit之后,修改其中一个commit,比如连续提交10个commit,准备修改第5个commit。步骤如下:1、git rebase -i HEAD~52、pick改为edit3、修改代码并添加修改 git add git commit --amend git push (也可以,push 单独的第5个commit)4、git re...

2020-04-23 20:45:56 1806

原创 Yocto 变量选择 bb.utils.contains 使用

Yocto 使用某些变量可能需要使用写选择判断,layer openembeded-core 专用接口,可以直接使用。ABC = “${@bb.utils.contains('val', 1', 'true', 'false ', d)}"val = 1 则 ABC 赋值 true,否则 ABC 赋值 false实际举例如下:CFLAGS_prepend = "$...

2020-04-21 17:53:26 9228

原创 Yocto tarball 下载辅助工具 wget 和 axel

sudo apt-get install wgetwget https://releases.linaro.org/archive/14.09/components/toolchain/gdb-linaro/gdb-linaro-7.8-2014.09.tar.xzsudo apt-get install axelaxel -n 100 https://releases.linaro.o...

2020-04-19 17:33:58 188

原创 Yocto skip bb files : BBMASK

MASK bitbakehttps://stackoverflow.com/questions/48224871/make-yocto-skip-a-recipe-instead-of-stoppingYou can find more information in the documentation for that variable:https://www.yoctoproject...

2020-04-17 15:17:38 1730

原创 Yocto bitbake 命令之 listtasks

bitbake -c listtasks my-test-imageBitbake Help Info: -c CMD, --cmd=CMD Specify the task to execute. The exact options available depend on the metadata. Some example...

2020-04-17 14:35:03 2200

原创 Openembeded 官网链接

Openembeded 官网链接http://www.openembedded.org/wiki/Main_PageYocto OE-Core 的主要内容都在这里:http://www.openembedded.org/wiki/OpenEmbedded-Core

2020-04-17 13:29:10 197

原创 Yocto bb 文件优先级选择: PREFERRED_VERSION_{PN}

PREFERRED_VERSION_glibc ?= "${GLIBCVERSION}"openembedded-core/meta/conf/distro/include/tcmode-default.inc:60:PREFERRED_VERSION_glibc-locale ?= "${GLIBCVERSION}"openembedded-core/meta/conf/distro/include/tcmode-default.inc:6

2020-04-16 17:25:46 1674

转载 Linux arm64的虚拟内存布局

转载原文:https://www.cnblogs.com/danxi/p/6638243.html页表转换arm64在硬件体系结构上支持4级的每页大小为4K的页表转换,也支持3级的页大小64KB的页表转换。在linux arm64中,如果页的大小为4KB,使用3级页表转换或者4级页表转换,用户空间和内核空间都支持有39bit(512GB)或者48bit(256TB)大小的虚拟地址空间。...

2018-08-07 10:58:42 595

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除