|
本帖最后由 shao890813 于 2012-12-17 09:26 编辑
我是嵌入式ARM新手,TQ6410开发板是我接触的第一块开发板,最近我想把所有光盘自带的镜像文件烧写一遍,下面是U-BOOT下载模式终端的菜单
##### Boot for SKY6410/TQ6410 Main Menu #####
##### EmbedSky USB download mode #####
[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
[2] Download Eboot (eboot.nb0) to Nand Flash
[3] Download Linux Kernel (zImage.bin) to Nand Flash
[4] Download LOGO Picture (logo.bin) to Nand Flash
[5] Download UBIFS image (root.ubi) to Nand Flash
[6] Download YAFFS image (root.bin) to Nand Flash
[7] Download Program to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program
[n] Enter TFTP download mode menu
[r] Reboot u-boot
[t] Test Linux Image (zImage)
Enter your selection:
我具体的步骤如下:
1.选择9格式化NAND FLASH
2.用SD卡烧写U-BOOT,重新启动板子后在终端可以看到上面的U-BOOT下载菜单;
3.U-BOOT模式下重新烧写了U-BOOT(跟上面的第二步的可能重复),烧写完终端显示正常;
4.烧写自带的3.0版LINUX内核镜像;终端显示正常;
5.烧写文件系统(镜像名称为root_TQ6410_PDA_SLC_V1.1.ubi)终端显示如下:
Now, Downloading [ADDRESS:0xc0000000,TOTAL:0x446a000]
Please waiting ..............................................................................................................................................................
Download Address: 0xc0000000, Download Filesize:0x446a000
Checksum is being calculated.....................................................................
Checksum Value => MEM:9925 DNW:91d3
Checksum failed.
NAND erase: device 0 offset 0x700000, size 0xf900000
Skipping bad block at 0x09760000
Erasing at 0xffe0000 -- 100% complete.
OK
Creating 1 MTD partitions on "nand0":
0x00700000-0x10000000 : "mtd=4"
Creating dynamic volume rootfs of size 253919232
Volume "rootfs" found at volume id 0
Write UBIFS to rootfs, please wait ...OK.
UBIFS write compilete!
6.最后烧写logo,终端显示正常;
7.重启系统,最后终端显示的最后几行如下:(不好意思,下边的可能显示的有点多,我选择性的删了一点,最后一行是启动系统后显示的最后一行)
##### Boot for SKY6410/TQ6410 Main Menu #####
##### EmbedSky USB download mode #####
[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
[2] Download Eboot (eboot.nb0) to Nand Flash
[3] Download Linux Kernel (zImage.bin) to Nand Flash
[4] Download LOGO Picture (logo.bin) to Nand Flash
[5] Download UBIFS image (root.ubi) to Nand Flash
[6] Download YAFFS image (root.bin) to Nand Flash
[7] Download Program to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program
[n] Enter TFTP download mode menu
[r] Reboot u-boot
[t] Test Linux Image (zImage)
Enter your selection: 8
Start Linux ...
NAND read: device 0 offset 0x300000, size 0x400000
.....................................................................................................
4194304 bytes read: OK
Boot with zImage
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 3.0.0-rc6-EmbedSky (root@EmbedSky) (gcc version 4.6.0 (for TQ6410 EmbedSky Tech) ) #18 Tue Sep 6 17:19:47 CST 2011
CPU: ARMv6-compatible processor [410fb766] revision 6 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: TQ6410
Memory policy: ECC disabled, Data cache writeback
CPU S3C6410 (id 0x36410101)
TQ6410 Clocks, Copyright 2011 EmbedSky
camera: no parent clock specified
S3C64XX: PLL settings, A=533000000, M=533000000, E=48000000
S3C64XX: HCLK2=266500000, HCLK=133250000, PCLK=66625000
mout_apll: source is fout_apll (1), rate is 533000000
mout_epll: source is epll (1), rate is 48000000
mout_mpll: source is mpll (1), rate is 533000000
mmc_bus: source is dout_mpll (1), rate is 24227272
mmc_bus: source is mout_epll (0), rate is 48000000
mmc_bus: source is mout_epll (0), rate is 48000000
usb-bus-host: source is clk_48m (0), rate is 48000000
uclk1: source is dout_mpll (1), rate is 66625000
spi-bus: source is mout_epll (0), rate is 48000000
spi-bus: source is mout_epll (0), rate is 48000000
audio-bus: source is mout_epll (0), rate is 48000000
audio-bus: source is mout_epll (0), rate is 48000000
audio-bus: source is mout_epll (0), rate is 48000000
irda-bus: source is mout_epll (0), rate is 48000000
camera: no parent clock specified
s3c64xx: 10485760 bytes SDRAM reserved for fimc at 0x5f5f9000
s3c64xx: 8388608 bytes SDRAM reserved for pp at 0x5edf9000
s3c64xx: 8388608 bytes SDRAM reserved for tv at 0x5e5f9000
s3c64xx: 6291456 bytes SDRAM reserved for mfc0 at 0x5dff9000
s3c64xx: 4194304 bytes SDRAM reserved for jpeg at 0x5dbf9000
s3c64xx: 8388608 bytes SDRAM reserved for cmm at 0x5d3f9000
TQ6410 Power Management, Copyright 2011 EmbedSky
EmbedSky NAND Driver, (c) 2011 EmbedSky.
EmbedSky NAND Driver is using hardware ECC.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Creating 4 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x000000000000-0x000000100000 : "Bootloader"
0x000000100000-0x000000300000 : "LOGO"
0x000000300000-0x000000700000 : "Kernel"
0x000000700000-0x000010000000 : "ROOTFS"
UBI: attaching mtd3 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: max. sequence number: 563
UBI: attached mtd3 to ubi0
UBI: MTD device name: "ROOTFS"
UBI: MTD device size: 249 MiB
UBI: number of good PEBs: 1991
UBI: number of bad PEBs: 1
UBI: number of corrupted PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 1991
UBI: number of PEBs reserved for bad PEB handling: 19
UBI: max/mean erase counter: 2/1
UBI: image sequence number: 0
UBI: background thread "ubi_bgt0d" started, PID 37
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
usbcore: registered new interface driver xirlink-cit
usbcore: registered new interface driver zc3xx
usbcore: registered new interface driver ALi m5602
usbcore: registered new interface driver STV06xx
usbcore: registered new interface driver gspca_gl860
TQ6410 Camera Interface Driver , (c) 2011 EmbedSky Tech
fimc0: controller 0 registered successfully
TQ6410 Camera Interface Init success !
完成了上述步骤后,终端就停在上面的最后一行TQ6410 Camera Interface Init success !,板子上面也没有看到触摸屏界面,只有一个embedsky的logo.我不知道接下来怎么做,所有的镜像都是光盘里自带的,我根据板子的内存256M(K9F2G08),显示屏是7英寸的选择了正确的镜像文件,不知道为什么结果是这样,试了很多回了,望路过的朋友能指点小弟,感激,感激
|
|