NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-arm32/50288: NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img doesn't boot on BBB
>Number: 50288
>Category: port-arm32
>Synopsis: NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img doesn't boot on BBB
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-arm32-maintainer
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Mon Sep 28 20:30:00 +0000 2015
>Originator: David S. Alessio
>Release: NetBSD-7.0_RC3
>Organization:
>Environment:
Beagle Bone Black
>Description:
NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img doesn't boot "out of the box" on a BeagleBoneBlack from SD card -- the u-boot startup cmd is incorrect. Here's the debug console 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: 0
gpio: pin 53 (gpio 53) value is 1
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt
734 bytes read in 6 ms (119.1 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 ...
mmc0 is current device
reading /home/builds/ab/netbsd-7-0-RC3/evbarm-earmv7hf/201508110747Z-rlse/evbarm/binary/kernel
** Unable to read file /home/builds/ab/netbsd-7-0-RC3/evbarm-earmv7hf/201508110747Z-rlse/evbarm/binary/kernel **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
uenvcmd was not defined in uEnv.txt ...
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
1430 bytes read in 6 ms (232.4 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 208 ms (17 MiB/s)
reading initrd.img
2869097 bytes read in 180 ms (15.2 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.382612] omap2_mbox_probe: platform not supported
[ 0.549457] tps65217-bl tps65217-bl: no platform data provided
[ 0.614582] bone-capemgr bone_capemgr.9: slot #0: No cape found
[ 0.651690] bone-capemgr bone_capemgr.9: slot #1: No cape found
[ 0.688797] bone-capemgr bone_capemgr.9: slot #2: No cape found
[ 0.725907] bone-capemgr bone_capemgr.9: slot #3: No cape found
[ 0.742046] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI)
[ 0.751654] bone-capemgr bone_capemgr.9: slot #6: Failed verification
[ 0.758413] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[ 0.774899] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
[ 0.837518] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[ 0.849196] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[ 0.856496] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
Loading, please wait...
>How-To-Repeat:
1) Download NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img.gz
2) burn to a uSD card. On a Linux machine with the uSD as /dev/sdb:
zcat armv7.img.gz | dd of=/dev/sdb
3) insert uSD card to BBB, apply power, capture output on FTDI console port.
>Fix:
This seems to be the first of several problems with the image on a BBB. Fixing the u-boot script gets the boot process a bit further, but then RC3 image ultimately enters a forever loop printing:
===== edma errint!
===== edma errint!
Home |
Main Index |
Thread Index |
Old Index