本人的板子为BeagleBone Black开发板,芯片版本为PG2.1,环境为AM335x Linux SDK 6.0开发包。想通过USB的方式烧写系统。
按照BeagleBone Black eMMC 烧写全记录(基于 AM335x SDK06).pdf中的方法制作了u-boot-spl-restore.bin(u-boot-spl.bin) 、 u-boot-restore.img(u-boot.img)、uImage。将u-boot-spl.bin重命名为MLO之后,按照PDF中的方法将MLO,u-boot.img 和 uImage 压缩成boot_partition.tar.gz。
以下为我用USB烧写的时候打印的log:
U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 – 13:23:54)
reading args
spl_load_image_fat_os: error reading image args, err – -1
reading u-boot.img
reading u-boot.img
U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 – 13:23:54)
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning – readenv() failed, using default environment
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 1 0gpio: pin 53 (gpio 53) value is 1
Card did not respond to voltage select!
mmc0(part 0) is current device
Card did not respond to voltage select!
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
mmc1(part 0) is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 1
reading uEnv.txt
1552 bytes read in 6 ms (252 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from uEnv.txt
Importing environment from mmc …
Checking if uenvcmd is set …
gpio: pin 56 (gpio 56) value is 1
Running uenvcmd …
reading zImage
3717760 bytes read in 207 ms (17.1 MiB/s)
reading initrd.img
2868982 bytes read in 179 ms (15.3 MiB/s)
reading /dtbs/am335x-boneblack.dtb
25080 bytes read in 11 ms (2.2 MiB/s)
Kernel image @ 0x82000000 [ 0x000000 – 0x38ba80 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Using Device Tree in place at 88000000, end 880091f7
Starting kernel …
Uncompressing Linux… done, booting the kernel.
[ 0.383075] omap2_mbox_probe: platform not supported
[ 0.549808] tps65217-bl tps65217-bl: no platform data provided
[ 0.614919] bone-capemgr bone_capemgr.9: slot #0: No cape found
[ 0.652025] bone-capemgr bone_capemgr.9: slot #1: No cape found
[ 0.689133] bone-capemgr bone_capemgr.9: slot #2: No cape found
[ 0.726242] bone-capemgr bone_capemgr.9: slot #3: No cape found
[ 0.760551] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
[ 0.843968] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[ 0.855700] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[ 0.862995] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
Loading, please wait…
Scanning for Btrfs filesystems
systemd-fsck[218]: rootfs: clean, 77460/233856 files, 388020/933632 blocks
Debian GNU/Linux 7 beaglebone ttyO0
default username:password is [debian:temppwd]
Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
The IP Address for usb0 is: 192.168.7.2
beaglebone login: [ 23.174419] libphy: PHY 4a101000.mdio:01 not found
[ 23.179658] net eth0: phy 4a101000.mdio:01 not found on slave 1
烧写步骤:按照Sitara Uniflash Quick Start Guide.pdf中的步骤设置IP地址
user4581928:
针对上面的log,烧录不成功,该从什么地方开始分析这个问题啊?求助
user4581928:
回复 user4581928:
我看别人的帖子里面,烧写的log都是从“cccccccc”开始,我的不是,还有我的CCS UniFlash下面显示空白呢!
请各位大牛帮忙看一下,启动过程中的正确操作过程是什么呢?真心谢谢各位!
Jian Zhou:
回复 user4581928:
问一下,你的BBB板子的eMMC里面有没有烧写好的image?如果有的话,最好先擦除掉,否则板子直接从eMMC启动了。
user4581928:
回复 Jian Zhou:
Jian Zhou,您好!再请教两个问题,一是如何查看emmc里面是否已经有image呢?通过什么方式可以擦除已经烧写好的image呢?
二是我们再烧录的时候,UniFlash下面的进度一直为0%,烧写约50分钟后出现FlashUnknownError状态,会是什么原因导致这个问题呢?