/l3/users/kolja/toolchain/localhost.localdomain/root :1 |
|
#dpkg -l | grep black
ii blackfin-toolc 06r2-6 The GNU toolchain for Blackfin ii blackfin-toolc 06r2-6 An add-on for the bfin-elf toolchain based o ii blackfin-toolc 06r2-6 gcc-3.4 add-on for the Blackfin toolchain ii kblackbox 3.3.2-1 A simple logical game for the KDE project |
#. /etc/bash_completion
|
#vi /etc/bash.bashrc
14,16c14,16 < #if [ -f /etc/bash_completion ]; then < # . /etc/bash_completion < #fi --- > if [ -f /etc/bash_completion ]; then > . /etc/bash_completion > fi |
#dpkg -P blackfin-toolchain
blackfin-toolchain blackfin-toolchain-elf-gcc-3.4-addon blackfin-toolchain-gcc-3.4-addon |
#dpkg -P blackfin-toolchain-gcc-3.4-addon
(Reading database ... 99776 files and directories currently installed.) Removing blackfin-toolchain-gcc-3.4-addon ... dpkg - warning: while removing blackfin-toolchain-gcc-3.4-addon, directory `/opt/uClinux/bfin-uclinux/bin' not empty so not removed. dpkg - warning: while removing blackfin-toolchain-gcc-3.4-addon, directory `/opt/uClinux/bfin-uclinux' not empty so not removed. |
#dpkg -P blackfin-toolchain-elf-gcc-3.4-addon
(Reading database ... 99447 files and directories currently installed.) Removing blackfin-toolchain-elf-gcc-3.4-addon ... dpkg - warning: while removing blackfin-toolchain-elf-gcc-3.4-addon, directory `/opt/uClinux' not empty so not removed. dpkg - warning: while removing blackfin-toolchain-elf-gcc-3.4-addon, directory `/opt' not empty so not removed. |
#dpkg -P blackfin-toolchain
(Reading database ... 99117 files and directories currently installed.) Removing blackfin-toolchain ... |
#ls
dbootstrap_settings install-report.template |
#cd /home/kolja/Desktop/
|
#ls
214486689ADSP_21371_SHARC_Anomaly_List_for_Revision_0.0_Rev_B_01_03_07.pdf 6062s.pdf 6221s.pdf 6249s.pdf toolchain |
#cd toolchain/
|
#ls
toolchain |
#cd toolchain/
|
#ls
06r2-rc5_3.4_toolchain_log.tar.gz blackfin-toolchain-06r2-5.src.tar.gz blackfin-toolchain-gcc-3.4-addon-06r2-5.i386.rpm 06r2-rc5_4.1_toolchain_log.tar.gz blackfin-toolchain-elf-gcc-3.4-addon-06r2-5.i386.rpm blackfin-toolchain-gcc-3.4-addon-06r2-5.i386.tar.gz blackfin-toolchain-06r2-5.i386.rpm blackfin-toolchain-elf-gcc-3.4-addon-06r2-5.i386.tar.gz test_scripts.tar.gz blackfin-toolchain-06r2-5.i386.tar.gz blackfin-toolchain-elf-gcc-4.1-06r2-5.i386.rpm toolchain_2006R2_release_notes.pdf blackfin-toolchain-06r2-5.src.rpm blackfin-toolchain-elf-gcc-4.1-06r2-5.i386.tar.gz |
#alien -i blackfin-toolchain-*
dpkg: error processing blackfin-toolchain-06r2_5.i386-2_all.deb (--install): trying to overwrite `/opt/uClinux/bfin-uclinux/share/locale/zh_TW/LC_MESSAGES/cpplib.mo', which is also in package blackfin-toolchain dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: blackfin-toolchain-06r2_5.i386-2_all.deb dpkg: error processing blackfin-toolchain-elf-gcc-3.4-addon-06r2_5.i386-2_all.deb (--install): trying to overwrite `/opt/uClinux/bfin-elf/libexec/gcc/bfin-elf/3.4.6/cc1plus', which is also in package blackfin-toolchain-elf-gcc-3.4-addon dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: blackfin-toolchain-elf-gcc-3.4-addon-06r2_5.i386-2_all.deb dpkg: error processing blackfin-toolchain-elf-gcc-4.1-06r2_5.i386-2_all.deb (--install): trying to overwrite `/opt/uClinux/bfin-elf/share/locale/zh_TW/LC_MESSAGES/cpplib.mo', which is also in package blackfin-toolchain-elf-gcc-4.1 dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: blackfin-toolchain-elf-gcc-4.1-06r2_5.i386-2_all.deb dpkg: error processing blackfin-toolchain-gcc-3.4-addon-06r2_5.i386-2_all.deb (--install): trying to overwrite `/opt/uClinux/bfin-uclinux/libexec/gcc/bfin-uclinux/3.4.6/cc1plus', which is also in package blackfin-toolchain-gcc-3.4-addon dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: blackfin-toolchain-gcc-3.4-addon-06r2_5.i386-2_all.deb |
#ls /cdrom
README.txt U-Boot autorun.inf docs html index.html kernel toolchain uClinux CD Cover (2006R2).doc |
#ls /cdrom/U-Boot/
u-boot_1.1.3.tar.bz2 u-boot_ezkit561.hex.gz u-boot_stamp537.bin uboot_06r2-rc1_ezkit533_log.tar.gz u-boot_ezkit533.bin u-boot_stamp533.bin u-boot_stamp537.hex.gz uboot_06r2-rc1_ezkit561_log.tar.gz u-boot_ezkit533.hex.gz u-boot_stamp533.hex.gz u-boot_stamp537_spi_boot.ldr uboot_06r2-rc1_stamp533_log.tar.gz u-boot_ezkit561.bin u-boot_stamp533_spi_boot.ldr u-boot_stamp537_uart_boot.ldr uboot_06r2-rc1_stamp537_log.tar.gz |
#ls -l /cdrom/U-Boot/
total 9372 -r-xr-xr-x 1 root root 7648937 Dec 8 14:55 u-boot_1.1.3.tar.bz2 -r-xr-xr-x 1 root root 97500 Oct 2 13:57 u-boot_ezkit533.bin -r-xr-xr-x 1 root root 98515 Oct 2 13:58 u-boot_ezkit533.hex.gz -r-xr-xr-x 1 root root 94356 Oct 2 13:58 u-boot_ezkit561.bin -r-xr-xr-x 1 root root 95286 Oct 2 13:58 u-boot_ezkit561.hex.gz -r-xr-xr-x 1 root root 113540 Oct 2 13:58 u-boot_stamp533.bin -r-xr-xr-x 1 root root 107872 Oct 2 13:58 u-boot_stamp533.hex.gz -r-xr-xr-x 1 root root 112820 Oct 2 13:59 u-boot_stamp533_spi_boot.ldr -r-xr-xr-x 1 root root 109420 Oct 2 13:59 u-boot_stamp537.bin -r-xr-xr-x 1 root root 103495 Oct 2 13:59 u-boot_stamp537.hex.gz -r-xr-xr-x 1 root root 107444 Oct 2 13:59 u-boot_stamp537_spi_boot.ldr -r-xr-xr-x 1 root root 109820 Oct 2 13:59 u-boot_stamp537_uart_boot.ldr -r-xr-xr-x 1 root root 54064 Dec 8 14:37 uboot_06r2-rc1_ezkit533_log.tar.gz -r-xr-xr-x 1 root root 229694 Dec 8 14:37 uboot_06r2-rc1_ezkit561_log.tar.gz -r-xr-xr-x 1 root root 247124 Dec 8 14:36 uboot_06r2-rc1_stamp533_log.tar.gz -r-xr-xr-x 1 root root 262333 Dec 8 14:35 uboot_06r2-rc1_stamp537_log.tar.gz |
#file /cdrom/U-Boot/u-boot_ezkit533.bin
/cdrom/U-Boot/u-boot_ezkit533.bin: data |
#file /dev/hda
/dev/hda: block special (3/0) |
#file -s /dev/hda
/dev/hda: writable, no read permission |
#file /bin/ls
/bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped |
#cp /cdrom/U-Boot/u-boot_1.1.3.tar.bz2 /home/kolja/Desktop/toolchain/
|
#cd /home/kolja/Desktop/
|
#mv toolchain blackfin
|
#cd blackfin
|
#ls -l
total 7492 drwxr-xr-x 2 kolja kolja 4096 Jan 25 14:20 make-example dr-xr-xr-x 2 kolja kolja 4096 Jan 25 14:17 toolchain -r-xr-xr-x 1 root root 7648937 Jan 25 14:29 u-boot_1.1.3.tar.bz2 |
#tar xvfj u-boot_1.1.3.tar.bz2
u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/pm/rttarget/pm.c u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/pm/rttarget/vflat.c u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/pm/rttarget/ztimer.c u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/pm/smx/ u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/pm/smx/CVS/ u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/pm/smx/CVS/Root u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/pm/smx/CVS/Repository u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/pm/smx/CVS/Entries u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/pm/smx/CVS/Tag u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/pm/smx/_event.asm ... u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/v86bios/working_cards u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/v86bios/x86emu.c u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/x86emu/ u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/x86emu/CVS/ u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/x86emu/CVS/Root u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/x86emu/CVS/Repository u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/x86emu/CVS/Entries u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/x86emu/CVS/Tag u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/x86emu/decode.c u-boot_1.1.3/board/MAI/bios_emulator/scitech/src/x86emu/LICENSE |
#cd u-boot_1.1.3/
|
#ls -l
total 492 -rw-r--r-- 1 1002 kolja 111130 Mar 13 2005 CHANGELOG -rw-r--r-- 1 1002 kolja 15701 Mar 13 2005 COPYING -rw-r--r-- 1 1002 kolja 9710 Mar 13 2005 CREDITS drwxr-xr-x 2 1002 kolja 4096 Oct 19 06:22 CVS -rw-r--r-- 1 1002 kolja 9179 Mar 13 2005 MAINTAINERS -rwxr-xr-x 1 1002 kolja 7293 Mar 13 2005 MAKEALL -rw-r--r-- 1 1002 kolja 51641 Sep 29 06:35 Makefile -rw-r--r-- 1 1002 kolja 115169 Mar 13 2005 README -rw-r--r-- 1 1002 kolja 908 Mar 13 2005 arm_config.mk ... -rw-r--r-- 1 1002 kolja 905 Mar 13 2005 mips_config.mk -rwxr-xr-x 1 1002 kolja 1237 Mar 13 2005 mkconfig drwxr-xr-x 3 1002 kolja 4096 Oct 24 05:21 net -rw-r--r-- 1 1002 kolja 958 Mar 13 2005 nios2_config.mk -rw-r--r-- 1 1002 kolja 947 Mar 13 2005 nios_config.mk drwxr-xr-x 4 1002 kolja 4096 Oct 19 12:01 post -rw-r--r-- 1 1002 kolja 936 Mar 13 2005 ppc_config.mk drwxr-xr-x 3 1002 kolja 4096 Oct 24 05:21 rtc drwxr-xr-x 3 1002 kolja 4096 Oct 19 06:22 test_scripts drwxr-xr-x 11 1002 kolja 4096 Oct 24 05:21 tools |
#less README
|
#make ezkit533_config
Configuring for ezkit533 board... |
#ls
CHANGELOG MAKEALL board doc i386_config.mk lib_i386 lib_nios2 mkconfig ppc_config.mk COPYING Makefile common drivers include lib_m68k lib_ppc net rtc CREDITS README config.mk dtt lib_arm lib_microblaze m68k_config.mk nios2_config.mk test_scripts CVS arm_config.mk cpu examples lib_blackfin lib_mips microblaze_config.mk nios_config.mk tools MAINTAINERS blackfin_config.mk disk fs lib_generic lib_nios mips_config.mk post |
#less Makefile
|
#less mkconfig
|
#less Makefile
|
#less mkconfig
|
#ls
CHANGELOG MAKEALL board doc i386_config.mk lib_i386 lib_nios2 mkconfig ppc_config.mk COPYING Makefile common drivers include lib_m68k lib_ppc net rtc CREDITS README config.mk dtt lib_arm lib_microblaze m68k_config.mk nios2_config.mk test_scripts CVS arm_config.mk cpu examples lib_blackfin lib_mips microblaze_config.mk nios_config.mk tools MAINTAINERS blackfin_config.mk disk fs lib_generic lib_nios mips_config.mk post |
#less Makefile
|
#make u-boot
make[1]: bfin-uclinux-gcc: Command not found make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/tools' make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/tools' ln -s ../common/environment.c environment.c ln -s ../lib_generic/crc32.c crc32.c gcc -M -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x01FC0000 -DUSE_HOSTCC environment.c img2srec.c mkimage.c crc32.c envcrc.c gen_eth_addr.c bmp_logo.c > .depend make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/tools' make[1]: bfin-uclinux-gcc: Command not found make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/tools' make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/tools' ... make[1]: *** [.depend] Error 127 make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post' make[1]: bfin-uclinux-gcc: Command not found make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post/cpu' make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post/cpu' bfin-uclinux-gcc -M -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes asm.S cmp.c cmpi.c two.c twox.c three.c threex.c threei.c andi.c srawi.c rlwnm.c rlwinm.c rlwimi.c /bin/sh: line 1: bfin-uclinux-gcc: command not found make[1]: *** [.depend] Error 127 make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post/cpu' make: *** [depend] Error 2 |
#ls /opt/
uClinux |
#ls /opt/uClinux/bfin-
ls: /opt/uClinux/bfin-: No such file or directory |
#ls /opt/uClinux/bfin-*
/opt/uClinux/bfin-elf: bfin-elf bin include info lib libexec man share /opt/uClinux/bfin-uclinux: bin lib libexec |
#ls /opt/uClinux/bfin-uclinux/bin/
bfin-uclinux-c++-3.4.6 bfin-uclinux-g++-3.4.6 bfin-uclinux-gcc-3.4.6 |
#ls -l /opt/uClinux/bfin-uclinux/bin/
total 252 -rwxr-xr-x 2 root root 81836 Nov 9 13:19 bfin-uclinux-c++-3.4.6 -rwxr-xr-x 2 root root 81836 Nov 9 13:19 bfin-uclinux-g++-3.4.6 -rwxr-xr-x 1 root root 81388 Nov 9 13:19 bfin-uclinux-gcc-3.4.6 |
#ls -li /opt/uClinux/bfin-uclinux/bin/
total 252 729000 -rwxr-xr-x 2 root root 81836 Nov 9 13:19 bfin-uclinux-c++-3.4.6 729000 -rwxr-xr-x 2 root root 81836 Nov 9 13:19 bfin-uclinux-g++-3.4.6 729001 -rwxr-xr-x 1 root root 81388 Nov 9 13:19 bfin-uclinux-gcc-3.4.6 |
#cd /opt/uClinux/bfin-uclinux/bin/
|
#cd -
/home/kolja/Desktop/blackfin/u-boot_1.1.3 |
#ln -s /opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gcc-3.4.6 /usr/local/bin/bfin-uclinux-gcc
|
#make u-boot
make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/tools' make[1]: `.depend' is up to date. make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/tools' make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/examples' make[1]: `.depend' is up to date. make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/examples' make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post' make[1]: `.depend' is up to date. make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post' make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post/cpu' ... {standard input}:92: Error: no such instruction: `r7 +=1' {standard input}:93: Error: invalid character '.' in mnemonic {standard input}:103: Error: no such instruction: `if cc jump L$L$8 (bp)' {standard input}:111: Error: no such instruction: `unlink' {standard input}:112: Error: junk at end of line, first unrecognized character is `(' {standard input}:113: Error: junk at end of line, first unrecognized character is `(' {standard input}:116: Error: no such instruction: `rts' make[1]: *** [hello_world.o] Error 1 make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/examples' make: *** [examples] Error 2 |
#less Makefile
|
#vi Makefile
163a164,166 > > SUBDIRS = tools > |
#make clean
find . -type f \ \( -name 'core' -o -name '*.bak' -o -name '*~' \ -o -name '*.o' -o -name '*.a' \) -print \ | xargs rm -f rm -f examples/hello_world examples/timer \ examples/eepro100_eeprom examples/sched \ examples/mem_to_mem_idma2intr examples/82559_eeprom \ examples/smc91111_eeprom rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr rm -f tools/mpc86x_clk tools/ncb rm -f tools/easylogo/easylogo tools/bmp_logo rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend rm -f tools/env/fw_printenv tools/env/fw_setenv rm -f tools/bin2ldr/app.bin tools/bin2ldr/app.hex tools/bin2ldr/app.ldr rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image rm -f board/trab/trab_fkt |
#make
make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/tools' make[1]: `.depend' is up to date. make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/tools' make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post' make[1]: `.depend' is up to date. make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post' make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post/cpu' make[1]: `.depend' is up to date. make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post/cpu' make -C tools all make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/tools' gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x01FC0000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x01FC0000 -DUSE_HOSTCC -O -o img2srec img2srec.o strip img2srec gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x01FC0000 -DUSE_HOSTCC -O -c mkimage.c make[1]: *** [mkimage.o] Interrupt make: *** [tools] Interrupt |
#make clean
find . -type f \ \( -name 'core' -o -name '*.bak' -o -name '*~' \ -o -name '*.o' -o -name '*.a' \) -print \ | xargs rm -f rm -f examples/hello_world examples/timer \ examples/eepro100_eeprom examples/sched \ examples/mem_to_mem_idma2intr examples/82559_eeprom \ examples/smc91111_eeprom rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr rm -f tools/mpc86x_clk tools/ncb rm -f tools/easylogo/easylogo tools/bmp_logo rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend rm -f tools/env/fw_printenv tools/env/fw_setenv rm -f tools/bin2ldr/app.bin tools/bin2ldr/app.hex tools/bin2ldr/app.ldr rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image rm -f board/trab/trab_fkt |
#make u-boot
make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/tools' make[1]: `.depend' is up to date. make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/tools' make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post' make[1]: `.depend' is up to date. make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post' make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post/cpu' make[1]: `.depend' is up to date. make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post/cpu' make -C tools all ... In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/common.h:35, from watchdog.c:24: /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:71:1: warning: "CONFIG_BOOTARGS" redefined /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:13:1: warning: this is the location of the previous definition bfin-uclinux-ar cr libpost.a cache_8xx.o cache.o codec.o cpu.o dsp.o ether.o i2c.o memory.o post.o rtc.o spr.o sysmon.o tests.o uart.o usb.o watchdog.o make[1]: bfin-uclinux-ar: Command not found make[1]: *** [libpost.a] Error 127 make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post' make: *** [post] Error 2 |
#ls /opt/uClinux/bfin-
bfin-elf bfin-uclinux |
#ls /opt/uClinux/bfin-uclinux/
bin lib libexec |
#ls /opt/uClinux/bfin-uclinux/bin/
bfin-uclinux-c++-3.4.6 bfin-uclinux-g++-3.4.6 bfin-uclinux-gcc-3.4.6 |
#whatis ar
ar: nothing appropriate. |
#man ar
|
#ls /opt/uClinux/
bfin-elf bfin-uclinux |
#ls /opt/uClinux/bfin-elf/
bfin-elf bin include info lib libexec man share |
#ls /opt/uClinux/bfin-elf/bin/
bfin-elf-addr2line bfin-elf-c++-3.4.6 bfin-elf-elf2flt bfin-elf-g++-4.1.1 bfin-elf-gccbug bfin-elf-ld bfin-elf-objdump bfin-elf-size bfin-elf-ar bfin-elf-c++-4.1.1 bfin-elf-flthdr bfin-elf-gcc bfin-elf-gcov bfin-elf-ld.real bfin-elf-ranlib bfin-elf-strings bfin-elf-as bfin-elf-c++filt bfin-elf-g++ bfin-elf-gcc-3.4.6 bfin-elf-gdb bfin-elf-nm bfin-elf-readelf bfin-elf-strip bfin-elf-c++ bfin-elf-cpp bfin-elf-g++-3.4.6 bfin-elf-gcc-4.1.1 bfin-elf-gdbtui bfin-elf-objcopy bfin-elf-run |
#ls /home/kolja/Desktop/
214486689ADSP_21371_SHARC_Anomaly_List_for_Revision_0.0_Rev_B_01_03_07.pdf 6062s.pdf 6221s.pdf 6249s.pdf blackfin |
#ls /home/kolja/Desktop//blackfin/toolchain/
06r2-rc5_3.4_toolchain_log.tar.gz blackfin-toolchain-06r2-5.src.tar.gz blackfin-toolchain-gcc-3.4-addon-06r2-5.i386.rpm 06r2-rc5_4.1_toolchain_log.tar.gz blackfin-toolchain-elf-gcc-3.4-addon-06r2-5.i386.rpm blackfin-toolchain-gcc-3.4-addon-06r2-5.i386.tar.gz blackfin-toolchain-06r2-5.i386.rpm blackfin-toolchain-elf-gcc-3.4-addon-06r2-5.i386.tar.gz test_scripts.tar.gz blackfin-toolchain-06r2-5.i386.tar.gz blackfin-toolchain-elf-gcc-4.1-06r2-5.i386.rpm toolchain_2006R2_release_notes.pdf blackfin-toolchain-06r2-5.src.rpm blackfin-toolchain-elf-gcc-4.1-06r2-5.i386.tar.gz |
#tar tvfz /home/kolja/Desktop//blackfin/toolchain/blackfin-toolchain-06r2-5.i386.tar.gz | less
|
#alien -i /home/kolja/Desktop//blackfin/toolchain/blackfin-toolchain-06r2-5.i386.rpm
|
#make u-boot
bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o ctype.o ctype.c bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o display_options.o display_options.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/common.h:35, from display_options.c:24: /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:71:1: warning: "CONFIG_BOOTARGS" redefined /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:13:1: warning: this is the location of the previous definition bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o ldiv.o ldiv.c bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o string.o string.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, ... bf533_linux.c: In function 'make_command_line': bf533_linux.c:86: warning: pointer targets in passing argument 1 of 'getenv' differ in signedness bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o bf533_string.o bf533_string.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/common.h:35, from bf533_string.c:28: /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:71:1: warning: "CONFIG_BOOTARGS" redefined /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:13:1: warning: this is the location of the previous definition bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o cache.o cache.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, |
#vi Makefile
|
#make clean
find . -type f \ \( -name 'core' -o -name '*.bak' -o -name '*~' \ -o -name '*.o' -o -name '*.a' \) -print \ | xargs rm -f rm -f examples/hello_world examples/timer \ examples/eepro100_eeprom examples/sched \ examples/mem_to_mem_idma2intr examples/82559_eeprom \ examples/smc91111_eeprom rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr rm -f tools/mpc86x_clk tools/ncb rm -f tools/easylogo/easylogo tools/bmp_logo rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend rm -f tools/env/fw_printenv tools/env/fw_setenv rm -f tools/bin2ldr/app.bin tools/bin2ldr/app.hex tools/bin2ldr/app.ldr rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image rm -f board/trab/trab_fkt |
#make u-boot
/home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:13:1: warning: this is the location of the previous definition bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o srawi.o srawi.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/common.h:35, from srawi.c:24: /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:71:1: warning: "CONFIG_BOOTARGS" redefined /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:13:1: warning: this is the location of the previous definition bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o rlwnm.o rlwnm.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/common.h:35, ... bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o display_options.o display_options.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/common.h:35, from display_options.c:24: /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:71:1: warning: "CONFIG_BOOTARGS" redefined /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:13:1: warning: this is the location of the previous definition bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o ldiv.o ldiv.c bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o string.o string.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/asm/string.h:34, |
#ls -l
total 1020 -rw-r--r-- 1 1002 kolja 111130 Mar 13 2005 CHANGELOG -rw-r--r-- 1 1002 kolja 15701 Mar 13 2005 COPYING -rw-r--r-- 1 1002 kolja 9710 Mar 13 2005 CREDITS drwxr-xr-x 2 1002 kolja 4096 Oct 19 06:22 CVS -rw-r--r-- 1 1002 kolja 9179 Mar 13 2005 MAINTAINERS -rwxr-xr-x 1 1002 kolja 7293 Mar 13 2005 MAKEALL -rw-r--r-- 1 1002 kolja 51660 Jan 25 14:54 Makefile -rw-r--r-- 1 1002 kolja 115169 Mar 13 2005 README -rw-r--r-- 1 1002 kolja 908 Mar 13 2005 arm_config.mk ... drwxr-xr-x 3 1002 kolja 4096 Jan 25 14:55 net -rw-r--r-- 1 1002 kolja 958 Mar 13 2005 nios2_config.mk -rw-r--r-- 1 1002 kolja 947 Mar 13 2005 nios_config.mk drwxr-xr-x 4 1002 kolja 4096 Jan 25 14:55 post -rw-r--r-- 1 1002 kolja 936 Mar 13 2005 ppc_config.mk drwxr-xr-x 3 1002 kolja 4096 Jan 25 14:55 rtc drwxr-xr-x 3 1002 kolja 4096 Oct 19 06:22 test_scripts drwxr-xr-x 11 1002 kolja 4096 Jan 25 14:55 tools -rwxr-xr-x 1 root root 412095 Jan 25 14:56 u-boot -rw-r--r-- 1 root root 116330 Jan 25 14:56 u-boot.map |
#ls -l /home/kolja/Desktop/
total 2496 -rw-r--r-- 1 kolja kolja 161569 Jan 25 13:32 214486689ADSP_21371_SHARC_Anomaly_List_for_Revision_0.0_Rev_B_01_03_07.pdf -rw-r--r-- 1 kolja kolja 627659 Jan 24 20:02 6062s.pdf -rw-r--r-- 1 kolja kolja 928219 Jan 24 20:02 6221s.pdf -rw-r--r-- 1 kolja kolja 809376 Jan 24 19:57 6249s.pdf drwxr-xr-x 5 kolja kolja 4096 Jan 25 14:30 blackfin |
#ls -l /home/kolja/Desktop/blackfin/
total 7496 drwxr-xr-x 2 kolja kolja 4096 Jan 25 14:20 make-example dr-xr-xr-x 2 kolja kolja 4096 Jan 25 14:17 toolchain drwxr-xr-x 28 1002 kolja 4096 Jan 25 14:56 u-boot_1.1.3 -r-xr-xr-x 1 root root 7648937 Jan 25 14:29 u-boot_1.1.3.tar.bz2 |
#ls -l /home/kolja/Desktop/blackfin/u-boot_1.1.3
total 1020 -rw-r--r-- 1 1002 kolja 111130 Mar 13 2005 CHANGELOG -rw-r--r-- 1 1002 kolja 15701 Mar 13 2005 COPYING -rw-r--r-- 1 1002 kolja 9710 Mar 13 2005 CREDITS drwxr-xr-x 2 1002 kolja 4096 Oct 19 06:22 CVS -rw-r--r-- 1 1002 kolja 9179 Mar 13 2005 MAINTAINERS -rwxr-xr-x 1 1002 kolja 7293 Mar 13 2005 MAKEALL -rw-r--r-- 1 1002 kolja 51660 Jan 25 14:54 Makefile -rw-r--r-- 1 1002 kolja 115169 Mar 13 2005 README -rw-r--r-- 1 1002 kolja 908 Mar 13 2005 arm_config.mk ... drwxr-xr-x 3 1002 kolja 4096 Jan 25 14:55 net -rw-r--r-- 1 1002 kolja 958 Mar 13 2005 nios2_config.mk -rw-r--r-- 1 1002 kolja 947 Mar 13 2005 nios_config.mk drwxr-xr-x 4 1002 kolja 4096 Jan 25 14:55 post -rw-r--r-- 1 1002 kolja 936 Mar 13 2005 ppc_config.mk drwxr-xr-x 3 1002 kolja 4096 Jan 25 14:55 rtc drwxr-xr-x 3 1002 kolja 4096 Oct 19 06:22 test_scripts drwxr-xr-x 11 1002 kolja 4096 Jan 25 14:55 tools -rwxr-xr-x 1 root root 412095 Jan 25 14:56 u-boot -rw-r--r-- 1 root root 116330 Jan 25 14:56 u-boot.map |
#ls -l /cdrom/
total 3112 -r-xr-xr-x 1 root root 475 Jun 6 2006 README.txt dr-xr-xr-x 1 root root 2048 Jan 24 16:43 U-Boot -r-xr-xr-x 1 root root 39 Oct 17 17:37 autorun.inf dr-xr-xr-x 1 root root 28672 Jan 24 16:38 docs dr-xr-xr-x 1 root root 2048 Jan 24 16:38 html -r-xr-xr-x 1 root root 1448 Jan 18 16:58 index.html dr-xr-xr-x 1 root root 4096 Jan 24 16:40 kernel dr-xr-xr-x 1 root root 2048 Jan 24 16:43 toolchain -r-xr-xr-x 1 root root 3144704 Jan 15 11:01 uClinux CD Cover (2006R2).doc |
#ls -l /cdrom/U-Boot/
total 9372 -r-xr-xr-x 1 root root 7648937 Dec 8 14:55 u-boot_1.1.3.tar.bz2 -r-xr-xr-x 1 root root 97500 Oct 2 13:57 u-boot_ezkit533.bin -r-xr-xr-x 1 root root 98515 Oct 2 13:58 u-boot_ezkit533.hex.gz -r-xr-xr-x 1 root root 94356 Oct 2 13:58 u-boot_ezkit561.bin -r-xr-xr-x 1 root root 95286 Oct 2 13:58 u-boot_ezkit561.hex.gz -r-xr-xr-x 1 root root 113540 Oct 2 13:58 u-boot_stamp533.bin -r-xr-xr-x 1 root root 107872 Oct 2 13:58 u-boot_stamp533.hex.gz -r-xr-xr-x 1 root root 112820 Oct 2 13:59 u-boot_stamp533_spi_boot.ldr -r-xr-xr-x 1 root root 109420 Oct 2 13:59 u-boot_stamp537.bin -r-xr-xr-x 1 root root 103495 Oct 2 13:59 u-boot_stamp537.hex.gz -r-xr-xr-x 1 root root 107444 Oct 2 13:59 u-boot_stamp537_spi_boot.ldr -r-xr-xr-x 1 root root 109820 Oct 2 13:59 u-boot_stamp537_uart_boot.ldr -r-xr-xr-x 1 root root 54064 Dec 8 14:37 uboot_06r2-rc1_ezkit533_log.tar.gz -r-xr-xr-x 1 root root 229694 Dec 8 14:37 uboot_06r2-rc1_ezkit561_log.tar.gz -r-xr-xr-x 1 root root 247124 Dec 8 14:36 uboot_06r2-rc1_stamp533_log.tar.gz -r-xr-xr-x 1 root root 262333 Dec 8 14:35 uboot_06r2-rc1_stamp537_log.tar.gz |
#ls -l
total 1020 -rw-r--r-- 1 1002 kolja 111130 Mar 13 2005 CHANGELOG -rw-r--r-- 1 1002 kolja 15701 Mar 13 2005 COPYING -rw-r--r-- 1 1002 kolja 9710 Mar 13 2005 CREDITS drwxr-xr-x 2 1002 kolja 4096 Oct 19 06:22 CVS -rw-r--r-- 1 1002 kolja 9179 Mar 13 2005 MAINTAINERS -rwxr-xr-x 1 1002 kolja 7293 Mar 13 2005 MAKEALL -rw-r--r-- 1 1002 kolja 51660 Jan 25 14:54 Makefile -rw-r--r-- 1 1002 kolja 115169 Mar 13 2005 README -rw-r--r-- 1 1002 kolja 908 Mar 13 2005 arm_config.mk ... drwxr-xr-x 3 1002 kolja 4096 Jan 25 14:55 net -rw-r--r-- 1 1002 kolja 958 Mar 13 2005 nios2_config.mk -rw-r--r-- 1 1002 kolja 947 Mar 13 2005 nios_config.mk drwxr-xr-x 4 1002 kolja 4096 Jan 25 14:55 post -rw-r--r-- 1 1002 kolja 936 Mar 13 2005 ppc_config.mk drwxr-xr-x 3 1002 kolja 4096 Jan 25 14:55 rtc drwxr-xr-x 3 1002 kolja 4096 Oct 19 06:22 test_scripts drwxr-xr-x 11 1002 kolja 4096 Jan 25 14:55 tools -rwxr-xr-x 1 root root 412095 Jan 25 14:56 u-boot -rw-r--r-- 1 root root 116330 Jan 25 14:56 u-boot.map |
#file u-boot
u-boot: ELF 32-bit LSB executable, version 1 (SYSV), statically linked, not stripped |
#file u-boot.map
u-boot.map: ASCII assembler program text |
#less Makefile
|
#ls -l /usr/local/bin/
total 40 lrwxrwxrwx 1 root staff 52 Jan 25 14:38 bfin-uclinux-gcc -> /opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gcc-3.4.6 -rwxr-xr-x 1 root staff 30860 Jan 25 13:55 l3-agent -rw-r--r-- 1 root staff 5707 Jan 25 13:55 l3config.pm |
#make clean
find . -type f \ \( -name 'core' -o -name '*.bak' -o -name '*~' \ -o -name '*.o' -o -name '*.a' \) -print \ | xargs rm -f rm -f examples/hello_world examples/timer \ examples/eepro100_eeprom examples/sched \ examples/mem_to_mem_idma2intr examples/82559_eeprom \ examples/smc91111_eeprom rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr rm -f tools/mpc86x_clk tools/ncb rm -f tools/easylogo/easylogo tools/bmp_logo rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend rm -f tools/env/fw_printenv tools/env/fw_setenv rm -f tools/bin2ldr/app.bin tools/bin2ldr/app.hex tools/bin2ldr/app.ldr rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image rm -f board/trab/trab_fkt |
#make ezkit533_config
Configuring for ezkit533 board... |
#vi Makefile
165c165 < #SUBDIRS = tools --- > SUBDIRS = tools |
#make
/home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:13:1: warning: this is the location of the previous definition bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o load.o load.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/common.h:35, from load.c:24: /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:71:1: warning: "CONFIG_BOOTARGS" redefined /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:13:1: warning: this is the location of the previous definition bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o cr.o cr.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/common.h:35, ... make -C `dirname board/bf533-ezkit/libbf533-ezkit.a` make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/board/bf533-ezkit' bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o bf533-ezkit.o bf533-ezkit.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/common.h:35, from bf533-ezkit.c:28: /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:71:1: warning: "CONFIG_BOOTARGS" redefined /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:13:1: warning: this is the location of the previous definition bf533-ezkit.c: In function 'misc_init_r': bf533-ezkit.c:69: warning: no return statement in function returning non-void |
#make clean
find . -type f \ \( -name 'core' -o -name '*.bak' -o -name '*~' \ -o -name '*.o' -o -name '*.a' \) -print \ | xargs rm -f rm -f examples/hello_world examples/timer \ examples/eepro100_eeprom examples/sched \ examples/mem_to_mem_idma2intr examples/82559_eeprom \ examples/smc91111_eeprom rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr rm -f tools/mpc86x_clk tools/ncb rm -f tools/easylogo/easylogo tools/bmp_logo rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend rm -f tools/env/fw_printenv tools/env/fw_setenv rm -f tools/bin2ldr/app.bin tools/bin2ldr/app.hex tools/bin2ldr/app.ldr rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image rm -f board/trab/trab_fkt |
#make ezkit533_config
Configuring for ezkit533 board... |
#make u-boot
/home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:13:1: warning: this is the location of the previous definition bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o load.o load.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/common.h:35, from load.c:24: /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:71:1: warning: "CONFIG_BOOTARGS" redefined /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:13:1: warning: this is the location of the previous definition bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o cr.o cr.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/common.h:35, ... make -C `dirname board/bf533-ezkit/libbf533-ezkit.a` make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/board/bf533-ezkit' bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o bf533-ezkit.o bf533-ezkit.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/common.h:35, from bf533-ezkit.c:28: /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:71:1: warning: "CONFIG_BOOTARGS" redefined /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:13:1: warning: this is the location of the previous definition bf533-ezkit.c: In function 'misc_init_r': bf533-ezkit.c:69: warning: no return statement in function returning non-void |
#ls -l u-boot
-rwxr-xr-x 1 root root 412095 Jan 25 15:01 u-boot |
#file u-boot
u-boot: ELF 32-bit LSB executable, version 1 (SYSV), statically linked, not stripped |
#less Makefile
|
#ls
CHANGELOG MAKEALL board doc i386_config.mk lib_i386 lib_nios2 mkconfig ppc_config.mk u-boot.map COPYING Makefile common drivers include lib_m68k lib_ppc net rtc CREDITS README config.mk dtt lib_arm lib_microblaze m68k_config.mk nios2_config.mk test_scripts CVS arm_config.mk cpu examples lib_blackfin lib_mips microblaze_config.mk nios_config.mk tools MAINTAINERS blackfin_config.mk disk fs lib_generic lib_nios mips_config.mk post u-boot |
#ls -l u-boot
-rwxr-xr-x 1 root root 412095 Jan 25 15:01 u-boot |
#less u-boot
|
#bin2ldr
bash: bin2ldr: command not found |
#make
make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/tools' make[1]: `.depend' is up to date. make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/tools' make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post' make[1]: `.depend' is up to date. make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post' make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post/cpu' make[1]: `.depend' is up to date. make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post/cpu' make -C tools all ... make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/post/cpu' make -C `dirname common/libcommon.a` make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/common' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/common' UNDEF_SYM=`bfin-uclinux-objdump -x lib_generic/libgeneric.a board/bf533-ezkit/libbf533-ezkit.a cpu/bf533/libbf533.a lib_blackfin/libblackfin.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu. bfin-uclinux-ld -Bstatic -T /home/kolja/Desktop/blackfin/u-boot_1.1.3/board/bf533-ezkit/u-boot.lds -Ttext 0x01FC0000 $UNDEF_SYM cpu/bf533/start.o cpu/bf533/start1.o cpu/bf533/interrupt.o cpu/bf533/cache.o cpu/bf533/cplbhdlr.o cpu/bf533/cplbmgr.o cpu/bf533/flush.o cpu/bf533/init_sdram.o \ --start-group lib_generic/libgeneric.a board/bf533-ezkit/libbf533-ezkit.a cpu/bf533/libbf533.a lib_blackfin/libblackfin.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a com -Map u-boot.map -o u-boot [3]+ Stopped make |
#make clean
find . -type f \ \( -name 'core' -o -name '*.bak' -o -name '*~' \ -o -name '*.o' -o -name '*.a' \) -print \ | xargs rm -f rm -f examples/hello_world examples/timer \ examples/eepro100_eeprom examples/sched \ examples/mem_to_mem_idma2intr examples/82559_eeprom \ examples/smc91111_eeprom rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr rm -f tools/mpc86x_clk tools/ncb rm -f tools/easylogo/easylogo tools/bmp_logo rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend rm -f tools/env/fw_printenv tools/env/fw_setenv rm -f tools/bin2ldr/app.bin tools/bin2ldr/app.hex tools/bin2ldr/app.ldr rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image rm -f board/trab/trab_fkt |
#make
/home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:13:1: warning: this is the location of the previous definition bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o load.o load.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/common.h:35, from load.c:24: /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:71:1: warning: "CONFIG_BOOTARGS" redefined /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:13:1: warning: this is the location of the previous definition bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o cr.o cr.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/common.h:35, ... make -C `dirname board/bf533-ezkit/libbf533-ezkit.a` make[1]: Entering directory `/home/kolja/Desktop/blackfin/u-boot_1.1.3/board/bf533-ezkit' bfin-uclinux-gcc -g -Os -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x01FC0000 -I/home/kolja/Desktop/blackfin/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -D__BLACKFIN__ -DCONFIG_BLACKFIN -D__blackfin__ -I/home/kolja/Desktop/blackfin/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o bf533-ezkit.o bf533-ezkit.c In file included from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/config.h:2, from /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/common.h:35, from bf533-ezkit.c:28: /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:71:1: warning: "CONFIG_BOOTARGS" redefined /home/kolja/Desktop/blackfin/u-boot_1.1.3/include/configs/ezkit533.h:13:1: warning: this is the location of the previous definition bf533-ezkit.c: In function 'misc_init_r': bf533-ezkit.c:69: warning: no return statement in function returning non-void |
Время первой команды журнала | 14:00:48 2007- 1-25 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 18:37:26 2007- 1-25 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 100 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 7.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 1.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.04 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.60 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008