|
本帖最后由 hust109 于 2019-5-27 21:56 编辑
设置后假死了,怎么TTL清空配置,只知道CFE下nvram clear,请教Uboot下同等命令。
ath> printenv
printenv
bootargs=console=ttyS0,115200 root=31:9 rootfstype=cramfs init=/sbin/init mtdparts=ath-nor0:512k(uboot),128k(uboot-env);ath-spi-nand:1280k(fota-flag),1280k(caldata),1280k(mac),6m(cfg-param),1280k(oops),8m(web),3m(kernel),31m(rootfs),25m(data),50m(fota)
bootcmd=nboot 0x81000000 0 0x1300000
bootdelay=2
baudrate=115200
ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
ipaddr=192.168.0.1
serverip=192.168.0.22
dir=
lu=tftp 0x80060000 ${dir}u-boot.bin&&erase_ext 0 $filesize&&write_ext $fileaddr 0 $filesize
lf=tftp 0x80060000 ${dir}zte-rootfs&&nand erase 0x1600000 0x1f00000&&nand write $fileaddr 0x1600000 $filesize
lk=tftp 0x80060000 ${dir}zte-kernel&&nand erase 0x1300000 0x300000&&nand write $fileaddr 0x1300000 $filesize
lw=tftp 0x80060000 ${dir}web.img&&nand erase 0xb00000 0x800000&&nand write $fileaddr 0xb00000 $filesize
lrb=tftp 0x80060000 ${dir}delta.mld&&nand erase 0x3500000 0x1900000&&nand write $fileaddr 0x3500000 $filesize
lr=tftp 0x80060000 ${dir}root_uImage&&nand erase 0xb00000 0x2a00000&&nand write $fileaddr 0xb00000 $filesize
ethact=eth0
stdin=serial
stdout=serial
stderr=serial
Environment size: 1089/65532 bytes
U-Boot 1.1.4 (Jun 18 2015 - 07:53:03)
ap152 - Dragonfly 1.0DRAM:
sri
ath_ddr_initial_config(278): (ddr2 init)
ath_sys_frequency: cpu 775 ddr 650 ahb 258
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 417k for U-Boot at: 87f94000
Reserving 192k for malloc() at: 87f64000
Reserving 44 Bytes for Board Info at: 87f63fd4
Reserving 36 Bytes for Global Data at: 87f63fb0
Reserving 128k for boot params() at: 87f43fb0
Stack Pointer at: 87f43f98
Now running in RAM - U-Boot at: 87f94000
Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x15
flash size 2MB, sector count = 32
Flash: 2 MB
In: serial
Out: serial
Err: serial
Net: ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init (MDC/MDIO config)::done
Dragonfly ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:ff:ff:ff
ath_gmac_phy_setup
eth0 up
eth0
Qualcomm Atheros SPI NAND Driver, Version 0.1 (c) 2014 Qualcomm Atheros Inc.
ath_parse_read_id: SPI NAND V.Id: 0xc8 D.Id: 0xd1
====== NAND Parameters ======
sc addr = 0x87ff4f80 page(write size) = 0x800 (erase size) block = 0x20000
Setting 0x181162c0 to 0x4b962100
Uaztemain: enter into !
zte_getHandOffState: read data=0xff from 0x0
Uaztemain: no need to update '{'
Hit any key to stop autoboot: 0
Loading from device 0: ath-spi-nand (offset 0x1300000)
Image Name: Linux Kernel Image
Created: 2015-06-21 0:13:18 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1287326 Bytes = 1.2 MB
Load Address: 80002000
Entry Point: 802962a0
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
ath_spi_nand_page_read :status=0x10
## Booting image at 81000000 ...
Image Name: Linux Kernel Image
Created: 2015-06-21 0:13:18 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1287326 Bytes = 1.2 MB
Load Address: 80002000
Entry Point: 802962a0
Verifying Checksum at 0x81000040 ...OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 802962a0) ...
## Giving linux memsize in bytes, 134217728
Starting kernel ...
Booting QCA956x
|
|