Home Forum Developers BR4 Appliance Trying to compile switchfin trunk for br4

JRPassphrase Registration Control

In order to register on this site, you must first submit the passphrase below.

TODO list for each hardware target can be found as sticky topic in the corresponding forum


Kuluvalley
useravatar
User Info

Trying to compile switchfin trunk for br4

I'm trying to compile the trunk because  I want a more recent version of Asterisk 1.4 than the one that comes from Atcom.  I don't necessarily need the most recent version but all the br4 tags seem quite old.

When I try and compile I get the error below.

Any help would be much appreciated.

Cheers


tar xjf /tmp/switchfin/root/dl/blackfin-linux-dist-2010R1-RC5.tar.bz2 -C /tmp/switchfin/root/build_br4;
patch -d /tmp/switchfin/root/build_br4/blackfin-linux-dist -p1 < package/uClinux-dist/common/ncpu.patch
patching file Makefile
Hunk #1 succeeded at 44 (offset 1 line).
patch -d /tmp/switchfin/root/build_br4/blackfin-linux-dist -p1 < package/uClinux-dist/common/wget.patch
patching file user/wget/wget-1.11/src/utils.c
patch -d /tmp/switchfin/root/build_br4/blackfin-linux-dist -p1 < package/uClinux-dist/vendors/SwitchVoice/BR4-APPLIANCE/pre_config/mem.patch
patching file linux-2.6.x/arch/blackfin/include/asm/mem_init.h
Hunk #1 succeeded at 13 (offset -1 lines).
Hunk #2 succeeded at 180 with fuzz 1 (offset -2 lines).
patch -d /tmp/switchfin/root/build_br4/blackfin-linux-dist -p1 < package/uClinux-dist/vendors/SwitchVoice/BR4-APPLIANCE/pre_config/flash.patch
patching file linux-2.6.x/drivers/mtd/nand/Kconfig
Hunk #1 FAILED at 37.
Hunk #2 FAILED at 49.
2 out of 2 hunks FAILED -- saving rejects to file linux-2.6.x/drivers/mtd/nand/Kconfig.rej
patching file linux-2.6.x/drivers/mtd/nand/bfin_nand.c
Hunk #1 FAILED at 54.
1 out of 1 hunk FAILED -- saving rejects to file linux-2.6.x/drivers/mtd/nand/bfin_nand.c.rej
make: *** [/tmp/switchfin/root/build_br4/blackfin-linux-dist/.unpacked] Error 1


Administrator has disabled public posting
admin
useravatar
User Info

Re: Trying to compile switchfin trunk for br4

Hi Kuluvalley,

We are migrating Switchfin to kernel 2.6.34 right now and that's why the trunk has some glitches.

If you need stable BR4 code please use SVN rev 424 or just get the image from the switchvoice site http://switchvoice.com/files/uImage-br4-v424M.img

I hope very soon we will have BR4 Appliance working with 2.6.34

Cheers
Dimitar


Administrator has disabled public posting
Kuluvalley
useravatar
User Info

Re: Trying to compile switchfin trunk for br4

Thanks a lot.  I'll just use that image file.

Can I upload these over the Atcom GUI safely?

Cheers


Administrator has disabled public posting
admin
useravatar
User Info

Re: Trying to compile switchfin trunk for br4

Hi Kuluvalley,

I would advice you to update using tftp manually.
The procedure is described in http://switchvoice.com/files/BR4_Aplian … Manual.pdf 

Cheers
Dimitar


Administrator has disabled public posting
Kuluvalley
useravatar
User Info

Re: Trying to compile switchfin trunk for br4

Hi Dimitar,

Thanks for your help,

We up are still experiencing problems with our system even after updating it with the image file you provided at that time.

What is the latest available compiled stable binary/image at this moment?

Thank you very much,

Look forward to hearing from you.


Administrator has disabled public posting

Board Info

Board Stats:   Total Users: 2587  Total Topics: 299  Total Polls: 1  Total Posts: 1727  Dormant
User Info:   Newest User :  user2553   Members Online: 0   Guests Online: 226
Online  There are no members online
Topic
New
Locked
Topic
New
Locked
Sticky
Active
New/Active
Sticky
Active
New/Active
New/Closed
New Sticky
Closed/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky Active Locked
Active/Sticky
Sticky/Locked
Sticky/Active/Locked