Beaglebone Black RevB WARNING: Invalid device tree, expect boot to fail

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Beaglebone Black RevB WARNING: Invalid device tree, expect boot to fail

Dan Jones
I have a BBB Rev B which I am trying to boot OpenBSD current (28-Aug-2017) from the SD card and the boot fails repeating the message below.  I am able to boot other OSs for example to refresh the eMMC.  Any suggestions for troubleshooting will be appreciated.

U-Boot SPL 2017.07-00002-g61c3ee0fb5 (Jul 19 2017 - 17:02:08)
Trying to boot from MMC2


U-Boot 2017.07-00002-g61c3ee0fb5 (Jul 19 2017 - 17:02:08 -0500), Build: jenkins-github_Bootloader-Builder-591

CPU  : AM335X-GP rev 2.0
I2C:   ready
DRAM:  512 MiB
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'
Some drivers were not found
Reset Source: Power-on reset has occurred.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

Board: BeagleBone Black
<ethaddr> not set. Validating first E-fuse MAC
BeagleBone Black:
BeagleBone: cape eeprom: i2c_probe: 0x54:
BeagleBone: cape eeprom: i2c_probe: 0x55:
BeagleBone: cape eeprom: i2c_probe: 0x56:
BeagleBone: cape eeprom: i2c_probe: 0x57:
Net:   eth0: MII MODE
cpsw
Press SPACE to abort autoboot in 2 seconds
board_name=[A335BNLT] ...
board_rev=[0A5C] ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Bad device 0:2 0x82000000 **
** Bad device 0:2 0x82000000 **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found EFI removable media binary efi/boot/bootarm.efi
reading efi/boot/bootarm.efi
67356 bytes read in 12 ms (5.4 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
## Starting EFI application at 82000000 ...
WARNING: Invalid device tree, expect boot to fail
Scanning disks on usb...
Scanning disks on mmc...
MMC Device 2 not found
MMC Device 3 not found
Found 6 disks
>> OpenBSD/armv7 BOOTARM 1.0
boot>
cannot open sd0a:/etc/random.seed: No such file or directory
booting sd0a:/bsd: 2282416+7989016+447588 [173754+90+317360+151252]=0xad8adc

U-Boot SPL 2017.07-00002-g61c3ee0fb5 (Jul 19 2017 - 17:02:08)
Trying to boot from MMC2


<snip>
Reply | Threaded
Open this post in threaded view
|

Re: Beaglebone Black RevB WARNING: Invalid device tree, expect boot to fail

Jonathan Gray-11
On Mon, Aug 28, 2017 at 09:13:26PM -0600, Dan Jones wrote:
> I have a BBB Rev B which I am trying to boot OpenBSD current (28-Aug-2017) from the SD card and the boot fails repeating the message below.  I am able to boot other OSs for example to refresh the eMMC.  Any suggestions for troubleshooting will be appreciated.

That version of U-Boot does not come from the miniroot.  You may have to
hold down the button to boot from micro sd if you still have something
installed on the emmc.

The am335x miniroot contains the following dtbs in the root of the
msdos/fat partition u-boot and efiboot are on.

        am335x-bone.dtb
        am335x-boneblack.dtb
        am335x-bonegreen.dtb
        am335x-evm.dtb
        am335x-evmsk.dtb

>
> U-Boot SPL 2017.07-00002-g61c3ee0fb5 (Jul 19 2017 - 17:02:08)
> Trying to boot from MMC2
>
>
> U-Boot 2017.07-00002-g61c3ee0fb5 (Jul 19 2017 - 17:02:08 -0500), Build: jenkins-github_Bootloader-Builder-591
>
> CPU  : AM335X-GP rev 2.0
> I2C:   ready
> DRAM:  512 MiB
> No match for driver 'omap_hsmmc'
> No match for driver 'omap_hsmmc'
> Some drivers were not found
> Reset Source: Power-on reset has occurred.
> MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
> Using default environment
>
> Board: BeagleBone Black
> <ethaddr> not set. Validating first E-fuse MAC
> BeagleBone Black:
> BeagleBone: cape eeprom: i2c_probe: 0x54:
> BeagleBone: cape eeprom: i2c_probe: 0x55:
> BeagleBone: cape eeprom: i2c_probe: 0x56:
> BeagleBone: cape eeprom: i2c_probe: 0x57:
> Net:   eth0: MII MODE
> cpsw
> Press SPACE to abort autoboot in 2 seconds
> board_name=[A335BNLT] ...
> board_rev=[0A5C] ...
> switch to partitions #0, OK
> mmc0 is current device
> SD/MMC found on device 0
> ** Bad device 0:2 0x82000000 **
> ** Bad device 0:2 0x82000000 **
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0:1...
> Found EFI removable media binary efi/boot/bootarm.efi
> reading efi/boot/bootarm.efi
> 67356 bytes read in 12 ms (5.4 MiB/s)
> libfdt fdt_check_header(): FDT_ERR_BADMAGIC
> ## Starting EFI application at 82000000 ...
> WARNING: Invalid device tree, expect boot to fail
> Scanning disks on usb...
> Scanning disks on mmc...
> MMC Device 2 not found
> MMC Device 3 not found
> Found 6 disks
> >> OpenBSD/armv7 BOOTARM 1.0
> boot>
> cannot open sd0a:/etc/random.seed: No such file or directory
> booting sd0a:/bsd: 2282416+7989016+447588 [173754+90+317360+151252]=0xad8adc
>
> U-Boot SPL 2017.07-00002-g61c3ee0fb5 (Jul 19 2017 - 17:02:08)
> Trying to boot from MMC2
>
>
> <snip>

Reply | Threaded
Open this post in threaded view
|

Re: Beaglebone Black RevB WARNING: Invalid device tree, expect boot to fail

Dan Jones

> On Aug 28, 2017, at 9:35 PM, Jonathan Gray <[hidden email]> wrote:
>
> On Mon, Aug 28, 2017 at 09:13:26PM -0600, Dan Jones wrote:
>> I have a BBB Rev B which I am trying to boot OpenBSD current (28-Aug-2017) from the SD card and the boot fails repeating the message below.  I am able to boot other OSs for example to refresh the eMMC.  Any suggestions for troubleshooting will be appreciated.
>
> That version of U-Boot does not come from the miniroot.  You may have to
> hold down the button to boot from micro sd if you still have something
> installed on the emmc.
>
> The am335x miniroot contains the following dtbs in the root of the
> msdos/fat partition u-boot and efiboot are on.
>
>        am335x-bone.dtb
>        am335x-boneblack.dtb
>        am335x-bonegreen.dtb
>        am335x-evm.dtb
>        am335x-evmsk.dtb
>

Thanks, your comment about am335x made be go back and check the SD card.  Error on my part as I had the beagle board image.