OK6410A学习笔记一:一键烧录Linux
开发环境:
windows7 + vmware 6.5 + ubuntu 9.10
烧录步骤:
1)SD卡,格式化成FAT32格式,然后用SD_Write.exe将mmc.bin烧录进去。
2)把u-boot.bin,zImage,cramfs拷贝到SD卡中
3)将SD插入OK6410A开发板SD卡槽,将拨码开关调成SD卡启动(123-off,45678-on)
4)上电,通过DNW实时查看烧录反馈信息。注意,可能烧写不成功,极有可能是因为NAND Flash坏块的原因,这个不能说开发板质量差,而是现在NAND Flash的一个通病吧。处理方法是重新上电,在DNW中按空格键,在提示出输入nand scrub命令处理坏块,大部分坏块是不能修复的,这一步骤只不过是把坏块标记成不使用。最后,重新上电烧录linux系统。
5)断电,将拨码开关调成NAND Flash启动(12367-off,458-on)
OK,thats all.
启动信息:
KK
U-Boot 1.1.6 (May 13 2011 - 16:11:02) for SMDK6410
****************************************
**
**
**
**
**
****************************************
CPU:
Board:
DRAM:
Flash:
NAND:
2048 MB
*** Warning - bad CRC or NAND, using default environment
In:
Out:
Err:
Hit any key to stop autoboot:
NAND read: device 0 offset 0x100000, size 0x500000
Boot with zImage
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 3.0.1-svn140 (root@monkey-MS-7678) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #237 Wed Nov 2 10:51:04 CST 2011
S3C24XX Clocks, Copyright 2004 Simtec Electronics
camera: no parent clock specified
S3C64XX: PLL settings, A=532000000, M=532000000, E=24000000
S3C64XX: HCLK2=266000000, HCLK=133000000, PCLK=66500000
mout_apll: source is fout_apll (1), rate is 532000000
mout_epll: source is epll (1), rate is 24000000
mout_mpll: source is mpll (1), rate is 532000000
mmc_bus: source is mout_epll (0), rate is 24000000
mmc_bus: source is mout_epll (0), rate is 24000000
mmc_bus: source is mout_epll (0), rate is 24000000
usb-bus-host: source is clk_48m (0), rate is 48000000
uclk1: source is dout_mpll (1), rate is 66500000
spi-bus: source is mout_epll (0), rate is 24000000
spi-bus: source is mout_epll (0), rate is 24000000
audio-bus: source is mout_epll (0), rate is 24000000
audio-bus: source is mout_epll (0), rate is 24000000
audio-bus: source is mout_epll (0), rate is 24000000
irda-bus: source is mout_epll (0), rate is 24000000
camera: no parent clock specified
Kernel command line: root=/dev/mtdblock2 rootfstype=cramfs console=ttySAC0,115200
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 206888k/206888k available, 55256k reserved, 0K highmem
Virtual kernel memory layout:
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:246 nr_irqs:246 246
VIC @f4000000: id 0x00041192, vendor 0x41
VIC @f4010000: id 0x00041192, vendor 0x41
Console: colour dummy device 80x30
console [ttySAC0] enab
OK6410A一键烧录Linu 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)