8c65ab5fab
BSH SMM S2 (SystemMaster S2) Board is an add-on board which provide input and output interfaces to a dedicated carrier board. It is designed mainly to provide graphical/video and connectivity interfaces to the appliance. Board support package includes the following components: - mainline Linux kernel 6.1.6 - mainline U-Boot 2022-07 - default packages from buildroot https://www.apertis.org/reference_hardware/imx8mn_bsh_smm_s2pro_setup/ The smm s2 board is basically the same as the pro except it boots from NAND instead of eMMC. Co-authored-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
1008 B
Plaintext
30 lines
1008 B
Plaintext
# @_flash.bin | bootloader
|
|
# @_image [_flash.bin] | image burn to nand, default is the same as bootloader
|
|
# @_filesystem | filesystem to burn
|
|
# @_kernel | kernel image
|
|
# @_dtb | dtb image
|
|
|
|
# This command will be run when ROM support stream mode
|
|
# i.MX8QXP, i.MX8QM
|
|
SDPS: boot -f _flash.bin
|
|
|
|
FB: ucmd setenv fastboot_buffer ${loadaddr}
|
|
FB: download -f _image
|
|
# Burn image to nandfit partition if needed
|
|
FB: ucmd if env exists nandfit_part; then nand erase.part nandfit; nand write ${fastboot_buffer} nandfit ${filesize}; else true; fi;
|
|
FB: ucmd nandbcb init ${fastboot_buffer} nandboot ${filesize}
|
|
|
|
FB[-t 10000]: ucmd ubi part nandrootfs
|
|
FB[-t 10000]: ucmd ubi create root -
|
|
FB: download -f _filesystem
|
|
FB[-t 60000]: ucmd ubi write ${loadaddr} root ${filesize}
|
|
|
|
FB: download -f _kernel
|
|
FB[-t 10000]: ucmd nand write ${loadaddr} nandkernel ${filesize}
|
|
|
|
FB: download -f _dtb
|
|
FB[-t 8000]: ucmd nand write ${loadaddr} nanddtb ${filesize}
|
|
|
|
FB: reboot
|
|
FB: done
|