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

Reply via email to