自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 Ubuntu下netplan配置ip后出现2个ip问题解决

修改ubuntu18.4的静态IP时发现设置静态 IP 后没有生效,上网搜索后知道原来自 17.10 开始,Ubuntu 已废弃在 /etc/network/interfaces 里设置静态 IP 的办法了,按照网上指导改用netplan配置root@100ask:/etc/netplan# cat 01-network-manager-all.yaml# Let NetworkManager manage all devices on this systemnetwork: version: .

2022-04-15 10:51:55 2668

原创 解决Ubuntu里不能从系统粘贴到vim中的问题

【问题来源】win10系统安装ubuntu后发现不能从系统复制粘贴到vim中,造成很大不便,搜索网上文章,说要执行sudo apt-get install vim vim-scripts vim-gtk vim-gnome命令,安装出错不能解决【解决方案】/* 不知是否必要,内容转载卸载 vim,再重新安装。(1)卸载 vim:sudo apt-get remove --purge vim(2)安装相关软件包:$ sudo apt-get install build-ess...

2021-09-01 15:05:55 1060 1

原创 基于Qemu虚拟vexpress-a9开发板,实现完整系统启动(uboot+kernel+rootfs)

目标:基于Qemu虚拟vexpress-a9单板,完整复现单板启动过程:uboot引导+加载linux内核+加载文件系统,最终进入命令行界面命令参考:sudo qemu-system-arm -M vexpress-a9 -m 512M -nographic -kernel u-boot -net nic -net tap -sd ~/a9rootfs.ext3结果:book@100ask:~/sss/u-boot-2012.04.01$ sudo qemu-system-arm -M vexp

2020-07-29 08:33:58 2396

原创 u-boot-2012.04.01编译问题8:libgcc.a(_udivmoddi4.o) uses VFP register arguments, u-boot does not

编译uboot时遇到问题:arm-linux-gnueabihf-ld: error: /home/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/libgcc.a(_udivmoddi4.o) uses VFP register arguments, u-boot does not错误的意思是:编译器使用了VFP(virtual float poi

2020-06-11 11:12:11 1537

原创 u-boot-2012.04.01编译问题7:warning: right-hand operand of comma expression has no effect [-Wunused-value

编译uboot时遇到问题:devextras.h:202:25: warning: right-hand operand of comma expression has no effect [-Wunused-value] for (pos = (head)->next, prefetch(pos->next); pos != (head); \就是prefetch(pos->next)没有作用简单的解决办法就是把prefetch(pos->next)删掉就可以解决问题.

2020-06-10 18:18:50 5379

原创 u-boot-2012.04.01编译问题6:hush.c:2744:2: warning: this ‘if’ clause does not guard...

编译uboot时遇到问题:hush.c:2744:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]找出源文件并打开:~/test/u-boot-2012.04.01$ find -name hush.c./common/hush.c~/test/u-boot-2012.04.01$ vim ./common/hush.c +2744发现是程序对齐错误static char *lookup_pa

2020-06-10 12:25:36 4673

原创 u-boot-2012.04.01编译问题5:linux/compiler-gcc6.h: No such file or directory

编译uboot时遇到问题:/home/book/test/u-boot-2012.04.01/include/linux/compiler-gcc.h:87:30: fatal error: linux/compiler-gcc6.h: No such file or directory#include gcc_header(__GNUC__)搜索compiler-gcc*~/test/u-boot-2012.04.01$ find -name compiler-gcc*./include/l.

2020-06-10 11:37:03 1142

原创 u-boot-2012.04.01编译问题4:‘coloured_LED_init’ aliased to external symbol ‘__coloured_LED_init’

编译uboot时遇到问题:board.c:87:6: error: 'coloured_LED_init' aliased to external symbol '__coloured_LED_init'找出源文件:find -name board.c~/test/u-boot-2012.04.01$ find -name board.c./board/nvidia/common/board.c./board/xes/common/board.c./arch/arm/cpu/armv7/oma

2020-06-09 16:18:52 940

原创 u-boot-2012.04.01编译问题3:multiple definition of ‘__raw_writesb’

编译uboot时遇到问题:/home/book/test/u-boot-2012.04.01/include/asm/io.h:79: multiple definition of `__raw_writesb'很明显是多个文件包含同一个头文件io.h导致的,在编译器连接时,就会将工程中所有的符号整合在一起,由于,文件中有重名变量,于是就出现了重复定义的错误。查看io.h文件:vim /home/book/test/u-boot-2012.04.01/include/asm/io.h,发现存在编译条

2020-06-09 11:10:33 939

原创 u-boot-2012.04.01编译问题2:inline function ‘fit_parse_subimage’ declared but never defined

编译uboot时遇到问题:/home/book/test/u-boot-2012.04.01/include/image.h:536:12: warning: inline function ‘fit_parse_subimage’ declared but never defined问题中文意思是:内联函数声明但未定义,网上搜索解决方法是需要在编译时加上-fgnu89-inline为什么?原因是gcc编译器对于inline函数处理的方式变化导致告警;在gcc4.3及以上的版本中,编译选项采用C

2020-06-08 17:30:53 395

原创 u-boot-2012.04.01编译问题1:‘_sha1_src’ defined but not used [-Wunused-const-variable=]

系统环境:Ubuntu 18.04kernel : Linux version 5.3.0-53-generic

2020-06-08 11:58:24 747

原创 简单设置解决vmware player虚拟机窗口自动缩放问题

使用vmware player运行ubuntu虚拟机发现虚拟机窗口太小,全屏操作后还是太小,多次重启也不能解决,运行2个以上的应用后无法对照查看信息,很麻烦。如何设置调整窗口变大呢?网上查询的方案大多是要安装vmware tools,其实有个简单设置就可以解决问题:首先:打开vmware player,按下图依次选择:player->管理->虚拟机设置修改显示器...

2020-04-30 12:29:32 10512 4

原创 Centos7 无图形界面 自动登录 简化配置

Centos7 无图形界面 自动登录 简化配置网上找的大部分都是修改gdm,或者是centos6版本开机的配置文件修改,centos7无图形界面的自动登录配置有些介绍的又较复杂。https://blog.csdn.net/weixin_41586635/article/details/82456360其实只要一步修改/etc/systemd/system/getty.target.wants...

2020-01-10 14:43:09 1179

空空如也

空空如也

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

TA关注的人

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