Hi all
I am working on pxa300 where my requirement is I am loading uImage & filesystem through tftp server (from other host) on RAM , if uImage or filesystem
is not there then it can directly load kernel & filesystem from flash with typing command or doing cltrl +c on hyper terminal .
Currently in uboot if it does not able to find uIamge & file system it retry again ,I want it should start loading from flash .
my CONFIG_BOOTCOMMAND is like that
#define CONFIG_BOOTCOMMAND "tftp 0x80600000 10.1.1.72:initrd.gz; tftp 0x80008000 10.1.1.72:uImage; bootm" // FOR RAM
#define CONFIG_BOOTCOMMAND "cp.l 0x10600000 0x80600000 200000;cp.l 0x10400000 0x80200000 60000; bootm 0x80200000" //FOR FLASH
One more thing I am able to find out in uboot its calling do_tftpb function for tftp & do_bootm function for flash
Here it's console print
Code:
U-Boot code: 81000000 -> 81021AB0
BSS: -> 81026EC8
IRQ Stack: 80fdaf80
FIQ Stack: 80fd9f80
DRAM: 512 MB
Using default environment
In: serial
Out: serial
Err: serial
Linux Booting........
Hit any key to stop autoboot: 0
Enabling external transiver signal for LAN
DRIVER_VERSION : 110, DATECODE : 080408
LAN9x18 (0x118a0000) detected.
start Auto negotiation... (take ~2sec)
Auto negotiation failed
TFTP from server 10.1.1.72; our IP address is 10.1.1.100
Filename 'initrd.gz'.
Load address: 0x80600000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
TFTP from server 10.1.1.72; our IP address is 10.1.1.100
Filename 'initrd.gz'.
Load address: 0x80600000
Loading: T T T