编译成功,并生成可执行文件在image目录下。
我们将它放到板子上试运行。控制台将看到如下信息:
Linux version 2.6.35.4 (root@administrator-System-Product-Name) (gcc version 4.2.1) #3 PREEMPT Wed Jun 21 09:33:14 CST 2017
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: W55FA92
Memory policy: ECC disabled, Data cache writeback
FB Buffer Size: 0x70800
Decoder Instance-0, width = 1280, height = 720
Decoder Instance-0, offset = 0x0, total buf size = 0x77b000
Encoder Instance-0, width = 1280, height = 720
Encoder Instance-0, offset = 0x0, total buf size = 0x42f000
TOTAL_VDE_BUF_SIZE = 0xbaa000, dec_total=0x77b000, enc_total=0x42f000
AVC Buffer Size: 0xbaa000
VIN_DEV1 Buffer Size: 0x5bc800
CPU type 0x00fad007 is W55FA92
w55fa92_external_clock = 12.0 MHz
w55fa92_apll_clock = 432000 KHz
w55fa92_upll_clock = 240000 KHz
w55fa92_mpll_clock = 360000 KHz
w55fa92_system_clock = 240000 KHz
w55fa92_cpu_clock = 240000 KHz
w55fa92_ahb_clock = 120000 KHz
w55fa92_apb_clock = 60000 KHz
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: root=/dev/ram0 console=ttyS1,115200n8 rdinit=/sbin/init mem=64M vt.global_cursor_default=0
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
********************************中间省略一段******************************************
w55fa92-rtc w55fa92-rtc: setting system clock to 2005-01-01 01:33:40 UTC (1104543220)
baud=115200, quot=102
w-config: 8bits/char
Freeing init memory: 804K
baud=115200, quot=102
w-config: 8bits/char
baud=115200, quot=102
w-config: 8bits/char
baud=115200, quot=102
w-config: 8bits/char
gnand: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
NAND: nand_init !!!!!
W55FA92 NAND driver (20150624) has been initialized successfully!
scsi0 : Nuvoton W55FA92 On Board NAND DRIVER!
[GNAND] GNAND Library Version: V1.02.5
NAND: Found SLC NAND, ID 2C-F1-80-95, page size 2048, BCH T8
NAND: fmiSMCheckBootHeader 1
Nand0: uLibStartBlock=9
[GNAND] NAND flash chip detected, chip ID is 0x2c-0xf1 !
on board NAND size 123 MB (251904 sectors)
scsi 0:0:0:0: Direct-Access NUVOTON GNAND DRIVER 2.00 PQ: 0 ANSI: 0
sd 0:0:0:0: [sda] 251904 512-byte logical blocks: (128 MB/123 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Got wrong page
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Got wrong page
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1 sda2 < sda5 >
sd 0:0:0:0: [sda] Got wrong page
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
SPU DAC ON !!!
sh: /mnt/nand1-1/boot_script: No such file or directory
BusyBox v1.15.2 (2015-08-13 17:32:39 CST) hush - the humble shell
~ #
说明已成功运行。
end