Skip to content
Snippets Groups Projects
uuu.lst 1.46 KiB
Newer Older
# Run this script with uuu -b tanaro.lst imx-boot Image guf-tanaro-fg0700w0dsswagl1.dtb fngsystem-image-seco-mx8mm.cpio.gz
#uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.43-5-ga0b566d
uuu_version 1.4.43
# arguments for uuu script:
# @_uboot	| U/Boot image (with SPL and Fastboot)
# @_image	| Linux kernel image
# @_dtb		| DTB
# @_initramfs	| initramfs

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f _uboot
# This command will be run when i.MX8MP
SDPS: boot -f _uboot

# These commands will be run when use SPL and will be skipped if no spl
# if (SPL support SDPV)
# {
SDPV: delay 1000
SDPV: write -f _uboot -skipspl -addr 0x42000000

SDPV: jump -addr 0x42000000
SDPV: delay 2000

# Not assuming u-boot settings, set to defaults 
# (on imx8mp they are not available yet)
# fdt_addr=0x43000000
# initrd_addr=0x43800000
# loadaddr=0x40480000
FB: ucmd setenv fdt_addr 0x43000000
FB: ucmd setenv initrd_addr 0x43800000
FB: ucmd setenv loadaddr 0x40480000


FB: ucmd setenv fastboot_buffer ${loadaddr}
FB: download -f _image
FB: ucmd setenv fastboot_buffer ${fdt_addr}
FB: download -f _dtb
FB: ucmd setenv fastboot_buffer ${initrd_addr}
FB: download -f _initramfs
FB: ucmd setenv bootargs "console=ttymxc0,115200 root=/dev/ram0 rootfstype=ramfs rdinit=/sbin/init cma=64M os=fngsystem vt.global_cursor_default=0 vt.color=0xF7 fbcon=logo-pos:center,logo-count:1,rotate:0"
FB: acmd booti ${loadaddr} ${initrd_addr}:${fastboot_bytes} ${fdt_addr}
FB: done
# }