← Back to team overview

ac100 team mailing list archive

Re: Tegra Partition Autodetection Badly Broken

 

On 12/25/2011 03:04 PM, Oliver Grawert wrote:
Hi,

Gordan Bobic<gordan@xxxxxxxxxx>  schrieb:

It would appear that the Tegra partition autodetection is _badly_
broken. Using it I just bricked my Hynix RAM based 10U by dd-ing a new
kernel image to mmcblk0p2. It looks like it mis-sets the partition
layout and you end up clobbering something important (BCT or boot
loader
- it powers up but there is no splash screen and it doesn't boot up).

This feature needs to be marked with a big "DO NOT USE" message (or
even
patched out until debugged).

This is why the Ubuntu scripts perform an actual search check before writing to the bootloader partition by checking each single partition and detecting the biggest possible abootimg one. You should consider stealing the flash-kernel script from Ubuntu instead of just dd'ing to a device file.

Point taken, but dd-ing works just fine provided the partition detection works correctly. For now I'll stick to using the tegrapart spec on the command line.

Gordan


References