U-boot porting on mini2440-S3C2440 (2)

1. This article mainly explains the migration of U-boot on mini2440-S3C2440, the version used is
U-boot-2009.11_tekkaman-master, download address:
https://download.csdn.net/download/jinanhezhuang/20823342?spm =1001.2014.3001.5501

1. Download the official u-boot: Download address: 2. Upload the compressed package to
ubuntu with xftp software;
3. Unzip the installation package; tar command
code, copy smdk2410 in the board directory to mini2440 in the newly created folder tekkaman under the board; rename smdk2440.c in mini2440 to mini2440.c;
in the configs directory of the include folder, create a location file mini2440. h, you can copy the contents of include/configs/smdk2410.h directly;
5. Modify the top-level Makefile: in U-boot-2009.11_tekkaman-master/Makefile, open it with the command vim Makefile, add (if the cross-compilation toolchain is installed) This line can be omitted)
insert image description hereinsert image description here6. Modify the Makefile in the /board/tekkamanninja/mini2440 directory: the
insert image description herered part is the changed content, edit it with the vim command; insert enters the editing mode; esc exits the editing mode; :wq: save and exit;
7. At this point, the cross-compilation configuration and the editing of the configuration file of the development board are over, and the compilation environment is tested below;
in the root directory of the U-boot source code: execute the following commands;
insert image description here

Guess you like

Origin blog.csdn.net/jinanhezhuang/article/details/119484719