Make RTL8187 driver an add-on

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3390 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-03-18 14:41:22 +00:00
parent 0f3a2b3952
commit af8ea75447
2 changed files with 19 additions and 5 deletions

View File

@ -816,7 +816,7 @@ CONFIG_EXAMPLES_NSH_DISABLEBG=n
CONFIG_EXAMPLES_NSH_ROMFSETC=n CONFIG_EXAMPLES_NSH_ROMFSETC=n
CONFIG_EXAMPLES_NSH_CONSOLE=y CONFIG_EXAMPLES_NSH_CONSOLE=y
CONFIG_EXAMPLES_NSH_TELNET=n CONFIG_EXAMPLES_NSH_TELNET=n
CONFIG_EXAMPLES_NSH_ARCHINIT=y CONFIG_EXAMPLES_NSH_ARCHINIT=n
CONFIG_EXAMPLES_NSH_IOBUFFER_SIZE=512 CONFIG_EXAMPLES_NSH_IOBUFFER_SIZE=512
CONFIG_EXAMPLES_NSH_DHCPC=n CONFIG_EXAMPLES_NSH_DHCPC=n
CONFIG_EXAMPLES_NSH_NOMAC=n CONFIG_EXAMPLES_NSH_NOMAC=n

View File

@ -14,6 +14,7 @@ Contents
* Toolchains * Toolchains
- Cygwin Buildroot Toolchain - Cygwin Buildroot Toolchain
- Buildroot Instructions - Buildroot Instructions
* FAQ
* Configurations * Configurations
- ostest - ostest
- nsh - nsh
@ -22,7 +23,7 @@ QEMU
==== ====
QEMU is a generic and open source machine emulator and virtualizer. Here are QEMU is a generic and open source machine emulator and virtualizer. Here are
some links (which are mostly outdated by the time your read this): some links (which will probably be mostly outdated by the time your read this):
Home Page: http://wiki.qemu.org/Main_Page Home Page: http://wiki.qemu.org/Main_Page
Downloads: http://wiki.qemu.org/Download Downloads: http://wiki.qemu.org/Download
@ -34,7 +35,7 @@ Building QEMU
tar zxf qemu-0.14.0.tar.gz tar zxf qemu-0.14.0.tar.gz
cd qemu-0.14.0 cd qemu-0.14.0
./configure ./configure --target-list=i386-softmmu
make make
make install make install
@ -62,8 +63,8 @@ Cygwin Build Problems
2. Try building QEMU with MingGW (I understand that this is difficult). 2. Try building QEMU with MingGW (I understand that this is difficult).
NOTE: As of this writing, I have not been successful getting ANY pre-built NOTE: As of this writing, I have not been successful getting ANY pre-built
version of QEMU to work successful; they all fail immediately with version of QEMU to work successfully with WinXP. The same binaries work
initialization errors. fine on Vista, however.
Running QEMU Running QEMU
------------ ------------
@ -72,6 +73,13 @@ Running QEMU
qemu -cpu 486 -m 2 -kernel nuttx.elf -nographic qemu -cpu 486 -m 2 -kernel nuttx.elf -nographic
The -nographic option redirects COM1 to your console. However, the -nographic
option does not work under Cygwin. For simple testing under Cygwin, I use
qemu -cpu 486 -m 2 -kernel nuttx.elf -serial file:test.txt
which will send COM1 output to the file test.txt.
Toolchains Toolchains
========== ==========
@ -125,6 +133,12 @@ Buildroot Instructions
detailed PLUS some special instructions that you will need to follow if you detailed PLUS some special instructions that you will need to follow if you
run into problems building the toolchain for Cygwin under Windows. run into problems building the toolchain for Cygwin under Windows.
FAQ
===
Q: I get the following error message, "undefined reference to '__stack_chk_fail'"
A: Add -fno-stack-protector to ARCHCPUFLAGS in you Make.defs file.
Configurations Configurations
============== ==============