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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 [-- Attachment #2 --] --- files/patch-board_solidrun_mx6__cubox-i_mx6__cubox-i.c (revision 391146) +++ files/patch-board_solidrun_mx6__cubox-i_mx6__cubox-i.c (working copy) @@ -12,7 +12,7 @@ } static char const *board_type = "uninitialized"; -+static char const *fdt_board; ++static char const *fdt_board = "uninitialized"; int checkboard(void) {home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJwjRmQCAg0gh3AKxbB%2BzSFQ3P7mWdyhsqbACE%2B%2Bevv52exPQA>
