我自己在Linux下写了一个驱动加载到Android的内核当中去了,编译内核生成了zImage.bin的镜像,下载到板子上测试,发现板子启动不了。
然后我想恢复到出厂的原始Android内核和文件系统,发现板子启动后卡在开机logo上不动了。
下面是我又从USB烧写原厂镜像的串口打印信息:
##### Boot for TQ210 Main Menu #####
##### EmbedSky USB download mode #####
[1] Download bootloader (u-boot or bootimage) to Nand Flash
[2] Download WinCE NK image (NK.bin) 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)
Download bootloader to SD Card
Enter your selection: 1
OTG cable Connected!
Now, Waiting for DNW to transmit data
Now, Downloading [ADDRESS:0xc0008000,TOTAL:0x6c000]
Please waiting ......Download Done!!
Download Address: 0xc0008000, Download Filesize:0x6c000
Checksum is being calculated.Checksum O.K.
NAND erase: device 0 offset 0x0, size 0x100000
Erasing at 0xe0000 -- 100% complete.
OK
NAND write: device 0 offset 0x0, size 0x6c000
Main area read (4 blocks):
Checksum is calculated.
Main area write (4 blocks):
524288 bytes written: OK
##### Boot for TQ210 Main Menu #####
##### EmbedSky USB download mode #####
[1] Download bootloader (u-boot or bootimage) to Nand Flash
[2] Download WinCE NK image (NK.bin) 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)
Download bootloader to SD Card
Enter your selection: 3
OTG cable Connected!
Now, Waiting for DNW to transmit data
Now, Downloading [ADDRESS:0xc0008000,TOTAL:0x498cd4]
Please waiting .........................................................................Download Done!!
Download Address: 0xc0008000, Download Filesize:0x498cd4
Checksum is being calculated.....Checksum O.K.
NAND erase: device 0 offset 0x500000, size 0x500000
Erasing at 0x9e0000 -- 100% complete.
OK
NAND write: device 0 offset 0x500000, size 0x498cd4
Writing data at 0x998800 -- 100% complete.
4820180 bytes written: OK
##### Boot for TQ210 Main Menu #####
##### EmbedSky USB download mode #####
[1] Download bootloader (u-boot or bootimage) to Nand Flash
[2] Download WinCE NK image (NK.bin) 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)
Download bootloader to SD Card
Enter your selection: 6
OTG cable Connected!
Now, Waiting for DNW to transmit data
Now, Downloading [ADDRESS:0x40008000,TOTAL:0x9ccc600]
Please waiting .........................................................................................................................Download Done!!
Download Address: 0x40008000, Download Filesize:0x9ccc600
Checksum is being calculated.............................................................................................................................................................Checksum O.K.
NAND erase: device 0 offset 0xa00000, size 0x3f600000
Erasing at 0x3ffe0000 -- 100% complete.
OK
NAND write: device 0 offset 0xa00000, size 0x9ccc600
Writing data at 0xa20b800 -- 100% complete.
164414976 bytes written: OK
##### Boot for TQ210 Main Menu #####
##### EmbedSky USB download mode #####
[1] Download bootloader (u-boot or bootimage) to Nand Flash
[2] Download WinCE NK image (NK.bin) 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)
Download bootloader to SD Card
Enter your selection: OK
##### EmbedSky BIOS for SKY210/TQ210 #####
This Board: SDRAM is 1024MB; LCD display size is: 800X480
Hit any key to stop autoboot: 0
Start Linux ......
NAND read: device 0 offset 0x500000, size 0x500000
5242880 bytes read: OK
Boot with zImage
Starting kernel ...
Uncompressing Linux...
uncompression error
-- System halted‍
然后我又试着从SD卡自动烧写原厂镜像,还是不行。串口打印信息是这样的:
#### EmbedSky BIOS for SKY210/TQ210 #####
This Board: SDRAM is 1024MB; LCD display size is: 800X480
Hit any key to stop autoboot: 0
SD and FAT initialize success!
file length is 0x339.
condition=INSTALL
OSType=ANDROID
beep state=ON
bootloader=images\u-boot_TQ210_v1.3.bin
file length is 0x6c000.
NAND erase: device 0 offset 0x0, size 0x100000
Erasing at 0xe0000 -- 100% complete.
OK
NAND write: device 0 offset 0x0, size 0x61000
Main area read (4 blocks):
Checksum is calculated.
Main area write (4 blocks):
524288 bytes written: OK
logodir=images\logo\logo_800x480.bin
error during transfer: 0x00108001
mmc read failed
SD Read NG
SD Read NG
Without this file
Unknown command 'error' - try 'help'
file length is 0 or file does not exit!
Android zImage=images\android\zImage_3.0.8_for_android_CoreB_V1.4.bin
SD Read NG
SD Read NG
SD Read NG
SD Read NG
SD Read NG
SD Read NG
SD Read NG
SD Read NG
SD Read NG
SD Read NG
SD Read NG
Without this file
file length is 0 or file does not exit!
Unknown command 'error' - try 'help'
Android rootfs=images\android\rootfs_android_4.0.4_coreB_v1.4.bin
SD Read NG
SD Read NG
SD Read NG
SD Read NG
SD Read NG
SD Read NG
don't download Android rootfs
Start Linux ......
NAND read: device 0 offset 0x500000, size 0x500000
5242880 bytes read: OK
Boot with zImage
Starting kernel ...
Uncompressing Linux...
uncompression error
‍
我给技术支持发过邮件但是没有人回复,我的是不是nand flash出了问题还是怎么回事,原厂的镜像文件也解压不了了
您的朋友 houmo 为这封邮件插入了背景音乐 - [url=]下载[/url] 播放
播放器加载中...
正在发送...
此邮件已成功发送。再回一封
快捷回复给所有人...
切换到完整写信模式
发送
下一封未读:
|