Discussion:
[uClinux-dev] coldfire M5272, linux-2.6.x
Daniele Ziglioli
2014-04-09 15:28:58 UTC
Permalink
Hy,
I've tried to compile, without success, the last kernel linux-3.x for the
EVM5272 freescale board.

My environment:
Ubuntu 10.04
m68k-uclinux-tools-20101118.sh or
freescale-coldfire-2011.09-23-m68k-uclinux.bin
uClinux-dist-20131024.tar.bz2
I've tried various dist and compiler (codesourcery and uclinux) ... without
success.

Could you suggest me a working tested environment to get compiled a recent (>
linux-2.6.x ) kernel,
for that board (or a different similar one) ?


thanks in advance ,
Daniele

<http://www.signal-elettronica.it/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20140409/b90bbb2a/attachment.html>
Greg Ungerer
2014-04-09 23:32:19 UTC
Permalink
Hi Daniele,
I've tried to compile, without success, the last kernel linux-3.x for the EVM5272 freescale board.
Ubuntu 10.04
m68k-uclinux-tools-20101118.sh or freescale-coldfire-2011.09-23-m68k-uclinux.bin
uClinux-dist-20131024.tar.bz2
I've tried various dist and compiler (codesourcery and uclinux) ... without success.
Could you suggest me a working tested environment to get compiled a recent (> linux-2.6.x ) kernel,
for that board (or a different similar one) ?
What failed exactly?
Can you show the compile logs?

Regards
Greg
Daniele Ziglioli
2014-04-10 15:47:16 UTC
Permalink
well, finally I've compiled the last 20131024 with codesourcery toolchain, but ...

I've then started from the config of the M5272C3 EVB (that is is the more
similar to mine),
and changed kernel execution form add 0x400.
The same I've done before with a linux-2.4 kernel, and that work.
But when i do go 0x400 nothing happen on the console.
I've an ICDFZ 64K (P&E) and the only thing that I could see , looking the
address of the assembler line
where the cpu is looped in the "calibrate_delay" function.

attached the config used.

did you know if the last uclinux (linux-3) version run on the M5272C3 EVB ?

thanks, for any information.
Post by Greg Ungerer
Hi Daniele,
I've tried to compile, without success, the last kernel linux-3.x for the EVM5272 freescale board.
Ubuntu 10.04
m68k-uclinux-tools-20101118.sh or freescale-coldfire-2011.09-23-m68k-uclinux.bin
uClinux-dist-20131024.tar.bz2
I've tried various dist and compiler (codesourcery and uclinux) ... without success.
Could you suggest me a working tested environment to get compiled a recent (> linux-2.6.x ) kernel,
for that board (or a different similar one) ?
What failed exactly?
Can you show the compile logs?
Regards
Greg
--
Cordiali saluti,
*Daniele Ziglioli*
www.signal-elettronica.it <http://www.signal-elettronica.it/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20140410/3dcbc4e9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.zip
Type: application/x-zip-compressed
Size: 6453 bytes
Desc: not available
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20140410/3dcbc4e9/attachment.bin>
Geert Uytterhoeven
2014-04-10 16:57:34 UTC
Permalink
Hi Daniele,

On Thu, Apr 10, 2014 at 5:47 PM, Daniele Ziglioli
Post by Daniele Ziglioli
I've then started from the config of the M5272C3 EVB (that is is the more
similar to mine),
and changed kernel execution form add 0x400.
The same I've done before with a linux-2.4 kernel, and that work.
But when i do go 0x400 nothing happen on the console.
I've an ICDFZ 64K (P&E) and the only thing that I could see , looking the
address of the assembler line
where the cpu is looped in the "calibrate_delay" function.
If it's looping while calibrating the delay loop, the timer interrupt
is probably
not working.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Greg Ungerer
2014-04-11 05:34:52 UTC
Permalink
Hi Daniele,
Post by Daniele Ziglioli
well, finally I've compiled the last 20131024 with codesourcery toolchain, but ...
I've then started from the config of the M5272C3 EVB (that is is the more similar to mine),
and changed kernel execution form add 0x400.
The same I've done before with a linux-2.4 kernel, and that work.
But when i do go 0x400 nothing happen on the console.
I've an ICDFZ 64K (P&E) and the only thing that I could see , looking the address of the assembler line
where the cpu is looped in the "calibrate_delay" function.
attached the config used.
You probably want CONFIG_RAMSIZE to be set to 0x1000000. It should be all
of RAM, not with the vector region size taken of. Otherwise it looks
pretty normal.
Post by Daniele Ziglioli
did you know if the last uclinux (linux-3) version run on the M5272C3 EVB ?
I don't think I have run it on that board. I have run it on a few other
ColdFire boards (like the 5208 for example).

Regards
Greg
Post by Daniele Ziglioli
Post by Greg Ungerer
Hi Daniele,
I've tried to compile, without success, the last kernel linux-3.x for the EVM5272 freescale board.
Ubuntu 10.04
m68k-uclinux-tools-20101118.sh or freescale-coldfire-2011.09-23-m68k-uclinux.bin
uClinux-dist-20131024.tar.bz2
I've tried various dist and compiler (codesourcery and uclinux) ... without success.
Could you suggest me a working tested environment to get compiled a recent (> linux-2.6.x ) kernel,
for that board (or a different similar one) ?
What failed exactly?
Can you show the compile logs?
Regards
Greg
--
Cordiali saluti,
*Daniele Ziglioli*
www.signal-elettronica.it <http://www.signal-elettronica.it/>
Loading...