Commit 1f47cff0 authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz

Merge branch 'scripts' into 'master'

Document uuu scripts

See merge request Librem5/librem5-devkit-tools!41
parents ebddd3aa 1f704f5e
......@@ -6,3 +6,4 @@ README.html
README.rst
tests/__pycache__
.pytest_cache/
files/
uuu scripts
===========
This directory contains different scripts to be used with [uuu](). See the
comments in the individual scripts for their particular purpose. If you're not
developing uboot for the devkit you likely want to look at
*scripts/librem5-devkit-flash-image* in this repository instead.
uuu: https://github.com/NXPmicro/mfgtools
uuu_version 1.0.1
SDP: boot -f ../files/u-boot-devkit-recovery.imx
# This command will be run when use SPL
SDPU: delay 1000
SDPU: write -f ../files/u-boot-devkit-recovery.imx -offset 0x57c00
SDPU: jump
# This command will be run when ROM support stream mode
SDPS: boot -f ../files/u-boot-devkit-recovery.imx
SDPU: delay 1000
#FB: ucmd setenv fastboot_buffer 0x43000000
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev 0
FB: flash -raw2sparse all ../files/devkit-test.img
FB: Done
uuu_version 1.0.1
# Using the recovery uboot in ../files/u-boot-devkit-recovery.imx
# flash a new image ../files/devkit.img
SDP: boot -f ../files/u-boot-devkit-recovery.imx
# This command will be run when use SPL
......
uuu_version 1.0.1
# Load a test kernel and initramfs to test without flashing anything
SDP: boot -f ../files/u-boot-devkit-recovery.imx
# This command will be run when use SPL
......
uuu_version 1.0.1
# Flash a new uboot and m4.bin located in ../files
SDP: boot -f ../files/u-boot-devkit-recovery.imx
# This command will be run when use SPL
SDPU: delay 1000
......
uuu_version 1.0.1
# Flash the recover uboot
SDP: boot -f ../files/u-boot-devkit-recovery.imx
# This command will be run when use SPL
SDPU: delay 1000
......
uuu_version 1.0.1
# Run a new recovery uboot
SDP: boot -f ../files/u-boot-devkit-recovery.imx
# This command will be run when use SPL
SDPU: delay 1000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment