Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jul 2015 16:09:04 +0200
From:      =?UTF-8?Q?Mika=C3=ABl_Urankar?= <mikael.urankar@gmail.com>
To:        Yoshiro MIHIRA <sanpei.ml@gmail.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: No valid device tree blob found! with hummingboard FreeBSD-current
Message-ID:  <CAJwjRmQCAg0gh3AKxbB%2BzSFQ3P7mWdyhsqbACE%2B%2Bevv52exPQA@mail.gmail.com>
In-Reply-To: <CALwmBx3Up4Vfqh%2BweofspxVf8yCUoeoqwzGgzEJ_S552CTjKPg@mail.gmail.com>
References:  <CALwmBx3Up4Vfqh%2BweofspxVf8yCUoeoqwzGgzEJ_S552CTjKPg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--001a113f27986d7b320519e4fb1d
Content-Type: text/plain; charset=UTF-8

2015-07-02 15:06 GMT+02:00 Yoshiro MIHIRA <sanpei.ml@gmail.com>:
> Hi all,
>
> I tried to use hummingboard-i2 and FreeBSD-11-current as below image
>
> FreeBSD-11.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20150625-r284814.img
>
> However I could not boot FreeBSD with below message.
> Please let me know how to boot hummingboard-i2.
>
> U-Boot SPL 2013.10-rc4 (Jun 25 2015 - 21:13:52)
> Boot Device: UNKNOWN..
> spl: error reading image u-boot.img, err - -1
> Load image from RAW...
>
>
> U-Boot 2013.10-rc4 (Jun 25 2015 - 21:13:52)
>
> CPU:   Freescale i.MX6DL rev1.1 at 792 MHz
> Reset cause: POR
> Board: MX6-HummingBoard
> DRAM:  1 GiB
> MMC:   FSL_SDHC: 0
> *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> Net:   FEC [PRIME]
> ** Unable to read file uEnv.txt **
> Hit any key to stop autoboot:  0
> Booting from: mmc 0 ubldr
> 260690 bytes read in 26 ms (9.6 MiB/s)
> ## Starting application at 0x12000094 ...
> Consoles: U-Boot console
> Compatible U-Boot API signature found @4f7708a8
>
> FreeBSD/armv6 U-Boot loader, Revision 1.2
> (root@releng2.nyi.freebsd.org, Thu Jun 25 21:33:03 UTC 2015)
>
> DRAM: 1024MB
> Number of U-Boot devices: 2
> U-Boot env: loaderdev='mmc 0'
> Found U-Boot device: disk
>   Checking unit=0 slice=<auto> partition=<auto>... good.
> /
> /boot/kernel/kernel data=0x5aa2dc+0x3dd24 syms=[0x4+0x5c970+0x4+0x586b1]
> Hit [Enter] to boot immediately, or any other key for command prompt.
> Booting [/boot/kernel/kernel]...
> No valid device tree blob found!
>
> Type '?' for a list of commands, 'help' for more detailed help.
> loader> fdt ls
> No device tree blob found!
>
> loader>

Hi,
Can you try the attached patch (against
sysutils/u-boot-cubox-hummingboard), you'll have to rewrite uboot to
the sdcard (see
/usr/local/share/u-boot/u-boot-cubox-hummingboard/README). Also
available here:
http://mikael.urankar.free.fr/FreeBSD/arm/patches/sysutils_u-boot-cubox-hummingboard.patch

--001a113f27986d7b320519e4fb1d
Content-Type: text/x-patch; charset=US-ASCII; 
	name="sysutils_u-boot-cubox-hummingboard.patch"
Content-Disposition: attachment; 
	filename="sysutils_u-boot-cubox-hummingboard.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_ibm9pokg0

LS0tIGZpbGVzL3BhdGNoLWJvYXJkX3NvbGlkcnVuX214Nl9fY3Vib3gtaV9teDZfX2N1Ym94LWku
YwkocmV2aXNpb24gMzkxMTQ2KQorKysgZmlsZXMvcGF0Y2gtYm9hcmRfc29saWRydW5fbXg2X19j
dWJveC1pX214Nl9fY3Vib3gtaS5jCSh3b3JraW5nIGNvcHkpCkBAIC0xMiw3ICsxMiw3IEBACiAg
fQogIAogIHN0YXRpYyBjaGFyIGNvbnN0ICpib2FyZF90eXBlID0gInVuaW5pdGlhbGl6ZWQiOwot
K3N0YXRpYyBjaGFyIGNvbnN0ICpmZHRfYm9hcmQ7Cisrc3RhdGljIGNoYXIgY29uc3QgKmZkdF9i
b2FyZCA9ICJ1bmluaXRpYWxpemVkIjsKICAKICBpbnQgY2hlY2tib2FyZCh2b2lkKQogIHsK
--001a113f27986d7b320519e4fb1d--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJwjRmQCAg0gh3AKxbB%2BzSFQ3P7mWdyhsqbACE%2B%2Bevv52exPQA>