2010-04-22 04:15:45     Porting uClinux on Blackfin BF518

Document created by Aaronwu Employee on Aug 21, 2013
Version 1Show Document
  • View in full screen mode

2010-04-22 04:15:45     Porting uClinux on Blackfin BF518

Gautham Kantharaju (INDIA)

Message: 88757   

 

Hi,

 

I am Gautham here, i want to port uClinux on BF518 processor.

 

u-boot is configured and is up.

 

Now I am compiling uClinux source (2009R1-rc6)

 

1) make menuconfig :- In this i am configuring CCLK, SCLK, VCO, CLKDIV, SDRAM and also configuring Initramfs, MTD option.

 

2) make

 

Then transferred the uImage.initramfs through UART.

 

 

 

bfin> bootm 0x01000000

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   Linux-2.6.28.10-ADI-2009R1

   Created:      2010-04-22   7:14:14 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    2370492 Bytes =  2.3 MB

   Load Address: 00002000

   Entry Point:  0010ab58

   Verifying Checksum ... OK

   Uncompressing Kernel Image ...

 

 

Then it hangs.... so I am not getting where the problem is??

 

But when i load vmImage then it uncompresses and following error is displayed " kernel panic not syncing vfs unable to mount root fs on unknown-block 0 0"....

 

I really dont know where the error is...

 

So Please Please help me out!!!!!

 

 

 

Thanks in advance,

 

Gautham

QuoteReplyEditDelete

 

 

2010-04-22 10:07:25     Re: Porting uClinux on Blackfin BF518

Mike Frysinger (UNITED STATES)

Message: 88766   

 

2009R1.1 is the latest release, not 2009R1.  since BF51x was first merged with 2009R1, you really should be using the latest.

 

QuoteReplyEditDelete

 

 

2010-04-23 01:32:06     Re: Porting uClinux on Blackfin BF518

Gautham Kantharaju (INDIA)

Message: 88794   

 

Hi Mike,

 

I solved the "Uncompressing Kernel hanging issue" ....

 

Now I am facing a new issue i.e.

 

1) After uncompressing the kernel I am getting

 

init:- /bin/sh exec failed

 

/bin/sh respwaning too fast.......

 

 

 

***** Mike wat may be the problem *****

 

 

 

Thanks,

 

Gautham

QuoteReplyEditDelete

 

 

2010-04-23 11:27:17     Re: Porting uClinux on Blackfin BF518

Mike Frysinger (UNITED STATES)

Message: 88829   

 

*how* did you solve the uncompression problem ?

 

as for the exec error, make sure your toolchain version matches your kernel, and if you're using FDPIC, check romfs/lib/ to make sure the libraries are there.

 

if that still doesnt work, try searching the forums for that exec error.  people have hit different problems over time that manifested as that.

Attachments

    Outcomes