Feiling OK6410 development board transplanted u-boot official latest version u-boot-2012.10.tar.bz2

Publisher:美人如玉剑如虹Latest update time:2019-12-17 Source: eefocus Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Part 0 Preparatory knowledge

0.1 Key Parameters

0.1.1 Development Board Description

OK6410 is a development board released by Feiling. There are currently two versions, OK6410-A and OK6410-B. I am currently using the former. The former has also been upgraded, so there are 128M ram and newer 256 memory versions. The nand flash size is also different. The current new one is 4G. The memory size will affect the mmu part of the code in the smdk6410.c file during compilation. It will be mentioned later. You can refer to the content of the u-boot file provided by Feiling.


0.1.2 Processor Description

The development board uses Samsung's s3c6410 processor. The instruction set used by cup is: arm1176jzf-s, which belongs to armv6zk (when using gcc, it can be specified by -march=armv6zk). For more correspondence, please refer to: ARM instruction set version and ARM version;


 


0.2 Environment construction and data preparation

0.2.1 Development Environment Setup

System version: Ubuntu12.10


Install related compilation tools:


sudo apt-get install  build-essential gcc-arm-linux-gnueabi

Here I use the gcc-arm-linux-gnueabi series of tools contained in the Ubuntu system source. After installation, the following tools are available:



arm-linux-gnueabi-addr2line       arm-linux-gnueabi-gcc             arm-linux-gnueabi-gprof           arm-linux-gnueabi-ranlib

arm-linux-gnueabi-ar              arm-linux-gnueabi-gcc-4.7         arm-linux-gnueabi-ld              arm-linux-gnueabi-readelf

arm-linux-gnueabi-as              arm-linux-gnueabi-gcc-ar-4.7      arm-linux-gnueabi-ld.bfd          arm-linux-gnueabi-size

arm-linux-gnueabi-c++filt         arm-linux-gnueabi-gcc-nm-4.7      arm-linux-gnueabi-ld.gold         arm-linux-gnueabi-strings

arm-linux-gnueabi-cpp             arm-linux-gnueabi-gcc-ranlib-4.7  arm-linux-gnueabi-nm              arm-linux-gnueabi-strip

arm-linux-gnueabi-cpp-4.7         arm-linux-gnueabi-gcov            arm-linux-gnueabi-objcopy         

arm-linux-gnueabi-elfedit arm-linux-gnueabi-gcov-4.7 arm-linux-gnueabi-objdump


Note that when using make to compile the source code, set the CROSS_COMPILE parameter to: arm-linux-gnueabi-


make CROSS_COMPILE=arm-linux-gnueabi-

 


0.2.2 Related source code preparation

The relevant information provided by Feiling is in the CD, and can also be downloaded from the following website: OK6410, TE6410 development board CD download link

Focus on the original Samsung data and the uboot1.1.6 compiled by Hefei Ling:


Samsung original data.rar

http://dl.vmall.com/c0ek7spz04


u-boot official latest version:

wget ftp://ftp.denx.de/pub/u-boot/u-boot-2012.10.tar.bz2

Other versions can be found in this directory: ftp://ftp.denx.de/pub/u-boot


[Description:] The subsequent work mainly uses Samsung's original uboot and Feiling's organized uboot as the subject matter, and integrates them into the latest version of the official uboot; finally, it is tested on the ok6410 development board;


Reference address:Feiling OK6410 development board transplanted u-boot official latest version u-boot-2012.10.tar.bz2

Previous article:Ubuntu12.10 uses JLink to connect the development board and uses arm-gdb to debug ARM programs
Next article:Boost download, installation, compilation, configuration and usage guide (including Windows, Linux and ARM Linux)

Recommended ReadingLatest update time:2024-11-15 15:36

Create a yaffs2 file system and port it to the ok6410 development board
1. Unzip: tar -jxvf yaffs_source_util_larger_small_page_nand.tar.bz2 to generate a folder The premise of steps 2 and 3 is that your kernel does not support the yaffs2 file system and there is no yaffs2 directory under kernel/fs/. 2. Copy the folder to the folder in the kernel root directory: cp yaff
[Microcontroller]
Latest Microcontroller Articles
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
    Since development under LINUX is still quite troublesome, is there a more convenient and simple development method under WINDOWS? The answer is yes. Of course, it is not a development tool like ADS, because it ...
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
  • Learn ARM development(18)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号