none
分类: LINUX
2016-10-12 17:09:30
hisilicon # hisilicon # tftp 0x82000000 uImage.hi3531NVR No such device: 0:2 No such device: 0:2 MAC: 00-00-45-1D-2A-39 TFTP from server 192.168.200.138; our IP address is 192.168.200.221 Download Filename 'uImage.hi3531NVR'. Download to address: 0x82000000 Downloading: ################################################# done Bytes transferred = 3713652 (38aa74 hex) hisilicon # hisilicon # usb start (Re)start USB... USB: scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... usb_stor_get_info->1406,blksz:512 1 Storage Device(s) found hisilicon # hisilicon # usb write 0x82000000 0 0x1D00 ####### Here 3713652/512=7254=0x1C56<=0x1D00 USB write: device 0 block # 0, count 7424 ... .................................................. ................................................................................................ ................................................................................................ ................................................................................................ ................................. 7424 blocks write: OK hisilicon # hisilicon # setenv bootcmd 'usb start;usb read 0x82000000 0 0x1D00;bootm 0x82000000';save;reset Saving Environment to NAND... Erasing Nand... Erasing at 0xe0000 -- 100% complete. Writing to Nand... done resetting ... U-Boot 2010.06.HISI.1.0.A.0_SVN.1876_3531.NVR (Jun 09 2016 - 03:36:36) NAND: Special Nand id table Version 1.35 Nand ID: 0xAD 0xF1 0x00 0x1D 0xAD 0xF1 0x00 0x1D Nand(Hardware): Block:128KB Page:2KB Chip:128MB*1 OOB:64B ECC:1bit 128 MiB AIC3101 Reg86=0x3b set_HISI_register Done NAND read: device 0 offset 0xe00000, size 0x200000 2097152 bytes read: OK decode at addr 0x85000000 jpeg! dev 0 set background color! dev 2 set background color! dev 0 opened! graphic layer 0 opened from addr 0x85000000 dev 2 opened! graphic layer 2 opened from addr 0x85000000 In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 (Re)start USB... USB: scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... usb_stor_get_info->1406,blksz:512 1 Storage Device(s) found USB read: device 0 block # 0, count 7424 ... .................................................. ............................................................................................... ............................................................................................... ............................................................................................... .................................... 7424 blocks read: OK ## Booting kernel from Legacy Image at 82000000 ... Image Name: Linux-3.0.8 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3713588 Bytes = 3.5 MiB Load Address: 80008000 Entry Point: 80008000 Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Linux version 3.0.8 (root@localhost.localdomain) (gcc version 4.4.1 (Hisilicon_v100(gcc4.4-290+uclibc_0.9.30.2+eabi+linuxpthread)) ) #Hi3531_1.0.A.0_SVN_1945 SMP Thu Jul 21 08:50:25 CST 2016