summaryrefslogtreecommitdiff
path: root/recipes-images/images/files/library/imx6/update.sh
AgeCommit message (Collapse)Author
2018-09-13tdx-image-fstype: configure update.sh from KERNEL_DEVICE_TREEMax Krummenacher
The machine configurations provide a list of built device tree files. Use said variable to modify update.sh rather than maintaining the same list in the machine configuartion and update.sh. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-03-22apalis/colibri: switch to zimage instead of uimageBhuvanchandra DV
Switch to the generic compressed Kernel image type (zImage) instead of the U-Boot specific uImage format. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@gmail.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-03-22tdx-image-fstype: move to a spl/u-boot recovery download chainMax Krummenacher
Move from a recovery u-boot.imx to download first the SPL which immediately goes into SDP download mode again and then download u-boot.img. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03update.sh: fix for dtb filenames containing multiple dotsMax Krummenacher
If a dtb file has more than one dot the current logic fails. e.g. 'device.tree.dtb' will be truncated at the first dot to 'device' while it should be 'device.tree'. Fix by removing awk in favour of letting basename also remove the .dtb extension. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03recipes-images: images: Use ext4 by default for iMX6 modulesSanchayan Maity
Use ext4 by default for iMX6 modules. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03recipes-images: imx6: Deploy Ixora V1.1 device tree for Apalis iMX6Sanchayan Maity
Deploy Ixora V1.1 device tree for Apalis iMX6. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-06-30recipes-images: imx6: deploy Aster device treeSanchayan Maity
Deploy Aster device tree for Colibri iMX6. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07imx6: update.sh: remove -itMax Krummenacher
Before using the SPL to setup the DDR we had two U-Boot variants for Apalis iMX6, one for the commercial and one for the industrial temperature range modules. With the SPL that is decided at runtime and one does not need to run a module specific 'run updateXXX' command. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-01-10update.sh use the specific recovery u-boot binary nameMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-01-10images: Remove update script limitation of 5GB rootfsSanchayan Maity
Our current update procedure reads the rootfs payload in pre split files of 64 MB size. However due to the workaround for u-boot counting in hex and split did in decimal, the number of chunks is limited to 89 resulting in a maximum size of 5.5GB. Update the u-boot counting procedure to count in 3 digits from the current 2 digits. This allows more than 800 plus chunks which should take care of rootfs size and any future eMMC update requirements. Signed-off-by: Sanchayan Maity <sanchayan.maity@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-01-10update.sh: Do not deploy the rootfs.ext3Sanchayan Maity
Now that we split the rootfs file by default for both Ethernet as well as SD card update, it is no longer required to deploy the rootfs.ext3 file which also saves space. Only deploy the split rootfs files. Signed-off-by: Sanchayan Maity <sanchayan.maity@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-01-10images: Remove rootfs size limitation of 4GB with update scriptsSanchayan Maity
Our current update procedure requires the rootfs payload to fit in one file on a FAT filesystem. This limits its usable size to 4GB. Use the process of splitting up the files in 64MB chunks and then doing the update which is also what the Ethernet update scripts currently follow. However due to the workaround for u-boot counting in hex and split did in decimal, the number of chunks is limited to 89 resulting in a maximum size of 5.5GB. We will remove the limitation in a follow up patch. Signed-off-by: Sanchayan Maity <sanchayan.maity@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-01-10mx6: update scripts: change to use SPLMax Krummenacher
This changes the update scripts for a system which boots an SPL into static RAM which configures the DDR RAM, loads U-Boot proper into DDR and passes execution to U-Boot. The SPL is only written by the explicit update_spl command or when the script does not find a valid U-Boot in eMMC. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2016-09-28images: mv all files into recipes-image/imageMax Krummenacher
This requires to adjust the path to include files, e.g.: -require recipes/images/trdx-image-fstype.inc +require recipes-images/images/trdx-image-fstype.inc Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>