TI中文支持网
TI专业的中文技术问题搜集分享网站

请教IT工程师:BB-black板子,U盘为媒介更新映像失败

尝试U盘为媒介更新映像失败,请问正确的操作是如何??

TI DSK 06.00.00.00
U盘中:MLO u-boot.img uImage
具体操作:

The Angstrom Distribution beaglebone ttyO0

Angstrom v2012.12 – Kernel 3.8.13

beaglebone login: root
Last login: Mon Mar 18 12:47:28 UTC 2013 on ttyO0
root@beaglebone:~#
root@beaglebone:~# cd /
root@beaglebone:/# mkdir /media/sda1
root@beaglebone:/# mount /dev/sda1 /media/sda1
root@beaglebone:/# mkdir /media/mmcblk0p1
root@beaglebone:/# mount /dev/mmcblk0p1 /media/mmcblk0p1
root@beaglebone:/# cp -f /media/sda1/MLO /media/mmcblk0p1/
root@beaglebone:/# cp -f /media/sda1/u-boot.img /media/mmcblk0p1/
root@beaglebone:/# sync
root@beaglebone:/# reboot
Sending SIGTERM to remaining processes…
Sending SIGKILL to remaining processes…
Hardware watchdog 'OMAP Watchdog', version 0
Unmounting file systems.
Unmounting /media/mmcblk0p1.
Unmounting /media/sda1.
Unmounting /dev/mqueue.
Unmounting /sys/kernel/debug.
Unmounting /etc/machine-id.
All filesystems unmounted.
Deactivating swaps.
All swaps deactivated.
Detaching loop devices.
Detaching loopback /dev/loop7.
Detaching loopback /dev/loop6.
Detaching loopback /dev/loop5.
Detaching loopback /dev/loop4.
Detaching loopback /dev/loop3.
Detaching loopback /dev/loop2.
Detaching loopback /dev/loop1.
Detaching loopback /dev/loop0.
All loop devices detached.
Detaching DM devices.
All DM devices detached.
[ 1451.610734] (NULL device *): gadget not registered.
[ 1451.618534] Restarting system.

U-Boot SPL 2013.01.01 (Sep 28 2014 – 12:03:17)
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img

U-Boot 2013.01.01 (Sep 28 2014 – 12:03:17)

I2C: ready
DRAM: 512 MiB
WARNING: Caches not enabled
NAND: No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning – readenv() failed, using default environment

musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
14 bytes read in 3 ms (3.9 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc …
reading uImage
** Unable to read file uImage **
3330464 bytes read in 470 ms (6.8 MiB/s)
Booting from mmc …
## Booting kernel from Legacy Image at 80007fc0 …
Image Name: Linux-3.2.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3330400 Bytes = 3.2 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum … OK
Loading Kernel Image …                                   —————————挂死在此处

Jian Zhou:

看你只更新了MLO和u-boot,没有更新uImage么?

user4131006:

回复 Jian Zhou:

很抱歉当时贴 打印的时候 漏掉了uImage这句,完整故障log如下,还请jian zhou帮忙看下,期待您的回复,谢谢~

root@beaglebone:/# root@beaglebone:/# mkdir /media/sda1root@beaglebone:/# mount /dev/sda1 /media/sda1

root@beaglebone:/# mkdir /media/mmcblk0p1root@beaglebone:/# mount /dev/mmcblk0p1 /media/mmcblk0p1

root@beaglebone:/# cp -f /media/sda1/MLO /media/mmcblk0p1/

root@beaglebone:/# cp -f /media/sda1/u-boot.img /media/mmcblk0p1/root@beaglebone:/# ls boot/root@beaglebone:/# root@beaglebone:/# root@beaglebone:/# cp -f /media/sda1/uImage /boot/root@beaglebone:/# ls boot/uImageroot@beaglebone:/# root@beaglebone:/# syncroot@beaglebone:/# rebootSending SIGTERM to remaining processes…Sending SIGKILL to remaining processes…Hardware watchdog 'OMAP Watchdog', version 0Unmounting file systems.Unmounting /media/mmcblk0p1.Unmounting /media/sda1.Unmounting /dev/mqueue.Unmounting /sys/kernel/debug.Unmounting /etc/machine-id.All filesystems unmounted.Deactivating swaps.All swaps deactivated.Detaching loop devices.Detaching loopback /dev/loop7.Detaching loopback /dev/loop6.Detaching loopback /dev/loop5.Detaching loopback /dev/loop4.Detaching loopback /dev/loop3.Detaching loopback /dev/loop2.Detaching loopback /dev/loop1.Detaching loopback /dev/loop0.All loop devices detached.Detaching DM devices.All DM devices detached.[ 1451.610734] (NULL device *): gadget not registered.[ 1451.618534] Restarting system.

U-Boot SPL 2013.01.01 (Sep 28 2014 – 12:03:17)musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4musb-hdrc: 28/31 max ep, 16384/16384 memoryUSB Peripheral mode controller at 47401000 using PIO, IRQ 0musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4musb-hdrc: 28/31 max ep, 16384/16384 memoryUSB Host mode controller at 47401800 using PIO, IRQ 0OMAP SD/MMC: 0reading u-boot.imgreading u-boot.img

U-Boot 2013.01.01 (Sep 28 2014 – 12:03:17)

I2C: readyDRAM: 512 MiBWARNING: Caches not enabledNAND: No NAND device found!!!0 MiBMMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1*** Warning – readenv() failed, using default environment

musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4musb-hdrc: 28/31 max ep, 16384/16384 memoryUSB Peripheral mode controller at 47401000 using PIO, IRQ 0musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4musb-hdrc: 28/31 max ep, 16384/16384 memoryUSB Host mode controller at 47401800 using PIO, IRQ 0Net: <ethaddr> not set. Validating first E-fuse MACcpsw, usb_etherHit any key to stop autoboot: 0 mmc0 is current deviceSD/MMC found on device 0reading uEnv.txt14 bytes read in 3 ms (3.9 KiB/s)Loaded environment from uEnv.txtImporting environment from mmc …reading uImage** Unable to read file uImage **3330464 bytes read in 470 ms (6.8 MiB/s)Booting from mmc …## Booting kernel from Legacy Image at 80007fc0 … Image Name: Linux-3.2.0 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3330400 Bytes = 3.2 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum … OK Loading Kernel Image …                           ——挂在此处

Steven Liu1:

回复 user4131006:

论坛上不是有现成写好的脚本吗?你可以参考一下:

脚本文件:https://github.com/RobertCNelson/tools/blob/master/scripts/beaglebone-black-copy-microSD-to-eMMC.sh

更新例程:http://www.crashcourse.ca/wiki/index.php/BBB_software_update_process

user4131006:

回复 Steven Liu1:

liu工:

板子启动上周已经搞好,用的非以上的方式

感谢steven liu对我们的耐心解答支持,期待后续 继续能得到您的支持,谢谢

leo chen:

回复 user4131006:

能不能总结一下如何解决的?

赞(0)
未经允许不得转载:TI中文支持网 » 请教IT工程师:BB-black板子,U盘为媒介更新映像失败
分享到: 更多 (0)