Hi3519调试 2018年12月29日


~ # himm 0x120100cc
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
====dump memory 0X120100CC====
0x120100cc: 0x0000000A
NewValue:0x0000004A
[END]
~ # hi_gmac_v200 10050000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

~ # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 1A:51:85:2B:38:AA
          inet6 addr: fe80::1851:85ff:fe2b:38aa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3746 (3.6 KiB)  TX bytes:648 (648.0 B)
          Interrupt:57

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

~ # ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
ping: sendto: Network is unreachable
~ # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
~ # ifconfig eth0 192.168.0.55 netmask 255.255.255.0
~ # ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: seq=0 ttl=64 time=1.849 ms
64 bytes from 192.168.0.1: seq=1 ttl=64 time=0.816 ms
64 bytes from 192.168.0.1: seq=2 ttl=64 time=0.890 ms
64 bytes from 192.168.0.1: seq=3 ttl=64 time=0.848 ms
64 bytes from 192.168.0.1: seq=4 ttl=64 time=0.846 ms
64 bytes from 192.168.0.1: seq=5 ttl=64 time=0.821 ms
64 bytes from 192.168.0.1: seq=6 ttl=64 time=0.861 ms
64 bytes from 192.168.0.1: seq=7 ttl=64 time=0.862 ms
64 bytes from 192.168.0.1: seq=8 ttl=64 time=0.857 ms
64 bytes from 192.168.0.1: seq=9 ttl=64 time=0.822 ms
64 bytes from 192.168.0.1: seq=10 ttl=64 time=0.847 ms
64 bytes from 192.168.0.1: seq=11 ttl=64 time=0.821 ms
64 bytes from 192.168.0.1: seq=12 ttl=64 time=0.811 ms
64 bytes from 192.168.0.1: seq=13 ttl=64 time=0.825 ms
64 bytes from 192.168.0.1: seq=14 ttl=64 time=0.782 ms
64 bytes from 192.168.0.1: seq=15 ttl=64 time=0.860 ms
64 bytes from 192.168.0.1: seq=16 ttl=64 time=0.857 ms
64 bytes from 192.168.0.1: seq=17 ttl=64 time=0.797 ms
64 bytes from 192.168.0.1: seq=18 ttl=64 time=0.853 ms
64 bytes from 192.168.0.1: seq=19 ttl=64 time=0.801 ms
64 bytes from 192.168.0.1: seq=20 ttl=64 time=0.819 ms
64 bytes from 192.168.0.1: seq=21 ttl=64 time=0.863 ms
64 bytes from 192.168.0.1: seq=22 ttl=64 time=0.849 ms
64 bytes from 192.168.0.1: seq=23 ttl=64 time=0.850 ms
64 bytes from 192.168.0.1: seq=24 ttl=64 time=0.864 ms
64 bytes from 192.168.0.1: seq=25 ttl=64 time=0.820 ms
64 bytes from 192.168.0.1: seq=26 ttl=64 time=0.806 ms
64 bytes from 192.168.0.1: seq=27 ttl=64 time=0.827 ms
64 bytes from 192.168.0.1: seq=28 ttl=64 time=0.824 ms
64 bytes from 192.168.0.1: seq=29 ttl=64 time=0.810 ms
64 bytes from 192.168.0.1: seq=30 ttl=64 time=0.860 ms
64 bytes from 192.168.0.1: seq=31 ttl=64 time=0.813 ms
64 bytes from 192.168.0.1: seq=32 ttl=64 time=0.828 ms
64 bytes from 192.168.0.1: seq=33 ttl=64 time=0.847 ms
64 bytes from 192.168.0.1: seq=34 ttl=64 time=0.856 ms
64 bytes from 192.168.0.1: seq=35 ttl=64 time=0.828 ms
64 bytes from 192.168.0.1: seq=36 ttl=64 time=0.854 ms
64 bytes from 192.168.0.1: seq=37 ttl=64 time=0.847 ms
64 bytes from 192.168.0.1: seq=38 ttl=64 time=0.856 ms
64 bytes from 192.168.0.1: seq=39 ttl=64 time=0.851 ms
64 bytes from 192.168.0.1: seq=40 ttl=64 time=0.864 ms
64 bytes from 192.168.0.1: seq=41 ttl=64 time=0.849 ms
64 bytes from 192.168.0.1: seq=42 ttl=64 time=0.850 ms
64 bytes from 192.168.0.1: seq=43 ttl=64 time=0.862 ms
64 bytes from 192.168.0.1: seq=44 ttl=64 time=0.840 ms
64 bytes from 192.168.0.1: seq=45 ttl=64 time=0.845 ms
64 bytes from 192.168.0.1: seq=46 ttl=64 time=0.810 ms
64 bytes from 192.168.0.1: seq=47 ttl=64 time=0.843 ms
64 bytes from 192.168.0.1: seq=48 ttl=64 time=0.852 ms
64 bytes from 192.168.0.1: seq=49 ttl=64 time=0.824 ms
64 bytes from 192.168.0.1: seq=50 ttl=64 time=0.869 ms
64 bytes from 192.168.0.1: seq=51 ttl=64 time=0.893 ms
64 bytes from 192.168.0.1: seq=52 ttl=64 time=0.860 ms
64 bytes from 192.168.0.1: seq=53 ttl=64 time=0.859 ms
64 bytes from 192.168.0.1: seq=54 ttl=64 time=0.832 ms
64 bytes from 192.168.0.1: seq=55 ttl=64 time=0.881 ms
64 bytes from 192.168.0.1: seq=56 ttl=64 time=0.826 ms
64 bytes from 192.168.0.1: seq=57 ttl=64 time=0.820 ms
64 bytes from 192.168.0.1: seq=58 ttl=64 time=0.822 ms
64 bytes from 192.168.0.1: seq=59 ttl=64 time=0.826 ms
64 bytes from 192.168.0.1: seq=60 ttl=64 time=0.852 ms
64 bytes from 192.168.0.1: seq=61 ttl=64 time=0.847 ms
64 bytes from 192.168.0.1: seq=62 ttl=64 time=0.854 ms
64 bytes from 192.168.0.1: seq=63 ttl=64 time=0.861 ms
64 bytes from 192.168.0.1: seq=64 ttl=64 time=0.848 ms
64 bytes from 192.168.0.1: seq=65 ttl=64 time=0.828 ms
64 bytes from 192.168.0.1: seq=66 ttl=64 time=0.886 ms
64 bytes from 192.168.0.1: seq=67 ttl=64 time=0.853 ms
64 bytes from 192.168.0.1: seq=68 ttl=64 time=0.851 ms
64 bytes from 192.168.0.1: seq=69 ttl=64 time=0.859 ms
64 bytes from 192.168.0.1: seq=70 ttl=64 time=0.827 ms
64 bytes from 192.168.0.1: seq=71 ttl=64 time=0.849 ms
64 bytes from 192.168.0.1: seq=72 ttl=64 time=0.805 ms

--- 192.168.0.1 ping statistics ---
73 packets transmitted, 73 packets received, 0% packet loss
round-trip min/avg/max = 0.782/0.855/1.849 ms
~ # himm 0x120100cc 0x0000047
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x120100cc: 0x0000004A --> 0x00000047
[END]
~ # hi_gmac_v200 10050000.ethernet eth0: Link is Down

~ # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 1A:51:85:2B:38:AA
          inet addr:192.168.0.55  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::1851:85ff:fe2b:38aa/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:291 errors:0 dropped:1 overruns:0 frame:0
          TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:40023 (39.0 KiB)  TX bytes:8012 (7.8 KiB)
          Interrupt:57

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

~ # himm 0x120100cc 0x000004A
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x120100cc: 0x00000047 --> 0x0000004A
[END]
~ # hi_gmac_v200 10050000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
~ # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 1A:51:85:2B:38:AA
          inet addr:192.168.0.55  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::1851:85ff:fe2b:38aa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:291 errors:0 dropped:1 overruns:0 frame:0
          TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:40023 (39.0 KiB)  TX bytes:8012 (7.8 KiB)
          Interrupt:57

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

~ # ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes

--- 192.168.0.1 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss
~ # ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes

--- 192.168.0.1 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
~ # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
~ # route add default gw 129.168.0.1
route: SIOCADDRT: Network is unreachable
~ # route add default gw 192.168.0.1
~ # ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes

--- 192.168.0.1 ping statistics ---
7 packets transmitted, 0 packets received, 100% packet loss
~ # route add default gw 192.168.0.1
route: SIOCADDRT: File exists
~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 1A:51:85:2B:38:AA
          inet addr:192.168.0.55  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::1851:85ff:fe2b:38aa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:291 errors:0 dropped:1 overruns:0 frame:0
          TX packets:112 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:40023 (39.0 KiB)  TX bytes:9552 (9.3 KiB)
          Interrupt:57

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1232 (1.2 KiB)  TX bytes:1232 (1.2 KiB)

~ # ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
--- 192.168.0.1 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss
~ # ifconfig eth0 up
~ # ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes

--- 192.168.0.1 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
~ # ifconfig eth0 down
~ # hi_gmac_v200 10050000.ethernet eth0: Link is Down

~ # ifconfig eth0 up
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
~ # himm 0x120100cc
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
====dump memory 0X120100CC====
0x120100cc: 0x0000004A
NewValue:
~ # himm 0x120100cc 0x000004A
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x120100cc: 0x0000004A --> 0x0000004A
[END]
~ # himm 0x120100cc 0x0000004A
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x120100cc: 0x0000004A --> 0x0000004A
[END]
~ # himm 0x120100cc 0x0000004A
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x120100cc: 0x0000004A --> 0x0000004A
[END]
~ # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 1A:51:85:2B:38:AA
          inet addr:192.168.0.55  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:291 errors:0 dropped:1 overruns:0 frame:0
          TX packets:124 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:40023 (39.0 KiB)  TX bytes:10056 (9.8 KiB)
          Interrupt:57

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:21 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2352 (2.2 KiB)  TX bytes:2352 (2.2 KiB)

~ # ifconfig eth0 up
~ # ifconfig eth0 down
~ # ifconfig eth0 up
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
~ # himm 0x120100cc 0x00000047
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x120100cc: 0x0000004A --> 0x00000047
[END]
~ # ifconfig -a


System startup


U-Boot 2010.06 (Dec 11 2018 - 18:11:51)

Check Flash Memory Controller v100 ... Found
SPI Nor(cs 0) ID: 0xc2 0x20 0x19
Block:64KB Chip:32MB Name:"MX25L(256/257)XX"
SPI Nor total size: 32MB
MMC:
EMMC/MMC/SD controller initialization.
Card did not respond to voltage select!
No EMMC/MMC/SD device found !
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
32768 KiB hi_fmc at 0:0 is now current device

## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-3.18.20
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3090541 Bytes = 2.9 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ... OK
OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpu
Linux version 3.18.20 (chengchenglu@ubuntu) (gcc version 4.9.4 20150629 (prerelease) (Hisilicon_v500_20160223) ) #21 SMP Sat Dec 29 12:35:21 CST 2018
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Hisilicon HI3519V101 DEMO Board
cmz zone is not set!
cma: Reserved 16 MiB at 0x83000000
Memory policy: Data cache writealloc
PERCPU: Embedded 9 pages/cpu @c2f4e000 s7424 r8192 d21248 u36864
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: mem=64M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 rw mtdparts=hi_sfc:1M(boot),3M(kernel),12M(rootfs)
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: 42160K/65536K available (4315K kernel code, 198K rwdata, 1128K rodata, 220K init, 338K bss, 23376K reserved, 0K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
    vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0558f88   (5444 kB)
      .init : 0xc0559000 - 0xc0590000   ( 220 kB)
      .data : 0xc0590000 - 0xc05c1ac0   ( 199 kB)
       .bss : 0xc05c1ac0 - 0xc061657c   ( 339 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
Architected cp15 timer(s) running at 24.00MHz (phys).
sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 2863311519744ns
Switching to timer-based delay loop, resolution 41ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x8041f158 - 0x8041f1b0
ARM CCI driver probed
CPU1: Booted secondary processor
CPU1: thread -1, cpu 0, socket 1, mpidr 80000100
Brought up 2 CPUs
SMP: Total of 2 processors activated (96.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
Serial: AMBA PL011 UART driver
12100000.uart: ttyAMA0 at MMIO 0x12100000 (irq = 36, base_baud = 0) is a PL011 rev2
console [ttyAMA0] enabled
SCSI subsystem initialized
ssp-pl022 12120000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12120000.spi: mapped registers from 0x12120000 to fea20000
ssp-pl022 12121000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12121000.spi: mapped registers from 0x12121000 to fea21000
ssp-pl022 12122000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12122000.spi: mapped registers from 0x12122000 to fea22000
ssp-pl022 12123000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12123000.spi: mapped registers from 0x12123000 to fea23000
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
futex hash table entries: 512 (order: 3, 32768 bytes)
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 82
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
pl061_gpio 12140000.gpio_chip: PL061 GPIO chip @0x12140000 registered
pl061_gpio 12141000.gpio_chip: PL061 GPIO chip @0x12141000 registered
pl061_gpio 12142000.gpio_chip: PL061 GPIO chip @0x12142000 registered
pl061_gpio 12143000.gpio_chip: PL061 GPIO chip @0x12143000 registered
pl061_gpio 12144000.gpio_chip: PL061 GPIO chip @0x12144000 registered
pl061_gpio 12145000.gpio_chip: PL061 GPIO chip @0x12145000 registered
pl061_gpio 12146000.gpio_chip: PL061 GPIO chip @0x12146000 registered
pl061_gpio 12147000.gpio_chip: PL061 GPIO chip @0x12147000 registered
pl061_gpio 12148000.gpio_chip: PL061 GPIO chip @0x12148000 registered
pl061_gpio 12149000.gpio_chip: PL061 GPIO chip @0x12149000 registered
pl061_gpio 1214a000.gpio_chip: PL061 GPIO chip @0x1214a000 registered
pl061_gpio 1214b000.gpio_chip: PL061 GPIO chip @0x1214b000 registered
pl061_gpio 1214c000.gpio_chip: PL061 GPIO chip @0x1214c000 registered
pl061_gpio 1214d000.gpio_chip: PL061 GPIO chip @0x1214d000 registered
pl061_gpio 1214e000.gpio_chip: PL061 GPIO chip @0x1214e000 registered
pl061_gpio 12150000.gpio_chip: PL061 GPIO chip @0x12150000 registered
brd: module loaded
hisi-sfc hisi_spi_nor.0: all blocks is unlocked.
hisi-sfc hisi_spi_nor.0: mx25l25635f (32768 Kbytes)
3 cmdlinepart partitions found on MTD device hi_sfc
Creating 3 MTD partitions on "hi_sfc":
0x000000000000-0x000000100000 : "boot"
0x000000100000-0x000000400000 : "kernel"
0x000000400000-0x000001000000 : "rootfs"
SPI Nand ID Table Version 2.2
Cannot found a valid SPI Nand Device
libphy: hisi_gemac_mii_bus: probed
Lucc: drivers/net/ethernet/hisilicon/higmac/higmac.c,higmac_dev_probe,1937
(unnamed net_device) (uninitialized): using random MAC address ea:45:b8:91:1c:e9
attached PHY 0 to driver Generic PHY, PHY_ID=0x221561
higmac: ETH MAC supporte CCI.
Higmac dma_sg_phy: 0x82ac0000
ETH: rmii, phy_addr=0
ETH: rmii, phy_addr=0
xhci-hcd 10180000.xhci: xHCI Host Controller
xhci-hcd 10180000.xhci: new USB bus registered, assigned bus number 1
xhci-hcd 10180000.xhci: irq 54, io mem 0x10180000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd 10180000.xhci: xHCI Host Controller
xhci-hcd 10180000.xhci: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-platform: EHCI generic platform driver
ehci-platform 10120000.ehci: EHCI Host Controller
ehci-platform 10120000.ehci: new USB bus registered, assigned bus number 3
ehci-platform 10120000.ehci: irq 51, io mem 0x10120000
ehci-platform 10120000.ehci: USB 2.0 started, EHCI 1.00
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-platform: OHCI generic platform driver
ohci-platform 10110000.ohci: Generic Platform OHCI controller
ohci-platform 10110000.ohci: new USB bus registered, assigned bus number 4
ohci-platform 10110000.ohci: irq 52, io mem 0x10110000
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
hisi-i2c-v110 12110000.i2c: HISILICON I2C V110 bus driver
hisi-i2c-v110 12110000.i2c: mapped registers from 0x12110000 to 0xfea10000
hisi-i2c-v110 12111000.i2c: HISILICON I2C V110 bus driver
hisi-i2c-v110 12111000.i2c: mapped registers from 0x12111000 to 0xfea11000
hisi-i2c-v110 12112000.i2c: HISILICON I2C V110 bus driver
hisi-i2c-v110 12112000.i2c: mapped registers from 0x12112000 to 0xfea12000
hisi-i2c-v110 12113000.i2c: HISILICON I2C V110 bus driver
hisi-i2c-v110 12113000.i2c: mapped registers from 0x12113000 to 0xfea13000
CPUidle for CPU1 registered
himci: mmc host probe
himci: mmc host probe
himci: mmc host probe
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
Registering SWP/SWPB emulation handler
VFS: Mounted root (jffs2 filesystem) on device 31:2.
devtmpfs: mounted
Freeing unused kernel memory: 220K (c0559000 - c0590000)
random: init urandom read with 0 bits of entropy available

            _ _ _ _ _ _ _ _ _ _ _ _
            \  _  _   _  _ _ ___
            / /__/ \ |_/
           / __   /  -  _ ___
          / /  / /  / /
  _ _ _ _/ /  /  \_/  \_ ______
___________\___\__________________

[RCS]: /etc/init.d/S00devs
mknod: /dev/console: File exists
mknod: /dev/ttyAMA0: File exists
mknod: /dev/null: File exists
[RCS]: /etc/init.d/S01udev
udev[68]: starting version 167
[RCS]: /etc/init.d/S80network
[RCS]: /etc/init.d/S90hibernate
Auto login as root ...
Jan  1 00:00:03 login[120]: root login on 'ttyS000'
Welcome to HiLinux.
None of nfsroot found in cmdline.
~ # himm 0x120100cc
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
====dump memory 0X120100CC====
0x120100cc: 0x00000002
NewValue:0x0000000A
Input Error
Segmentation fault
~ # himm 0x120100cc 0x0000004A
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x120100cc: 0x00000002 --> 0x0000004A
[END]
~ # ifconfig
~ # ifconfig -a
eth0      Link encap:Ethernet  HWaddr EA:45:B8:91:1C:E9
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:57

lo        Link encap:Local Loopback
          LOOPBACK  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

~ # ifconfig eth0 up
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
~ # hi_gmac_v200 10050000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
~ # ifconfig -a
eth0      Link encap:Ethernet  HWaddr EA:45:B8:91:1C:E9
          inet6 addr: fe80::e845:b8ff:fe91:1ce9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25 errors:0 dropped:1 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2695 (2.6 KiB)  TX bytes:578 (578.0 B)
          Interrupt:57

lo        Link encap:Local Loopback
          LOOPBACK  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

~ #
 

猜你喜欢

转载自blog.csdn.net/qingzhuyuxian/article/details/85341837