Sorry to disturb :(
I am trying to switch from
https://gitlab.denx.de/u-boot/custodians/u-boot-mips commit
f3d8c7f8d3c02ff1de172aff7e6392a9ddd1f5b2 to master.
In both case I'm using plain "vocore2_defconfig".
Actually I'm using:
make ARCH=mips
CROSS_COMPILE=~/vocore/__V2__/Buildroot-2/mipsel-buildroot-linux-uclibc_sdk-buildroot/bin/mipsel-linux-
all
for master and Buildroot compilation environment for `u-boot-mips`, but I don't
think that's the problem (compiler is the same, if needed I'll recompile
manually "old" also).
Of course the two versions have tons of differences, but .config is essentially
the same (some reordering and a few apparently harmless new CONFIG_s; iff
deemed useful I can post both, but, as said, I'm using in-tree
vocore2_defconfig in both cases).
First thing is something changed in compilation and the old "u-boot-mtmips.bin"
si nowhere to be found, apparently replaced by "u-boot-with-spl.bin".
Second data point is new u-boot is substantially larger:
-rwxr-xr-x 1 root root 244580 Aug 31 20:06 u-boot-mtmips.bin
-rwxr-xr-x 1 root root 275005 Aug 31 20:00 u-boot-with-spl.bin
Third and most important new version does not work:
===============================================
U-Boot SPL 2020.04-rc1 (Mar 29 2020 - 17:07:13 +0200)
Trying to boot from NOR
U-Boot 2020.04-rc1 (Mar 29 2020 - 17:07:13 +0200)
CPU: MediaTek MT7628A ver:1 eco:2
Boot: DDR2, SPI-NOR 3-Byte Addr, CPU clock from XTAL
Clock: CPU: 580MHz, Bus: 193MHz, XTAL: 40MHz
DRAM: 128 MiB
WDT: Started with servicing (60s timeout)
MMC: mmc@10130000: 0
Loading Environment from SPI Flash... SF: Detected w25q128 with page size 256
Bytes, erase size 4 KiB, total 16 MiB
OK
In: uart2@e00
Out: uart2@e00
Err: uart2@e00
Model: VoCore2
Net:
Warning: eth@10110000 (eth0) using random MAC address - b6:bf:30:14:ba:25
eth0: eth@10110000
Hit any key to stop autoboot: 0
=> load mmc 0:1 80010000 u-boot-mtmips.bin && go ${fileaddr}
244580 bytes read in 17 ms (13.7 MiB/s)
## Starting application at 0x80010000 ...
U-Boot SPL 2020.04-rc1 (Mar 29 2020 - 17:07:13 +0200)
Trying to boot from NOR
U-Boot 2020.04-rc1 (Mar 29 2020 - 17:07:13 +0200)
CPU: MediaTek MT7628A ver:1 eco:2
Boot: DDR2, SPI-NOR 3-Byte Addr, CPU clock from XTAL
Clock: CPU: 580MHz, Bus: 193MHz, XTAL: 40MHz
DRAM: 128 MiB
WDT: Started with servicing (60s timeout)
MMC: mmc@10130000: 0
Loading Environment from SPI Flash... SF: Detected w25q128 with page size 256
Bytes, erase size 4 KiB, total 16 MiB
OK
In: uart2@e00
Out: uart2@e00
Err: uart2@e00
Model: VoCore2
Net:
Warning: eth@10110000 (eth0) using random MAC address - 36:f2:c3:0a:27:a4
eth0: eth@10110000
Hit any key to stop autoboot: 0
=>
===============================================
U-Boot SPL 2020.04-rc1 (Mar 29 2020 - 17:07:13 +0200)
Trying to boot from NOR
U-Boot 2020.04-rc1 (Mar 29 2020 - 17:07:13 +0200)
CPU: MediaTek MT7628A ver:1 eco:2
Boot: DDR2, SPI-NOR 3-Byte Addr, CPU clock from XTAL
Clock: CPU: 580MHz, Bus: 193MHz, XTAL: 40MHz
DRAM: 128 MiB
WDT: Started with servicing (60s timeout)
MMC: mmc@10130000: 0
Loading Environment from SPI Flash... SF: Detected w25q128 with page size 256
Bytes, erase size 4 KiB, total 16 MiB
OK
In: uart2@e00
Out: uart2@e00
Err: uart2@e00
Model: VoCore2
Net:
Warning: eth@10110000 (eth0) using random MAC address - 1e:a9:c5:a8:35:82
eth0: eth@10110000
Hit any key to stop autoboot: 0
=> load mmc 0:1 80010000 u-boot-with-spl.bin && go ${fileaddr}
275005 bytes read in 20 ms (13.1 MiB/s)
## Starting application at 0x80010000 ...
<<dead>>
===============================================
What am I doing so wrong?
I'm available to all possible tests, but I'm, most likely, just missing
something obvious.
I'm also available on IRC as "mcon".
Thanks in advance.
Mauro Condarelli