A więc kolejny mf286 z t-mobile pl to mf286A:
------------------------------------------------------------
[ 43.460000] /home/scl/ci/workspace/Soft4_MF286A_TMO_CPE/qsdk/build_dir/linux-ar71xx_generic/zte_genl_kernel-1.0/zte_genl_kernel_main.c[197]: INFO:Recv from userspace: [5]
[ 43.730000]
[ 43.730000] /home/scl/ci/workspace/Soft4_MF286A_TMO_CPE/qsdk/build_dir/linux-ar71xx_generic/zte_genl_kernel-1.0/zte_genl_kernel_main.c[197]: INFO:Recv from userspace: [5]
[ 44.010000]
[ 44.010000] /home/scl/ci/workspace/Soft4_MF286A_TMO_CPE/qsdk/build_dir/linux-ar71xx_gen
i ma spodziewane 16 partycji:
-------------------------------------------
mtd0: 000a0000 00010000 "u-boot"
mtd1: 00020000 00010000 "u-boot-env"
mtd2: 00140000 00010000 "reserved1"
mtd3: 000a0000 00020000 "fota-flag"
mtd4: 00080000 00020000 "art"
mtd5: 00080000 00020000 "mac"
mtd6: 000c0000 00020000 "reserved2"
mtd7: 00400000 00020000 "cfg-param"
mtd8: 00400000 00020000 "log"
mtd9: 000a0000 00020000 "oops"
mtd10: 00500000 00020000 "reserved3"
mtd11: 00800000 00020000 "web"
mtd12: 00300000 00020000 "kernel"
mtd13: 01a00000 00020000 "rootfs"
mtd14: 01900000 00020000 "data"
mtd15: 03200000 00020000 "fota"
mtd16: 01d00000 00020000 "firmware"
Adapter na Prolofic nie generuje krzaków:
-------------------------------------------------------
U-Boot 1.1.4 (Jan 29 2018 - 14:30:45)
ap152 - Dragonfly 1.0DRAM:
sri
ath_ddr_initial_config(278): (ddr2 init)
ath_sys_frequency: cpu 775 ddr 650 ahb 258
Tap values = (0xf, 0xf, 0xf, 0xf)
128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 410k for U-Boot at: 87f98000
Reserving 192k for malloc() at: 87f68000
Reserving 44 Bytes for Board Info at: 87f67fd4
Reserving 36 Bytes for Global Data at: 87f67fb0
Reserving 128k for boot params() at: 87f47fb0
Stack Pointer at: 87f47f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x15
flash size 2MB, sector count = 32
Flash: 2 MB
*** Warning - bad CRC, using default environment
Power up PLL with outdiv = 0 then switch to 3
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
Max resets limit reached exiting...
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_spi_nand_ecc: furture feat = 0x18
ath_spi_nand_ecc: middle feat = 0x18
zte ath_spi_nand_read_id 0xefaa
zte ath_spi_nand_read_id 0xefaa21
====== NAND Parameters ======
sc addr = 0x87ff7390 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 0x1800000)
Image Name: MIPS OpenWrt Linux-3.3.8
Created: 2018-07-30 3:44:34 UTC
Image Type: MIPS Linux Multi-File Image (lzma compressed)
Data Size: 1204601 Bytes = 1.1 MB
Load Address: 80060000
Entry Point: 80060000
Contents:
Image 0: 1204593 Bytes = 1.1 MB
## Booting image at 81000000 ...
Image Name: MIPS OpenWrt Linux-3.3.8
Created: 2018-07-30 3:44:34 UTC
Image Type: MIPS Linux Multi-File Image (lzma compressed)
Data Size: 1204601 Bytes = 1.1 MB
Load Address: 80060000
Entry Point: 80060000
Contents:
Image 0: 1204593 Bytes = 1.1 MB
Verifying Checksum at 0x81000040 ...OK
Uncompressing Multi-File Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 134217728
Starting kernel ...
[ 0.000000] Linux version 3.3.8 (scl@scl_xa243_241) (gcc version 4.6.3 201202 01 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Mon Jul 30 11:43:55 CST 2018
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019750 (MIPS 74Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA956X rev 0
[ 0.000000] Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.00
Da się zatrzymać uboota:
--------------------------------------------------
ath> printenv
bootargs=console=ttyS0,115200 root=31:13 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:640k(u-boot),128k(u-boot-env),1280k(reserved1);ath-spi-nand:640k(fota-flag),512k(art),512k(mac),768k(reserved2),4m(cfg-param),4m(log),640k(oops),5m(reserved3),8m(web),3m(kernel),26m(rootfs),25m(data),50m(fota)
bootcmd=nboot 0x81000000 0 0x1800000
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 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
lf=tftp 0x80060000 ${dir}zte_rootfs&&nand erase 0x1B00000 0x1A00000&&nand write $fileaddr 0x1B00000 $filesize
lk=tftp 0x80060000 ${dir}zte_kernel&&nand erase 0x1800000 0x300000&&nand write $fileaddr 0x1800000 $filesize
lw=tftp 0x80060000 ${dir}web.img&&nand erase 0x1000000 0x800000&&nand write $fileaddr 0x1000000 $filesize
lrb=tftp 0x80060000 ${dir}delta.mld&&nand erase 0x3500000 0x1900000&&nand write $fileaddr 0x3500000 $filesize
lr=tftp 0x80060000 ${dir}root_uImage&&nand erase 0x1000000 0x800000 &&nand write_partition 0x80060000 0x1000000 0x800000 &&nand erase 0x1B00000 0x1A00000 &&nand write_partition 0x80b60000 0x1B00000 0x1A00000 &&nand erase 0x1800000 0x300000 &&nand write_partition 0x80860000 0x1800000 0x300000
stdin=serial
stdout=serial
stderr=serial
ethact=eth0
Environment size: 1359/65532 bytes
Odpala tftpboot:
-----------------------------------
ath> tftpboot
Trying eth0
ath_gmac_phy_link
ath_gmac_phy_duplex
ath_gmac_phy_speed
eth0 link down
FAIL
*** Warning: no boot file name; using '0100A8C0.img'
Using eth0 device
TFTP from server 192.168.0.22; our IP address is 192.168.0.1
Filename '0100A8C0.img'.
Load address: 0x81000000
Loading: Tx Timed out