Hi Oleksii,

Yes I was ;-)
What version of tools did you finally settle on?

Thanks for the heads up.  I also found this in some of your and Gregs emails in 
the archives.  I put them in and I was up and running. I think I'm on the right 
track.

I am however, moving over to my real target board a 5307.  the 5407 work was 
just to get to a working environment.

Now I have to figure out why I'm getting a kernel panic related to can't mount 
root,,, bummer.

BTW, Greg sent an email with a link to his toolchain that I'm going to download 
and try.  We'll see what happens.

Regards,

-Roger

-----Original Message-----
From: uclinux-dev-boun...@uclinux.org [mailto:uclinux-dev-boun...@uclinux.org] 
On Behalf Of Oleksii Kuchuk
Sent: Wednesday, June 10, 2009 3:20 AM
To: uClinux development list
Subject: Re: [uClinux-dev] m68k-uclinux-20061214 toolchain problem with mcf5407 
and 2.6.x which tooldchain to move to?

Hello Roger,


I think you are talking about me ).

That toolchain does compilation mistakes for 5407C3 board (I do not know why, 
but it does, I have found at least two). Newer toolchain will help.

Still that distribution does not work correctly with serial port i/o on that 
board.


To solve this, in file:
arch/m68knommu/platform/5407/config.c:

in function:

static void _init m5407_uart_init_line(int line, int irq)
    {
           if (line == 0) {
                   writel(MCFSIM_ICR_LEVEL1 | MCFSIM_ICR_PRI1, MCF_MBAR + 
MCFSIM_UART1ICR);
                   writeb(irq, MCFUART_BASE1 + MCFUART_UIVR); // in this line 
do as Greg says:

/*
This write should be offset into the MCF_MBAR region, so it should be

   writeb(irq, MCF_MBAR + MCFUART_BASE1 + MCFUART_UIVR);

Regards
Greg
*/

                   mcf_setimr(mcf_getimr() & ~MCFSIM_IMR_UART1);
           } else if (line == 1) {
                   writel(MCFSIM_ICR_LEVEL1 | MCFSIM_ICR_PRI2, MCF_MBAR + 
MCFSIM_UART2ICR);
                   writeb(irq, MCFUART_BASE2 + MCFUART_UIVR);
                   mcf_setimr(mcf_getimr() & ~MCFSIM_IMR_UART2);
           }
    }


2009/5/29 Roger Thornblad <rthornb...@utsci.com>:
> To All,
>
> I've been trying to get a 20080808 dist with the latest patches
> running on my 5407C3 eval board.
>
> toolchain is m68k-uclinux-20061214
>
> 2.4.x kernel runs OK
> 2.6.x doesn't.  After some chasing around I found a problem in
> kmem_cache_create() thinking it was called while in an interrupt.
>
> After some searches in the mailing list I found someone with a similar
> problem where he found it was a toolchain issue.  He moved to a newer
> tool set and problem was resolved.
>
> It appears there are several options for a new toolset.
>
> I'm curious which toolchain would you recommend / is most popular out there?
>
> Thanks,
>
> -Roger
>
>
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to