Download bootloader...
Download bootloader succeed
Download kernel...
Download kernel succeed
Download yaffs-image ...
Download yaffs-image succeed
OS 'LINUX' Installed
OK
U-Boot 1.1.6 (Feb 24 2011 - 11:34:58) for FriendlyARM MINI6410
CPU: S3C6410@532MHz
Fclk = 532MHz, Hclk = 133MHz, Pclk = 66MHz, Serial = CLKUART (SYNC Mode)
Board: MINI6410
DRAM: 0 kB
Flash: 0 kB
NAND: 1024 MB
In: serial
Out: serial
Err: serial
MAC: 08:90:90:90:90:90
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x80000, size 0x500000
Reading data from 0x57f800 -- 100% complete.
5242880 bytes read: OK
Boot with zImage
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Error: unrecognized/unsupported machine ID (r1 = 0x00000000).
Available machine support:
ID (hex) NAME
000009d8 MINI6410
Please check your kernel config and/or bootloader.
编译U-BOOT烧写进NANDFLASH后出现上述问题。编译路径:/opt/FriendlyARM/mini6410/linux/u-boot-mini6410
编译过程:1、root@clog-laptop:/opt/FriendlyARM/mini6410/linux/u-boot-mini6410# make mrproper
2、root@clog-laptop:/opt/FriendlyARM/mini6410/linux/u-boot-mini6410# make mini6410_nand_config-ram256
3、root@clog-laptop:/opt/FriendlyARM/mini6410/linux/u-boot-mini6410# make
编译通过:arm-linux-objcopy --gap-fill=0xff -O srec u-boot u-boot.srec
arm-linux-objcopy --gap-fill=0xff -O binary u-boot u-boot.bin
arm-linux-objdump -d u-boot > u-boot.dis
用生成的u-boot.bin替换掉SD卡中images下linux目录中的u-boot_nand-ram256.bin
配置文件:
#This line cannot be removed. by FriendlyARM(
www.arm9.net)
CheckOneButton=No
Action=install
OS= linux
VerifyNandWrite=No
StatusType = Beeper| LED
#################### Linux #####################
Linux-BootLoader = Linux/u-boot_nand-ram256.bin
Linux-Kernel = Linux/zImage_n43
Linux-CommandLine = root=/dev/mtdblock2 rootfstype=yaffs2 init=/linuxrc console=ttySAC0,115200
Linux-RootFs-InstallImage = Linux/rootfs_qtopia_qt4.img
Linux-RootFs-RunImage = Linux/rootfs_qtopia_qt4.ext3
board_init()函数原形在哪,应该是这里的问题。