Homepage

  • Projekte
  • Shop
  • Forum
Erweiterte Suche
  • Schnellzugriff
    • Unbeantwortete Themen
    • Aktive Themen
    • Suche
  • FAQ
  • Anmelden
  • Registrieren
  • Foren-Übersicht
  • Suche

uClinux on Olimex LPC-E2214

Fragen zu ARMs
Antworten
  • Druckansicht
Erweiterte Suche
4 Beiträge • Seite 1 von 1
Dmitry

uClinux on Olimex LPC-E2214

  • Zitieren

Beitrag von Dmitry » 27.06.2006, 16:07:50

Hello!

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:
+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>
So I took linux.bin and downloaded it to flash:
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 have the following responce on 'fis list':
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
I'm trying to run uClinux:
RedBoot> fis load zimage
RedBoot> exec
But my board is just rebooting!

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
Nach oben

jakob

Re: uClinux on Olimex LPC-E2214

  • Zitieren

Beitrag von jakob » 27.06.2006, 17:04:58

Dmitry hat geschrieben: So I have a few questitions:
[...]
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?
I had problems compiling Ulrich's bootloader, too. But with the following toolchain it works fine:
http://www.mikrocontroller.net/download ... -2.tar.bz2

Jakob
Nach oben

Dmitry

  • Zitieren

Beitrag von Dmitry » 28.06.2006, 10:52:31

Thanks for the link, Jakob!
But it doesn't work... Will you give me another link or upload that toolchain to some web directory (for example, http://www.slil.ru). Thanks a lot!

And another questition according to Ulrich's bootloader. Makefile calls 'lpc21isp.exe'. As i know, this file is Windows-executable. How can i run it from linux? Should i use cygwin?

--
Dmitry.
Nach oben

jakob

  • Zitieren

Beitrag von jakob » 28.06.2006, 11:13:54

You mean, you cannot download the file? Please try again, the link is correct. Otherwise send a "pn", so that we can continue by email.

About the lpc21isp:
I'm using the files from http://www.ulrichradig.de/site/arm_proj ... ebBox2.zip. The Makefile calls lpc21isp (not .exe). You find this program (both sources and binary) here: http://guest.engelschall.com/~martin/lpc21xx/isp/
(You might want to remove the "-control" option to lpc21isp in the Makefile, if you don't control RESET and P0.14 from RS232, although this option seems not to hurt.)
Nach oben

Antworten
  • Druckansicht

4 Beiträge • Seite 1 von 1

Zurück zu „ARM Mikrocontroller“



  • Foren-Übersicht
  • Alle Zeiten sind UTC+02:00
  • Alle Cookies löschen

Powered by phpBB® Forum Software © phpBB Limited

Deutsche Übersetzung durch phpBB.de

Datenschutz | Nutzungsbedingungen

 

 

sitemap  |    |  datenschutz   |  impressum