⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 faq.html

📁 ADI 公司blackfin系列的用户使用文挡。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<p>The current default is to only allow two telnet connections into the Blackfin at a given time.  To allow more telnet sessions for the Blackfin, you will need to modify the <code>./uClinux-dist/vendors/AnalogDevices/BFXXX-XXXXX/device_table.txt</code> file.  The last number on the line for /dev/ttyp and /dev/ptyp control the number of telnet sessions available.  In this case, up to 8 telnet sessions are allowed.</p><pre class="code">/dev/ttyp	c	666	0	0	3	0	0	1	8/dev/ptyp	c	666	0	0	2	0	0	1	8</pre></div><!-- SECTION [5897-6446] --><h2><a name="u-boot_takes_forever_to_write_to_flash" id="u-boot_takes_forever_to_write_to_flash">U-Boot takes forever to write to flash!</a></h2><div class="level2"><p>There was a bug in the flash driver in older versions of U-Boot (and thus the version found on many shipped boards) that caused flash operations to take an inordinate amount of time, even with quite small files. If you install the <a href="http://blackfin.uclinux.org/frs/?group_id=20" class="urlextern" title="http://blackfin.uclinux.org/frs/?group_id=20"  rel="nofollow">latest release</a> of U-Boot, the amount of time required to write to flash should return to normal.</p></div><!-- SECTION [6447-6876] --><h2><a name="i_get_bfin-uclinux-mkimagecommand_not_found_errors" id="i_get_bfin-uclinux-mkimagecommand_not_found_errors">I get &quot;bfin-uclinux-mkimage: command not found&quot; errors</a></h2><div class="level2"><p>The 2005R3 release of the toolchain omitted this program.  You should upgrade to the latest release where this issue has been rectified.</p><p>If you are building the toolchain yourself using the <a href="toolchain_build_script.html" class="wikilink1" title="toolchain_build_script.html">BuildToolChain script</a>, you need to specify the uboot source code using the -u option, otherwise the additional tools (such as mkimage) will be omitted.</p></div><!-- SECTION [6877-7315] --><h2><a name="what_does_a_normal_boot_look_like" id="what_does_a_normal_boot_look_like">What does a normal Boot Look like?</a></h2><div class="level2"><p>Booting on a BF533-STAMP, with a recent (R4) image, with a ram rootfs looks something like:</p><pre class="code">stamp&gt;bootm## Booting image at 01000000 ...   Image Name:   uClinux Kernel and Filesystem   Created:      2006-03-23   5:48:47 UTC   Image Type:   Blackfin Linux Kernel Image (gzip compressed)   Data Size:    2829207 Bytes =  2.7 MB   Load Address: 00001000   Entry Point:  00001000   Verifying Checksum ... OK   Uncompressing Kernel Image ... OKStarting Kernel at = 1000Linux version 2.6.12.1-BFIN-2005R4 (rgetz@home) (gcc version 3.4.4 (Blackfin 05RBlackfin support (C) 2004 Analog Devices, Inc.ADSP-BF533 Rev. 0.3uClinux/BF533Blackfin uClinux support by blackfin.uclinux.orgProcessor Speed: 398 MHz core clock and 79 Mhz System ClockBoard Memory: 128MBMemory map:  text = 0x001000-0x0d9d58  data = 0x0e6838-0x112fec  bss  = 0x112ff0-0x1204b4  rootfs = 0x7700000-0x7f00000  stack = 0x0e8000-0x0ea000Command line: 'root=/dev/mtdblock0 rw'Instruction Cache EnabledData Cache Enabled (write-through)Hardware Trace EnabledBuilt 1 zonelistsKernel command line: root=/dev/mtdblock0 rwConfiguring Blackfin Priority Driven InterruptsPID hash table entries: 256 (order: 8, 4096 bytes)Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)Physical pages: 3c00Memory available: 59648k/130149k RAM, (49k init code, 867k kernel code, 231k datBlackfin Scratchpad data SRAM: 4 KBBlackfin DATA_A SRAM: 16 KBBlackfin DATA_B SRAM: 16 KBSecurity Framework v1.0.0 initializedCapability LSM initializedMount-cache hash table entries: 512NET: Registered protocol family 16Blackfin DMA Controller for BF533stamp_init(): registering device resourcesReal Time Clock Driver v1.10eblackfin_dpmc_initDynamic Power Management Controller: major=10, minor = 254DPMC Driver v0.1BlackFin BF533 serial driver version 2.00 With DMA Supportio scheduler noop registeredio scheduler cfq registeredRAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksizesmc91x.c: v1.1, sep 22 2004 by Nicolas Pitre &lt;nico@cam.org&gt;Blackfin SMC91x interrupt setup: flag PF7, irq 27eth0: SMC91C11xFD (rev 1) at 20300300 IRQ 27 [nowait]eth0: Ethernet addr: 00:e0:22:fe:07:91uclinux[mtd]: RAM probe address=0x7700000 size=0x800000Creating 1 MTD partitions on &quot;RAM&quot;:0x00000000-0x00800000 : &quot;EXT2fs&quot;uclinux[mtd0]: set EXT2fs to be root filesystemNET: Registered protocol family 2IP: routing cache hash table of 512 buckets, 4KbytesTCP established hash table entries: 2048 (order: 2, 16384 bytes)TCP bind hash table entries: 2048 (order: 1, 8192 bytes)TCP: Hash tables configured (established 2048 bind 2048)NET: Registered protocol family 1NET: Registered protocol family 17VFS: Mounted root (ext2 filesystem).Freeing unused kernel memory: 48k freed (0xda000 - 0xe5000)ttyS0 at irq = 21 is a builtin BlackFin UARTbfin_change_speed: baud = 57600, cval = 0x13Welcome to:       ____ _  _      /  __| ||_|             _  _ _   _| |  | | _ ____  _   _ \ \/ /| | | | |  | || |  _ \| | | | \  /| |_| | |__| || | | | | |_| | /  \|  ___\____|_||_|_| |_|\____|/_/\_\|_|For further information see:http://www.uclinux.org/http://blackfin.uclinux.org/BusyBox v1.00 (2006.02.17-14:21+0000) Built-in shell (msh)Enter 'help' for a list of built-in commands.root:~&gt; </pre></div><!-- SECTION [7316-10732] --><h2><a name="i_want_to_learn_more_about_linux_development._can_you_recommend_a_good_resource" id="i_want_to_learn_more_about_linux_development._can_you_recommend_a_good_resource">I want to learn more about Linux development.  Can you recommend a good resource?</a></h2><div class="level2"><p>There are many good resources at <a href="references_and_pointers.html#good_books" class="wikilink1" title="references_and_pointers.html">the references and pointers section</a></p></div><!-- SECTION [10733-10935] --><h2><a name="how_do_i_port_applications_to_blackfin_uclinux" id="how_do_i_port_applications_to_blackfin_uclinux">How do I port applications to Blackfin/uClinux</a></h2><div class="level2"><p> <a href="porting_visual_dsp_program_to_uclinux.html" class="wikilink1" title="porting_visual_dsp_program_to_uclinux.html">porting_visual_dsp_program_to_uclinux</a>.</p><p>Also <a href="http://www.rowetel.com/blog/?p=3" class="urlextern" title="http://www.rowetel.com/blog/?p=3"  rel="nofollow">This</a> page describes some of the problems and solutions for porting large multi-threaded applications to uClinux.</p></div><!-- SECTION [10936-11195] --><h2><a name="more_questions_about_u-boot" id="more_questions_about_u-boot">More questions about u-boot?</a></h2><div class="level2"><p><a href="uboot_trouble_shooting.html" class="wikilink1" title="uboot_trouble_shooting.html">uboot_trouble_shooting</a></p></div><!-- SECTION [11196-11264] --><h2><a name="how_to_config_user_login_on_blackfin" id="how_to_config_user_login_on_blackfin">How to config user login on blackfin?</a></h2><div class="level2"><ol><li class="level1"><div class="li"> In blackfin uclinux enviroment, use passwd to modify root passwd. and copy the generated etc/passwd file to your uclinux-dist/vendor/analogdevice/BF53?-STAMP/passwd, so you know what the root passwd is. You can also add other user names in this file.</div></li><li class="level1"><div class="li"> modify uclinux-dist/vendor/analogdevice/BF53?-STAMP/inittab, add one line: <pre class="code">ttyS0::respawn:/bin/getty -L ttyS0 57600 vt100</pre></div></li><li class="level1"><div class="li"> Unselect [Customize Vendor/User Settings] &ndash;&gt; [Core Applications] &ndash;&gt; [enable console shell]. Remove any binary and object files in folder uClinux-dist/user/init/.<pre class="code">~/your-uClinux-dist/&gt; cd user/init~/your-uClinux-dist/user/init/&gt; make clean</pre></div></li><li class="level1"><div class="li"> Select Customize Vendor/User Settings] &ndash;&gt; [tinylogin] &rarr; (login,getty,passwd,su etc.). Build kernel. <pre class="code"> ~/your-uClinux-dist/&gt; make~/your-uClinux-dist/&gt; cd romfs/bin~/your-uClinux-dist/romfs/bin/&gt; ln -s tinylogin getty~/your-uClinux-dist/romfs/bin/&gt; ln -s tinylogin login~/your-uClinux-dist/romfs/bin/&gt; ln -s tinylogin passwd~/your-uClinux-dist/romfs/bin/&gt; cd ../../~/your-uClinux-dist/&gt; make image</pre></div></li></ol><p>&rsquo; </p></div><!-- SECTION [11265-] --></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -