| 本帖最后由 kangear 于 2012-12-3 11:56 编辑 
 
 U-Boot 1.3.4 (Oct  8 2012 - 23:15:30) for SMDKV210 CPU:  S5PV210@1000MHz(OK)         APLL = 1000MHz, HclkMsys = 200MHz, PclkMsys = 100MHz         MPLL = 667MHz, EPLL = 96MHz                        HclkDsys = 166MHz, PclkDsys = 83MHz                        HclkPsys = 133MHz, PclkPsys = 66MHz                        SCLKA2M  = 200MHz Serial = CLKUART  Board:   X210 DRAM:    512 MB after init sequence,gd->bd->bi_boot_params:30000100 Flash:   8 MB SD/MMC: Card init fail! 0 MB NAND:    512 MB  In:      serial Out:     serial Err:     serial checking mode for fastboot ... Hit any key to stop autoboot:  0  x210 # bdinfo   arch_number = 0x00000998 env_t       = 0x00000000 boot_params = 0x30000100 DRAM bank   = 0x00000000 -> start    = 0x30000000 -> size     = 0x10000000 DRAM bank   = 0x00000001 -> start    = 0x40000000 -> size     = 0x10000000 ethaddr     = 00:40:5C:26:0A:5B ip_addr     = 192.168.0.103 baudrate    = 115200 bps x210 # setenv machid 0x999;saveenv;   Saving Environment to SMDK bootable device... Erasing Nand... Writing to Nand...  Saved enviroment variables x210 # reset reset...  OK U-Boot 1.3.4 (Oct  8 2012 - 23:15:30) for SMDKV210 CPU:  S5PV210@1000MHz(OK)         APLL = 1000MHz, HclkMsys = 200MHz, PclkMsys = 100MHz         MPLL = 667MHz, EPLL = 96MHz                        HclkDsys = 166MHz, PclkDsys = 83MHz                        HclkPsys = 133MHz, PclkPsys = 66MHz                        SCLKA2M  = 200MHz Serial = CLKUART  Board:   X210 DRAM:    512 MB after init sequence,gd->bd->bi_boot_params:30000100 Flash:   8 MB SD/MMC: Card init fail! 0 MB NAND:    512 MB  In:      serial Out:     serial Err:     serial checking mode for fastboot ... Hit any key to stop autoboot:  0  NAND read: device 0 offset 0x600000, size 0x500000 Main area read (40 blocks):  5242880 bytes read: OK Boot with zImage In bootm linux!!! cmdline:console=ttySAC0,115200 root=/dev/mtdblock4 rw init=/linuxrc rootfstype=jffs2 Using machid 0x999 from environment Starting kernel ... Uncompressing Linux... done, booting the kernel. (说明:bdinfo是查询U-BOOT目前机器码(arch_number = 0x00000998)即为10进制 2456 ;setenv machid 0x999 是改变机器码;reset 重新引导 ) 这时可以看到Using machid 0x999 from environment 已经用0x999的机器码来引导内核了,果不其然失败。打印信息如下: Starting kernel ... Uncompressing Linux... done, booting the kernel. 
 
 衬托完了,我要说我的问题了,我在kernel.org下载的Linux-2.6.35.7用s5pv210_defconfig来配置,它的机器码也是 0x998,修改debug串口为0。可是我编译过后,用提供的u-boot来进行引导时打印信息为: U-Boot 1.3.4 (Oct  8 2012 - 23:15:30) for SMDKV210 CPU:  S5PV210@1000MHz(OK)         APLL = 1000MHz, HclkMsys = 200MHz, PclkMsys = 100MHz         MPLL = 667MHz, EPLL = 96MHz                        HclkDsys = 166MHz, PclkDsys = 83MHz                        HclkPsys = 133MHz, PclkPsys = 66MHz                        SCLKA2M  = 200MHz Serial = CLKUART  Board:   X210 DRAM:    512 MB after init sequence,gd->bd->bi_boot_params:30000100 Flash:   8 MB SD/MMC: Card init fail! 0 MB NAND:    512 MB  In:      serial Out:     serial Err:     serial checking mode for fastboot ... Hit any key to stop autoboot:  0  x210 # bdinfo arch_number = 0x00000998 env_t       = 0x00000000 boot_params = 0x30000100 DRAM bank   = 0x00000000 -> start    = 0x30000000 -> size     = 0x10000000 DRAM bank   = 0x00000001 -> start    = 0x40000000 -> size     = 0x10000000 ethaddr     = 00:40:5C:26:0A:5B ip_addr     = 192.168.0.103 baudrate    = 115200 bps x210 # boot NAND read: device 0 offset 0x600000, size 0x500000 Main area read (40 blocks):  5242880 bytes read: OK Boot with zImage In bootm linux!!! cmdline:console=ttySAC0,115200 root=/dev/mtdblock4 rw init=/linuxrc rootfstype=jffs2 Using machid 0x998 from environment Starting kernel ... 连Uncompressing Linux... done, booting the kernel.都没有,x210ii提供的内核是不是映像进行加工?我缺了哪些东西? 
 
 |