为什么需要更新呢?其实是为了更好的搭建自己的开发环境,同时熟悉altera对代码的更新和管理方式,便于进一步的熟悉和了解altera SoC开发过程。
 
1、下载linux代码:
  1. git clone git://git.rocketboards.org/linux-socfpga.git
2、进入代码路径:
  1. cd linux-socfpga

3、查看远程分支有哪些版本

  1. git branch -r

可以看到有很多的版本,我选择了socfpga-3.10

  1. leo@chen:~/altera/linux-src/linux-socfpga$ git branch -r
  2. origin/HEAD -> origin/master
  3. origin/master
  4. origin/socfpga-3.10
  5. origin/socfpga-3.10-ltsi
  6. origin/socfpga-3.10-ltsi-rt
  7. origin/socfpga-3.11
  8. origin/socfpga-3.12
  9. origin/socfpga-3.13
  10. origin/socfpga-3.13-rel14.0
  11. origin/socfpga-3.14
  12. origin/socfpga-3.15
  13. origin/socfpga-3.16
  14. origin/socfpga-3.17
  15. origin/socfpga-3.4-ltsi
  16. origin/socfpga-3.6
  17. origin/socfpga-3.7
  18. origin/socfpga-3.7-ghrd
  19. origin/socfpga-3.8
  20. origin/socfpga-3.9
  21. origin/socfpga-3.9-rel
  22. origin/socfpga-3.9-rel-amp

4、获取Linux3.10代码:

  1. git checkout -t -b socfpga-3.10 origin/socfpga-3.10

5、指定交叉编译环境路径

  1. export CROSS_COMPILE=/tool/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-

6、编译linux,生成zImage

  1. make ARCH=arm socfpga_defconfig
  2. make ARCH=arm zImage

编译完成以后,可以看到以下信息

  1. ......... ...........................................................

7、替换SD卡中的zImage文件

8、上电运行,可看到以下信息

Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Linux version 3.10.0-00208-gc29c849 (leo@chen) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #3 SMP Mon Feb 23 17:12:46 CST 2015
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Altera SOCFPGA Cyclone V
Truncating RAM at 0x00000000-0x40000000 to -0x2f800000
Memory policy: Data cache writealloc
PERCPU: Embedded 8 pages/cpu @ef1e4000 s11008 r8192 d13568 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 193040
Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait fbmode=VGA
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 763272K/778240K available (5567K kernel code, 267K rwdata, 1516K rodata, 390K init, 134K bss, 14968K reserved)

至此3.10系统已经可以顺利运行啦

Altera SoC 内核更新3.7到3.10的更多相关文章

  1. 从头开始构建LINUX[内核更新和资料]

    了解了LFS的内容后,至于内核的更新就一目了然了 http://www.cnblogs.com/2018/p/3979305.html http://www.cnblogs.com/2018/p/39 ...

  2. Altera SoC与Matlab的联合---第一步 软件安装与硬件测试

    参考设计:http://cn.mathworks.com/help/hdlcoder/examples/getting-started-with-hardware-software-codesign- ...

  3. 【内核】Linux内核Initrd机制解析,内核更新步骤,grub配置说明

    什么是Initrd initrd的英文含义是 boot loader initialized RAM disk,就是由boot loader初始化的内存盘.在 linux内核启动前, boot loa ...

  4. Centos内核更新

    内核更新操作后面补上.暂时记录删除多余内核操作 删除卸载多余内核 1.系统启动时,选择需要保留的内核进入系统,通过uname -a命令查看当前内核版本,以防误删 2. 使用rpm -qa | grep ...

  5. CentOS 7 内核更新后删除旧内核(转载)

    CentOS 7 内核更新后删除旧内核 0.当前 # uname -sr Linux 3.10.0-123.20.1.el7.x86_64 1.搜索查询 # rpm -q kernel kernel- ...

  6. altera soc体验之旅 FPGA与ARM的窃窃私语

      喜大普奔,公司要评估用SOC做产品,我就自然而然的被安排了学习和评估的工作,于是,每天的工作就是开始研究soc了.其实,只要能静下心来学习,一切都还是能够弄出来的. 以前像个无头苍蝇一样到处乱撞, ...

  7. linux内核更新前后配置文件的比较

    说明:这里先给出一个比较的结果,作为记录,后续会给出内核配置差异的详细解释. [root@xiaolyu linux-4.7.2]# diff .config .config_bak  3c3< ...

  8. yum update 自动忽略内核更新

    系统每天凌晨 3 点自动执行 yum update 任务 但升级内核后,会出现下面情况 一些编译软件需要内核模块才能够被调用, 而内核模块需要与当前版本内核编译后才能够使用, 假设内核升级后,之前软件 ...

  9. LTP--linux稳定性测试 linux性能测试 ltp压力测试 内核更新 稳定性测试

    LTP--linux稳定性测试 linux性能测试 ltp压力测试 zhangzj1030关注14人评论33721人阅读2011-12-09 12:07:45   说明:在写这篇文章之前,本人也不曾了 ...

随机推荐

  1. 控制台程序实现利用CRM组织服务和SqlConnection对数据库中数据的增删改查操作

    一.首先新建一个控制台程序.命名为TestCol. 二.打开App.config在里面加入,数据库和CRM连接字符串 <connectionStrings> <add name=&q ...

  2. Android ImageButton android:scaleType

    ImageView的属性android:scaleType,即 ImageView.setScaleType(ImageView.ScaleType). android:scaleType是控制图片如 ...

  3. Struts2 Interceptors

    Alias Interceptor : 别名拦截器 <action name="someAction" class="com.examples.SomeAction ...

  4. Unable to resolve target 'android-i'

    重新装完Ecplise+ATD+Android SDK 在Ecplise工作空间导入之前写过的Android项目会出现错误,大部分是SDK 版本不符,如下错误提示:Error:Unable to re ...

  5. VS2013 启动时遇到空白窗口

    安装了VS2013 ,然后打开,遇到空白窗口,等了10几秒无果. 我先是修复了VS2013,然后再打开VS2013,则显示登录微软账号的窗口.修复完2013时正好18:08,可能是下班了可以上网,才正 ...

  6. 51nod1258 序列求和V4

    T(n) = n^k,S(n) = T(1) + T(2) + ...... T(n).给出n和k,求S(n).   例如k = 2,n = 5,S(n) = 1^2 + 2^2 + 3^2 + 4^ ...

  7. Python的更多内容

    到目前为止,我们已经学习了绝大多数常用的Python知识.在这一章中,我们将要学习另外一些方面的Python知识,从而使我们对Python的了解更加 完整 . 1.特殊的方法 在类中有一些特殊的方法具 ...

  8. quotas and disk replace on netapp

    ==================================================================================================== ...

  9. 黄聪:wordpress/wp-includes目录文件

    wp-includes/cache.php wp-includes/capabilities.php wp-includes/class-IXR.php:Incutio XML-RPC库.包括了 XM ...

  10. AP_AP系列 - 相关设定的简述(概念)

    2014-07-08 Created By BaoXinjian