Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2014 10:08:11 -0300
From:      Luiz Otavio O Souza <lists.br@gmail.com>
To:        Glen Barber <gjb@freebsd.org>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, Ian Lepore <ian@freebsd.org>
Subject:   Re: "No valid device tree blob found" error
Message-ID:  <CAB=2f8yUW29aZ-nddUF17ae-BvTiUHg4MUAHpo2UAf2RsVOUKg@mail.gmail.com>
In-Reply-To: <20140216213001.GF1667@glenbarber.us>
References:  <20140216213001.GF1667@glenbarber.us>

next in thread | previous in thread | raw e-mail | index | archive | help
--047d7ba97e640b198604f299d9c9
Content-Type: text/plain; charset=ISO-8859-1

On 16 February 2014 18:30, Glen Barber <gjb@freebsd.org> wrote:
> Images for RPI-B and BEAGLEBONE (and I suspect PANDABOARD) are failing
> to boot this week.
>
> The images are built against r261948.  Console messages during boot:
>
>   ## Starting application at 0x88000054 ...
>   Consoles: U-Boot console
>   Compatible API signature found @9f242240
>   MMC Device 2 not found
>   MMC Device 3 not found
>   Number of U-Boot devices: 2
>
>   FreeBSD/armv6 U-Boot loader, Revision 1.2
>   (root@grind.freebsd.org, Sun Feb 16 18:10:43 UTC 2014)
>   DRAM:    512MB
>
>   Device: disk
>   Loading /boot/defaults/loader.conf
>   /boot/kernel/kernel data=0x460bc8+0x2c7438
>   syms=[0x4+0x85a60+0x4+0x50c89]
>
>   Hit [Enter] to boot immediately, or any other key for command prompt.
>   Booting [/boot/kernel/kernel]...
>   Using DTB provided by U-Boot.
>   No valid device tree blob found!WARNING! Trying to fire up the kernel,
>   but no device tree blob found!
>
> Any ideas if this is error on my part, or a problem in head/ ?  The
> stable/10/ images boot fine, so I do not suspect any code changes in the
> build process.
>


Glen,

I think it is related to r261819. Looking at the code it looks like
the attached patch may fix it (i'm still updating my images to the
latest -head and would probably need a few hours before i can test it
myself).

Can you check if it works for you ?

Thanks,

Luiz

--047d7ba97e640b198604f299d9c9
Content-Type: text/plain; charset=US-ASCII; name="fdt-loader.diff"
Content-Disposition: attachment; filename="fdt-loader.diff"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hrrr9ksn1

SW5kZXg6IGhlYWQvc3lzL2Jvb3QvZmR0L2ZkdF9sb2FkZXJfY21kLmMKPT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0g
aGVhZC9zeXMvYm9vdC9mZHQvZmR0X2xvYWRlcl9jbWQuYwkocmV2aXNpb24gMjYyMDM2KQorKysg
aGVhZC9zeXMvYm9vdC9mZHQvZmR0X2xvYWRlcl9jbWQuYwkod29ya2luZyBjb3B5KQpAQCAtMjMw
LDcgKzIzMCw3IEBACiAJaW50IGVycjsKIAogCWZkdHBfc2l6ZSA9IGZkdF90b3RhbHNpemUoaGVh
ZGVyKTsKLQllcnIgPSBmZHRfY2hlY2tfaGVhZGVyKCZoZWFkZXIpOworCWVyciA9IGZkdF9jaGVj
a19oZWFkZXIoaGVhZGVyKTsKIAlpZiAoZXJyIDwgMCkgewogCQlzcHJpbnRmKGNvbW1hbmRfZXJy
YnVmLCAiZXJyb3IgdmFsaWRhdGluZyBibG9iOiAlcyIsCiAJCSAgICBmZHRfc3RyZXJyb3IoZXJy
KSk7Cg==
--047d7ba97e640b198604f299d9c9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB=2f8yUW29aZ-nddUF17ae-BvTiUHg4MUAHpo2UAf2RsVOUKg>