command documentation
Jasper van Santen
jasper at dyflexis.com
Wed Sep 9 19:03:58 CEST 2020
Hi,
I am sorry to ask such a basic question, but i really can't find any
documentation on the commands possible in scripting.
Documentation of Hush and its commands i can't find.
I am working with the script in u-boot env below.
I can read it, but just because i am guessing.
Any help is appreciated
arch=arm
board=tinker_rk3288
board_name=tinker_rk3288
scriptaddr=0x00000000
soc=rockchip
vendor=rockchip
devnums=0 1
devtype=mmc
bootdelay=-2
fdt_addr_r=0x01f00000
fdt_high=0x0fffffff
fdtcontroladdr=7df5c620
ramdisk_addr_r=0x04000000
kernel_addr_r=0x02000000
bootargs=console=tty2 quiet vt.global_cursor_default=0 rootwait
consoleblank=0 loglevel=0
scan_dev_for_boot_part= \
part list mmc ${devnum} -bootable devplist; \
env exists devplist || setenv devplist 1; \
for distro_bootpart in ${devplist}; do \
if fstype mmc ${devnum}:${distro_bootpart} bootfstype; then \
run scan_dev_for_boot; \
fi; \
done
scan_dev_for_boot= \
if test -e mmc ${devnum}:${distro_bootpart} /boot/extlinux/extlinux.conf;
then \
setenv bootargs ${bootargs} root=/dev/mmcblk${devnum}p${distro_bootpart}; \
echo Booting with args: ${bootargs}; \
sysboot mmc ${devnum}:${distro_bootpart} any ${scriptaddr}
/boot/extlinux/extlinux.conf; \
fi
bootcmd= \
for devnum in ${devnums}; do \
if mmc dev ${devnum}; then \
run scan_dev_for_boot_part; \
fi; \
done
--
*Kind regards,Jasper van Santen*
More information about the U-Boot
mailing list