svn commit: r324822 - head/sys/modules/dtb/allwinner [removal of sinovoip-bpi-m3.dts from sys/modules/dtb/allwinner/Makefile DTS list]
Mark Millard
markmi at dsl-only.net
Sun Oct 22 04:32:00 UTC 2017
[Ignoring message history here.]
One of my assumptions was bad. It turns out
that one reason that the BPI-M3 is working
is that I've not been updating ubldr and
ubldr.bin :
# ls -lT /boot/msdos/
total 488
-rwxr-xr-x 1 root wheel 271949 Oct 24 03:28:54 2016 ubldr
-rwxr-xr-x 1 root wheel 224044 Oct 24 03:28:54 2016 ubldr.bin
vs. what was built for -r317015 :
# ls -lT /boot/ubldr*
-r--r--r-- 1 root wheel 286515 Apr 18 23:41:42 2017 /boot/ubldr
-r--r--r-- 1 root wheel 234960 Apr 18 23:41:42 2017 /boot/ubldr.bin
If I substitute the pair from /boot/ubldr* into
/boot/msdos/ the boot fails with:
Booting from: mmc 0 ubldr
reading ubldr
286515 bytes read in 102 ms (2.7 MiB/s)
## Starting application at 0x01000098 ...
undefined instruction
pc : [<01401000>] lr : [<bff6869c>]
reloc pc : [<8b49c000>] lr : [<4a00369c>]
sp : bbf42cb0 ip : 00000002 fp : bff68560
r10: 00000001 r9 : bbf44ee8 r8 : 00000000
r7 : 00000001 r6 : bbf47c50 r5 : 01000098 r4 : 00000000
r3 : 00000001 r2 : 0000000a r1 : 00000000 r0 : 00000000
Flags: nZCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...
resetting ...
So overall my -r317015 build is broken as well,
likely for different reasons.
With the 2016-Oct-24 unbldr* pair the matching
text is:
Booting from: mmc 0 ubldr
reading ubldr
271949 bytes read in 96 ms (2.7 MiB/s)
## Starting application at 0x42000098 ...
Consoles: U-Boot console
Compatible U-Boot API signature found @0xbbf46368
FreeBSD/armv6 U-Boot loader, Revision 1.2
(markmi at FreeBSDx64, Mon Oct 24 00:41:23 PDT 2016)
and so on.
A very different "Starting application at" between
the failing and working ones.
I'd have to get past this before I could test an
overall build with more modern issues.
I have no clue if/when I'll figure this out.
===
Mark Millard
markmi at dsl-only.net
More information about the freebsd-arm
mailing list