天嵌 ARM开发社区

 找回密码
 注册
查看: 2265|回复: 5

210 v4 SD卡更新遇见问题求大神

[复制链接]
迷迷糊糊 发表于 2014-12-18 10:18:36 | 显示全部楼层 |阅读模式
本帖最后由 迷迷糊糊 于 2014-12-18 10:22 编辑
  1. </blockquote></div><blockquote>
复制代码


系统为Linux
EmbedSky.ini文件如下:
  1. #### This is TQ210 SD config files ####
  2. operating condition=install
  3. OS Type=Linux
  4. LED indicator=on
  5. Beep=on

  6. #### Others ####
  7. bootloader=
  8. LOGO=
  9. #### Others end ####
  10. #### Linux ####
  11. kernel=
  12. rootfs=images\Linux\root.bin
  13. #### Linux end ####

  14. #### Windows CE ####
  15. NK=
  16. #### Windows CE end ####

  17. #### Android ####
  18. kernel=
  19. rootfs=
  20. #### Android end ####

  21. #### uCOS-II ####
  22. uCOS-II Image=
  23. #### uCOS-II end ####

  24. #### User Application ####
  25. Application Image=
  26. #### User Application end #####
复制代码


我只更新root.bin,自动更新。拨位开关正确,串口信息如下:
  1. ##### EmbedSky BIOS for SKY210/TQ210 #####
  2. This Board: SDRAM is 1024MB; LCD display size is: 800X600
  3. Hit any key to stop autoboot:  0
  4. SD and FAT initialize success!
  5. file length is 0x1fe.
  6. LineCount=30
  7. condition=INSTALL
  8. OSType=LINUX
  9. beep state=ON

  10. bootloader=
  11. Don't need to download bootloader

  12. logodir=
  13. Don't need to download logo image.

  14. Linux zImage=images\Linux\root.bin
  15. file length is 0x6b04b40.

  16. NAND erase: device 0 offset 0x500000, size 0x500000
  17. Erasing at 0x9e0000 -- 100% complete.
  18. OK

  19. NAND write: device 0 offset 0x500000, size 0x500000

  20. Writing data at 0x9ff800 -- 100% complete.
  21. 5242880 bytes written: OK

  22. Linux rootfs=
  23. Don't need to download Linux rootfs
  24. Start Linux ......
  25. NAND read: device 0 offset 0x500000, size 0x500000


  26. 5242880 bytes read: OK
  27. get_format
  28. -------- 0 --------
  29. Wrong Image Format for bootm command
  30. ERROR: can't get kernel image!

  31. ##### Boot for TQ210 Main Menu#####
  32. #####     EmbedSky USB download mode     #####

  33. [1] Download bootloader (u-boot or bootimage) to Nand Flash
  34. [2] Download WinCE NK image (NK.bin) to Nand Flash
  35. [3] Download Linux Kernel (zImage.bin) to Nand Flash
  36. [4] Download LOGO Picture (logo.bin) to Nand  Flash
  37. [5] Download UBIFS image (root.ubi) to Nand Flash
  38. [6] Download YAFFS image (root.bin) to Nand Flash
  39. [7] Download Program to SDRAM and Run it
  40. [8] Boot the system
  41. [9] Format the Nand Flash
  42. [0] Set the boot parameters
  43. [a] Download User Program
  44. [n] Enter TFTP download mode menu
  45. [r] Reboot u-boot
  46. [t] Test Linux Image (zImage)
  47. ] Download bootloader to SD Card
  48. Enter your selection: 
复制代码

问题来了:
为什么出错。谢谢!!


 楼主| 迷迷糊糊 发表于 2014-12-18 10:23:19 | 显示全部楼层
沙了个发。谢谢!
Calvin 发表于 2014-12-18 13:44:19 | 显示全部楼层
你那ini文件肯定改动过空行了;你直接从光盘拿过一个ini文件,然后改“=”那些就好,不要随便删除空行
 楼主| 迷迷糊糊 发表于 2014-12-18 14:26:59 | 显示全部楼层
Calvin 发表于 2014-12-18 13:44
你那ini文件肯定改动过空行了;你直接从光盘拿过一个ini文件,然后改“=”那些就好,不要随便删除空行

我重新拷贝了,结果还是这样。
ini文件为:


串口信息为:
  1. ##### EmbedSky BIOS for SKY210/TQ210 #####
  2. This Board: SDRAM is 1024MB; LCD display size is: 800X600
  3. Hit any key to stop autoboot:  0
  4. SD and FAT initialize success!
  5. file length is 0x200.
  6. condition=INSTALL
  7. OSType=LINUX
  8. beep state=ON

  9. bootloader=
  10. Don't need to download bootloader

  11. logodir=
  12. Don't need to download logo image.

  13. Linux zImage=
  14. Don't need to download Linux zImage

  15. Linux rootfs=images\Linux\root.bin

  16. NAND erase: device 0 offset 0xa00000, size 0x3f600000
  17. Erasing at 0x3ffe0000 -- 100% complete.
  18. OK

  19. NAND write: device 0 offset 0xa00000

  20. Writing data at 0x71c6000 -- 100% complete.
  21. 112216896 bytes written: OK
  22. Saving Environment to NAND...
  23. Erasing Nand...
  24. Erasing at 0x100000 -- 100% complete.
  25. Writing to Nand... done
  26. Start Linux ......
  27. NAND read: device 0 offset 0x500000, size 0x500000


  28. 5242880 bytes read: OK
  29. get_format
  30. -------- 0 --------
  31. Wrong Image Format for bootm command
  32. ERROR: can't get kernel image!

  33. ##### Boot for TQ210 Main Menu#####
  34. #####     EmbedSky USB download mode     #####

  35. [1] Download bootloader (u-boot or bootimage) to Nand Flash
  36. [2] Download WinCE NK image (NK.bin) to Nand Flash
  37. [3] Download Linux Kernel (zImage.bin) to Nand Flash
  38. [4] Download LOGO Picture (logo.bin) to Nand  Flash
  39. [5] Download UBIFS image (root.ubi) to Nand Flash
  40. [6] Download YAFFS image (root.bin) to Nand Flash
  41. [7] Download Program to SDRAM and Run it
  42. [8] Boot the system
  43. [9] Format the Nand Flash
  44. [0] Set the boot parameters
  45. [a] Download User Program
  46. [n] Enter TFTP download mode menu
  47. [r] Reboot u-boot
  48. [t] Test Linux Image (zImage)
  49. ] Download bootloader to SD Card
  50. Enter your selection:
复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
Calvin 发表于 2014-12-18 15:05:57 | 显示全部楼层
迷迷糊糊 发表于 2014-12-18 14:26
我重新拷贝了,结果还是这样。
ini文件为:

  你看信息嘛   这是正常的,你再烧一次内核就好了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-7 22:57 , Processed in 1.031250 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表