Uboot2010.6移植问题: [u-boot@My2440]# bootm 32000000 ## Bootingkernel from Legacy Image at 32000000 ... Image Name: Linux-2.6.32.2-FriendlyARM Load Address: 30008000 Loading Kernel Image ... OK OK Starting kernel... UncompressingLinux............................................................. ......................done, booting the kernel. 1.内核我用的是友善自带光盘的配置,编译的uImage,没有改动。 我只改动了 uboot目录下board/jason/my2440/my2440.c 将 第126行 /* archnumber of SMDK2440-Board */
改为gd->bd->bi_arch_number= MACH_TYPE_S3C2440;//原来是MACH_TYPE_S3C2410 1. uboot机器码路径: arch/arm/include/asm/mach-types.h 第375行 #define MACH_TYPE_S3C2440 362 板子初始化时指定的MACH-TYPE路径 board/jason/my2440/my2440.c 第126行 /* archnumber of SMDK2440-Board */
gd->bd->bi_arch_number = MACH_TYPE_S3C2440; /* adress ofboot parameters */
gd->bd->bi_boot_params = 0x30000100; 2内核机器码路径 arch/arm/tools/mach-types 第379行 s3c2440 ARCH_S3C2440 S3C2440 362 内核启动时指定的MACH-TYPE路径 arch/arm/mach-s3c2440/mach-smdk2440.c 第331行 MACHINE_START(S3C2440,"SMDK2440")
|