<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/ports/powerpc/Makefile, branch master</title>
<subtitle>MicroPython source and hardware configuration for OpenMano</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/'/>
<entry>
<title>powerpc/uart: Choose which UART to use at build time, not runtime.</title>
<updated>2020-05-29T12:54:55+00:00</updated>
<author>
<name>Joel Stanley</name>
</author>
<published>2020-05-26T03:29:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=f03d030080ccf89c6ad677c818c949c3bd71ec37'/>
<id>f03d030080ccf89c6ad677c818c949c3bd71ec37</id>
<content type='text'>
Microwatt may have firmware that places data in r3, which was used to
detect microwatt vs powernv.  This breaks the existing probing of the UART
type in this powerpc port.

Instead build only the appropriate UART into the firmware, selected by
passing the option UART=potato or UART=lpc_serial to the Makefile.

A future enhancement would be to parse the device tree and configure
MicroPython based on the settings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Microwatt may have firmware that places data in r3, which was used to
detect microwatt vs powernv.  This breaks the existing probing of the UART
type in this powerpc port.

Instead build only the appropriate UART into the firmware, selected by
passing the option UART=potato or UART=lpc_serial to the Makefile.

A future enhancement would be to parse the device tree and configure
MicroPython based on the settings.
</pre>
</div>
</content>
</entry>
<entry>
<title>powerpc: Set better default compiler.</title>
<updated>2020-05-27T07:02:04+00:00</updated>
<author>
<name>Joel Stanley</name>
</author>
<published>2020-05-26T03:37:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=b65482ffa8715f3eeeb593e26d96d80bd77e0dfd'/>
<id>b65482ffa8715f3eeeb593e26d96d80bd77e0dfd</id>
<content type='text'>
Most developers use a compiler which is called powerpc64le-linux-gnu-gcc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most developers use a compiler which is called powerpc64le-linux-gnu-gcc.
</pre>
</div>
</content>
</entry>
<entry>
<title>powerpc: Fix Makefile rule when linking.</title>
<updated>2020-05-27T07:00:44+00:00</updated>
<author>
<name>Joel Stanley</name>
</author>
<published>2020-05-26T03:38:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=25bc42e754e76f7dd45048bcfb139fdba22e3e29'/>
<id>25bc42e754e76f7dd45048bcfb139fdba22e3e29</id>
<content type='text'>
The linker script was included in the "$^" inputs, causing the build to
fail:

 LINK build/firmware.elf
 powerpc64le-linux-gnu-ld: error: linker script file 'powerpc.lds' appears multiple times

As a fix the linker script is left as a dependency of the elf, but only the
object files are linked.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The linker script was included in the "$^" inputs, causing the build to
fail:

 LINK build/firmware.elf
 powerpc64le-linux-gnu-ld: error: linker script file 'powerpc.lds' appears multiple times

As a fix the linker script is left as a dependency of the elf, but only the
object files are linked.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Enable extra conversion warnings where applicable.</title>
<updated>2020-04-18T12:42:28+00:00</updated>
<author>
<name>stijn</name>
</author>
<published>2020-04-09T11:59:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=30840ebc9925bb8ef025dbc2d5982b1bfeb75f1b'/>
<id>30840ebc9925bb8ef025dbc2d5982b1bfeb75f1b</id>
<content type='text'>
Add -Wdouble-promotion and -Wfloat-conversion for most ports to ban out
implicit floating point conversions, and add extra Travis builds using
MICROPY_FLOAT_IMPL_FLOAT to uncover warnings which weren't found
previously.  For the unix port -Wsign-comparison is added as well but only
there since only clang supports this but gcc doesn't.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add -Wdouble-promotion and -Wfloat-conversion for most ports to ban out
implicit floating point conversions, and add extra Travis builds using
MICROPY_FLOAT_IMPL_FLOAT to uncover warnings which weren't found
previously.  For the unix port -Wsign-comparison is added as well but only
there since only clang supports this but gcc doesn't.
</pre>
</div>
</content>
</entry>
<entry>
<title>ports: Allow overriding CROSS_COMPILE in a custom makefile.</title>
<updated>2019-12-27T12:53:16+00:00</updated>
<author>
<name>David Lechner</name>
</author>
<published>2019-12-21T20:22:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=e79424d672919bfc59862d14f2d9e78e43e8582e'/>
<id>e79424d672919bfc59862d14f2d9e78e43e8582e</id>
<content type='text'>
Many ports already allow overriding CROSS_COMPILE.  This modifies the
remaining ports to allow it as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Many ports already allow overriding CROSS_COMPILE.  This modifies the
remaining ports to allow it as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>powerpc: Add initial port to bare metal PowerPC arch.</title>
<updated>2019-10-22T11:45:33+00:00</updated>
<author>
<name>Michael Neuling</name>
</author>
<published>2019-08-22T00:21:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=079cc940a68b3b3b9d47d4402267393a528a0477'/>
<id>079cc940a68b3b3b9d47d4402267393a528a0477</id>
<content type='text'>
Runs in microwatt (GHDL and FPGA) and qemu.

Port done initially by Michael Neuling, with help from Anton Blanchard and
Jordan Niethe.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Runs in microwatt (GHDL and FPGA) and qemu.

Port done initially by Michael Neuling, with help from Anton Blanchard and
Jordan Niethe.
</pre>
</div>
</content>
</entry>
</feed>
