[Gta04-owner] QtMoko v41
Dr. H. Nikolaus Schaller
hns at goldelico.com
Mon Mar 12 14:00:12 CET 2012
Am 12.03.2012 um 13:53 schrieb Christoph Mair:
> On Mon, Mar 12, 2012 at 1:44 PM, Dr. H. Nikolaus Schaller
> <hns at goldelico.com> wrote:
>>
>> Am 12.03.2012 um 10:10 schrieb Dr. H. Nikolaus Schaller:
>>
>>> Hi Radek,
>>>
>>> Am 11.03.2012 um 21:56 schrieb Radek Polak:
>>>
>>>> On Sunday 11 March 2012 17:37:48 Dr. H. Nikolaus Schaller wrote:
>>>>
>>>>> I tried to test it but I get a kernel image CRC error (at least with the
>>>>> version in /boot/uImage in the .tgz).
>>>>>
>>>>> Can you please cross-check?
>>>>
>>>> Hmms - i tried and it booted ok for me. My uImage has this MD5 sum:
>>>>
>>>> 49c5f30851fbbea47d8aed84e592567b
>>>
>>> I think I can trace it down to a problem with the external card reader.
>>>
>>> After unpacking the files I have the correct md5sum.
>>>
>>> After unmounting and re-mounting the md5 changes. No idea why.
>>>
>>> File size and modification date remains intact. I have synced twice
>>> and there is no fsck forced. It appears to be some additional buffer
>>> that is not flushed.
>>>
>>> This may explain why some GTA04 users have problems creating
>>> bootable SD cards.
>>>
>>> The setup I have:
>>>
>>> Assus eeePC 4G (internal SD reader does not support SDHC)
>>> Debian Squeeze / LXDE
>>> external Kingston SDHC / SDXC reader
>>
>> Ok, I think it turns out to be a very different problem: the partition table.
>>
>> After creating the new partitions the kernel needs to update its
>> partition tables or it mixes sectors...
>>
>> And on my eeePC I did not have installed the 'parted' package.
>> Therefore the call to /sbin/partprobe was ignored and unpacking
>> the files did mix up the disk.
>>
>> NOTE WHEN CREATING A SD CARD:
>>
>> make sure that /sbin/partprobe is available on your host!
>
> sfdisk -R should work too.
I will try. Would be simpler than requiring another dependency (parted).
The interesting thing is that the disk is partitioned by sfdisk and needs to
trigger a separate re-read. Doesn't sfdisk do that automatically after creating
new partitions?
Nikolaus
More information about the Gta04-owner
mailing list