2011-01-19 22:31:50     Some question about upgrade the 2009R1 to the 2010R1

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

2011-01-19 22:31:50     Some question about upgrade the 2009R1 to the 2010R1

 

zhang zhihua (CHINA)

 

Message: 97555  

 

Hi,I want to upgrade my 2009R1 to the 2010R1,but there are some question:

 

I do it like this:

 

1.download the blackfin-linux-dist-2010R1-RC5.tar.bz2 from "  blackfin.uclinux.org/gf/project/uclinux-

 

dist/frs",decompress it and use it to replace the /home/uClinux-dist

 

2.download the blackfin-toolchain-2010R1-RC4.i386.rpm and blackfin-toolchain-uclibc-full-2010R1-RC4.i386.rpm

 

from   blackfin.uclinux.org/gf/project/toolchain/frs,conversion it to the "blackfin-toolchain_2010R-

 

1_i386.deb" and "blackfin-toolchain-uclibc-full_2010R-1_i386.deb",then run "sudo dpkg -i blackfin-

 

toolchain_2010R-1_i386.deb" and "sudo dpkg -i blackfin-toolchain-uclibc-full_2010R-1_i386.deb" to install;

 

3.>/:cd uClinux-dist

 

  >/:make config

 

  >/:make dep

 

  >:/make

 

  but errors:

 

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I/home/uClinux-dist/user/strace/strace-4.5.20 -I/home/uClinux-

 

dist/user/strace/strace-4.5.20/linux/bfin -I/home/uClinux-dist/user/strace/strace-4.5.20/linux  -DEMBED -

 

D__uClinux__ -I/home/uClinux-dist  -mcpu=bf518-0.0 -Wall -pipe -Wall -g -O2      -mcpu=bf518-0.0 -c

 

/home/uClinux-dist/user/strace/strace-4.5.20/system.c

 

/home/uClinux-dist/user/strace/strace-4.5.20/system.c:321:26: error: asm/cachectl.h: No such file or directory

 

/home/uClinux-dist/user/strace/strace-4.5.20/system.c:324: error: ‘ICACHE’ undeclared here (not in a

 

function)

 

/home/uClinux-dist/user/strace/strace-4.5.20/system.c:325: error: ‘DCACHE’ undeclared here (not in a

 

function)

 

/home/uClinux-dist/user/strace/strace-4.5.20/system.c:326: error: ‘BCACHE’ undeclared here (not in a

 

function)

 

make[5]: *** [system.o] Error 1

 

make[5]: Leaving directory `/home/uClinux-dist/user/strace/build-strace-4.5.20'

 

make[4]: *** [install] Error 2

 

make[4]: Leaving directory `/home/uClinux-dist/user/strace/build-strace-4.5.20'

 

make[3]: *** [all] Error 2

 

make[3]: Leaving directory `/home/uClinux-dist/user/strace'

 

make[2]: *** [strace] Error 2

 

make[2]: Leaving directory `/home/uClinux-dist/user'

 

make[1]: *** [all] Error 2

 

make[1]: Leaving directory `/home/uClinux-dist/user'

 

make: *** [subdirs] Error 1

 

TranslateQuoteReplyEditDelete

 

2011-01-19 23:30:47     Re: Some question about upgrade the 2009R1 to the 2010R1

 

Mike Frysinger (UNITED STATES)

 

Message: 97556  

 

your toolchain install is broken.  we do not support installing rpm's on a non-rpm distro.  once again, please follow the directions we've given you multiple times:

 

  docs.blackfin.uclinux.org/doku.php?id=toolchain:installing

 

you're clearly using a deb based distro, so use the Debian-based instructions.

 

QuoteReplyEditDelete

 

2011-01-20 00:52:24     Re: Some question about upgrade the 2009R1 to the 2010R1

 

zhang zhihua (CHINA)

 

Message: 97557  

 

Hi,Mike,

 

         I do id it follow the "Installing Packages on a Debian-based distro",like this:

 

1.$ sudo su -

 

# mkdir -p /etc/apt/sources.list.d

 

# echo deb   download.analog.com/27516/distros/debian stable main > /etc/apt/sources.list.d/blackfin.sources.list

 

2.#sudo apt-get update

 

Ign   download.analog.com stable Release.gpg                           

 

Ign   download.analog.com stable/main Translation-en_US              

 

Ign   download.analog.com stable Release                              

 

Ign   download.analog.com stable/main Packages                        

 

Get:1   download.analog.com stable/main Packages [521B]               

 

Hit   us.archive.ubuntu.com jaunty Release.gpg

 

Ign   us.archive.ubuntu.com jaunty/main Translation-en_US

 

Ign   us.archive.ubuntu.com jaunty/restricted Translation-en_US

 

Ign   us.archive.ubuntu.com jaunty/universe Translation-en_US

 

Ign   us.archive.ubuntu.com jaunty/multiverse Translation-en_US

 

Hit   us.archive.ubuntu.com jaunty Release

 

Hit   us.archive.ubuntu.com jaunty/main Packages                       

 

Hit   us.archive.ubuntu.com jaunty/restricted Packages                 

 

Hit   us.archive.ubuntu.com jaunty/main Sources                        

 

Hit   us.archive.ubuntu.com jaunty/restricted Sources                  

 

Hit   us.archive.ubuntu.com jaunty/universe Packages                   

 

Hit   us.archive.ubuntu.com jaunty/universe Sources                    

 

Hit   us.archive.ubuntu.com jaunty/multiverse Packages                 

 

Hit   us.archive.ubuntu.com jaunty/multiverse Sources                  

 

Fetched 521B in 7s (68B/s)                                                  

 

Reading package lists... Done

 

3.# sudo apt-get install blackfin-toolchain-uclinux blackfin-toolchain-linux-uclibc

 

Reading package lists... Done

 

Building dependency tree    

 

Reading state information... Done

 

The following packages were automatically installed and are no longer required:

 

  linux-headers-2.6.28-11 linux-headers-2.6.28-11-generic

 

Use 'apt-get autoremove' to remove them.

 

Suggested packages:

 

  blackfin-toolchain-elf

 

The following NEW packages will be installed:

 

  blackfin-toolchain-linux-uclibc blackfin-toolchain-uclinux

 

0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

 

Need to get 119MB of archives.

 

After this operation, 374MB of additional disk space will be used.

 

WARNING: The following packages cannot be authenticated!

 

  blackfin-toolchain-linux-uclibc blackfin-toolchain-uclinux

 

Install these packages without verification [y/N]?

 

E: Some packages could not be authenticated

 

But I have got the same error!

 

                                                                                                   Thanks!

 

TranslateQuoteReplyEditDelete

 

2011-01-20 01:00:42     Re: Some question about upgrade the 2009R1 to the 2010R1

 

zhang zhihua (CHINA)

 

Message: 97558  

 

>/:echo $PATH

 

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/home/opt/uClinux/bfin-linux-uclibc/bin:/home/opt/uClinux/bfin-uclinux/bin

 

I found that the /home/opt/  dir isn't update!I must replace it with the latest one?

 

TranslateQuoteReplyEditDelete

 

2011-01-20 03:07:03     Re: Some question about upgrade the 2009R1 to the 2010R1

 

zhang zhihua (CHINA)

 

Message: 97562  

 

It's Ok!Thanks!

 

TranslateQuoteReplyEditDelete

 

2011-01-20 13:54:59     Re: Some question about upgrade the 2009R1 to the 2010R1

 

Mike Frysinger (UNITED STATES)

 

Message: 97574  

 

env vars are never updated automatically.  it is completely up to you to manage it.

Attachments

    Outcomes