Paulo Marques <> [2007-01-02 13:19:50]:
> I downloaded a 2.6.19 vanilla kernel and patched with
> ts7250_ynezz_kernel.patch.gz. The only cross-toolchain (from the
> available toolchains at the TS site) that was able to build this kernel
> was the gcc-4.0.1 toolchain. This wasn't the one I used for the 2.4
> kernel and this one wasn't able to build the 2.4 kernel :P
Well I'm using a crosstools build by Buildroot - I think it's gcc 4.x version
also.
> I tried booting it nevertheless, but the kernel just hung after
> "Decompressing linux......... done" (or something like that).
>
> So, I took a look at the code (maybe I should have started there ;). The
> code has some "machine_is_ts72xx()" conditionals that probably won't
> work with a ts7400 board and other subtleties that need to be handled
> properly.
>
> Now, I want to ask the collective wisdom of the group to help me chart a
> roadmap. There are basically 2 ways (that I can see) to go from here:
>
> - pretend that the ts7400 board is just a small variation of the
> ts72xx and do minor tweaks to the code to let it handle _both_ boards.
> - create a new machine type for the ts7400 board and do all the
> infrastructure that is already in place for the ts72xx. Modify the
> driver code to be 7xxx (instead of 72xx) and modify the low-level 72xx
> code to register "generic" 7xxx drivers instead of 72xx.
>
> This really depends on how different the 2 boards are. The first option
> seems to be the easiest way, since the ts72xx support is already in
> place and working. I guess most of the hardware that is provided by the
> EP3902 itself is common between the 2 boards.
I would ask these questions on Linux Arm Kernel mailing list which Lennert
reads and I think, that he will respond there :-)
> Please note that if I just wanted a kernel to work for me, I could just
> tweak the current ts72xx version until I got something workable, but I
> really wanted to do this The Right Way(tm) eventually leading to the
> board being supported by official vanilla kernels.
If you've time and skills to push these patches mainline it would be nice.
-- ynezz
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/
|