Download
GNU Cross Tools for M32R
For Linux/M32R
We modified GNU tools for Linux/M32R.
Both binary and source packages are available.
Current release series are provided by Debian packages.
Current release is m32r-linux.20040712r3-3.4 (2004.07).
(Changelog)
The followings are the developing GNU packages of m32r-linux.
Current release series are provided by Debian packages.
sdiserver, usbsdiserver
usbsdiserver
The usbsdiserver needs M32100T-EZ-E.
For Embedded M32R
The following is binary package of m32r-elf.
libc-ports for m32r to update into FSF
If you use this patch, you need to get the glibc and ports sources from glibc .
Please patch it to ports or download the ports sources include m32r from the following.
Next, put ports directory into the top-level glibc source directory libc.
When you configure glibc,you need spcify '--enable-add-ons=ports,linuxthreads'.
glibc-2.3.6 linuxthreds
When you use glibc and ports sources on 20060509 for m32r, please apply this patch ( glibc-2.3.6-m32r-20060607.patch ,
glibc-2.3.6-math-test-20060517.patch )to libc.
glibc-ports-m32r-2.3.6-20060607.patch add-on ports sources for m32r (2006/06/07) 
libc-2.3.6-with-ports-m32r-20060607.tar.bz2 libc sources include m32r ports
Linux Kernel
The following are Linux kenrels modified for the M32R.
- Supports both UP(Uni-Processor) and SMP(Symmetrical Multi-Processor) environment.
- Supports both with MMU and without MMU environment.
  The 2.6.4 kernel or later also support MMU-less targets such as M32102.
In the 2.6.9 kernel, the M32R achitecure has been merged into the stock kernel!
Now, you can download the 2.6.9 kernel or later from
kernel.org and its mirror site.
  ( Any feedback will be deeply appreciated. Thank you. )
- 2.4 kernel
The latest version is 2.4.27,
old versions are here.
- 2.6 kernel
The latest version is 2.6.14.6,
old version are here.
- 2.6.14.6

User land
The following is a minimum root files based on the Debian GNU/Linux.
- support both Linux-2.4 and Linux-2.6
- root's password is "root"
- use slogin for remote login
- dpkg command and apt-get command are available.
Old root filesystems archive is here.
- for 2.4 kernel
- for 2.6.9 and 2.6.10 kernels
- rootfs2.6_small_20041108 (2004/11/08)
- based on glibc-2.3.2
- The 2.6.9 kernel supports mmap2(__NR_mmap2) instead of old_mmap(__NR_mmap),
  so please use libc6-2.3.2.ds1-16.0.3 or after.
- ttyS0 device is used as a serial console.
- glibc: memset() bug was fixed. (libc6_2.3.2.ds1-16.0.5)
- for 2.6.11 kernel or after
- rootfs2.6_04_small_20050124 (2005/01/24)
- stable version (04_ordovician); based on glibc-2.3.3
- The kernel API has been changed since 2.6.11,
so please use libc6-2.3.3.ds0-2 or after.
- rootfs2.6_05_{base|devel} (2006/02/07)
- testing version (05_silurian); based on glibc-2.3.5
- The kernel API has been changed since 2.6.11,
so please use libc6-2.3.3.ds0-2 or after.
- "udev" is employed instead of "devfs".
- rootfs2.6 Etch

root-etch.small-20061228.tar.bz2(2006.12.28)
Debian Packages
m32r .deb packages are placed
here.
(Note: these are not official packages of the Debian project).
- Add the following apt-line to the /etc/apt/sources.list of the target file system.
(stable -->
etch,
testing -->
lenny,
unstable -->
06_devonian)
* stable version
deb https://debian.linux-m32r.org stable main
deb-src https://debian.linux-m32r.org stable main
* testing version
deb https://debian.linux-m32r.org testing main
deb-src https://debian.linux-m32r.org testing main
* unstable version
deb https://debian.linux-m32r.org unstable main
deb-src https://debian.linux-m32r.org unstable main
Current building status:
https://unstable.buildd.net/index-m32r.html
https://www.linux-m32r.org/pipermail/build-status/
Other Tools
- OProfile (https://oprofile.sourceforge.net/)
- System-wide profiler
  A tool to profile both of the kernel and application programs.
Features:
- This profiler consists of an "application daemon" and a "loadable module".
The daemon dumps the profiling data sampled by the kernel onto filesystems,
then the dumped data are displayed visibly by a user program later.
- Supports multiprocessor environment; profiling for each CPU
- No patch is required. Oprofile function has already been merged into the 2.6 mainline kernel.
It can be enabled by setting "CONFIG_PROFILING=y, CONFIG_OPROFILE=m (or y)".
- Online documents has been published.
Please refer it for more information.
Oprofile is available on the m32r for 2.6.6 kernel or later.
- gen_gdbinit
- A script to generate a GDB initialization file (.gdbinit).
The latest version is here.
Melt the tar+bzip2 archive in a working directory.
.gdbinit will be generated by executing a script "gen_gdbinit.pl" in it.
[Home]