[U-Boot] Conditional boot
Marco Pavanelli
marco.pavanelli at servizist.it
Thu Oct 23 15:44:12 CEST 2014
I have learnt that with u-boot you can boot from different sources and in
fact that works, but what I would like to achieve is to TRY FIRST booting
from a network (tftp+nfs) and if it fails carry on to FLASH+SD.
I have managed to boot both from tftp+nfs and from FLASH+SD but so far I
have not been able to do it conditionally.
In fact when I try to boot form tftp with a disconnected cable, the sysem
keeps retrying forever with TFTP.
Here is the printout of my boot to understand my version and platform.
U-Boot 1.3.3 (Nov 24 2011 - 13:08:57) MPC512X, Build:
u-boot_viper_1.3.3.42000.cots
CPU: MPC5121e rev. 2.0, Core e300c4 at 399.999 MHz, CSB at 199 MHz
RCW: 0x05040000 0x84800080 SPMF[5] CPMF[4] SYSDIV[0] PCIHOST BMS SWEN
ROMLOC[0] LPC_DBW[0] NFC_PS LPC_AX[0]
RSR: 0x60001003 SWHR SRS HRS
Board: Viper
I2C: ready
DRAM: 256 MB
FLASH: 16 MB
IoCfg: No GPTs, setup 23 I/O controls
SDHC: 1886 MB card found
FDT: NOR at 0xFF020000 [valid]
FDT: Setup CP6500.AAB-:Z [ok]
LCD: UMSH-8377MD-3T 5.7 WVGA [640x480 - 39700ps 16 144 10 35 1 1 INVERT
CLK] X/Y Swapped
IoCfg: GPTs = {0, 1, 2, 6, 7}, setup 93 I/O controls
Net: FEC ETHERNET
Hit any key to stop autoboot: 0
Using FEC ETHERNET device
TFTP from server 192.168.0.100; our IP address is 192.168.0.3
Filename 'boot/uImage'.
Load address: 0x400000
Loading: T T T
Abort
The final abort was caused bu [ctrl - c}
Any suggestion how to make tftp stop retrying ?
Ciao
--
*Servizi s.t. srl, Corso Italia 13/N, I-39100 Bolzano *
CCIAA 1342368 Tribunale di Milano 302137
REA: 1342368
capitale sociale versato 10.400,00 EUR
CF: 01156500181 PI: IT09955600151
More information about the U-Boot
mailing list