EA-LPC1788 Board - uCLinux Kernel problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

EA-LPC1788 Board - uCLinux Kernel problem

1,095件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by norbert on Mon Jun 18 14:11:58 MST 2012
Hi,

i have tried to run uClinux on the EA-LPC1788 board.

I used the documentation from emcraft.com. I build the bootloader with the SourceryCode crosscompiler.
Then I copy it on the board...that works nicely.

After that I compiled the kernel (found it in emcraft git repository : https://github.com/EmcraftSystems)

i tried the .config that can loaded with: make ea-lpc1788_defconfig

then i compiled it with a busybox binary:
make uImage (in $PATH is the mkimage)

build without problems.

After that I tried to load it on the board via tftp, first i set the env variables,

then i load the kernel : tftp uImage

Download without problems.

Then I'll try to boot the kernel:
bootm

The problem is that the board hangs up at "Starting Kernel"

Full output:

## Booting kernel from Legacy Image at 0xa0000000 ...
   Image Name:   Linux-2.6.33-arm1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1108864 Bytes =  1.1 MB
   Load Address: a0008000
   Entry Point:  a0008001
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

than it hangs up... :/



then i tried to debug the kernel by compiling KernelHacking -> low-level Debug.

After that I got following error:

...

Starting kernel ...

UNHANDLED EXCEPTION: HARD FAULT
  R0    = 00000055  R1  = 00000020
  R2    = 00112f20  R3  = 03ffffff
  R12   = 00000024  LR  = a000894d
  PC    = a0008924  PSR = 21000200


What to do to fix this? Can someone send me his .config?

Somebody have an idea?


Kind regards,

Norbert
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

887件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by norbert on Fri Jun 22 04:55:12 MST 2012
Thanks, this .config works!

What is the problem with the defconfig? (What is the important diff between the files?)

Regards,

Norbert
0 件の賞賛
返信

887件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by EReyes on Wed Jun 20 18:39:47 MST 2012
Try this config file.

I found quite strange the image didn't boot when using ea-lpc1788_defconfig (tested it myself with similar results).

If you plan to do any serious development with ucLinux, I would recommend ordering their BSP. It is really worth the US $99. The are usually very responsive on email support requests.

What are your boot arguments?
0 件の賞賛
返信