This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

how to exec xipImage?


Hello,

I'm trying to figure out how I tell redboot to execute xipImage linux kernel.
How can I do this?
My physical flash is at address 0x0, and I've configured my Linux kernel's
XIP_PHYS_ADDR = 0x40000 so that it occurs after redboot.

TIA,

Jon

+Ethernet eth0: MAC address 08:00:01:03:05:07
IP: 172.22.64.253/255.255.0.0, Gateway: 172.22.0.1
Default server: 172.22.64.255

RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version UNKNOWN - built 01:35:40, Sep  7 2005

Platform: Comdial MP1000 (ARM 720T)
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

RAM: 0x00000000-0x00fd7000, [0x0000fc60-0x00fb5000] available
FLASH: 0xe0000000 - 0xe0400000, 32 blocks of 0x00020000 bytes each.
== Executing boot script in 3.000 seconds - enter ^C to abort
^C
RedBoot> fi li
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0xE0000000  0xE0000000  0x00020000  0x00000000
RedBoot[post]     0xE0020000  0xE0020000  0x00020000  0x00000000
FIS directory     0xE03E0000  0xE03E0000  0x0001F000  0x00000000
RedBoot config    0xE03FF000  0xE03FF000  0x00001000  0x00000000
RedBoot> lo -r -b 0xe0040000 xipImage
Using default protocol (TFTP)
Raw file loaded 0x00040000-0x0033e4a7 (length 0x002fe4a8), assumed entry at 0x00040000
RedBoot> fis create -b 0x40000 -l 0x300000 -f 0xe0040000 xipImage
RedBoot> fi li
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0xE0000000  0xE0000000  0x00020000  0x00000000
RedBoot[post]     0xE0020000  0xE0020000  0x00020000  0x00000000
xipImage          0xE0040000  0xE0040000  0x00300000  0x00040000
FIS directory     0xE03E0000  0xE03E0000  0x0001F000  0x00000000
RedBoot config    0xE03FF000  0xE03FF000  0x00001000  0x00000000
RedBoot> ex
Using base address 0x00040000 and length 0x002fe4a8

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]