DemonMaster

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  linux kernel

linux kernel develoment
摘要:思路 1.关看门狗 2.设置时钟 3.初始化sdram 4.重定位 5.执行main .text 表示代码段 .global _start (global 表示全局标号) 关看门狗 可以调c完成disable_watch_dag 确定看门狗地址0x.... ldr r0 ,=0x... ldr 违汇 阅读全文
posted @ 2019-11-15 20:37 专注的长尾狸猫 阅读(243) 评论(0) 推荐(0)

摘要:https://www.denx.de/wiki/U Boot 下载地址 准备好工具链 在/etc/bash.bashrc 添加 export PATH=$PATH:/.../bin 并source 这个文件 工具链国内下载地址 http://www.veryarm.com/arm none lin 阅读全文
posted @ 2019-11-06 16:48 专注的长尾狸猫 阅读(318) 评论(0) 推荐(0)

摘要:```struct task_struct { struct thread_info thread_info; volatile long state; /* -1 unrunnable, 0 runnable, >0 stopped: */ void *stack; /* 堆指针 */ atomic_t usage; /* 进程描述符使用计数,... 阅读全文
posted @ 2019-11-02 18:34 专注的长尾狸猫 阅读(540) 评论(0) 推荐(0)

摘要:1 安装samba sudo apt get install samba 2打开配置文件:sudo gedit /etc/samba/smb.conf,在最后添加如下几行 阅读全文
posted @ 2019-11-01 15:59 专注的长尾狸猫 阅读(482) 评论(0) 推荐(0)

摘要:git clone https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux stable.git depth 1 branch linux 5.1.y apt get install device tree compiler 阅读全文
posted @ 2019-11-01 13:16 专注的长尾狸猫 阅读(300) 评论(0) 推荐(0)