Hello forum.
I have received the OpenRex board from Voipac and enjoyed the 10hrs course from Robert.
The TFTP and MFGTOOL methods are verified as well as the cross-compile of u-boot and Linux in both make and Yocto environment.
At first, I did not update the SPI FLASH u-boot, but used the "undocumented feature" to force booting of the SD-Card.
While studying the differences between the lectured u-boot v2015.10 at Fedevel and the one from Voipac I finally decided to flash the u-boot 2015.10 version.
The first updates went well.
However, as I was changing the upd_uboot environmental several times, the OpenRex serial terminal suddenly became unresponsive.
Reset/repower, terminal loop-back test finally confirmed that the OpenRex u-boot was corrupted.
I then reloaded the u-boot by means of MFGTOOLS as described here:
Content Get and compile the latest uBoot Run uBoot on an empty board Flash uBoot for the very first time into a fresh board Programming eFuses on very fresh
The u-boot started, but when I loaded the environmentals for my site and tried to re-flash the U-Boot, I had no success.
Of some reason I can't use the update_spi_boot as the set_ethernet overrides the ipaddr:
OpenRex U-Boot> printenv ipaddr
ipaddr=192.168.1.150
OpenRex U-Boot> printenv serverip
serverip=192.168.1.50
OpenRex U-Boot> run set_ethernet
OpenRex U-Boot> printenv ipaddr
ipaddr=
192.168.0.150OpenRex U-Boot> printenv serverip
serverip=192.168.1.50
OpenRex U-Boot>
Running the manual u-boot upgrade as shown below fails with a SPI timeout message.
Something seem corrupted, but i can't figure out what.
The problem is shown below and I cannot find a corresponding problem (with relevant situation) described on the web.
Please advice.
Best regards
Terje
u-boot scenario, failing to update SPI-FLASH:
setenv netdev eth0
setenv ethprime FEC
setenv ethact FEC
setenv ethaddr 00:0D:15:00
1:75
setenv fec_addr 00:0D:15:00
1:75
setenv ipaddr 192.168.1.150
setenv serverip 192.168.1.50
setenv gatewayip 192.168.1.1
OpenRex U-Boot> mw.b 0x10800000 0xFF 0x80000;tftp 0x10800000 imx6/u-boot-imx6q-openrex.imx;sf probe 3:2;sf erase 0x0 0x80000;sf write 0x10800000 0x0 0x80000
Using FEC device
TFTP from server 192.168.1.50; our IP address is 192.168.1.150
Filename 'imx6/u-boot-imx6q-openrex.imx'.
Load address: 0x10800000
Loading: #T ####################T #####T ########################################
######T #######T ##
13.7 KiB/s
done
Bytes transferred = 400384 (61c00 hex)
spi_xchg_single: Timeout!SF: Failed to get idcodes
Failed to initialize SPI flash at 3:2
No SPI flash selected. Please run `sf probe'
No SPI flash selected. Please run `sf probe'
OpenRex U-Boot>
OpenRex U-Boot> sf probe
SF: Detected SST26VF032B with page size 256 Bytes, erase size 4 KiB, total 4 MiB
OpenRex U-Boot> sf probe 1
SF: Detected SST26VF032B with page size 256 Bytes, erase size 4 KiB, total 4 MiB
OpenRex U-Boot>