随笔分类 -  linux系统移植

uboot 和kernel
摘要:###scl-utils-build 包中含有很多的scl相关的宏定义。编译gcc-toolset-9开头的源码包需要先安装此包 阅读全文
posted @ 2021-05-28 10:15 刘大侠GG_B 阅读(40) 评论(0) 推荐(0)
摘要:基于gnome的快捷键的设置 前提 前提需要安装gnome-settings-daemon-3.28.1-8.axs7.aarch64.rpm 分析 vim /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.media-key 阅读全文
posted @ 2020-09-22 17:18 刘大侠GG_B 阅读(368) 评论(0) 推荐(0)
摘要:1.ubunut系统搭建opencv+python开发环境 1.1.ubuntu系统安装pip3工具 sudo apt get install python3 pip //安装python模块安装工具pip3 sudo apt install python3 tk //安装tkinter模块(类似) 阅读全文
posted @ 2020-05-07 18:11 刘大侠GG_B 阅读(514) 评论(0) 推荐(0)
摘要:setenv bootargs root=/dev/nfs nfsroot=192.168.1.8:/opt/rootfs ip=192.168.1.110:192.168.1.8:192.168.1.1:255.255.255.0 init=/linuxrc console=ttySAC0,115 阅读全文
posted @ 2019-11-27 10:29 刘大侠GG_B 阅读(621) 评论(0) 推荐(0)
摘要:可能遇到的问题: 1:内核是否支持开发板上的显示屏驱动! 若不支持可以进入内核源码对内核进行配置,让其支持显示屏的驱动。 具体步骤: 进入内核源码目录 make distclean //获取最干净源码 make abc_defconfig //配制内核源码支持abc这个参考板 注意:abc_defc 阅读全文
posted @ 2019-11-25 19:17 刘大侠GG_B 阅读(400) 评论(0) 推荐(0)
摘要:移植linux内核的关键文件: arch/arm/mach-s5p6818/cpu.c cpu_init_machine() { //s5p6818内部控制器的驱动注册 nxp_cpu_devs_register(); //x6818板子上硬件驱动的注册 nxp_board_devs_registe 阅读全文
posted @ 2019-11-11 16:14 刘大侠GG_B 阅读(230) 评论(0) 推荐(0)
摘要:1:上/下位机安装相应的服务程序。(确保内核支持该服务)2:上位机(作为服务器端)配置能够给下位机访问目录的所在地,及其读写权限。3:在/dev目录下创建该服务其所需要使用的虚拟文件设备,同时按照该服务支持的文件格式将其挂载到刚刚创建的虚拟设备文件上。此时内核就可以管理该设备文件,及支持 该服务与客 阅读全文
posted @ 2019-11-08 11:00 刘大侠GG_B 阅读(634) 评论(0) 推荐(0)
摘要:在运行时均可使用make V=1 显示文件的编译过程从而找到链接文件,从中找到入口文件。 uboot: ../uboot/include/configs/x6818.h 记录开放板的硬件信息。 ../uboot/u-boot.lds 链接脚本记录入口地址。 busybox: init/init.c 阅读全文
posted @ 2019-11-07 13:28 刘大侠GG_B 阅读(164) 评论(0) 推荐(0)
摘要:mount -a 自动按照格式执行/etc/fstab里面的文件。 /etc/fstab 文件格式: device mount-point type options dump fsck proc /proc proc defaults 0 0 tmpfs /tmp tmpfs defaults 0 阅读全文
posted @ 2019-11-06 19:28 刘大侠GG_B 阅读(1011) 评论(0) 推荐(0)