Boot SPI NAND
start read bootheader
start read secondboot
non secure boot
Jump
enter bootloader...
crpm init enter
crpm init done
ddr init done
SPI NAND
non secure uboot
backup header!!
Jump
U-Boot 2013.04 (Jun 09 2020 - 09:34:19)
CPU : ZX279128S@A9,1000MHZ
Board: ZTE zx279128sevb
I2C: ready
DRAM: 512 MiB
,20000000,60000000
product_vid = 17
vid=17-F680
output gpio:56, value=1, 0
output gpio:57, value=1, 0
output gpio:58, value=1, 0
output gpio:59, value=1, 0
mtk reset,44,55
mtk reset,45,53
bootsel=3
NAND: manuid=c9,52
Manu ID: 0xc9, Chip ID: 0x52 (HY SPI NAND HYF2GQ4UAACAE 256MiB 3,3V)
256 MiB
<nand_read_skip_bad_,333>!mtdpart=0x1,offset=0x0,mtdpartoffset=0x180000,mtdPartsize=0x80000,length=0x20000
In: serial
Out: serial
Err: serial
clk_pll env is not setted, core clk won't change
Net: enter ref_clk_set.. mode = 0 .
enter pll_cfg_fractional
ref_clk_set success!
gpon serdes init
rxpll_ready
addr 0x9400004c before value is 38000
addr 0x9400004c after value is 381ff
eth0
Hit 1 to upgrade software version
Hit any key to stop autoboot: 0
=>
=>
=> ?
? - alias for 'help'
autorun - start version
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootk - boot kernel
bootm - boot application image from memory
bootz - boot Linux zImage image from memory
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
dhcp - boot image via network using DHCP/TFTP protocol
downver - upgrade software downloaded from TFTP server
echo - echo args to console
fdt - flattened device tree utility commands
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
go - start application at address 'addr'
gpiotest- gpiotest dir [num] [in/out]
gpiotest value [num] [1/0]
gpiotest gvalue [num]
help - print command description/usage
i2c - I2C sub-system
imxtract- extract a part of a multi-image
itest - return true/false on integer compare
ls - list files in a directory (default /)
md - memory display
mii - MII utility commands
mt - memory test
mtddebug- mtddebug operate
mtest - simple RAM read/write test
mw - memory write (fill)
nand - NAND sub-system
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sleep - delay execution for some time
tftp - boot image via network using TFTP protocol
version - print monitor, compiler and linker version
watchdog- watchdog reset && disable
xmodem - xmodem
=>
=>
=> bdinfo
arch_number = 0x00044258
boot_params = 0x40000100
DRAM bank = 0x00000000
-> start = 0x40000000
-> size = 0x20000000
eth0name = eth0
ethaddr = 00:41:71:00:00:50
current eth = eth0
ip_addr = 192.168.1.1
baudrate = 115200 bps
TLB addr = 0x5FFF0000
relocaddr = 0x5FFA1000
reloc off = 0x180A1000
irq_sp = 0x5F560F40
sp start = 0x5F560F30
=> coninfo
List of available devices:
serial 80000003 SIO stdin stdout stderr
zte_serial 00000003 .IO
=> fsinfo
no version
=> help
? - alias for 'help'
autorun - start version
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootk - boot kernel
bootm - boot application image from memory
bootz - boot Linux zImage image from memory
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
dhcp - boot image via network using DHCP/TFTP protocol
downver - upgrade software downloaded from TFTP server
echo - echo args to console
fdt - flattened device tree utility commands
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
go - start application at address 'addr'
gpiotest- gpiotest dir [num] [in/out]
gpiotest value [num] [1/0]
gpiotest gvalue [num]
help - print command description/usage
i2c - I2C sub-system
imxtract- extract a part of a multi-image
itest - return true/false on integer compare
ls - list files in a directory (default /)
md - memory display
mii - MII utility commands
mt - memory test
mtddebug- mtddebug operate
mtest - simple RAM read/write test
mw - memory write (fill)
nand - NAND sub-system
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sleep - delay execution for some time
tftp - boot image via network using TFTP protocol
version - print monitor, compiler and linker version
watchdog- watchdog reset && disable
xmodem - xmodem
=> i2c
i2c - I2C sub-system
Usage:
i2c crc32 chip address[.0, .1, .2] count - compute CRC32 checksum
i2c loop chip address[.0, .1, .2] [# of objects] - looping read of device
i2c md chip address[.0, .1, .2] [# of objects] - read from I2C device
i2c mm chip address[.0, .1, .2] - write to I2C device (auto-incrementing)
i2c mw chip address[.0, .1, .2] value [count] - write to I2C device (fill)
i2c nm chip address[.0, .1, .2] - write to I2C device (constant address)
i2c probe [address] - test for and show device(s) on the I2C bus
i2c read chip address[.0, .1, .2] length memaddress - read to memory
i2c write memaddress chip address[.0, .1, .2] length - write memory to i2c
i2c reset - re-init the I2C Controller
i2c speed [speed] - show or set I2C bus speed
=> ls
skip bad block...addr=0x1000000
addr=1a20000
addr=3a20000
---mtdparts_init--current_mtd_partnum=0-
dev id: type = 2, num = 0, size = 0xffffffff, mtd_id = single part
part : name = rootfs0, size = 0x014e0000, offset = 0x01a40000
part : name = rootfs1, size = 0x014e0000, offset = 0x03a40000
--- jffs2_part_info: partition number 0 for device nand0 (single part)
jffs2_part_info:rootfs0,1a40000
rootfs0,1a40000
Scanning JFFS2 FS: ..................... done.
-rw-r--r-- 3546754 Tue Jun 09 02:02:34 2020 0uImage
drwxr-xr-x 0 Tue Jun 09 02:02:34 2020 bin
drwxr-xr-x 0 Tue Jun 09 01:34:36 2020 dev
drwxr-xr-x 0 Tue Jun 09 02:02:33 2020 etc
drwxr-xr-x 0 Tue Jun 09 02:02:32 2020 home
-rwxr-xr-x 66 Tue Jun 09 01:34:18 2020 init
drwxr-xr-x 0 Tue Jun 09 02:02:33 2020 kmodule
drwxr-xr-x 0 Tue Jun 09 02:02:33 2020 lib
lrwxrwxrwx 12 Tue Jun 09 01:52:09 2020 linuxrc -> /bin/busybox
drwxr-xr-x 0 Tue Jun 09 01:34:18 2020 mnt
drwxr-xr-x 0 Tue Jun 09 01:34:18 2020 proc
drwxr-xr-x 0 Tue Jun 09 01:34:18 2020 root
drwxr-xr-x 0 Tue Jun 09 02:02:34 2020 sbin
drwxr-xr-x 0 Tue Jun 09 01:34:18 2020 sys
drwxr-xr-x 0 Tue Jun 09 01:34:18 2020 tagparam
lrwxrwxrwx 7 Tue Jun 09 01:34:18 2020 temp -> var/tmp
lrwxrwxrwx 7 Tue Jun 09 01:34:18 2020 tmp -> var/tmp
drwxr-xr-x 0 Tue Jun 09 01:34:18 2020 userconfig
drwxr-xr-x 0 Tue Jun 09 01:34:18 2020 usr
drwxr-xr-x 0 Tue Jun 09 01:34:18 2020 var
drwxr-xr-x 0 Tue Jun 09 01:34:18 2020 wlan
=>
=> printenv
baudrate=115200
bootcmd=setenv bootargs console=$(console) root=/dev/mtdblock9 ro rootfstype=jffs2 mem=$(memsize);bootm 0x44000000;
bootdelay=3
bootfile=uboot.bin
bootloaderfile=bootloader.bin
console=ttyAMA0,115200n8
ethact=eth0
ethaddr=00:41:71:00:00:50
filesize=361e82
fullfile=upgrade.bin
gatewayip=192.168.1.1
hostname=unknown
ipaddr=192.168.1.1
linuzfile=vmlinuz.bin
loadaddr=0x42000000
memsize=512M
netmask=255.255.255.0
netretry=5
serverip=192.168.1.100
stderr=serial
stdin=serial
stdout=serial
versioninfo=U-Boot V9.0.10T2 20200609100236 0x1a20000 0x0 0x8f 0x82
Environment size: 619/131068 bytes
=>
Nenhum comentário:
Postar um comentário