Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Aug 2015 13:34:56 +0200
From:      =?UTF-8?Q?Mika=C3=ABl_Urankar?= <mikael.urankar@gmail.com>
To:        Russell Haley <russ.haley@gmail.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Hummingboard u-boot not loading?
Message-ID:  <CAJwjRmS2=bXbuBA2UOOhkw_z6N6-eoeykz684gjT37%2B%2BLCZbUA@mail.gmail.com>
In-Reply-To: <CABx9NuQi2=8L_1hdpkTPLi864X9y5RigU2Vg7FyAhCOc_v8MNQ@mail.gmail.com>
References:  <CABx9NuTk2xwncnOMb73ujtOLmA4LvN7V=CHfiL5CC9bFwZ%2BX_Q@mail.gmail.com> <20150728173831.229400355e485fa511ca388b@ulrich-grey.de> <CABx9NuQ3vPbJv%2B0cxt1QijnqYad1nKrQyifbNPBgicyr%2Bv5Mow@mail.gmail.com> <CABx9NuTNbh3Ckbx1L7wLWmP%2Bq4kJXQMd-huem7PcfehzQk18_g@mail.gmail.com> <CABx9NuTgD3US6AW9fpo0OmKSKEuJHqPPMD-pM28fTHMf92q7tw@mail.gmail.com> <CAJwjRmSx3JJLTROzTPfDpAptJoiOSsOS6V2ZrWSDYE-8DaGm5g@mail.gmail.com> <20150801182519.4886608.58781.1809@gmail.com> <CABx9NuQi2=8L_1hdpkTPLi864X9y5RigU2Vg7FyAhCOc_v8MNQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2015-08-02 5:57 GMT+02:00 Russell Haley <russ.haley@gmail.com>:
> Thanks Mikael,
>
> I was able to build using the patches you provided and the binary
> u-boot.imx is the exact same size as the one from pkgng. However,
> nothing happens when I boot it:

I've tried it on my cubox, the u-boot binary is broken:
U-Boot 2013.10-rc4 (Aug 02 2015 - 11:08:43)

CPU:   Freescale i.MX6Q rev1.5 at 792 MHz
Reset cause: WDOG
Board: MX6-CuBox-i
DRAM:  2 GiB
MMC:   FSL_SDHC: 0
data abort

    MAYBE you should read doc/README.arm-unaligned-accesses

pc : [<8ff785ea>]          lr : [<8ff78217>]
sp : 8f76ce10  ip : 00000000     fp : 8f773160
r10: 00001fe0  r9 : 8f76ef38     r8 : 8f76f180
r7 : 8f76f188  r6 : 8f773160     r5 : 8f773164  r4 : 8f773a50
r3 : 00000000  r2 : 00000001     r1 : 80000000  r0 : 00000000
Flags: nZCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

> 2) The build from pkgng
> root@Jailbird:/usr/local/share/u-boot/u-boot-cubox-hummingboard# ll
> total 201
> -rw-r--r--  1 root  wheel     900 Jul 23 16:47 README
> -rw-r--r--  1 root  wheel  271360 Jul 23 16:47 u-boot.imx
> root@Jailbird:/usr/local/share/u-boot/u-boot-cubox-hummingboard# dd
> if=u-boot.imx of=/dev/da2 bs=1k oseek=1 conv=sync
> 265+0 records in
> 265+0 records out
> 271360 bytes transferred in 0.625492 secs (433834 bytes/sec)
>
> BOOT RESPONSE: Screen Starts, Solid Run Logo - no console.

Do you have a serial console?
See this thread if you need the hdmi output:
https://lists.freebsd.org/pipermail/freebsd-arm/2015-July/011912.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJwjRmS2=bXbuBA2UOOhkw_z6N6-eoeykz684gjT37%2B%2BLCZbUA>