From d712452b2adfbdd2b6aaee11e88b176f8911d718 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 28 Apr 2007 22:38:28 +0000 Subject: Updated for 0.2.4 release git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@192 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/ntosd-dm320/doc/README.txt | 67 +++++++++++++++++++++++++++ nuttx/configs/ntosd-dm320/doc/test-result.txt | 28 +++++------ 2 files changed, 81 insertions(+), 14 deletions(-) create mode 100644 nuttx/configs/ntosd-dm320/doc/README.txt (limited to 'nuttx/configs') diff --git a/nuttx/configs/ntosd-dm320/doc/README.txt b/nuttx/configs/ntosd-dm320/doc/README.txt new file mode 100644 index 000000000..dd4790841 --- /dev/null +++ b/nuttx/configs/ntosd-dm320/doc/README.txt @@ -0,0 +1,67 @@ +NuttX on the Neuros Technology OSD +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +References: +^^^^^^^^^^^ + +http://wiki.neurostechnology.com/index.php/Main_Page +http://wiki.neurostechnology.com/index.php/OSD_Developer_Home +http://wiki.neurostechnology.com/index.php/DM320_Platform_development +http://wiki.neurostechnology.com/index.php/The_Neuros_and_Open_Source +... + +Status: +^^^^^^^ + +At present, the system only supports a serial console and timer +interrupts so there is not to much that you can do with it. But I +would be happy to work with anyone who is interested in using it. + +General instructions. + +1. Download build-0.1.0.tar.gz and nuttx-0.2.3.tar.gz into the same + . These are the current versions as of this writing + (but could very well new older release now). + +2. Unpack, you should now have /buildroot and + /nuttx-0.2.3 + +3. Rename nuttx-0.2.3 to nuttx + +4. Configure NuttX: + + cd /nuttx/tools + ./configure.sh ntosd-dm320 + +5. Build the toolchain: + + cd /buildroot + cp configs/c5471-defconfig .config + make oldconfig + make + +6. Build Nuttx: + + cd nuttx + . ./setenv.sh + make + mv nuttx /tftpboot/nuttx.dm320 + +7. Configure the OSD u-boot: + + Neuros Devboard > set ipaddr yy.yy.yy.yy + Neuros Devboard > set serverip xx.xx.xx.xx + Neuros Devboard > ... + Neuros Devboard > run update-ipstatic + + where yy.yy.yy.yy is the OSD IP address and xx.xx.xx.xx is + the host PC address. + +8. Load and run nuttx from uboot + + tftpboot xx.xx.xx.xx nuttx.dm320 + go 1008000 + +What will run is an a simple OS test that will verify many of the +features of the OS. (this is nutts/examples/ostest). + diff --git a/nuttx/configs/ntosd-dm320/doc/test-result.txt b/nuttx/configs/ntosd-dm320/doc/test-result.txt index 9179df8c8..6b295e495 100644 --- a/nuttx/configs/ntosd-dm320/doc/test-result.txt +++ b/nuttx/configs/ntosd-dm320/doc/test-result.txt @@ -1,16 +1,16 @@ -This is the output from running examples/ostest on March 28, 2007 +This is the output from running examples/ostest on April 28, 2007 ================================================================= -Neuros Devboard > tftpboot 10.0.0.1 nuttx.dm320 +Neuros Devboard > tftpboot 192.168.0.100 nuttx.dm320 Found DM9000 ID:90000a46 at address 60000300 ! DM9000 work in 16 bus width [eth_init]MAC:0:18:11:80:10:6: -TFTP from server 10.0.0.1; our IP address is 10.0.0.2 +TFTP from server 192.168.0.100; our IP address is 192.168.0.101 Filename 'nuttx.dm320'. -Load address: 0x10 +Load address: 0x1000000 Loading: ############################# done -Bytes transferred = 146570 (23c8a hex) +Bytes transferred = 146617 (23cb9 hex) Neuros Devboard > go 1008000 ## Starting application at 0x01008000 ... stdio_test: write fd=1 @@ -53,9 +53,9 @@ user_main: mutex test Initializing mutex Starting thread 1 Starting thread 2 - Thread1 Thread2 - Loops 32 32 - Errors 0 0 + Thread1 Thread2 + Loops 32 32 + Errors 0 0 End of test memory usage: VARIABLE BEFORE AFTER @@ -170,10 +170,10 @@ cond_test: Set thread 2 priority to 64 thread_signaler: Started thread_signaler: Terminating cond_test: signaler terminated, now cancel the waiter -cond_test: Waiter Signaler -cond_test: Loops 32 32 -cond_test: Errors 0 0 -cond_test: +cond_test: Waiter Signaler +cond_test: Loops 32 32 +cond_test: Errors 0 0 +cond_test: 0 times, waiter did not have to wait for data cond_test: 0 times, data was already available when the signaler run cond_test: 0 times, the waiter was in an unexpected state when the signaler ran @@ -375,10 +375,10 @@ uordblks 53f0 53f0 fordblks fdbb20 fdbb20 user_main: round-robin scheduler test -rr_test: Starting sieve1 thread +rr_test: Starting sieve1 thread rr_test: Set thread priority to 1 rr_test: Set thread policty to SCHED_RR -rr_test: Starting sieve1 thread +rr_test: Starting sieve1 thread sieve1 started sieve1 finished rr_test: Waiting for sieves to complete -- this should take awhile -- cgit v1.2.3