uboot password:HI2105CHIP origin_firmware root password:$1$ocmTTAhE$v.q2/jwr4BS.20KYshYQZ1 uboot: hisilicon # ls Unknown command 'ls' - try 'help' hisilicon # help ? - alias for 'help' base - print or set address offset bootm - boot application image from memory bootp - boot image via network using BOOTP/TFTP protocol cmp - memory compare cp - memory copy crc32 - checksum calculation ddr - ddr training function getinfo - print hardware information go - start application at address 'addr' help - print command description/usage loadb - load binary file over serial line (kermit mode) loady - load binary file over serial line (ymodem mode) loop - infinite loop on address range md - memory display mii - MII utility commands mm - memory modify (auto-incrementing address) mmc - MMC sub system mmcinfo - mmcinfo -- display MMC info mtest - simple RAM read/write test mw - memory write (fill) nm - memory modify (constant address) ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables rarpboot- boot image via network using RARP/TFTP protocol reset - Perform RESET of the CPU saveenv - save environment variables to persistent storage setenv - set environment variables sf - SPI flash sub-system tftp - tftp - download or upload image via network using TFTP protocol version - print monitor version hisilicon # printenv bootdelay=1 baudrate=115200 ethaddr= bootfile="uImage" phyaddru=0 phyaddrd=1 bootcmd=sf probe 0;sf read 0x82000000 0x40000 0x150000;bootm 0x82000000 filesize=BC844 fileaddr=82000000 netmask=255.255.255.0 ipaddr=192.168.1.9 serverip=192.168.1.7 bootargs=mem=46M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=squashfs mtdparts=hi_sfc:256K(boot),1344K(kernel),2432K(rootfs),2624K(ipc),1536K(conf) stdin=serial stdout=serial stderr=serial verify=n ver=U-Boot 2010.06 (Nov 30 2017 - 15:05:15) hisilicon # print bootargs bootargs=mem=41M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=squashfs mtdparts=hi_sfc:256K(boot),1344K(kernel),2432K(rootfs),2624K(ipc),1536K(conf) hisilicon # setenv bootargs ${bootargs} hiwdt.ignore=1 hisilicon # boot Unknown command 'boot' - try 'help' U-Boot 2010.06 (Nov 30 2017 - 15:05:15) Check Flash Memory Controller v100 ... Found SPI Nor(cs 0) ID: 0x20 0x70 0x17 Block:64KB Chip:8MB Name:"xm25qh64a" SPI Nor total size: 8MB 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 8192 KiB hi_fmc at 0:0 is now current device ## Booting kernel from Legacy Image at 82000000 ... Image Name: Linux-3.4.35 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1353840 Bytes = 1.3 MiB Load Address: 80008000 Entry Point: 80008000 Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0 Linux version 3.4.35 (root@localhost.localdomain) (gcc version 4.8.3 20131202 ( prerelease) (Hisilicon_v300) ) #6 Tue Mar 20 09:55:33 HKT 2018 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: hi3518ev200 Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 11684 Kernel command line: mem=46M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfst ype=squashfs mtdparts=hi_sfc:256K(boot),1344K(kernel),2432K(rootfs),2624K(ipc), 1536K(conf) 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: 46MB = 46MB total Memory: 42864k/42864k available, 4240k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xc3000000 - 0xff000000 ( 960 MB) lowmem : 0xc0000000 - 0xc2e00000 ( 46 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc0341000 (3300 kB) .init : 0xc0341000 - 0xc03594a4 ( 98 kB) .data : 0xc035a000 - 0xc037c4e0 ( 138 kB) .bss : 0xc037c504 - 0xc03abc28 ( 190 kB) SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:32 VIC @fe0d0000: id 0x00641190, vendor 0x41 sched_clock: 32 bits at 49MHz, resolution 20ns, wraps every 86767ms Calibrating delay loop... 269.10 BogoMIPS (lpj=1345536) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok Setting up static identity map for 0x80281ce0 - 0x80281d38 NET: Registered protocol family 16 Serial: AMBA PL011 UART driver uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 5) is a PL011 rev2 console [ttyAMA0] enabled uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 30) is a PL011 rev2 uart:2: ttyAMA2 at MMIO 0x200a0000 (irq = 25) is a PL011 rev2 bio: create slab at 0 SCSI subsystem initialized hi-spi-master hi-spi-master.0: with 1 chip select slaves attached hi-spi-master hi-spi-master.1: with 2 chip select slaves attached usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb cfg80211: Calling CRDA to update world regulatory domain Switching to clocksource timer0 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 named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. squashfs: version 4.0 (2009/01/31) Phillip Lougher jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. msgmni has been set to 83 io scheduler noop registered io scheduler deadline registered (default) io scheduler cfq registered Check Flash Memory Controller v100 ... Found. SPI Nor(cs 0) ID: 0x20 0x70 0x17 Block:64KB Chip:8MB Name:"xm25qh64a" hifmc100_get_spi_lock_info(859): Error:The ID: 0x20 isn't in the BP table, hifmc100_get_spi_lock_info(860): Current device can't not protect SPI Nor total size: 8MB 5 cmdlinepart partitions found on MTD device hi_sfc 5 cmdlinepart partitions found on MTD device hi_sfc Creating 5 MTD partitions on "hi_sfc": 0x000000000000-0x000000040000 : "boot" 0x000000040000-0x000000190000 : "kernel" 0x000000190000-0x0000003f0000 : "rootfs" 0x0000003f0000-0x000000680000 : "ipc" 0x000000680000-0x000000800000 : "conf" himii: probed ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver hiusb-ehci hiusb-ehci.0: HIUSB EHCI hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1 hiusb-ehci hiusb-ehci.0: irq 15, io mem 0x100b0000 hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver hiusb-ohci hiusb-ohci.0: HIUSB OHCI hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 2 hiusb-ohci hiusb-ohci.0: irq 16, io mem 0x100a0000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. i2c /dev entries driver hisi_i2c hisi_i2c.0: Hisilicon [i2c-0] probed! hisi_i2c hisi_i2c.1: Hisilicon [i2c-1] probed! hisi_i2c hisi_i2c.2: Hisilicon [i2c-2] probed! TCP: cubic registered Initializing XFRM netlink socket NET: Registered protocol family 17 NET: Registered protocol family 15 lib80211: common routines for IEEE802.11 drivers usb 1-1: new high-speed USB device number 2 using hiusb-ehci VFS: Mounted root (squashfs filesystem) readonly on device 31:2. Freeing init memory: 96K [RCS]: /etc/init.d/S00devs [RCS]: /etc/init.d/S01udev himci: mmc1: valid phase shift [0, 4] Final Phase 2 mmc1: new ultra high speed SDR104 SDXC card at address 0001 mmcblk0: mmc1:0001 BC2QT 59.6 GiB mmcblk0: p1 Not recognise ACTION:change Not recognise ACTION:change Not recognise ACTION:change [RCS]: /etc/init.d/S80network [RCS]: /etc/init.d/S90hibernate jffs2: warning: (490) jffs2_do_read_inode_internal: Truncating ino #44 to 7871 bytes failed because it only had 0 bytes to start with!