ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Unbootable kernel - correct config for 7200?

To:
Subject: Re: [ts-7000] Re: Unbootable kernel - correct config for 7200?
From: Yan Seiner <>
Date: Mon, 07 Jun 2010 19:01:17 -0700
j.chitte wrote:
>  
>
>
>
> --- In  <ts-7000%40yahoogroups.com>, 
> "Yan Seiner" <> 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

-- 

   o__
   ,>/'_         o__
   (_)\(_)       ,>/'_          o__
A day may come  (_)\(_)         ,>/'_      o__
when the courage of men fails, (_)\(_)     ,>/'_ 
when we forsake our friends and break all (_)\(_)
bonds of fellowship, but it is not this day.
It is not this day!
This day we ride!



------------------------------------

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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU