FreeBSD Port: sysutils/u-boot-sinovoip-bpi-m3 2018.03: "USB0: data abort" after "starting USB"
Mark Millard
marklmi26-fbsd at yahoo.com
Sun Apr 29 18:49:36 UTC 2018
Unless I have missed something that I should do, it
appears to me that BPI-M3's are not working with the
latest sysutils/u-boot-sinovoip-bpi-m3 (and so the
latest sysutils/u-boot-master ).
The following is taken from where I first sent the
original note:
https://lists.freebsd.org/pipermail/freebsd-arm/2018-April/017864.html
> After upgrading a Pine64+ 2GB to head -r333079
> from a version from late last year/early this
> year, I tried doing so for a BPI-M3, also last
> updated in that general time frame.
>
> But what I get is repeated resets, each after
> a "USB0: data abort" (nothing is plugged
> into a USB port).
>
> "The loading Environment from" may indicate an
> earlier, separate problem from the data abort.
>
>
> resetting ...
>
> U-Boot SPL 2018.03 (Apr 06 2018 - 04:41:31 +0000)
> DRAM: 2048 MiB
> Trying to boot from MMC1
>
>
> U-Boot 2018.03 (Apr 06 2018 - 04:41:31 +0000) Allwinner Technology
>
> CPU: Allwinner A83T (SUN8I 1673)
> Model: Allwinner A83T BananaPi M3 Board v1.2
> DRAM: 2 GiB
> MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
> Loading Environment from FAT... Unable to use mmc 1:0... Failed (-5)
> Loading Environment from MMC... *** Warning - bad CRC, using default environment
>
> Failed (-5)
> In: serial
> Out: serial
> Err: serial
> Net: No ethernet found.
> starting USB...
> USB0: data abort
> pc : [<bff8fe3e>] lr : [<bff8fe21>]
> reloc pc : [<4a01be3e>] lr : [<4a01be21>]
> sp : bbf51c40 ip : bbf5b4ec fp : 00000002
> r10: bffb5058 r9 : bbf53ee0 r8 : 00000000
> r7 : ffffffff r6 : bbf5a73c r5 : bffb319c r4 : bbf5a550
> r3 : ffffffff r2 : 01c00004 r1 : ffff3f8f r0 : 00000000
> Flags: nZCv IRQs off FIQs off Mode SVC_32
> Resetting CPU ...
>
> resetting ...
>
>
>
> Details of what was used to put the updated u-boot
> in place:
>
> # pkg info u-boot-sinovoip-bpi-m3-2018.03
> u-boot-sinovoip-bpi-m3-2018.03
> Name : u-boot-sinovoip-bpi-m3
> Version : 2018.03
> Installed on : Fri Apr 13 21:25:08 2018 PDT
> Origin : sysutils/u-boot-sinovoip-bpi-m3
> Architecture : FreeBSD:12:*
> Prefix : /usr/local
> Categories : sysutils
> Licenses : GPLv2
> Maintainer :
> uboot at FreeBSD.org
>
> WWW : UNKNOWN
> Comment : Cross-build das u-boot for model sinovoip-bpi-m3
> Annotations :
> repo_type : binary
> repository : custom
> Flat size : 851KiB
> Description :
> U-Boot loader for Banana Pi M3.
>
> To install this bootloader on an sdcard just do :
> dd if=/usr/local/share/u-boot/u-boot-sinovoip-bpi-m3/u-boot-sunxi-with-spl.bin of=/path/to/sdcarddevice bs=1k seek=8 conv=notrunc,sync
>
> This version is patched so that:
> * ELF and API features are enabled.
> * The default environment is trimmed to just what's needed to boot.
> * The saveenv command writes to the file u-boot.env on the FAT partition.
> * The DTB file name is chosen based on the board model and passed to ubldr.bin
> using the fdtfile env variable. ubldr.bin loads the DTB from /boot/dtb/ on
> the FreeBSD partition.
> * By default, it loads PIE ubldr.bin from file ubldr.bin on the FAT partition
> to address 0x42000000, and launches it.
>
> For information about running FreeBSD on Allwinner boards, see
>
> https://wiki.freebsd.org/FreeBSD/arm/Allwinner
>
>
> For general information about U-Boot see WWW:
> http://www.denx.de/wiki/U-Boot
===
Mark Millard
marklmi26-fbsd at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
More information about the freebsd-uboot
mailing list