Имеется китайская IP-камера на HI3516CV300. Камера рабочая, но в ней закрыт telnet и ssh. Подключив USB-UART адаптер к плате я наблюдаю лог загрузки U-Boot, могу войти в его командную оболочку. А вот сообщений от ядра или приглашеия логина нет. Как я могу активировать вывод сообщений ядра и залогиниться? Или второй вариант, как включить доступ по telnet или ssh, если я могу слить дамп прошивки?
U-boot log при обычной загрузке
hi3516cv300 System startup
Uncompress.......Ok
hi3516cv300 System startup
U-Boot 2010.06-svn1098 (Jun 11 2018 - 13:18:18)
Check Flash Memory Controller v100 ... Found
SPI Nor(cs 0) ID: 0xef 0x40 0x18
spi_w25q256fv_qe_enable(193): Error: Disable Quad failed! reg:0x2
Block:64KB Chip:16MB Name:"W25Q128(B/F)V"
CONFIG_CLOSE_SPI_8PIN_4IO = y.
at hifmc100_setTB() mid:0xef,chipsize:0x1000000 <no>.
lk[6 => 0x800000]
SPI Nor total size: 16MB
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
Press Ctrl+C to stop autoboot
16384 KiB hi_fmc at 0:0 is now current device
srcAddr 0x83000000, dstAddr 0x82000000
created_inode 0x883d0200
find_squashfs_file: name bin, start_block 0, offset 2458, type 1
find_squashfs_file: name boot, start_block 0, offset 2558, type 1
read inode: name boot, sb 0, of 2558, type 1
find_squashfs_file: name uImage, start_block 0, offset 2490, type 2
read inode: name uImage, sb 0, of 2490, type 2
write_file: regular file, blocks 9
len 2222203
### FS load complete: 2222203 bytes loaded to 0x82000000
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-3.18.20
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2222139 Bytes = 2.1 MiB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ... OK
OK
Starting kernel ...
Переменные окружения U-boot
xmtech # printenv
bootargs=init=linuxrc mem=${osmem} console=ttyAMA0,115200 root=/dev/mtdblock1 rootfstype=squashfs mtdparts=hi_sfc:0x30000(boot),0x550000(romfs),0x740000(user),0x180000(web),0x80000(custom),0x140000(mtd)
bootcmd=setenv setargs setenv bootargs ${bootargs};run setargs;sf probe 0;sf read 83000000 30000 550000;squashfsload;bootm 0x82000000
bootdelay=1
baudrate=115200
ipaddr=192.168.1.10
serverip=192.168.1.107
netmask=255.255.255.0
bootfile="uImage"
da=tftp 0x82000000 u-boot.bin.img;sf probe 0;flwrite
du=tftp 0x82000000 user-x.cramfs.img;sf probe 0;flwrite
dr=tftp 0x82000000 romfs-x.cramfs.img;sf probe 0;flwrite
dw=tftp 0x82000000 web-x.cramfs.img;sf probe 0;flwrite
dl=tftp 0x82000000 logo-x.cramfs.img;sf probe 0;flwrite
dc=tftp 0x82000000 custom-x.cramfs.img;sf probe 0;flwrite
up=tftp 0x82000000 update.img;sf probe 0;flwrite
ua=mw.b 0x82000000 ff 1000000;tftp 0x82000000 upall_verify.img;sf probe 0;flwrite
tk=tftp 0x82000000 uImage;setenv setargs setenv bootargs ${bootargs};run setargs;bootm 0x82000000
dd=mw.b 0x82000000 ff 1000000;tftp 0x82000000 mtd-x.jffs2.img;sf probe 0;flwrite
ethaddr=00:12:17:f7:d3:8a
NID=0x0001
muxctl0=0x12040064
muxval0=0x0
gpio0=0x77
gpioval0=0x00
muxctl1=0x12040104
muxval1=0x00
gpio1=0x82
gpioval1=0x04
osmem=56M
appVideoStandard=PAL
appNetIP=0xFE1FA8C00x00FFFFFF0x011FA8C0
appCloudExAbility=fgNP3bCbO90=
appSystemLanguage=English
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2010.06-svn1098 (Jun 11 2018 - 13:18:18)
Environment size: 1473/65532 bytes