FS#59356 - [sunxi-tools] Image consistency check fails with new images

Attached to Project: Community Packages
Opened by J-M Mäkelä (bugfixmachine) - Monday, 16 July 2018, 14:08 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 16 May 2023, 21:30 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

"Some recent changes to U-Boot added some padding to the U-Boot images, which improperly trigger the check on the size consistency." according to upstream bug https://github.com/linux-sunxi/sunxi-tools/pull/108 -- this package is useless with new images due to this missing functionality, but a new upstream release has not been released yet. Maybe this PR can be added as a patch?

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
1. Install sunxi-tools
2. Do a FEL boot with a recent image.
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 16 May 2023, 21:30 GMT
Reason for closing:  No response
Comment by Jelle van der Waa (jelly) - Sunday, 22 July 2018, 14:12 GMT
I just compiled a recent image from uboot git master and "sunxi-fel uboot u-boot-sunxi-with-spl.bin" works fine. I'm fine with pulling the patch but I can't reproduce it.
Comment by J-M Mäkelä (bugfixmachine) - Sunday, 12 August 2018, 11:17 GMT
The problem occurs with the stable version from Arch repositories, not the sunxi-tools-git one.

This occurs with Uboot 2018.07 & kernel 4.17.14 with opi zero defconfigs, when doing a FEL boot:

Stack pointers: sp_irq=0x00002000, sp=0x00005E08
Reading the MMU translation table from 0x00008000
Disabling I-cache, MMU and branch prediction... done.
=> Executing the SPL... done.
Setting write-combine mapping for DRAM.
Setting cached mapping for BROM.
Writing back the MMU translation table.
Enabling I-cache, MMU and branch prediction... done.
U-Boot image data size mismatch: expected 516032, got 317798
Comment by Toolybird (Toolybird) - Monday, 17 April 2023, 07:19 GMT
Is this still an issue when using latest pkgs?

Loading...