--- In Yan Seiner <> wrote:
>
> j.chitte wrote:
> >
> >
> >
> >
> > --- In <ts-7000%40yahoogroups.com>,
> > "Yan Seiner" <yan@> wrote:
> > >
> > >
> > >
> > > But... I'm making progress; I've got a working cross-compile toolchain,
> > > adn I actually built a kernel that booted, even if it failed with the
> > > "machine ID" problem. I've since found Matthieu Crapet's patches so
> > > hopefully I will have a nice shiny kernel in a bit.
> > >
> > > :-)
> > >
> >
> > I've just looked at my 2.6.32 + matt4 menuconfig.
> >
> > You'll find NOR flash under device drivers -mtd - mapping drivers
> > though it looks like only the 8MB std option is covered.
> >
> > CF is under Device drivers - ATA/ATAPI - TS7200 IDE.
> >
> > I can't test it because I don't have that h/w but it looks like it's
> > all ready to roll.
> >
> > Looks like there's even open source SD support for 7260 as well now.
> >
> > You shouldn't have any problems.
> >
> I got the kernel to boot, but without all of the stuff I need. I'm
> trying to get my MAX197 running... This is essential to my project...
>
> Here's what I'm ending up with:
>
> Start off, look at the default TS7200 config and we see the
> CONFIG_TS72XX_MAX197 option.
>
> selene:/data10/home/yan/pierce/work/src/linux-2.6.32.3# grep TS7
> arch/arm/configs/ts7200_eabi_full_defconfig
> CONFIG_MACH_TS72XX=y
> CONFIG_MACH_TS72XX_FORCE_MACHINEID=y
> CONFIG_MACH_TS72XX_SBCINFO=m
> CONFIG_MTD_TS7200_NOR=y
> CONFIG_TS72XX_MAX197=m
> CONFIG_TS72XX_MAX197_AVERAGE=y
> CONFIG_PATA_TS72XX=y
> CONFIG_PATA_TS7200_CF=y
> # CONFIG_KEYBOARD_TS72XX is not set
> # CONFIG_SERIAL_AMBA_PL010_TS72XX is not set
> CONFIG_TS72XX_WATCHDOG=m
> CONFIG_TS72XX_CONSOLE=m
> CONFIG_TS72XX_CONSOLE_COLUMNS
> CONFIG_TS72XX_CONSOLE_ROWS=4
>
> Now make the defconfig:
>
> selene:/data10/home/yan/pierce/work/src/linux-2.6.32.3# make
> ts7200_eabi_full_defconfig
> #
> # configuration written to .config
> #
>
> And now let's look at the TS7 config options:
>
> selene:/data10/home/yan/pierce/work/src/linux-2.6.32.3# grep TS7 .config
> CONFIG_MACH_TS72XX=y
> CONFIG_MACH_TS72XX_FORCE_MACHINEID=y
> CONFIG_MACH_TS72XX_SBCINFO=m
> CONFIG_MTD_TS7200_NOR=y
> # CONFIG_BLK_DEV_TS72XX_SDCARD is not set
> CONFIG_PATA_TS72XX=y
> CONFIG_PATA_TS7200_CF=y
> # CONFIG_KEYBOARD_TS72XX is not set
> # CONFIG_SERIAL_AMBA_PL010_TS72XX is not set
> selene:/data10/home/yan/pierce/work/src/linux-2.6.32.3#
>
> ????
>
> Where did the console, max197, etc. go?
>
> If I copy the default into .config, as soon as I do a make menuconfig
> they get wiped out. If I copy and do a make, I get make oldconfig which
> wipes them out...
>
> --Yan
>
> --
>
Why are you messing with defconfig and make oldconfig, you're going backwards
from where you were.
Just use the config that I posted in the files section, run make menuconfig and
add the options I indicated in my last post , plus the kernel MAX197 option if
you want that.
depending on how your cross-compiler is set , I run this:
make ARCH="arm" CROSS_COMPILE="arm-unknown-linux-gnueabi-" menuconfig
I currently use something similar to Jim's adc_logger for MAX197.Just running
straight C code, though both the mainline driver and Phil McCarl's /dev work
without any fiddling. You have to run mknod for Phil's driver but that's fully
documented.
You should not have any problems.
------------------------------------
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/
|