boen@boen-12:~$ sudo minicom
[sudo] password for boen:
Welcome to minicom 2.5
OPTIONS: I18n
Compiled on May 2 2011, 10:05:24.
Port /dev/ttyS0
Press CTRL-A Z for help on special keys
��
U-Boot 2009.08 (Jun 25 2014 - 17:53:27)
CPU: Freescale i.MX35 at 532 MHz
Board: MX35 3STACK 2.0 [POR]
I2C: ready
DRAM: 256 MB
## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB
Flash: 0 kB
_bss_end:0x8786174c addr:0x87862000
NAND: Manufacturer : mira (0xc8)
Device Code : 0xd5
Cell Technology : MLC
Chip Size : 2 GiB
Pages per Block : 128
Page Geometry : 4096+128
ECC Strength : 4 bits
ECC Size : 512 B
Data Setup Time : 35 ns
Data Hold Time : 15 ns
Address Setup Time: 15 ns
GPMI Sample Delay : 6 ns
tREA : Unknown
tRLOH : Unknown
tRHOH : Unknown
Description : lanrry 3201 nand
Bad block table found at page 524160, version 0x01
Bad block table found at page 524032, version 0x01
2048 MiB
*** Warning - bad CRC or NAND, using default environment
lcd_init
In: serial
Out: serial
Err: serial
vga_init,initializing CH7026
i2c_addr:chip address cycle fail(a1)
i2c_addr failed
board_late_init: read PMIC@0x08:0x7 fail
i.MX35 CPU board version 1.0
i2c_addr:chip address cycle fail(a1)
i2c_addr failed
board_late_init: read PMIC@0x69:0x20 fail
Net: smc911x: Invalid chip endian 0x90ff90ff
FEC0 [PRIME]
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0xa00000, size 0x300000
3145728 bytes read: OK
## Booting kernel from Legacy Image at 80800000 ...
Image Name: Linux-2.6.28-271-gec75a15
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2463596 Bytes = 2.3 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
lcd_disable
Uncompressing Linux................................................................................................
Linux version 2.6.28-271-gec75a15 (xw@xiaowei) (gcc version 4.1.2) #231 PREEMPT Thu Jun 26 17:09:21 CST 2014
CPU: ARMv6-compatible processor [4117b363] revision 3 (ARMv6TEJ), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Freescale MX35 3-Stack Board
Ignoring unrecognised tag 0x54410008
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64768
Kernel command line: console=ttymxc0,115200 ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs
MXC IRQ initialized
PID hash table entries: 1024 (order: 10, 4096 bytes)
Clock input source is 24000000
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 128MB 128MB = 256MB total
Memory: 254520KB available (4608K code, 355K data, 240K init)
SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 530.84 BogoMIPS (lpj=2654208)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
L2X0 cache controller enabled
CPU is i.MX35 Revision 2.1
MXC GPIO hardware
mxc_init_mmc, sd0 cd irq is: 121
mxc_cpld_init,remap ok,maped at:0xd8810000
read add:0xd8810050, value:0xd843
read add:0xd8810054, value:0x22252521
read add:0xd8810058, value:0x22220a00
read add:0xd8810060, value:0x0
read add:0xd8810050, value:0xd000
read write bak add:0xd8810054, value:0x22252321
read add:0xd8810058, value:0x22220a00
read write bak add:0xd8810058, value:0x22220a00
Using SDMA I.API
MXC DMA API initialized
SCSI subsystem initialized
CSPI: mxc_spi-0 probed
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
MXC I2C driver
clk: Unable to get requested clock: dfm_clk
Bluetooth: Core ver 2.13
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
usb: Host 2 host (serial) registered
usb: DR host (utmi) registered
usb: DR gadget (utmi) registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 497
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
mxcfb,mxcfb_probe
mxc_ipu mxc_ipu: Channel already uninitialized 14
Console: switching to colour frame buffer device 30x20
mxc_ipu mxc_ipu: Channel already uninitialized 15
mxcfb: fb registered, using mode <NULL>
claa_lcd_init
ch7026_init
ch7026_probe
lcd_probe
lcd_init,initializing CH7026
lcd_init, read id = 0x54
Serial: 8250/16550 driver6 ports, IRQ sharing disabled
serial8250_probe,irq:102
serial8250.0: ttyS0 at MMIO 0xb6000000 (irq = 0) is a 16550A
serial8250_probe,irq:103
serial8250.0: ttyS1 at MMIO 0xb6000008 (irq = 0) is a 16550A
serial8250_probe,irq:105
serial8250.0: ttyS2 at MMIO 0xb6000010 (irq = 0) is a 16550A
serial8250_probe,irq:104
serial8250.0: ttyS3 at MMIO 0xb6000018 (irq = 0) is a 16550A
serial8250_probe,irq:106
serial8250.0: ttyS4 at MMIO 0xb6000020 (irq = 0) is a 16550A
serial8250_probe,irq:107
serial8250.0: ttyS5 at MMIO 0xb6000028 (irq = 0) is a 16550A
Serial: MXC Internal UART driver
mxcintuart.0: ttymxc0 at MMIO 0x43f90000 (irq = 45) is a Freescale MXC
console [ttymxc0] enabled
mxcintuart.1: ttymxc1 at MMIO 0x43f94000 (irq = 32) is a Freescale MXC
mxcintuart.2: ttymxc2 at MMIO 0x5000c000 (irq = 18) is a Freescale MXC
loop: module loaded
vcan: Virtual CAN interface driver
FEC ENET Version 0.2
read id value:0x15
read MAC:0x15
read id value:0x1d
read MAC:0x1d
read id value:0x61
read MAC:0x61
read id value:0xaa
read MAC:0xaa
read id value:0xc9
read MAC:0xc9
read id value:0x72
read MAC:0x72
fec: PHY @ 0x19, ID 0x82018201 -- LAN8700
eth0: ethernet 00:1d:61:aa:c9:72
Linux video capture interface: v2.00
MXC Video Output MXC Video Output.0: Registered device video1
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
MXC MTD nor Driver 2.0
mxc_nor_flash: probe of mxc_nor_flash.0 failed with error -5
MXC MTD nand Driver 2.5
mxc_nd2.c
mxcnd_probe
before nand_scan
chip->cellinfo:0x14
extid:0x29
NAND device: Manufacturer ID: 0xc8, Chip ID: 0xd5 (MIRA NAND 2GiB 3,3V 8-bit)
nand_scan_tail before
chip->ecc.layout:0xc04e4ec8,mtd->oobsize:128
chip->ecc.mode:2
nand_scan_tail after
before add_mtd_device
enter CONFIG_MTD_PARTITIONS
RedBoot partition parsing not available
Creating 4 MTD partitions on "NAND 2GiB 3,3V 8-bit":
0x00000000-0x00a00000 : "nand.bootloader"
0x00a00000-0x01400000 : "nand.kernel"
0x01400000-0x03200000 : "nand.rootfs1"
0x03200000-0x80000000 : "nand.rootfs2"
add_mtd_device done
UBI: attaching mtd3 to ubi0
UBI: physical eraseblock size: 524288 bytes (512 KiB)
UBI: logical eraseblock size: 516096 bytes
UBI: smallest flash I/O unit: 4096
UBI: VID header offset: 4096 (aligned 4096)
UBI: data offset: 8192
UBI: attached mtd3 to ubi0
UBI: MTD device name: "nand.rootfs2"
UBI: MTD device size: 1998 MiB
UBI: number of good PEBs: 3992
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: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 3992
UBI: number of PEBs reserved for bad PEB handling: 39
UBI: max/mean erase counter: 183/1
usbmon: debugfs is not available
Initializing USB Mass Storage driver...
UBI: background thread "ubi_bgt0d" started, PID 958
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
MXC keypad loaded
tsc2007_driver_register: Registering Touchscreen device
input: tsc2007 as /class/input/input0
rtc-isl1208 0-006f: chip found, driver version 0.3
rtc-isl1208 0-006f: rtc core: registered rtc-isl1208 as rtc0
i2c /dev entries driver
MXC WatchDog Driver 2.0
MXC Watchdog # 0 Timer: initial timeout 60 sec
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCILL protocol initialized
IPU Post-filter loading
ioctl pointer: c02be734. mmap pointer: c02be174
RNG Driver: Loading
mxc_asrc registered
Freescale: Register to MMC/SDIO driver
mxsdhci: MXC Secure Digital Host Controller Interface driver
mxsdhci: MXC SDHCI Controller Driver.
mmc0: SDHCI detect irq 121 irq 7 INTERNAL DMA
mxsdhci: MXC SDHCI Controller Driver.
mmc1: SDHCI detect irq 0 irq 8 INTERNAL DMA
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
ASoC version 0.13.2
sgtl5000-i2c 0-000a: SGTL5000 revision 17
DMA Sound Buffers Allocated:UseIram=1 buf->addr=10000000 buf->area=d8aa0000 size=65536
DMA Sound Buffers Allocated:UseIram=1 buf->addr=97dc0000 buf->area=fde01000 size=65536
asoc: SGTL5000 <-> imx-ssi-1 mapping ok
WM8580 Audio Codec 0.1
wm8580device rev:0
DMA Sound Buffers Allocated:UseIram=1 buf->addr=10000000 buf->area=d8ac0000 size=65536
asoc: WM8580 PAIFRX <-> imx-esai-tx mapping ok
DMA Sound Buffers Allocated:UseIram=1 buf->addr=97de0000 buf->area=fde11000 size=65536
DMA Sound Buffers Allocated:UseIram=1 buf->addr=97df0000 buf->area=fde21000 size=65536
asoc: bluetooth <-> imx-ssi-3 mapping ok
ALSA device list:
#0: imx-3stack (SGTL5000)
#1: imx-3stack (WM8580)
#2: imx-3stack (bluetooth)
oprofile: using arm/armv6
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20081130 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20081130)
can: broadcast manager protocol (rev 20081130)
Bluetooth: L2CAP ver 2.11
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
Static Power Management for Freescale i.MX35
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 3
MXC Backlight Device mxc_ipu_bl.0 Initialized.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 35, io mem 0x53ff4400
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 37, io mem 0x53ff4000
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
rtc-isl1208 0-006f: setting system clock to 2014-10-22 07:48:47 UTC (1413964127)
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 1956003840 bytes (1910160 KiB, 1865 MiB, 3790 LEBs)
UBIFS: journal size: 10452992 bytes (10208 KiB, 9 MiB, 21 LEBs)
UBIFS: media format: 4 (latest is 4)
UBIFS: default compressor: LZO
UBIFS: reserved for root: 0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem).
Freeing init memory: 240K
usb 1-1: new full speed USB device using fsl-ehci and address 2
init started: BusyBox v1.11.2 ()
starting pid 1049, tty '': '/etc/rc.d/rcS'
Mounting /proc and /sys
usb 1-1: not running at top speed; connect to a high speed hub
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
Starting the hotplug events dispatcher udevd
Synthesizing initial hotplug events
Setting the hostname to freescale
Mounting filesystems
Running sysctl
Setting up networking on loopback device:
Setting up networking on eth0:
udhcpc (v1.11.2) started
eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
Starting inetd:
Starting the dropbear ssh server:
mkdir: cannot create directory '/mnt/udisk': File exists
Start Qt-4.7.0
Do not need start ts_calibrate!
starting pid 1950, tty '': '/sbin/getty -L ttymxc0 115200 vt100'
arm-none-linux-gnueabi-gcc (GCC) 4.1.2
root filesystem built on Sat, 20 Jun 2009 16:18:46 +0800
Freescale Semiconductor, Inc.
freescale login: Error opening mouse device '/dev/input/mouse0': No such file or directory
Cannot open keyboard input device '/dev/input/keyboard1': No such file or directory
arm-none-linux-gnueabi-gcc (GCC) 4.1.2
root filesystem built on Sat, 20 Jun 2009 16:18:46 +0800
Freescale Semiconductor, Inc.
freescale login: root
login[1950]: root login on 'ttymxc0'
BusyBox v1.11.2 () built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ # cat /proc/net/can/
/proc/net/can/rcvlist_all /proc/net/can/rcvlist_sff
/proc/net/can/rcvlist_eff /proc/net/can/reset_stats
/proc/net/can/rcvlist_err /proc/net/can/stats
/proc/net/can/rcvlist_fil /proc/net/can/version
/proc/net/can/rcvlist_inv
~ # cat /proc/net/can/rcvlist_all
receive list 'rx_all':
(any: no entry)
~ # ls /sys/devices/
/sys/devices/platform/ /sys/devices/system/
~ # ls /sys/devices/platform/
/sys/devices/platform/FlexCAN.0/
/sys/devices/platform/FlexCAN.1/
/sys/devices/platform/MXC Video Output.0/
/sys/devices/platform/fsl-ehci.0/
/sys/devices/platform/fsl-ehci.1/
/sys/devices/platform/fsl-usb2-udc/
/sys/devices/platform/gps_ioctrl.0/
/sys/devices/platform/i2c-adapter:i2c-0/
/sys/devices/platform/imx-3stack-bt.0/
/sys/devices/platform/imx-3stack-sgtl5000/
/sys/devices/platform/imx-3stack-wm8580.0/
~ # ls /sys/devices/platform/FlexCAN.0/
/sys/devices/platform/FlexCAN.0/bus/
/sys/devices/platform/FlexCAN.0/modalias
/sys/devices/platform/FlexCAN.0/power/
/sys/devices/platform/FlexCAN.0/subsystem/
/sys/devices/platform/FlexCAN.0/uevent
~ # ls /sys/devices/platform/FlexCAN.0/