Linux
qryx
这个作者很懒,什么都没留下…
展开
-
hi35xx 移植ubuntu16.04桌面系统
1、环境:hi35xx + aarch64 himix2、工具虚拟机:Linux ubuntu 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 01:07:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux文件系统:ubuntu-base-16.04.6-base-arm64.tar.gz模拟器:qemu内核:linux-4.19以模拟器和nfs挂载文件系统的形式配置文件系统。运行图..原创 2022-02-10 14:27:07 · 607 阅读 · 0 评论 -
libcurl 交叉编译
curl-7.79.1交叉编译./configure --host=arm-himix100-linux CC=arm-himix100-linux-gcc CXX=arm-himix100-linux-g++ --without-ssl --enable-shared --enable-static --disable-dict --disable-ftp --disable-imap --disable-ldap --disable-ldaps --disable-pop3 --disable-pr原创 2021-09-24 16:07:08 · 301 阅读 · 0 评论 -
easyLogger中的basename问题
basename 引起的段错误环境环境在使用easylogger的时候代码里使用log_i时报段错误,折腾了很久,通过打印最后定位于使用basename引起的。特此记录下:参考:https://blog.csdn.net/weixin_30802273/article/details/99100923将#include <libgen.h> 改成#include <string.h> 重新编译下就可以了。...原创 2021-08-13 19:50:15 · 137 阅读 · 0 评论 -
hi3559a 配置内核支持nfs启动
hi3559a sdk里提供的内核是不支持nfs启动,需做如下配置:1、配置网络部分,主要是使能CONFIG_IP_PNP以在2中能够看到Root file system on NFS选项Networking supportNetworking optionsTCP/IP networkingIP: kernel level autoconfiguration[*] IP: DHCP support[*] IP: BOOTP support2、配置开启nfs服务File systems原创 2020-06-16 18:48:06 · 740 阅读 · 1 评论 -
Linux内存模型
转载来自http://www.wowotech.net/memory_management/memory_model.html一、前言在linux内核中支持3中内存模型,分别是flat memory model,Discontiguous memory model和sparse memory model。所谓memory model,其实就是从cpu的角度看,其物理内存的分布情况,在...转载 2019-03-27 11:07:16 · 177 阅读 · 0 评论 -
Device Tree(三):代码分析
转载来自http://www.wowotech.net/device_model/dt-code-analysis.html一、前言Device Tree总共有三篇,分别是:1、为何要引入Device Tree,这个机制是用来解决什么问题的?(请参考引入Device Tree的原因)2、Device Tree的基础概念(请参考DT基础概念)3、ARM linux中和Dev...转载 2019-03-27 11:06:32 · 272 阅读 · 0 评论 -
Device Tree(二):基本概念
转载来自http://www.wowotech.net/device_model/dt_basic_concept.html一、前言一些背景知识(例如:为何要引入Device Tree,这个机制是用来解决什么问题的)请参考引入Device Tree的原因,本文主要是介绍Device Tree的基础概念。简单的说,如果要使用Device Tree,首先用户要了解自己的硬件配置和系统...转载 2019-03-27 11:05:37 · 130 阅读 · 0 评论 -
u-boot FIT image介绍
转载来自 http://www.wowotech.net/u-boot/fit_image_overview.html1. 前言Linux kernel在ARM架构中引入device tree(全称是flattened device tree,后续将会以FDT代称)的时候[1],其实怀揣了一个Unify Kernel的梦想----同一个Image,可以支持多个不同的平台。随着新的ARM64...转载 2019-03-26 18:34:23 · 1463 阅读 · 0 评论 -
u-boot启动流程分析(1)_平台相关部分
转自:http://www.wowotech.net/u-boot/boot_flow_1.html1. 前言本文将结合u-boot的“board—>machine—>arch—>cpu”框架,介绍u-boot中平台相关部分的启动流程。并通过对启动流程的简单分析,掌握u-boot移植的基本方法。注1:本文所使用的u-boot版本,是2016/4/23从u-boo...转载 2019-03-21 15:35:44 · 287 阅读 · 0 评论 -
[dts]Device Tree格式解析
转自:http://blog.csdn.net/airk000/article/details/21345159目录:1. 作用2. 基本数据格式3. 一些基本概念4. 工作方式 a. 地址 b. 中断 c. 其他5. 进阶例子Device Tree常用方法解析Device Tree在Linux内核驱动中的使用源于2011年3月...转载 2019-03-21 15:45:22 · 201 阅读 · 0 评论 -
[dts]Device Tree机制(设备树)
转自:http://blog.csdn.net/machiner1/article/details/47805069------------------Based on linux 3.10.24 source code参考/documentation/devicetree/Booting-without-of.txt文档目录1. 设备树(DeviceTree)基本概念及作用...转载 2019-03-21 15:43:38 · 185 阅读 · 0 评论 -
Linux启动过程详解
转自:http://blog.chinaunix.net/uid-26495963-id-3066282.html目录:Linux启动概图Linux启动详图1. 启动第一步--加载BIOS2. 启动第二步--读取MBR3. 启动第三步--Bootloader4. 启动第四步--加载内核5. 启动第五步--用户层init依据inittab文件来设定运行等级6. 启...转载 2019-03-21 15:41:14 · 80 阅读 · 0 评论 -
ARM Linux从Bootloader、kernel到filesystem启动流程
转自:http://www.veryarm.com/1491.htmlARM Linux启动流程大致为:bootloader---->kernel---->root filesystem。bootloader 是一上电就拿到cpu 的控制权的,而bootloader实现了硬件的初始化。bootloader俨然就成了Power on 之后”第一个吃螃蟹”的代码。谈到这就得...转载 2019-03-21 15:40:05 · 690 阅读 · 0 评论 -
u-boot启动流程分析(2)_板级(board)部分
转自:http://www.wowotech.net/u-boot/boot_flow_2.html目录:1. 前言2. Generic Board3. _main4. global data介绍以及背后的思考5. 前置的板级初始化操作6. u-boot的relocation7. 后置的板级初始化操作1. 前言书接上文(u-boot启动流程分析(1)_...转载 2019-03-21 15:37:20 · 203 阅读 · 0 评论