Перейти к содержанию

Dexp H32H8100K - обновить по через uart терминал


Перейти к решению Решено sus256,

Рекомендуемые сообщения

Опубликовано (изменено)

Доброго всем! на ремонте:

 

Модель: Dexp H32H8100K

Шасси: CV6681-B42

Проц: MSD6681

ЕММС: KLM8G1GETF-B041

Панель: HV320WHB-F56

 

Пришел с убитой emmc , заменил, залил прошивку от bbkя , включается, подсветка есть, изо есть правда перевернутое и искаженное. Кнопки не совпадают, в этом вся и проблема, не получается запустить обновление по usb. Подключил терминал , написал help, получил команды, собственно вопрос, подскажите пожалуйста как принудительно запустить обновление по usb через терминал?

Список команд прилагаю:

Спойлер

?       - alias for 'help'
CmdPerformanceTest- gettime   - Get the system executing time

ac      - set a new config to the bootargs

aesdma  - aesdma - do the aesdma command.

audio_preinit- audio_preinit   - Init audio driver

auto_flash- do auto flash image.

auto_tftp- do auto-address tftp.

base    - print or set address offset
bdinfo  - print Board Info structure
bin2emmc- bin2emmc - read bin file and restore it to emmc

boot    - boot default, i.e., run 'bootcmd'
bootargs_set- Set info exchange and set to boot args.
bootcheck- bootcheck   - Do boot check

bootd   - boot default, i.e., run 'bootcmd'
bootlogo- bootlogo   - Display Logo_Music

bootm   - boot application image from memory
bootmusic- bootmusic   - play music

bootp   - boot image via network using BOOTP/TFTP protocol
checkUsbModeSwitch- checkUsbModeSwitch  -

checkVersion- check current verison and upgrade image version

checkfile- check file exist in u disk,and set the partition.
checkstr- check_str_resume

checktee- Check TEE binary
chkmiusetting- chkmiusetting   - Check MIU setting

cleanallenv- cleanall environment variables to persistent storage
cmp     - memory compare
cnstar  - do net update from the specified file that is in oad partition

config2env- Set config to environment.
config_raw_io- Config the target device for raw I/O
coninfo - print console devices and information
costar  - do oad update from the specified file that is in oad partition

cp      - memory copy
crc32   - checksum calculation
createMbootBak- emmc create mbootbak partition -

ctv_factory_mode_check- factory mode to check usb files and do test

custar  - do usb update from the specified file that is in usb.

dbg     - set debug message level. Default level is INFO
dbtable_init- dbtable_init   - let data  is ready (logo, music, panel, ursa).

dc      - delete the specific cofig that is in the bootargs

delay   - delay time, time unit is ms

destroy_logo- destroy_logo - Stop logo display

dhcp    - boot image via network using DHCP/TFTP protocol
dont_overwrite- This serial apis are for protecting the specific partitions are                                                                              overwrited. ex: customer
This cmd is used to register which partition should not be overwrite

dont_overwrite_free- This serial apis are for protecting the specific partitions                                                                              are overwrited. ex: customer
This cmd is used to free all registered partitions.

dont_overwrite_init- This serial apis are for protecting the specific partitions                                                                              are overwrited. ex: customer
This cmd is used to init this function

dont_overwrite_switch- This serial apis are for force write and re-create partit                                                                             ions.
This cmd is used to disable dont_overwrite function.

draw_jpg- blt_jpg   - Blt JPG

draw_pixel- draw_pixel - draw a pixel with color

draw_progress- draw_string - draw string with color

draw_rect- draw_rect - draw rect with color

draw_string- draw_string - draw string with color

du      - du  - Disable UART

ebist   - PHY loopback test
echo    - echo args to console
editenv - edit environment variable
edump   - EMAC Register settings dump
eloopback- Long loopback test
emmc    - eMMC sub system
emmcbin - emmcbin - dump emmc and restore it to fat usb disk

emmcbootbin- emmcbootbin - dump emmc boot partition and write it to fat usb disk

env     - environment handling commands
envload - envload   - reload the nand environment.

epd     - emac power down
estart  - EMAC start
ewavetest- EMAC wave test
exit    - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
ext4filesize- get file size from a Ext4 filesystem
ext4load- load binary file from a Ext4 filesystem
ext4ls  - list files in a directory (default /)
ext4partload- part load binary file from a Ext4 filesystem
ext4write- create a file in the root directory
factory_check_usb_files- check usb files, enter diffrrent mode

false   - do nothing, unsuccessfully
fastboot- enter fastboot mode
fatfilesize- fatfilesize - load binary file from a dos filesystem

fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fatpartload- fatpartload - load binary file from a dos filesystem

fatwrite- fatwrite - write binary file to a dos filesystem

filelist- Dump the file list.

filelisttest- This command is only for file list test

filepartload- load part of a file to RAM
filepartloadSeg- load a seg part of file to RAM
flashbin- flashbin - dump/restore emmc or nand flash data to/from flash.bin

force_overwrite- This serial apis are for force write and re-create partitions.
This cmd is used to register which partition should force overwrite

force_overwrite_init- This serial apis are for force write and re-create partiti                                                                             ons.
This cmd is used to register which partition should force overwrite

get_mmap- get memory info from supernova's mmap
gettime - gettime   - Get the system executing time

go      - start application at address 'addr'
gpio    - GPIO Command:
help    - print command description/usage
i2c     - I2C sub-system
if_boot_to_pm- if boot to PM

iminfo  - print header information for application image
imxtract- extract a part of a multi-image
initDbgLevel- Initial varaible 'dbgLevel'
init_raw_io- init raw_io module
ir_delay- ir_delay   -  delay 300ms for IR detect.

itest   - return true/false on integer compare
kernelProtect- kernelProtect  - Protect kernel

kernelProtectBist- kernelProtectBist  - Protect kernel bist

led     - See led commands
loadb   - load binary file over serial line (kermit mode)
loadenv - loadenv   - load env for nand

loads   - load S-Record file over serial line
loadspi - load data from SPI
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
lz4     - LZ4 decompress
m2e     - Restore the address and len to env from supernova's mmap

macaddr - setup EMAC MAC addr
mbootver_set- setmbootver   -  for customer show in factory menu.

mbup    - mboot upgrade

md      - memory display
memtest - Get the performance of memory
miuProtect- miuProtect  - Protect miu

mm      - memory modify (auto-incrementing address)
mmc     - MMC sub system
mmcbininfo- mmcbininfo - Valid block num in each partition

mmcinfo - display MMC info
mmcreg  - mmcreg show ext-csd
modelinfo- modelinfo   - check model info if need sync to sync dbpool

mscompress7- Compress or decompress lzma files
msg     - print string - msg [string]

mstar   - update kernal & root file system automatically by script file
mstar_usb- MStar USB Driver Porting
mtest   - simple RAM read/write test
multi2optee- For Multi Optee Image writting to EMMC
mversion- show changelist - mversion

mw      - memory write (fill)
nm      - memory modify (constant address)
nstar   - nstar   - update softwave system automatically via net

nuttxProtect- nuttx Protect  - Protect nuttx

osd_create- osd_create - create osd layer

osd_destroy- osd_destroy - destroy osd layer

osd_flush- osd_flush - flush canvas to screen

ostar   - ostar   - update softwave system automatically via oad

ota_zip_check- do OTA zip package check.

panel_init- panel_init  - init panel by panel.ini

panel_post_init- backligth on  - backlight on

panel_pre_init- panel_pre_init  - init panel by panel.ini

ping    - send ICMP ECHO_REQUEST to network host
pm51    - pm51 command: pm51 [option]

pmProtect- runtime pm Protect  - Protect runtime PM

pop_raw_io_config- pop raw_io last config
printenv- print environment variables
push_raw_io_config- push raw_io current config
qhb_check- run QHB flag check
raw_io_status- get raw_io status
raw_read- Read the raw datas that store in the target device
Yo have to execute 'config_raw_io' before using this cmd

raw_write- Write the raw datas that store in the target deviceYo have to execute                                                                              'config_raw_io' before using this cmd

readArmFw- readArmFw   - read Nuttx to malloc buffer

readOptee- readOptee   - core1 run at Nuttx

recovery_wipe_partition- do recovery wipe data or cache.

reset   - Perform RESET of the CPU
riu     - riu  - riu command

run     - run commands in an environment variable
runtime_pm- if boot to PM

sar     - sar Command:
saveenv - save environment variables to persistent storage
setenv  - set environment variables
showboard- Show board information
showtb  - Show register command table.    -  showtb [stage]

showvar - print local hushshell variables
showversion- Show version
sleep   - delay execution for some time
smc     - smc   - jump to arm_trusted_firmware

source  - run script from memory
sparse_write- do sparse image writing to target flash type.

spi2usb - Read data from spi to usb
sync_mmap- Sync the some id's address and len to env and bootargs from supernova                                                                             's mmap

test    - minimal test like /bin/sh
testmode- set testmode into bootargs.
tftpboot- boot image via network using TFTP protocol
true    - do nothing, successfully
udstar  - Execute the script file that is stored in usb disk

unlockcmi- unlock cmi transfer board   -  unlock

update_mode- get/set update_mode

updatemiureg- Call driver to update miu setting
usb     - USB sub-system
usb2spi - write data from usb to spi
usb_bin_check- do usb bin document check.

usb_partial_upgrade_to_emmc- partial upgrade from USB to eMMC

usbboot - boot from USB device
ustar   - ustar   - update kernal & root file system automatically by script fil                                                                             e

version - print monitor, compiler and linker version
wdt_enable- wdt_enable n - set Watchdog timer to n secs
 

  

Изменено пользователем sus256
Опубликовано
1 час назад, sus256 сказал:

принудительно запустить обновление по usb через терминал

 

1 час назад, sus256 сказал:

custar - выполнить обновление usb из указанного файла, который находится на usb

...а что , клавиша TAB не помогает?

  • Отлично! 1
Опубликовано
1 час назад, sus256 сказал:

Кнопки не совпадают, в этом вся и проблема,

Кнопку включения то можно вычислить какая... 

Опубликовано
1 час назад, sus256 сказал:

залил прошивку от bbkя

ссылку в тему покажи

 

  • Решение
Опубликовано

вот от сюда взял

Это скрытый контент, для просмотра сообщения Вы должны быть Участником форума.

Команду в терминале пробовал не прокатило.

Действительно получилось подобрать кнопку power . Обнова запустилась. 

Для публикации сообщений создайте учётную запись или авторизуйтесь

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Это очень просто!

Регистрация

Войти

Уже есть аккаунт? Войти в систему.

Войти
  • Последние посетители   0 пользователей онлайн

    • Ни одного зарегистрированного пользователя не просматривает данную страницу
×
×
  • Создать...