8Gb核心板ICETEK138成功燒寫文件系統時的環境配置信息和文件系統的啓動信息

一、8Gb核心板ICETEK138成功燒寫文件系統時的環境配置信息



*****************************紅色:需要留意的地方;藍色:串口輸入的指令********************************************
Booting with TI UBL
Device OPP (372MHz, 1.2V)


U-Boot 2009.11 ( 4鏈18 2012 - 13:32:22)


I2C:   ready
DRAM:  128 MB
NAND:  1024 MiB
MMC:   davinci: 0
Bad block table found at page 524224, version 0x01
Bad block table found at page 524160, version 0x01
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
ARM Clock : 372000000 Hz
DDR Clock : 132000000 Hz
 Error - unable to probe SPI flash.
Invalid MAC address read.
Net:   More than one PHY detected.

NAND read: device 0 offset 0x141000, size 0x3f000
 258048 bytes read: OK
Error: Bad gzipped data
There is no valid bmp file at the given address

Hit any key to stop autoboot:  0 
U-Boot > pri
bootargs=mem=32M@0xc0000000 mem=64M@0xc4000000 console=ttyS2,115200n8 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs rootwait ip=off
bootcmd=if mmc rescan 0; then if fatload mmc 0 0xc0600000 boot.scr; then source 0xc0600000; else fatload mmc 0 0xc0700000 uImage; bootm c0700000; fi; else nand read.e 0xc0700000 0x200000 0x250000; bootm 0xc0700000; fi
bootdelay=3
baudrate=115200
preboot=if nand read.e 0xc0700000 0x141000 3f000; then bmp display c0700000 0 0; fi
ver=U-Boot 2009.11 ( 4鏈18 2012 - 13:32:22)


Environment size: 506/131068 bytes
U-Boot > setenv serverip 192.168.11.134
U-Boot > setenv ipaddr 192.168.11.150
U-Boot > tftp 0xc0700000 uImage

*** ERROR: `ethaddr' not set
U-Boot > setenv ethaddr 00:00:7c:23:0b:c1
U-Boot > tftp 0xc0700000 uImage      
   
Using  device
TFTP from server 192.168.11.134; our IP address is 192.168.11.150
Filename 'uImage'.
Load address: 0xc0700000
Loading: *
Abort
U-Boot > saveenv 
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x0 -- 100% complete.
Writing to Nand... done
U-Boot > ping 192.168.11.134
Using  device


Abort
ping failed; host 192.168.11.134 is not alive
U-Boot > 
Booting with TI UBL
Device OPP (372MHz, 1.2V)


U-Boot 2009.11 ( 4鏈18 2012 - 13:32:22)


I2C:   ready
DRAM:  128 MB
NAND:  1024 MiB
MMC:   davinci: 0
Bad block table found at page 524224, version 0x01
Bad block table found at page 524160, version 0x01
In:    serial
Out:   serial
Err:   serial
ARM Clock : 372000000 Hz
DDR Clock : 132000000 Hz
Net:   Ethernet PHY: GENERIC @ 0x00

NAND read: device 0 offset 0x141000, size 0x3f000
 258048 bytes read: OK
Error: Bad gzipped data
There is no valid bmp file at the given address

Hit any key to stop autoboot:  0 
U-Boot > pri
bootargs=mem=32M@0xc0000000 mem=64M@0xc4000000 console=ttyS2,115200n8 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs rootwait ip=off
bootcmd=if mmc rescan 0; then if fatload mmc 0 0xc0600000 boot.scr; then source 0xc0600000; else fatload mmc 0 0xc0700000 uImage; bootm c0700000; fi; else nand read.e 0xc0700000 0x200000 0x250000; bootm 0xc0700000; fi
bootdelay=3
baudrate=115200
preboot=if nand read.e 0xc0700000 0x141000 3f000; then bmp display c0700000 0 0; fi
serverip=192.168.11.134
ipaddr=192.168.11.150
ethaddr=00:00:7c:23:0b:c1
ver=U-Boot 2009.11 ( 4鏈18 2012 - 13:32:22)

Environment size: 578/131068 bytes
U-Boot > ping 192.168.11.134
Using  device
host 192.168.11.134 is alive
U-Boot > tftp 0xc0700000 uImage
Using  device
TFTP from server 192.168.11.134; our IP address is 192.168.11.150
Filename 'uImage'.
Load address: 0xc0700000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########################################
done
Bytes transferred = 2209128 (21b568 hex)
U-Boot > nand erase 0x200000 0x400000

NAND erase: device 0 offset 0x200000, size 0x400000
Erasing at 0x5e0000 -- 100% complete.
OK
U-Boot > nand write.e 0xc0700000 0x200000 0x400000
NAND write: device 0 offset 0x200000, size 0x400000
 4194304 bytes written: OK
U-Boot > setenv bootargs 'console=ttyS11,115200n8 noinitrd rw ip=192.168.11.150:192.168.11.134:192.168.11.1:255.255.255.0::eth0:on eth=00:40:01:2b:64:60 root=/dev/nfs nfsroot=192.168.11.134:/opt/workspace/ICETEK138/nfs,nolock mem=64M'
U-Boot > saveenv 

Saving Environment to NAND...
Erasing Nand...
Erasing at 0x0 -- 100% complete.
Writing to Nand... done
U-Boot > setenv bootcmd 'nand read.e 0xc0700000 0x200000 0x400000; bootm'
U-Boot > saveenv    
                                                    
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x0 -- 100% complete.
Writing to Nand... done
U-Boot > boot


NAND read: device 0 offset 0x200000, size 0x400000
 4194304 bytes read: OK
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.33-rc4
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2209064 Bytes =  2.1 MB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK


Starting kernel ...


Uncompressing Linux... done, booting the kernel.


 _____                    _____           _         _   
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
              |___|                    |___|            


Arago Project http://arago-project.org arago ttyS2


Arago 2011.02 arago ttyS2


arago login: root
root@arago:~# 

root@arago:/dev# ubidetach -p mtd4
root@arago:/dev# ubiattach ubi_ctrl -m 4

ubiattach: error!: cannot attach mtd4
           error 5 (Input/output error)

root@arago:/dev# ubiformat mtd4 -s 2048  (**************首先進行偏移2048,然後才能ubiattach……-O 2048)

ubiformat: mtd4 (nand), size 1067450368 bytes (1018.0 MiB), 8144 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
libscan: scanning eraseblock 8143 -- 100 % complete  
ubiformat: 8139 eraseblocks have valid erase counter, mean value is 0
ubiformat: 1 eraseblocks are supposedly empty
ubiformat: 4 bad eraseblocks found, numbers: 8140, 8141, 8142, 8143
ubiformat: warning!: VID header and data offsets on flash are 512 and 2048, which is different to requested offsets 2048 and 4096
ubiformat: use new offsets 2048 and 4096? (yes/no)  yes
ubiformat: use offsets 2048 and 4096
ubiformat: formatting eraseblock 8143 -- 100 % complete  
root@arago:/dev# ubiattach ubi_ctrl -m 4
ubiattach: error!: cannot attach mtd4
           error 22 (Invalid argument)

root@arago:/dev# dmesg
Linux version 2.6.33-rc4 (root@user) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #31 PREEMPT Tue Nov 12 09:38:37 CST 2013
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DA850/OMAP-L138/AM18xx EVM
Ignoring unrecognised tag 0x54410008
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c0473a68, node_mem_map c0497000
  DMA zone: 128 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 16256 pages, LIFO batch:3
DaVinci da850/omap-l138 variant 0x0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS11,115200n8 noinitrd rw ip=192.168.11.150:192.168.11.134:192.168.11.1:255.255.255.0::eth0:on eth=00:40:01:2b:64:60 root=/dev/nfs nfsroot=192.168.11.134:/opt/workspace/ICETEK138/nfs,nolock mem=64M
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
Memory: 60212KB available (4196K code, 310K data, 152K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 185.54 BogoMIPS (lpj=927744)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 144 gpio irqs
regulator: core version 0.5
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
regulator: VDCDC1: 3200 <--> 3300 mV at 3300 mV 
regulator: VDCDC2: 1750 <--> 3300 mV at 3300 mV 
regulator: VDCDC3: 950 <--> 1375 mV at 3300 mV 
regulator: LDO1: 1800 mV 
regulator: LDO2: 1150 <--> 1300 mV at 3300 mV 
i2c-gpio i2c-gpio.1: using pins 20 (SDA) and 21 (SCL)
Switching to clocksource timer0_1
musb_hdrc: version 6.0, cppi4.1-dma, host, debug=0
Waiting for USB PHY clock good...
musb_hdrc: ConfigData=0x06 (UTMI-8, dyn FIFOs, SoftConn)
musb_hdrc: MHDRC RTL version 1.800 
musb_hdrc: setup fifo_mode 2
musb_hdrc: 8/9 max ep, 3904/4096 memory
musb_hdrc: USB Host mode controller at fee00000 using DMA, IRQ 58
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP 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)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
EMAC: MII PHY configured, RMII PHY will not be functional
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 117
io scheduler noop registered (default)
da8xx_lcdc da8xx_lcdc.0: GLCD: Found Sharp_LK104T1DG01 panel
Console: switching to colour frame buffer device 80x30
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
brd: module loaded
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
Bad block table found at page 524224, version 0x01
Bad block table found at page 524160, version 0x01
uncorrectable error : 
uncorrectable error : 
uncorrectable error : 
uncorrectable error : 
uncorrectable error : 
uncorrectable error : 
uncorrectable error : 
uncorrectable error : 
nand_bbt: ECC error while reading bad block table
Creating 5 MTD partitions on "davinci_nand.1":
0x000000000000-0x000000020000 : "u-boot env"
0x000000020000-0x000000040000 : "UBL"
0x000000040000-0x0000000c0000 : "u-boot"
0x000000200000-0x000000600000 : "kernel"
0x000000600000-0x000040000000 : "filesystem"
davinci_nand davinci_nand.1: controller rev. 2.5
spi_davinci spi_davinci.1: Controller at 0xfef0e000 
console [netcon0] enabled
netconsole: network logging started
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for ch341-uart
usbcore: registered new interface driver ch341
mice: PS/2 mouse device common for all mice
ads7846 spi1.0: touchscreen, irq 241
input: ADS7846 Touchscreen as /devices/platform/spi_davinci.1/spi1.0/input/input0
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
omap_rtc: RTC power up reset detected
i2c /dev entries driver
Linux video capture interface: v2.00
watchdog watchdog: heartbeat 60 sec
cpuidle: using governor ladder
cpuidle: using governor menu
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
No device for DAI tlv320aic23
No device for DAI davinci-i2s
AIC23 Audio Codec 0.1
tlv320aic23_write cannot write 000 to register R15
asoc: tlv320aic23 <-> davinci-i2s mapping ok
tlv320aic23_write cannot write 047 to register R6
tlv320aic23_write cannot write 004 to register R5
tlv320aic23_write cannot write 117 to register R0
tlv320aic23_write cannot write 117 to register R1
tlv320aic23_write cannot write 010 to register R4
tlv320aic23_write cannot write 070 to register R2
tlv320aic23_write cannot write 070 to register R3
tlv320aic23_write cannot write 001 to register R9
ALSA device list:
  #0: DA850/OMAP-L138 EVM (tlv320aic23)
TCP cubic registered
NET: Registered protocol family 17
Clocks: disable unused emac
Clocks: disable unused spi0
regulator_init_complete: incomplete constraints, leaving LDO2 on
regulator_init_complete: incomplete constraints, leaving LDO1 on
regulator_init_complete: incomplete constraints, leaving VDCDC3 on
regulator_init_complete: incomplete constraints, leaving VDCDC2 on
regulator_init_complete: incomplete constraints, leaving VDCDC1 on
davinci_emac_probe: using random MAC addr: d2:f0:fd:24:05:c8
emac-mii: probed
omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1:00, id=22161a)
IP-Config: Complete:
     device=eth0, addr=192.168.11.150, mask=255.255.255.0, gw=192.168.11.1,
     host=192.168.11.150, domain=, nis-domain=(none),
     bootserver=192.168.11.134, rootserver=192.168.11.134, rootpath=
Looking up port of RPC 100003/2 on 192.168.11.134
PHY: 1:00 - Link is Up - 100/Full
Looking up port of RPC 100005/1 on 192.168.11.134
VFS: Mounted root (nfs filesystem) on device 0:14.
Freeing init memory: 152K
Warning: unable to open an initial console.
udev: starting version 141
NET: Registered protocol family 10
tlv320aic23_write cannot write 010 to register R4
CMEMK module: built on Dec 26 2013 at 21:06:22
  Reference Linux version 2.6.33
  File /opt/workspace/ICETEK138/dvsdk_omapl138-evm/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0xc2000000) overlaps kernel (0xc0000000 -> 0xc4000000)
CMEMK Error: Failed to request_mem_region(0xc2000000, 18874368)
DSPLINK Module (1.65.00.02) created on Date: Dec 26 2013 Time: 21:03:58
eth0: no IPv6 routers present
UBI: attaching mtd4 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: empty MTD device detected
UBI: create volume table (copy #1)
UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 0:512, written 0 bytes
UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 1:512, written 0 bytes
UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 2:512, written 0 bytes
UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 3:512, written 0 bytes
UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 4:512, written 0 bytes
UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 5:512, written 0 bytes
UBI: attaching mtd4 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd4 to ubi0
UBI: MTD device name:            "filesystem"
UBI: MTD device size:            1018 MiB
UBI: number of good PEBs:        8140
UBI: number of bad PEBs:         4
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             8055
UBI: total number of reserved PEBs: 85
UBI: number of PEBs reserved for bad PEB handling: 81
UBI: max/mean erase counter: 0/0
UBI: image sequence number: 240623091
UBI: background thread "ubi_bgt0d" started, PID 949
UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 0:512, written 0 bytes
UBI warning: ubi_eba_write_leb: failed to write VID header to LEB 2147479551:0, PEB 0
UBI: run torture test for PEB 0
UBI: try another PEB
UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 8139:512, written 0 bytes
UBI warning: ubi_eba_write_leb: failed to write VID header to LEB 2147479551:0, PEB 8139
UBI: try another PEB
UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 8138:512, written 0 bytes
UBI warning: ubi_eba_write_leb: failed to write VID header to LEB 2147479551:0, PEB 8138
UBI: try another PEB
UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 8137:512, written 0 bytes
UBI warning: ubi_eba_write_leb: failed to write VID header to LEB 2147479551:0, PEB 8137
UBI warning: ubi_ro_mode: switch to read-only mode
UBI error: ubi_create_volume: cannot create volume 0, error -30
UBI error: ubi_io_write: read-only mode
UBI error: erase_worker: failed to erase PEB 0, error -30
UBI error: do_work: work failed with error code -30
UBI error: ubi_thread: ubi_bgt0d: work failed with error code -30
UBI: mtd4 is detached from ubi0
UBI: attaching mtd4 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)

UBI: data offset:                2048
UBI error: vtbl_check: bad CRC at record 0: 0x88cdfb6, not 0xffffffff
UBI warning: process_lvol: volume table copy #1 is corrupted
UBI: create volume table (copy #1)
UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 2:512, written 0 bytes
UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 3:512, written 0 bytes
UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 4:512, written 0 bytes
UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 5:512, written 0 bytes
UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 6:512, written 0 bytes
UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 7:512, written 0 bytes
UBI: attaching mtd4 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI error: validate_ec_hdr: bad VID header offset 2048, expected 512
UBI error: validate_ec_hdr: bad EC header
UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0
root@arago:/dev# ubiattach ubi_ctrl -m 4 -O 2048
UBI device number 0, total 8140 LEBs (1033584640 bytes, 985.7 MiB), available 8055 LEBs (1022791680 bytes, 975.4 MiB), LEB size 126976 bytes (124.0 KiB)
root@arago:/dev# ubimkvol ubi
ubi0      ubi_ctrl
root@arago:/dev# ubimkvol ubi0 -N rootfs -s 975MiB
Volume ID 0, size 8052 LEBs (1022410752 bytes, 975.0 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1

root@arago:/dev# mount -t ubifs ubi0_0 /mnt/ -o sync

(另外 ubifs 是一個異步的文件系統, 所以爲了掉電的時候數據能保存完整, 最好使用-o sync 掛載文件系統。)

root@arago:/dev# cd /mnt/
root@arago:/mnt# ls /

Settings       etc            media          rootfs.tar.gz  tmp
bin            home           mnt            sbin           usr
boot           lib            opt            srv            var
dev            linuxrc        proc           sys

root@arago:/mnt# tar -xvf /rootfs.tar.gz 

root@arago:/mnt# cd ..

root@arago:/# umount /mnt

root@arago:/# reboot 

…………

U-boot->setenv bootcmd 'nand read.e 0xc0700000 0x200000 0x400000; bootm'

U-boot->setenv bootargs 'mem=64M console=ttyS11,115200n8 noinitrd rw ip=192.168.11.150:192.168.11.134:192.168.11.1:255.255.255.0::eth0:off eth=00:40:01:2B:64:60 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs rootwait'

U-boot->saveenv

U-boot->boot




二、8Gb核心板ICETEK138成功燒寫文件系統的啓動信息

Booting with TI UBL
Device OPP (372MHz, 1.2V)

U-Boot 2009.11 ( 4鏈18 2012 - 13:32:22)

I2C:   ready
DRAM:  128 MB
NAND:  1024 MiB
MMC:   davinci: 0
Bad block table found at page 524224, version 0x01
Bad block table found at page 524160, version 0x01
In:    serial
Out:   serial
Err:   serial
ARM Clock : 372000000 Hz
DDR Clock : 132000000 Hz
Net:   More than one PHY detected.


NAND read: device 0 offset 0x141000, size 0x3f000
 258048 bytes read: OK

Error: Bad gzipped data
There is no valid bmp file at the given address
Hit any key to stop autoboot:  0 
U-Boot > pri
bootdelay=3
baudrate=115200
preboot=if nand read.e 0xc0700000 0x141000 3f000; then bmp display c0700000 0 0; fi
ethaddr=00:00:7c:23:0b:c1
filesize=228B68
fileaddr=C0700000
gatewayip=192.168.11.1
netmask=255.255.255.0
ipaddr=192.168.11.150
serverip=192.168.11.134
bootcmd=nboot.e 0xc0700000 0 0x200000; bootm
bootargs=mem=64M console=ttyS11,115200n8 noinitrd rw ip=192.168.11.150:192.168.11.134:192.168.11.1:255.255.255.0::eth0:off eth=00:40:01:2B:64:60 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs rootwait
ver=U-Boot 2009.11 ( 4鏈18 2012 - 13:32:22)


Environment size: 552/131068 bytes
U-Boot > boot
Loading from NAND 1GiB 3,3V 8-bit, offset 0x200000
   Image Name:   Linux-2.6.33-rc4
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2263848 Bytes =  2.2 MB
   Load Address: c0008000
   Entry Point:  c0008000
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.33-rc4
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2263848 Bytes =  2.2 MB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

 _____                    _____           _         _   
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
              |___|                    |___|            

Arago Project http://arago-project.org arago ttyS2

Arago 2011.02 arago ttyS2

arago login: root
root@arago:~# ls /bin/
addgroup              gzip                  ping6
adduser               hostname              ps
ash                   ip                    pwd
busybox               kill                  rm
cat                   kill.util-linux-ng    rmdir
chattr                ln                    run-parts
chgrp                 login                 sed
chmod                 login.util-linux-ng   sh
chown                 ls                    sleep
cp                    lsmod                 stty
cpio                  lsmod.26              su
date                  mkdir                 sync
dd                    mknod                 tar
delgroup              mktemp                tinylogin
deluser               more                  touch
df                    more.util-linux-ng    true
dmesg                 mount                 umount
dmesg.util-linux-ng   mount.util-linux-ng   umount.util-linux-ng
dumpkmap              mountpoint            uname
echo                  mountpoint.sysvinit   usb-devices
egrep                 mv                    usleep
false                 netstat               vi
fgrep                 nice                  watch
getopt                pidof                 zcat
grep                  pidof.sysvinit
gunzip                ping
root@arago:~#






發佈了17 篇原創文章 · 獲贊 11 · 訪問量 8萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章