I have Olimex LPC-E2214 board (with CS8900A LAN, 1 MB External SDRAM an 1 Mb external flash). I want to run uClinux on this board. Please don't laugh at me I think it should be enough.
I have choosen U-boot as bootloader, but it didn't run. After that I have successfully ported RedBoot to my board.
I have compiled linux.bin using instructions on this site. That's all OK.
Here is RedBoot responce:
So I took linux.bin and downloaded it to flash:+No network interfaces found
RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version 1.1 - built 15:26:53, Jun 27 2006
Platform: Philips LPC2XXX/Olimex LPC-E2294 (ARM7TDMI-S)
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
RAM: 0x81000000-0x81100000, [0x8100cc40-0x810ed000] available
FLASH: 0x80000000 - 0x80100000, 16 blocks of 0x00010000 bytes each.
RedBoot>
I have the following responce on 'fis list':RedBoot> load -v -r -b 0x8100cc40 -m ymodem
CCRaw file loaded 0x8100cc40-0x8109fcaf, assumed entry at 0x8100cc40
xyzModem - CRC mode, 3(SOH)/588(STX)/0(CAN) packets, 4 retries
RedBoot> fis create zimage
... Erase from 0x80020000-0x800c0000: ..........
... Program from 0x8100cc40-0x8109fcb0 at 0x80020000: ..........
... Erase from 0x800f0000-0x80100000: .
... Program from 0x810f0000-0x81100000 at 0x800f0000: .
RedBoot>
I'm trying to run uClinux:RedBoot> fis list
Name FLASH addr Mem addr Length Entry point
RedBoot 0x80000000 0x80000000 0x00020000 0x00000000
zimage 0x80020000 0x8100CC40 0x000A0000 0x8100CC40
FIS directory 0x800F0000 0x800F0000 0x0000F000 0x00000000
RedBoot config 0x800FF000 0x800FF000 0x00001000 0x00000000
But my board is just rebooting!RedBoot> fis load zimage
RedBoot> exec
So I have a few questitions:
1. Did anyone run uClinux via RedBoot? What's wrong with my hands?
2. What bootloader can I use instead of RedBoot? I have tried Ulrich's bootloader but it doesn't even compile on linux. There are also a bootloader, which contains linux.bin code converted to "const char linux [] = ....". But how can I download 700 kb linux image to 500 kb internal flash?
PS: Sorry if my problem has already been discussed in this forum - I don't understand German.
--
Dmitry