summaryrefslogtreecommitdiff
path: root/recipes-images/images/files
AgeCommit message (Collapse)Author
2017-01-11flash scripts: fix create_bcb to work for flashing from scratchStefan Agner
Do not save/restore config block in create_bcb since we use this command in flashing from scratch. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@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-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-10flash scripts: fix Colibri iMX 7 noteStefan Agner
Use run update_rootfs to update the rootfs. Signed-off-by: Stefan Agner <stefan.agner@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>
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-11-21flash scripts: implement FCB/BCB upgradeStefan Agner
Newer U-Boot versions no longer write a BCB which includes the work around for errata e9609. However, we need to be able to upgrade modules which still have such BCB on-disk. Use the following process to upgrade modules: 1. Use the old U-Boot to flash a new U-Boot using the old format 2. Use the new U-Boot to replace the old BCB with the new BCB 3. Use the new U-Boot to flash the new U-Boot using the new format Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-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>