The Uboot source code that was transplanted here is Samsung's official offer
1: Pre-transplant preparation:
Download and extract uboot source code and create source Insight project, note that the Linux source code cannot be
Extracted directly from the shared file because there are many links in Linux, and this feature is used in Windows
There is no inside, so compiling in the shared folder will be an error, unzip the code
TAR-JXVF Name
2: View Makefile
Before compiling, see if the cross-compilation toolchain in Makefile has the same configuration as the cross-compilation toolchain in our virtual machine (mainly the installation path and version)
Ifeq ($ (ARCH), arm) #CROSS_COMPILE = arm-linux-#CROSS_COMPILE =/usr/local/arm/4.4.1-eabi-cortex-a8/usr/bin/ arm-linux-#CROSS_COMPILE =/usr/local/arm/4.2.2-eabi/usr/bin/arm-linux-cross_compile =/usr/local/arm/arm-2009q3/ Bin/arm-none-linux-gnueabi-endif
3: Compiling, burning
Use make smdkv210single_config, corresponding to include/configs/smdkv210single.h header file
The operating phenomenon is: SD Checksun Error, Development Board power latch on
Analysis:
(1) Print the first SD CHECKSUM error can be understood, because that is the Inand checksum failure of the SD0 channel,
(2) The Development Board power Latch is the first stage of the Uboot start-up lowlevel_init. s in the Development Board power latch but no print OK description error occurs between the Development Board power latch and DDR initialization, the analysis shows that the development Board is not a pmic (Power management module), so when the uboot jump to pmic_initip This function will occur a dead loop, So this line of code should be masked out.
BL Pmic_initip
4:uboot successfully started and prints out the following information
sd checksum erroroku-boot 1.3.4 (aug 5 2016 - 15:08:57) for smdkv210cpu: [email protected] (OK) apll = 1000mhz, hclkmsys = 200mhz, pclkmsys = 100mhzmpll = 667mhz, epll = 80mhzhclkdsys = 166MHz, PclkDsys = 83MHzHclkPsys = 133MHz, PclkPsys = 66mhzsclka2m = 200mhzserial = clkuartboard: smdkv210dram: 1 gbflash: 8 mbsd/mmc: unrecognised ext_csd structure version 6unrecognised ext_csd structure version 6card init fail!0 mbnand: 0 mbthe input address don ' T need a virtual-to-physical translation : 23e9c008*** Warning - using default environmentin: serialout: serialerr: SERIALCHECKING MODE FOR FASTBOOT&NBSP, ..... hit any key to stop autoboot: 0no devices availableno Devices availableget_format-------- 0 --------Wrong image format for bootm commanderror: can ' t get kernel image! smdkv210 #
At this point Uboot has been successfully started, but uboot start the second phase of the configuration is not correct, need further modification
Uboot Transplant (ix)--transplant Samsung official Uboot (i)