經過一陣子的努力,目前已經重新更新 ARM9 W90P950( NUC950 ) CPU 的 BSP,包含變更Linux 核心硬體驅動、加入 ftp server、加寫數支 EBI 驅動 IO 的驅動程式( 包含 LED*8、 LCD ... 等 )。
開機畫面如下:( 我貼上 整個 NUC950 執行 Linux 的畫面過程 )
Press ESC to enter debug mode ......
Processing image 6 ...
Unzip image 6 ...
Processing image 7 ...
Unzip image 7 ...
Executing image 7 ...
Linux version 2.6.17.14 (root@localhost.localdomain) (gcc version 4.2.1) #3 PREEMPT Mon Oct 5 15:12:36 CST 2009
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
Machine: NUC950
Memory policy: ECC disabled, Data cache writeback
CPU NUC950 (id 0x02900910 system clock:200MHZ)
CPU0: D VIVT write-back cache
CPU0: I cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists
Kernel command line: root=/dev/ram0 console=ttyS0,115200n8 initrd=0xa00000,4000000 mem=64M
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 58488KB available (1996K code, 373K data, 96K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 3906K
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
io scheduler noop registered (default)
Console: switching to colour frame buffer device 40x30
nuc900 LCD driver has been installed successfully
fb1: Virtual frame buffer device, using 1024K of video memory
NUC900 uart driver has been initialized successfully!
nuc900-uart.0: nuc900_serial0 at MMIO 0xb8000000 (irq = 7) is a NUC900
nuc900-uart.1: nuc900_serial1 at MMIO 0xb8000100 (irq = 8) is a NUC900
nuc900-uart.2: nuc900_serial2 at MMIO 0xb8000200 (irq = 9) is a NUC900
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
NUC900 Ethernet(eth0) driver has been initialized successfully!
The ports of EMC are available in that range.
NUC900 SD driver has been initialized successfully!
nuc900nor: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
nuc900 flash device: 4MiB at 0xa0000000
Creating 3 MTD partitions on "nuc900nor":
0x00010000-0x00100000 : "NUC900 NOR Partition 1 for kernel (960K)"
0x00100000-0x00200000 : "NUC900 NOR Partition 2 for image (1M)"
0x00200000-0x00400000 : "NUC900 NOR Partition 3 for user (2M)"
NUC900 USB host driver has been initialized successfully!
nuc900-ehci nuc900-ehci: Nuvoton nuc900 EHCI Host Controller
nuc900-ehci nuc900-ehci: new USB bus registered, assigned bus number 1
nuc900-ehci nuc900-ehci: irq 15, io mem 0xb0005000
nuc900-ehci nuc900-ehci: USB 2.0 started, EHCI 0.95, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
nuc900-ohci nuc900-ohci: Nuvoton nuc900 ohci Host Controller
nuc900-ohci nuc900-ohci: new USB bus registered, assigned bus number 2
nuc900-ohci nuc900-ohci: io mem 0xb0007000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
ts: Compaq touchscreen protocol output
input: TSC2007 TouchScreen as /class/input/input0
TSC2007 Touch Screen Driver has been installed successfully.
i2c /dev entries driver
NUC900 Audio driver has been initialized successfully!
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: romfs filesystem found at block 0
RAMDISK: Loading 3678KiB [1 disk] into ram disk... done.
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 96K
init started: BusyBox v1.9.1 (2008-04-08 22:02:06 CST)
eth0 is OPENED
Please press Enter to activate this console. MAC Line-off...
MAC Line-on...
OK
100MB - FULL
sh-3.2#
接著,進入 /tmp 目錄,然後透過 ftp 將 LCD.ko 與 LEDAP.exe 傳到 W90P950( NUC950 ) 的 /tmp 目錄上,再來如下圖所示過程執行。 如下圖所示:

執行後,你會看到在 LCD 上,第一行顯示 "Hello CYH",第二行顯示 "Hi Chiang,YiHua";在七節顯示器上( Seg7 ) 會顯示 111、222~999;在 8 顆 LED 上會同時 亮( On )或 不亮( Off )。如下圖所示:
七節顯示器上( Seg7 ) 顯示 999、8 顆 LED 上同時 亮( On )

七節顯示器上( Seg7 ) 顯示 111、8 顆 LED 上同時 不亮( Off )
