<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/ports/powerpc, 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>ports: Remove def of MP_PLAT_PRINT_STRN if it's the same as the default.</title>
<updated>2021-02-04T11:39:17+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-02-04T03:43:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=7c4435459261f1ea93577938b1ab281239d159e7'/>
<id>7c4435459261f1ea93577938b1ab281239d159e7</id>
<content type='text'>
To simplify config, there's no need to specify MP_PLAT_PRINT_STRN if it's
the same as the default definition in py/mpconfig.h.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To simplify config, there's no need to specify MP_PLAT_PRINT_STRN if it's
the same as the default definition in py/mpconfig.h.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<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: Format code to add space after C++-style comment start.</title>
<updated>2020-04-23T01:24:25+00:00</updated>
<author>
<name>stijn</name>
</author>
<published>2020-04-16T07:13:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=84fa3312cfa7d2237d4b56952f2cd6e3591210c4'/>
<id>84fa3312cfa7d2237d4b56952f2cd6e3591210c4</id>
<content type='text'>
Note: the uncrustify configuration is explicitly set to 'add' instead of
'force' in order not to alter the comments which use extra spaces after //
as a means of indenting text for clarity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note: the uncrustify configuration is explicitly set to 'add' instead of
'force' in order not to alter the comments which use extra spaces after //
as a means of indenting text for clarity.
</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>all: Reformat C and Python source code with tools/codeformat.py.</title>
<updated>2020-02-27T23:33:03+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-02-27T04:36:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=69661f3343bedf86e514337cff63d96cc42f8859'/>
<id>69661f3343bedf86e514337cff63d96cc42f8859</id>
<content type='text'>
This is run with uncrustify 0.70.1, and black 19.10b0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is run with uncrustify 0.70.1, and black 19.10b0.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Add *FORMAT-OFF* in various places.</title>
<updated>2020-02-27T23:31:07+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-02-26T00:58:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=3f39d18c2b884d32f0443e2e8114ff9d7a14d718'/>
<id>3f39d18c2b884d32f0443e2e8114ff9d7a14d718</id>
<content type='text'>
This string is recognised by uncrustify, to disable formatting in the
region marked by these comments.  This is necessary in the qstrdef*.h files
to prevent modification of the strings within the Q(...).  In other places
it is used to prevent excessive reformatting that would make the code less
readable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This string is recognised by uncrustify, to disable formatting in the
region marked by these comments.  This is necessary in the qstrdef*.h files
to prevent modification of the strings within the Q(...).  In other places
it is used to prevent excessive reformatting that would make the code less
readable.
</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>
