Oh yea, of course,
I think that the problem is with the 2.6.19 kernel. At the time when
that kernel came out, support for yaffs was not in the main 2.6.19
kernel tree. I only used that kernel with an NFS root.
As of 2.6.21 yaffs works properly (or at least the patch applies
cleanly). The problem was that the struct blockdev went through several
changes with the 2.6.19 kernel.
What you should really do, is test out the kernel with an NFS root,
because it will likely work without any problems.
If you feel like moving on, there are instructions for 2.6.20.6 here:
http://tech.groups.yahoo.com/group/ts-7000/message/6574
I should mention that the physmap patch did not apply cleanly. You will
have to go through the changes and apply them manually. After you've
manually patched the physmap patch, you'll also find that there is 1
build error which is easily fixed. I think it was a variable re-defined
or something. I just commented it out.
If you like, post a patchset for what you have when you get it working
in the members area on groups.yahoo.com
~/Chris
siddh_c wrote:
>> You might want to try passing some kernel parameters...
>>
>> exec -c "console=ttyAM0,115200 root=/dev/mtdblock1"
>>
>> would be a safe suggestion. You can also see what your current kernel
>> parameters are with fconfig -l, if there is an exec command in the
>> default settings for redboot, or by checking out the CMDLINE string in
>> your .config
>>
> Thanks for the suggestion. I got the commands on RedBoot right. Now,
> the kernel boots but hangs with some garbage characters.
>
> -------
> RedBoot> load -r -b 0x00218000 -h 192.168.1.104 zImage
>
> Using default protocol (TFTP)
>
> Raw file loaded 0x00218000-0x0034cc43, assumed entry at 0x00218000
>
> RedBoot> exec
>
> Using base address 0x00218000 and length 0x00134c44
>
> Uncompressing
> Linux.............................................................
> ?...?.f..~f.???f...?.x?.x...?..f.`.f.f.?.x.....~????.~f.???f...?..x?.`.`...`f.f
> --------- Hangs here
>
> I did the following steps:
> - patch as per the patch_and_build script
> - run the ts7250_machine_id_fix.patch
> - copied the 2.6.19.config_working_64MB config file to .config and
> modified the following:
> CONFIG_CMDLINE="console=ttyAM0,115200 root=/dev/mtdblock1"
> - copy zImage via tftp followed by exec
>
> Any ideas where I might be going wrong ? I did the above on 2.6.19
>
> thanks again,
> -siddharth
>
>
>
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|