summaryrefslogtreecommitdiff
path: root/recipes-images/images/files/library/tegra/update.sh
AgeCommit message (Collapse)Author
2017-10-03legacy update script: deploy v1.2 device tree as wellMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-10-03legacy update script: cleanup imagefile handlingMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Stefan Agner <stefan.agner@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 TK1 modulesSanchayan Maity
Use ext4 by default for TK1 modules. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-06-30update.sh: increase min partition free size & add note about bct changeMarcel Ziswiler
Increase MIN_PARTITION_FREE_SIZE as a provision for customers running NVIDIA JetPack on Apalis TK1. Add a note about having to change apalis-t30_bin/apalis_t30.img.cfg resp. colibri-t30_bin/colibri_t30.img.cfg as well if changing BCT. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-01-11apalis/colibri_t20/t30/tk1: fix ./update.sh -d resp. tegrarcm issueMarcel Ziswiler
Occasionally especially on Colibri T20 running our ./update.sh -d script calling tegrarcm failed as follows: [user@host Colibri_T20_LinuxImageV2.7]$ ./update.sh -d -r 512 -v V1_2 Colibri T20 rootfs detected bct file: ../colibri-t20_bin/colibri_t20-512-v12-nand.bct bootloader file: ../colibri-t20_bin/u-boot-dtb-tegra.bin load addr 0x80108000 entry addr 0x80108000 device id: 0x7820 uid: 0x0428104041a16557 RCM version: 2.1 downloading miniloader to target at address 0x40008000 (132976 bytes)... miniloader downloaded successfully ./tegrarcm: retreiving platform info: Resource temporarily unavailable Upon which usually a second attempt actually worked. Fix this inconvenience by increasing the RCM communication USB timeout to 5000ms. Note that this requires a newer tegrarcm which is now provided from the meta-toradex-tegra layer. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-01-10tegra: update.sh: Remove Colibri T30 eMMC partition resizing limit of 2GBMarcel Ziswiler
Currently our update.sh script limits the partition size to around 2GB by default so even after our automatic resizing only 2GB of the 4GB of available eMMC space can be used. Set a higher and saner default EMMC_SIZE to allow automatic resizing to the full EMMC space available. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-01-10images: update.sh: Add Apalis TK1 Mainline machineDominik Sliwa
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-01-10tegra: update.sh: Remove Apalis TK1 eMMC partition resizing limit of 8GBSanchayan Maity
Currently our update.sh script limits the partition size to around 8GB by default so even after our automatic resizing only 8GB of the 16GB of available eMMC space can be used. Set a higher and saner default EMMC_SIZE to allow automatic resizing to the full EMMC space available. Signed-off-by: Sanchayan Maity <sanchayan.maity@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@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>
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>