summaryrefslogtreecommitdiff
path: root/recipes-images/images/files/apalis-t30/apalis-t30_bin/flash_eth.scr
AgeCommit message (Collapse)Author
2017-10-03flash_blk/eth.scr: apalis/colibri_t30: fix conf_blk_offsetMarcel Ziswiler
Do no longer hard-code conf_blk_offset now that we reliably determine it in check_configblock. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03flash_blk/eth.scr: replace loadaddr by fdt_addr_rMarcel Ziswiler
Unfortunately as loadaddr is equal to fdt_addr_r on some modules and equal to kernel_addr_r on others using it together with any of the others may cause issues. Therefore no longer make use of loadaddr and consistently use fdt_addr_r instead. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03flash_blk/eth.scr: fix check_configblockMarcel Ziswiler
The config block check aka check_configblock may fail during update depending on the size of the hardware area boot partition which may lead to the config block not getting properly migrated or updated if still using parts of the legacy update procedure. This patch fixes this by iterating over various sizes. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03flash_blk/eth.scr: apalis/colibri_t30: improve config block migrationMarcel Ziswiler
Improve on the config block locations checked for migration from WinCE/WEC. Now also takes vendor part of the Boot Configuration Table aka BCT into account. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03flash_blk/eth.scr: fix exit condition in the emmc rootfs flashing loopMax Krummenacher
If an image creates a rootfs which is exactly a multiple of 64 MByte then the scripts never detects that the last chunk has been read and 'run update' never completes. Fix that by explicitely setting filesize to 0 when a file read fails. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-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>
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>