作者信息

彭東林

郵箱: pengdonglin137@163.com

平臺

Linux-4.4.4

uboot使用的是友善自帶的(爲了支持uImage和設備樹做了稍許修改)

概述

這篇博客主要用於匯總一下調試方法。

正文

1. dnw下載

目前我將uboot燒寫到SD卡中,然後使用dnw將kernel、根文件系統以及設備樹鏡像下載到內存中,爲了提高效率,可以使用下面的方法:

在uboot中添加環境變量:

setenv dnw_up 'dnw 0x40600000; dnw 0x41000000; dnw 0x42000000; bootm 0x40600000 0x41000000 0x42000000'

進入uboot終端後,執行如下命令:

run dnw_up

然後可以看到如下log:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYsAAAA+CAIAAABV8qCuAAAAA3NCSVQICAjb4U/gAAAekklEQVR4Xu2dZ1wTWReHJw1Cb9JBQMXOq4AV17UXbIuKiAUFsQCCoq6CfW3Y10axYUFRxLJir1hAUAQp0qT33gKEkpDknYRiIFNCKKvrnZ8f8JZzz3nuzcmdycx/CFDrY6hkH6KGxbUE55hJEw+H10GQhMGxlz72qhVXLWc4RNQ2NSbrbHx0f1uag65DaHVLf17hjsL9pgdj6M2FdcWZqaUN6hbXkg/ULRlme58GQSR1G5/7JygnDBf7pTdwx0Kpgig9LV+8cBkQdsHJMziXOmD5dtelMvdNJ+99X80hay8JCXTOXTV+7tuWoVrHgeAhQWHS0RBXicc+173ufkqtYbeJHPwXEAAEfjwCZDyXahM8LyTY71DHa9dUL26yI/Dh97apZ8yHn05v1ZeV73/07tbb9rt+e7ribRV6FY2ZdWfxavmTLpaXrq0iQnXZ4XfXOp0IquYI6YlAM0554JaBr9ki9xcwCAoAAUCgqwkQ2gwA76G6ekhgHxAABAABIQkQhWwHmgECgAAg0P0EQIbqfuZgREAAEBCWAMhQwpIC7QABQKD7CYAM1f3MwYiAACAgLAGQoYQl9UO1IyoYWR7cuWgw9YfyCjgDCHQ6AZChOh1pdxgk9RixcJ3lKHXcm0W6wxkwBiDQdQQQMpSs2Y1IenLbf4ku/blf2GJ9dr5uVVV55XdZrn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mZWh8AAAAASUVORK5CYII=" alt="" />

此時將PC上下載鏡像的命令也弄成腳本:

#!/bin/bash

if [ -e /home/pengdonglin/tiny4412/SysPort/linux-.4_tiny4412/arch/arm/boot/uImage ];then
sudo dnw /home/pengdonglin/tiny4412/SysPort/linux-.4_tiny4412/arch/arm/boot/uImage
else
echo "uImage not exist"
exit -
fi sleep if [ -e /home/pengdonglin/tiny4412/SysPort/rootfs/ramdisk.img ];then
sudo dnw /home/pengdonglin/tiny4412/SysPort/rootfs/ramdisk.img
else
echo "ramdisk.img not exist"
exit -
fi sleep if [ -e /home/pengdonglin/tiny4412/SysPort/linux-.4_tiny4412/arch/arm/boot/dts/exynos4412-tiny4412.dtb ];then
sudo dnw /home/pengdonglin/tiny4412/SysPort/linux-.4_tiny4412/arch/arm/boot/dts/exynos4412-tiny4412.dtb
else
echo "dtb not exist."
exit -
fi

2.

完。

基于tiny4412的Linux内核移植 ---- 調試方法的更多相关文章

  1. 基于tiny4412的Linux内核移植 --- aliases节点解析

    作者信息 作者: 彭东林 邮箱:pengdonglin137@163.com QQ:405728433 平台简介 开发板:tiny4412ADK + S700 + 4GB Flash 要移植的内核版本 ...

  2. 基于tiny4412的Linux内核移植 -- 设备树的展开

    作者信息 作者: 彭东林 邮箱:pengdonglin137@163.com QQ:405728433 平台简介 开发板:tiny4412ADK + S700 + 4GB Flash 要移植的内核版本 ...

  3. 基于tiny4412的Linux内核移植 -- MMA7660驱动移植(九-2)

    作者信息 作者: 彭东林 邮箱:pengdonglin137@163.com QQ:405728433 平台简介 开发板:tiny4412ADK + S700 + 4GB Flash 要移植的内核版本 ...

  4. 基于tiny4412的Linux内核移植 -- 设备树的展开【转】

    转自:https://www.cnblogs.com/pengdonglin137/p/5248114.html#_lab2_3_1 阅读目录(Content) 作者信息 平台简介 摘要 正文 一.根 ...

  5. 基于tiny4412的Linux内核移植 -- MMA7660驱动移植(九)

    作者信息 作者: 彭东林 邮箱:pengdonglin137@163.com QQ:405728433 平台简介 开发板:tiny4412ADK + S700 + 4GB Flash 要移植的内核版本 ...

  6. 基于tiny4412的Linux内核移植(支持device tree)(三)

    作者信息 作者: 彭东林 邮箱:pengdonglin137@163.com QQ:405728433 平台简介 开发板:tiny4412ADK + S700 + 4GB Flash 要移植的内核版本 ...

  7. 基于tiny4412的Linux内核移植(支持device tree)(一)

    作者信息 作者: 彭东林 邮箱:pengdonglin137@163.com QQ:405728433 平台简介 开发板:tiny4412ADK + S700 + 4GB Flash 要移植的内核版本 ...

  8. 基于tiny4412的Linux内核移植 --- aliases节点解析【转】

    转自:https://www.cnblogs.com/pengdonglin137/p/5252348.html 阅读目录(Content) 作者信息 平台简介 正文 回到顶部(go to top) ...

  9. 基于tiny4412的Linux内核移植 -- PWM子系统学习(八)

    作者信息 作者: 彭东林 邮箱:pengdonglin137@163.com QQ:405728433 平台简介 开发板:tiny4412ADK + S700 + 4GB Flash 要移植的内核版本 ...

随机推荐

  1. UWP中新加的数据绑定方式x:Bind分析总结

    UWP中新加的数据绑定方式x:Bind分析总结 0x00 UWP中的x:Bind 由之前有过WPF开发经验,所以在学习UWP的时候直接省略了XAML.数据绑定等几个看着十分眼熟的主题.学习过程中倒是也 ...

  2. 利用Node.js的Net模块实现一个命令行多人聊天室

    1.net模块基本API 要使用Node.js的net模块实现一个命令行聊天室,就必须先了解NET模块的API使用.NET模块API分为两大类:Server和Socket类.工厂方法. Server类 ...

  3. AFNetworking 3.0 源码解读(十一)之 UIButton/UIProgressView/UIWebView + AFNetworking

    AFNetworking的源码解读马上就结束了,这一篇应该算是倒数第二篇,下一篇会是对AFNetworking中的技术点进行总结. 前言 上一篇我们总结了 UIActivityIndicatorVie ...

  4. bzoj3207--Hash+主席树

    题目大意: 给定一个n个数的序列和m个询问(n,m<=100000)和k,每个询问包含k+2个数字:l,r,b[1],b[2]...b[k],要求输出b[1]~b[k]在[l,r]中是否出现. ...

  5. python之类介绍

    python对象销毁(垃圾回收): 1>同Java语言一样,python使用了引用计数这一简单计数来追踪内存中的对象,也就是说,python内部记录着所有使用中的对象各有多少引用,一个内部跟踪变 ...

  6. Linux+apache+mono+asp.net安装教程

    Linux+apache+mono+asp.net安装教程(CentOS上测试的) 一.准备工作: 1.安装linux系统(CentOS,这个就不多讲了) 2.下载所需软件 http-2.4.4.ta ...

  7. Unit Of Work的设计

    在DDD开发过程中,一个良好的Uow设计必不可少,我心目中的Uow设计应该具备以下几点: 1.有着良好的抽象,有着恰如其分的命名: 2.能够应付不同的组件,比如你的系统中可能会存在EfUnitOfWo ...

  8. "过期不候"--具备生命周期的数据的技术实现方案

    "过期不候"--具备生命周期的数据的技术实现方案 1   引言 本文可以作为之前的一个 原理性文章 对应的 技术实现部分 . 此处给出其上文的直达电梯: http://www.cn ...

  9. Windows平台Go调用DLL的坑

    最近的项目中,使用了GO来开发一些服务中转程序.业务比较简单,但是有一些业务需要复用原有C++开发的代码.而在WINDOWS,用CGO方式来集成C/C++代码并不是太方便.所以用DLL把C++的代码封 ...

  10. Android,适合Restful网络请求封装

    借助volley.Gson类库. 优点 网络请求集中处理,返回值直接为预期的对象,不需要手动反序列,提高效率,使用时建立好model类即可. 使用效果 DataProess.Request(true, ...