Hello Branko,
Problem is solved. If PLL is ON in bootloader, everything hang when
jump to kernel... Without PLL uClinux is runing with 7.21 BogoMIPS!
Thanx
BS>> Branko Karaklajic wrote:
>>> 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...
BS>> I think it's not needed to dereference kernelstart.
BS>> Try invoking kernelstart simply as follows:
BS>> kernelstart();
BS>> Can you follow where it is going when doing this call with the
BS>> JTAG debugger?
BS>> Regards,
BS>> Bertrik
BK> Hm... I try that after I wrote letter to group... Very strange
BK> behavior... if I do single step through that function and first few
BK> assembly instruction of kernel... everything is fine..., but if I run
BK> it on the full speed, I get garbage on console and reboot. Maybe
BK> problem with oscillator configuration... I'm going to check that..
BK> Any other suggestion!?
--
Best regards,
Branko KaraklajicMessage
Re[3]: [lpc2000][SOLVED] Problem on starting uClinux on LPC2292...
2006-02-27 by Branko Karaklajic
Attachments
- No local attachments were found for this message.