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

Part0 ready knowledge

0.1 Description of key parameters

0.1.1 Description Development Board

OK6410 is Feiling's announcement of a development board, there are currently two versions, OK6410-A and OK6410-B, I'm currently using the former; the former has experienced upgrades, so there are 128M ram and the newer 256 memory version, nand flash size is also different, for the current new 4G, when the memory size can affect the compiled file mmu smdk6410.c part of the code, will be referred to follow, reference may be u-boot contents of the file Feiling provided;

0.1.2 Description Processor

The board using a Samsung s3c6410 processor, the instruction set used for the cup: ARM1176JZF-S , belonging armv6zk (using gcc, can be specified by -march = armv6zk), the corresponding relationship can reference more:  the ARM instruction ARM assembly version and version  ;

 

0.2 environment to build and data preparation

0.2.1 Development environment settings

System Version: Ubuntu12.10

Installation-related compilation tools:

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

I used here is gcc-arm-linux-gnueabi series ubuntu tools contained in the source system, after installation has the following tools:

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 parameters for the CROSS_COMPILE:  ARM-Linux-gnueabi-

make CROSS_COMPILE=arm-linux-gnueabi-

 

0.2.2 source code related to preparation

Samsung original focus of reference data, and after finishing Feiling uboot1.1.6:

Samsung original data .rar
http://dl.vmall.com/c0ek7spz04

  • u-boot the latest official version:
wget ftp://ftp.denx.de/pub/u-boot/u-boot-2012.10.tar.bz2

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

[Note:] Follow-up to the main uboot uboot after the original Samsung Feiling and finishing as a theme, integrated into the latest version of the official uboot in; last tested in ok6410 development board;

 

Part1 Test uboot1.1.6

 

Part2 code to the portable u-boot2012.10

 

Part3 u-boot2012.10 test

 

 

Reproduced in: https: //www.cnblogs.com/QuLory/archive/2012/11/15/2772041.html

Guess you like

Origin blog.csdn.net/weixin_33752045/article/details/93154351