Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Problem on starting uClinux on LPC2292...

2006-02-26 by Branko Karaklajic

Hello everyone,

this is REPOST because of wrong subject on earlier message. I didn't
want to hijack tread... sorry

---

I successfully booted uClinux on LPC2292 with external 4MB flash and
4MB RAM!

But I started kernel only when I load image and romfs with JTAG to RAM
and then start it from that address.

Now I must wrote bootloader. I have functions for initialization of
external memory interfaces, loading images from flash to ram, and that
is OK, but when I want to JUMP to start address of kernel... board
reboots... This is part for jumping to kernel...

---CODE---
void kernel_jump()
{
     void (*kernelstart)(void);

     //KERNEL_START=0x81008000;

     kernelstart = (void (*)(void))KERNEL_START;
     (*kernelstart)();
     
}
-END CODE-

Anyone have idea what is wrong, or some code sample to jump to start
of kernel...

thank you in advance
Branko Karaklajic
-- 
Best regards,
 orpid.co.yu

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.