System Migration own Summary

Porting
a cross compiler to build a cross compiler environment arm-linux-none-gcc things on the computer a.out renamed copy to the board in -ox

Development target host connection (Development Board)

        ---------1 串口(调试助手 :超级终端 xshell secure-CRT)    
                 2 USB 线 (必须要有usb驱动才可以 三星的dnw)
                 3 网线 (必须要有网络协议支持 tfftp 服务  将要测试的 bootloader kernerl 文件系统 下载到内存 去)
                                              共享 : nfs 挂载服务 共享制作好的 根文件系统  是网络文件共享
                                                      samba 是种跨平台的文件共享    

More than ready part hardware and part software also lacks the following cross-compiler environment that is cross-compiler to compile a file that can run on the arm of memory on +86 platform
directly download and install cross compiler tool
arm-none-linux-gnueabi -gcc

2 bootloade selection and configuration uboot
boot the operating system kernel boot the kernel it is loaded into memory 1 loaded by uboot
2 is loaded into memory sdram but also need to initialize the initialization is done uboot
general sram memory as long as you can run on electricity

Boot loader mode and download mode
stage1 and can be implemented in assembly language, but stage2 is usually in C language to achieve, so you can implement complex functions, and better readability and portability

If the network fails the test, check the network from the following aspects:
1. connect the network cable
2. ip address boards and the virtual machine is configured in the same network segment
3. The virtual machine must adopt network bridge (VM-Setting-> Option)
4. when the connection boards, virtual machine need to use a static address ip

3 compiled kernel kernel configuration transplant linux-3.14

To download a good copy of linux-2.6.35.tar.bz2 to the main unzipped

  二、修改顶层目录下的Makefile,主要修改平台的体系架构和交叉编译器,代码如下:
  ARCH    ?= $(SUBARCH)
  CROSS_COMPILE  ?=
  CROSS_COMPILE  ?= $(CONFIG_CROSS_COMPILE:"%"=%)
  修改以上代码为:
  ARCH    ?= arm                                                       ---->体系架构是arm架构
  CROSS_COMPILE  ?= arm-cortex_a8-linux-gnueabi-    ---->交叉编译器是arm-cortex_a8平台的
  注意:这两个变量值会直接影响顶层Makefile的编译行为,即选择编译哪些代码,用什么编译器进行编译。

    一 下载 linux -3.14 
    二  : 修改makefile 主要是 架构和编译器 改为 arm  和 arm-linux-gcc ...  
    三、拷贝标准版配置文件,目的是得到跟我们开发板相关的配置信息。
         $ cp arch/arm/configs/s5pc100_defconfig    .config
    四 配置内核 make manuconfig  图形化界面的配置   
    五 编译内核
    六: tfttp 下载 测试内核 

4 file system of production -

start a cross-platform tool vmvare_workstation?
vxworks, linux / ucos / frtos embedded OS
architecture: x86 (intel & Amd, VIA exit)
ARM (most can only be used can not be changed; the only Qualcomm, Apple and NVIDIA can the design)
MIPS (basic design can be changed architecture does not change on the line China dragon heart)
Ubuntu is a linux version of
uboot initializing a streamlined windows bootloader and boot linux responsible for hardware to load the system up and running (initialize the hardware device to establish a memory map just a piece of code)
linux- 3.14 to provide core
busybox-1.22.1 Toolbox (shell instruction set?)
making the root file system command tool

Guess you like

Origin blog.csdn.net/weixin_40654382/article/details/92969796