S3C6410 transplant u-boot

Publisher:EtherealBeautyLatest update time:2024-09-03 Source: cnblogsKeywords:S3C6410 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. Download uboot


http://ftp.denx.de/pub/u-boot/

2. Unzip the file


tar xvf u-boot-latest.tar.bz2

3. Enter the uboot root directory and start modifying files


4. Create a board-level file directory


cd /borad/samsung

mkdir smdk6410

5. Copy the smdk6400 file to the created file directory


cp smdk6400/* smdk6410/

6. Modify the file name under the directory


cd smdk6410

mv smdk6400.c smdk6410.c

mv smdk6400_nand_spl.c smdk6410_nand_spl.c

7. Modify the content of board-level files


vim smdk6410.c


:%s/smdk6400/smdk6410/g

:wq


vim Makefile


:%s/smdk6400/smdk6410/g

:wq


8. Add smdk6410 configuration header file


Enter the directory /include/configs


cp smdk6400.h smdk6410.h

9. Modify the root directory Makefile


Modify the cross compiler to


CROSS_COMPILE ?= arm-linux-

Add smdk6410 configuration items


First find the smdk6400 configuration item, copy a paragraph and then change the smdk6400 in the copied paragraph to smdk6410


#########################################################################

smdk6410_noUSB_config

smdk6410_config :       unconfig

@mkdir -p $(obj)include $(obj)board/samsung/smdk6410

@mkdir -p $(obj)nand_spl/board/samsung/smdk6410

@echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h

@echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk

@if [ -z "$(findstring smdk6400_noUSB_config,$@)" ]; then

echo "RAM_TEXT = 0x57e00000" >> $(obj)board/samsung/smdk6410/config.tmp;

else

echo "RAM_TEXT = 0xc7e00000" >> $(obj)board/samsung/smdk6410/config.tmp;

be

@$(MKCONFIG) smdk6410 arm arm1176 smdk6410 samsung s3c64xx

@echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk

#########################################################################


10. Add bords.cfg


Find the chip related to arm1176 and add a line


smdk6410  arm  arm1176  smdk6410  linxarm  s3c64x0

11. Make uboot


$ sudo make smdk6410_config

$ sudo make

Finally, the following error occurred


u-boot.lds:19: syntax error

After searching on Google, I found out from the mail list that the smkd6400 series no longer supports the new version of the uboot matrix, and it is likely to be removed in the next version.


Specific webpages for details:


http://www.mail-archive.com/u-boot@lists.denx.de/msg106674.html


http://www.mail-archive.com/u-boot@lists.denx.de/msg106676.html


Advertising


This board has been broken for a while in U-Boot. Please try a previous release

of U-Boot until it works (I don't know from which release it stopped working),

or fix it.


With Tom Rini's approval, next week I will post a series removing support for

this board because it is broken and it does not follow U-Boot evolutions, which

prevents some improvements in U-Boot. It will still be possible to restore it to

fix it later, using Git's history.


Best regards,

Benoit

_______________________________________________

U-Boot mailing list

U-Boot@lists.denx.de

http://lists.denx.de/mailman/listinfo/u-boot


I remember seeing that others had ported the 2010.03 version of uboot, because this version of uboot is closest to the uboot1.1.6 version released by Samsung, and has the highest porting success rate.


Keywords:S3C6410 Reference address:S3C6410 transplant u-boot

Previous article:S3C6410 transplantation u-boot-2010.3 (2) basic boot information modification
Next article:Configure a new kernel for OK6410

Recommended ReadingLatest update time:2024-11-16 07:50

S3C6410 Embedded Application Platform Construction (VI) - Linux-3.14.4 Ported to OK6410 (Yaffs2 File Production)
This article mainly describes how to use the yaffs2 tool and busybox to create a yaffs2 file system image. Most of them are referenced from the Internet, the purpose is to record learning, not for any purpose. 1. Make the mkyaffs2image tool Enter the utils directory under the yaffs2 source dire
[Microcontroller]
U-Boot transplantation on FL2440 (1)----Modify the system clock
1 U-boot source code structure       The picture comes from Wei Dongshan's "Complete Manual of Embedded Linux Application Development"        U-boot download address: ftp://ftp.denx.de/pub/u-boot/       Cross-compilation tool chain 3.3.2 2 U-boot transplantation     1. Create a new directory and file for the fl2
[Microcontroller]
U-Boot transplantation on FL2440 (1)----Modify the system clock
U-Boot transplantation (2) Modify SDRAM configuration
Next. . 5. After checking the information, it can be seen that the setting of BANK6: the bit width is 32, and the macro B6_BWSCON is just DW32, no need to change. Since the HCLK of the development board I am using is set to 100MHZ, the value of the REFCNT register needs to be recalculated based on the specific paramet
[Microcontroller]
U-Boot transplantation (2) Modify SDRAM configuration
U-Boot transplantation (17)ylp2410 network card dm9000aep
3. In the board, in order to verify whether the new u-boot is available, you need to set the IP address in u-boot first, as shown below: Pay attention to the red words below U-Boot 1.1.6 (Dec  5 2009 - 17:41:27) DRAM:  64 MB Flash:  0 kB NAND:  64 MiB In:    serial Out:   serial Err:   serial UPLLVal MPLLVal CLKDIVN
[Microcontroller]
[S3C6410-00] Embedded Linux development environment construction
This article is a summary of the previous one, which involves the most basic environment construction issues in embedded Linux development. I will put my summary online later. Let's get started. When developing embedded Linux, the most basic tools are Host-Windows system, VisualMachine-VMWare and Board. T
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • 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)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
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号