2009-09-15 04:25:08     Building uClinux for the BF548 EZ-KIT LITE Rev 1.3

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

2009-09-15 04:25:08     Building uClinux for the BF548 EZ-KIT LITE Rev 1.3

Louis Ruch (SOUTH AFRICA)

Message: 79925   

 

Hey all,

 

I have worked on Freescale PPC boards a couple of times in the past and just got started using the blackfin.  I have successfully gotten my pc setup to build a new kernel image for my blackfin, however when I load the new image on the board I get the following error. 

 

Kernel panic - not syncing: Error: you are missing anomaly workarounds for this rev

 

I saw the same error when I downloaded one of the uImage file from blackfins website - eventually we found one on the website that did work, However I want to be able to compile the kernel my self - i assume it is some flag I must set or perhaps I will need to add a new board to the setup:

 

  blackfin.uclinux.org/gf/project/uclinux-dist/frs/?action=FrsReleaseBrowse&frs_package_id=76

 

uImage-bf548-ezkit-2008R1.5-RC3 - worked

 

uImage-bf548-ezkit-2008R1-RC8 - worked

 

uImage_BF548-EZKIT - gives same error as i get on my compile

 

TFTP from server 192.168.16.189; our IP address is 192.168.16.233

 

Filename 'uImage'.

Load address: 0x1000000

Loading: #################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

########################

done

Bytes transferred = 5109890 (4df882 hex)

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

Image Name: Linux-2.6.28.10-ADI-2009R1

Created: 2009-09-14 16:01:49 UTC

Image Type: Blackfin Linux Kernel Image (gzip compressed)

Data Size: 5109826 Bytes = 4.9 MB

Load Address: 00001000

Entry Point: 00291b3c

Verifying Checksum ... OK

Uncompressing Kernel Image ... OK

Starting Kernel at = 00291b3c

Linux version 2.6.28.10-ADI-2009R1 (hub@hub-server) (gcc version 4.1.2 (ADI svn)

) #13 Mon Sep 14 18:01:30 SAST 2009

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

fixedcode = 0x00000400-0x00000490

text = 0x00001000-0x001b23a0

rodata = 0x001b23a0-0x00244aa0

bss = 0x00245000-0x0025d5b4

data = 0x0025d5b4-0x0027c000

stack = 0x0027a000-0x0027c000

init = 0x0027c000-0x00992000

available = 0x00992000-0x03dff000

DMA Zone = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

Blackfin support (C) 2004-2009 Analog Devices, Inc.

Compiled for ADSP-BF548 Rev 0.2

Warning: Compiled for Rev 2, but running on Rev 0

Kernel panic - not syncing: Error: you are missing anomaly workarounds for this

rev

 

 

 

 

 

Kind regards,

 

Paladin

QuoteReplyEditDelete

 

 

2009-09-15 05:55:27     Re: Building uClinux for the BF548 EZ-KIT LITE Rev 1.3

Yi Li (CHINA)

Message: 79927   

 

Paladin,

 

The cause of the panic is "Compiled for Rev 2, but running on Rev 0". Your BF548 is Rev 0, while your kernel is build for Rev 2.

 

You can set silicon revsion in: Blackfin Processor Options  ---> Silicon Rev. However, 2009R1 kernel adds check for anomaly, so BF548 rev 0.1 and 0.0 are not supported - they are too old and having anomalies not easily to work around.

 

-Yi

QuoteReplyEditDelete

 

 

2009-09-15 06:32:47     Re: Building uClinux for the BF548 EZ-KIT LITE Rev 1.3

Louis Ruch (SOUTH AFRICA)

Message: 79929   

 

Hey Yi,

 

I could not find any prvious release of uClinux on blackfin website, I see that both version that work are compiled with the 2008 uClinux.  I have downloaded the uClinux dist from source forge but it does not include Analog devices as a vendor.  I am busy making the vendor files using 2009 as a sample.  In case this does not work do you, or anyone else, know if and where the uClinux dist of from blackfin is downloadable?

 

 

 

Regards,

 

Paladin

QuoteReplyEditDelete

 

 

2009-09-15 07:24:18     Re: Building uClinux for the BF548 EZ-KIT LITE Rev 1.3

Mike Frysinger (UNITED STATES)

Message: 79930   

 

all Blackifn support is through this website.  fetching files from elsewhere (i.e. sourceforge) isnt going to work.

 

we've dropped support for BF54x-0.1 and BF54x-0.0 because they have hardware anomalies that cannot be worked around that boil down to random external memory corruption.

QuoteReplyEditDelete

 

 

2009-09-15 08:26:30     Re: Building uClinux for the BF548 EZ-KIT LITE Rev 1.3

Louis Ruch (SOUTH AFRICA)

Message: 79931   

 

Hey Mike,

 

So does that mean the only real way forward is to get a new board?  I have been able to compile the uImage using the linux kernel from 2008 (2.6.25 i think) however I am unable to add a number of applications (iptables, busybox, and havent look further but assume there are others that will fail) the build keeps failing.  This build without any of the anomaly checking does boot - but without the applications it is kinda useless for us.

 

Thanks for the help,

 

Regards,

QuoteReplyEditDelete

 

 

2009-09-15 08:35:18     Re: Building uClinux for the BF548 EZ-KIT LITE Rev 1.3

Mike Frysinger (UNITED STATES)

Message: 79932   

 

you should get a new board.  i imagine if you simply edited the kernel source and removed the check in question, you'd get the same behavior as previous releases, but we cant really support random runtime crashes you may see after that.

QuoteReplyEditDelete

 

 

2009-11-30 09:03:44     Re: Building uClinux for the BF548 EZ-KIT LITE Rev 1.3

Alexey Komarov (RUSSIAN FEDERATION)

Message: 82891   

 

  Have any new information about BF548 rev0.1 ??   How to run linux on this stupid expensive board?

QuoteReplyEditDelete

 

 

2009-11-30 10:45:44     Re: Building uClinux for the BF548 EZ-KIT LITE Rev 1.3

Mike Frysinger (UNITED STATES)

Message: 82892   

 

the anomalies havent changed

Attachments

    Outcomes