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.
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
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- [Evaluation of EC-01F-Kit, the NB-IoT development board of Anxinke] Unboxing
- Some people say that C language programming of MSP430 is a pseudo-C language programming?
- RF and Microwave Switch Test System Fundamentals
- CCS7.2 Setting Hardware Breakpoints
- Design and Application of QDLIntegrate Power Monitoring System for Shenzhen Metro Line 4
- CC2640R2F BLE development service characteristic attribute explanation
- Wi-Fi 7, ready in Asia, driving global market
- Can you provide me with a manual for S1700-24GR?
- Solution! PIC16LF15323 watchdog seems to be enabled by default
- The newly bought MSP430FR5994 cannot execute PWM control