Skip to content
Jonathan Neuschäfer edited this page Jan 24, 2019 · 1 revision

https://github.com/neuschaefer/u-boot/tree/kobo-aura/

Commands

eBR-1A # help
?       - alias for 'help'
autoscr - DEPRECATED - use "source" command instead
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'
bootm   - boot application image from memory
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
date    - get/set/reset date & time
echo    - echo args to console
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
get_PCBA_id- get_PCBA_id - get PCBA id

get_epdpmic_ver- get_epdpmic_ver - get EPD PMIC version

get_up_ver- get_up_ver - get microp version

go      - start application at address 'addr'
hallsensor- hallsensor - get hallsensor state .

help    - print online help
i2c     - I2C sub-system
iminfo  - print header information for application image
imxtract- extract a part of a multi-image
itest   - return true/false on integer compare
load_ntxbins- load_ntxbins - netronix binaries load

load_ntxkernel- load_kernel - netronix kernel image load

load_ntxrd- load_ntxrd - netronix ramdisk image load

loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mf_adc  - mf_adc - get adc value

mf_key  - mf_key - ntx key test

mf_rtc  - mf_rtc - rtc date/time set/get

mf_sd_wp- mf_sd_wp - external sd card info

mii     - MII utility commands
mm      - memory modify (auto-incrementing address)
mmc     - MMC sub system
mmcinfo - mmcinfo <dev num>-- display MMC info
mtest   - simple RAM read/write test
mw      - memory write (fill)
nandinfo- nandinfo - get nand flash information .

nm      - memory modify (constant address)
ntx_prepare_load_kernel- ntx_prepare_load_kernel - prepare to load kernel

ntxup   - ntxup - netronix microp commands

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
source  - run script from memory
version - print monitor version
eBR-1A #

Environment

eBR-1A # printenv
bootdelay=1
baudrate=115200
loadaddr=0x70800000
uboot=u-boot.bin
kernel=uImage
bootargs_base=setenv bootargs console=ttymxc0,115200 rootwait rw no_console_suspend lpj=3997696
bootargs_mmc=setenv bootargs ${bootargs}
bootcmd_mmc=run bootargs_base bootargs_mmc;load_ntxkernel; bootm
bootargs_SD=setenv bootargs ${bootargs}
bootcmd_SD=run bootargs_base bootargs_SD;load_ntxkernel; bootm
bootargs_recovery=setenv bootargs ${bootargs}
bootcmd_recovery=run bootargs_base bootargs_recovery;load_ntxkernel; bootm
bootcmd=run bootcmd_mmc
KRN_SDNUM_SD=1
KRN_SDNUM_Recovery=0
verify=no
stdin=serial
stdout=serial
stderr=serial

Environment size: 616/131068 bytes