Paul Parsons wrote:
> --- On Tue, 29/5/12, wiseLYNX <wiselynx.na...@fastwebnet.it> wrote:
>>> 1. Modify the SDG bootloader to provide
>> "physmap-flash".
>>> This is what I do; the SDG bootloader 1.2.5 source is
>> available.
>>
>> where? I found only links to the sdgsystems site and to the
>> site of
>> someone called kmeaw, but it is not available anymore on
>> both sites.
> 
> http://sdgsystems.net/pub/ipaq/hx4700/src/

thanks! the problem was .net instead of .com..

>>> 2. Modify the Linux kernel to expect "ipaq".
>>> This is probably the easier option. For example this
>> patch
>>> might work (I haven't tested it and it was derived from
>> the
>>> linux-3.4.0 sources):
>>>
>>> diff --git a/drivers/mtd/cmdlinepart.c
>> b/drivers/mtd/cmdlinepart.c
>>> index ddf9ec6..707eaf5 100644
>>> --- a/drivers/mtd/cmdlinepart.c
>>> +++ b/drivers/mtd/cmdlinepart.c
>>> @@ -320,7 +320,7 @@ static int
>> parse_cmdline_partitions(struct mtd_info *master,
>>>       unsigned long offset;
>>>       int i;
>>>       struct cmdline_mtd_partition
>> *part;
>>> -    const char *mtd_id =
>> master->name;
>>> +    const char *mtd_id = "ipaq";
>>>   
>>>       /* parse command line */
>>>       if (!cmdline_parsed)
>>
>> I tried the latter, and it didn't work: same exact result
>> :-(
> 
> I may have got it wrong then. But the mismatched mtd-id
> is an issue that needs to be addressed before the
> CONFIG_MTD_CMDLINE_PARTS (cmdlinepart.c) driver will work
> with the SDG bootloader.
> 
> An alternative might be to override the command line with
> the CONFIG_CMDLINE config option.

after a couple more attempts, I finally managed passing that part. I
still don't know what was wrong last time, probably I messed up
something in kernel configuration. Restarting from default configuration
and applying the patch solved it.

thank you everybody; I'll have to ask probably some more questions
later, not kernel related I hope


_______________________________________________
Angstrom-distro-users mailing list
Angstrom-distro-users@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to