<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/arch/mips/cpu, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-01-27T03:55:53Z</updated>
<entry>
<title>linker: Modify linker scripts to be more generic</title>
<updated>2019-01-27T03:55:53Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2019-01-22T22:09:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=2f41ade79e5969ebea03a7dcadbeae8e03787d7e'/>
<id>urn:sha1:2f41ade79e5969ebea03a7dcadbeae8e03787d7e</id>
<content type='text'>
Make use of "IMAGE_MAX_SIZE" and "IMAGE_TEXT_BASE" rather than
CONFIG_SPL_MAX_SIZE and CONFIG_SPL_TEXT_BASE.  This lets us re-use the
same script for both SPL and TPL.  Add logic to scripts/Makefile.spl to
pass in the right value when preprocessing the script.

Cc: Stefano Babic &lt;sbabic@denx.de&gt;
Cc: Fabio Estevam &lt;fabio.estevam@nxp.com&gt;
Cc: Jagan Teki &lt;jagan@openedev.com&gt;
Cc: Maxime Ripard &lt;maxime.ripard@bootlin.com&gt;
Cc: Andreas Bießmann &lt;andreas@biessmann.org&gt;
Cc: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
Cc: Michal Simek &lt;monstr@monstr.eu&gt;
Cc: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
Cc: York Sun &lt;york.sun@nxp.com&gt;
Cc: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Cc: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Adam Ford &lt;aford173@gmail.com&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
Tested-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
Tested-by: Adam Ford &lt;aford173@gmail.com&gt; #da850evm &amp; omap3_logic_somlv
Reviewed-by: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
</content>
</entry>
<entry>
<title>MIPS: optimize and fix ELF sections</title>
<updated>2019-01-16T12:56:43Z</updated>
<author>
<name>Daniel Schwierzeck</name>
</author>
<published>2019-01-06T19:42:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=2fdadc0f82431d8b5249257cc1651d32c473895b'/>
<id>urn:sha1:2fdadc0f82431d8b5249257cc1651d32c473895b</id>
<content type='text'>
Discard ABI related sections which are not required for debugging.
Rearrange debug sections similar to Linux. Remove the remaining
explicitely specified sections in the unused part because those
sections are not created anymore or because the linker puts them
by default at the end of the ELF binary.

Signed-off-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
Tested-by: Ezequiel Garcia &lt;ezequiel@collabora.com&gt;
</content>
</entry>
<entry>
<title>MIPS: move create_tlb() in an proper header: mipsregs.h</title>
<updated>2018-12-19T14:23:01Z</updated>
<author>
<name>Gregory CLEMENT</name>
</author>
<published>2018-12-14T15:16:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=48ee7b68533b7f007c337d9a606eb52c975445ad'/>
<id>urn:sha1:48ee7b68533b7f007c337d9a606eb52c975445ad</id>
<content type='text'>
Export create_tlb() as an inline function in mipsregs.h. It allows to
remove the declaration of the function from the board files.

Then it will allow also to use this function very early in the boot when
the stack is not usable.

Signed-off-by: Gregory CLEMENT &lt;gregory.clement@bootlin.com&gt;
</content>
</entry>
<entry>
<title>MIPS: fix linking of standalone programs</title>
<updated>2018-11-18T15:02:23Z</updated>
<author>
<name>Daniel Schwierzeck</name>
</author>
<published>2018-09-23T17:15:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=1bef0c530beaaba08b8ca7a9ec6ce6dc25f62dfb'/>
<id>urn:sha1:1bef0c530beaaba08b8ca7a9ec6ce6dc25f62dfb</id>
<content type='text'>
Use the global MIPS specific u-boot.lds for linking standalone programs
instead of the outdated ones in examples/standalone/. Also pass --gc-sections
in LDFLAGS_STANDALONE to optimize the size of standalone programs.
Finally remove the deprecated config.mk files in arch/mips/cpu/mips[32,64]/.

Signed-off-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</content>
</entry>
<entry>
<title>Kbuild: add LDFLAGS_STANDALONE</title>
<updated>2018-11-18T15:02:23Z</updated>
<author>
<name>Daniel Schwierzeck</name>
</author>
<published>2018-09-23T17:15:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=1d3b97c94eb562fa1071abd50b3a4cb4cca7f203'/>
<id>urn:sha1:1d3b97c94eb562fa1071abd50b3a4cb4cca7f203</id>
<content type='text'>
Introduce a new Makefile variable for passing LDFLAGS to standalone
programs. Currently the variable CONFIG_STANDALONE_LOAD_ADDR is
misued on some archs to pass a specific linker script.

Signed-off-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Rick Chen &lt;rick@andestech.com&gt;
</content>
</entry>
<entry>
<title>MIPS: make size of relocation table fixed but configurable</title>
<updated>2018-11-02T21:39:07Z</updated>
<author>
<name>Daniel Schwierzeck</name>
</author>
<published>2018-11-01T01:02:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=963014641117291c15df2425caf46c7b4b979f18'/>
<id>urn:sha1:963014641117291c15df2425caf46c7b4b979f18</id>
<content type='text'>
Currently the size of the relocation table will be shrunk
to the actual size needed. Although this gives a maximal
space saving, it messes up the _end symbol. This breaks
features like appended DTBs because the _end symbol doesn't
point to the real end of the U-Boot binary.

Remove the size shrinking and make the size of the relocation
table fixed but configurable. This follows the Linux approach
and the user can adjust the size to his needs.

Also rename the relocation table section from .rel to .data.reloc
to follow the Linux approach and to avoid ambiguities with the
.rel.* sections added by the linker.

Reported-by: Lars Povlsen &lt;lars.povlsen@microsemi.com&gt;
Signed-off-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</content>
</entry>
<entry>
<title>MIPS: start.S: make boot config at offset 0x10 configurable</title>
<updated>2018-09-22T18:59:22Z</updated>
<author>
<name>Daniel Schwierzeck</name>
</author>
<published>2018-09-07T17:18:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=d1c3d8bdfa41a7002bc9c9c0fe8cf7b41d573c0e'/>
<id>urn:sha1:d1c3d8bdfa41a7002bc9c9c0fe8cf7b41d573c0e</id>
<content type='text'>
Some MIPS systems store some board-specific boot configuration
in the U-Boot binary at offset 0x10. This is used by Malta boards
and by Lantiq/Intel SoC's when booting from parallel NOR flash.

Convert the hard-coded values to Kconfig options to remove such
board-specific stuff out of the generic start.S code. This also
deprecates the config option CONFIG_SYS_XWAY_EBU_BOOTCFG.

Signed-off-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>MIPS: Drop unused PTR_COUNT_SHIFT from u-boot.lds</title>
<updated>2017-11-28T20:59:30Z</updated>
<author>
<name>Paul Burton</name>
</author>
<published>2017-09-15T18:35:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=73780b012e2794246046a81ef7d2122454bf249f'/>
<id>urn:sha1:73780b012e2794246046a81ef7d2122454bf249f</id>
<content type='text'>
The u-boot.lds linker script for MIPS defines a PTR_COUNT_SHIFT macro to
2 or 3 for 32 bit or 64 bit builds respectively. This macro is never
actually used though, so remove the dead code.

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</content>
</entry>
<entry>
<title>mips: spl: configure SYS_MALLOC_F_LEN independently for SPL and full U-Boot</title>
<updated>2017-07-27T12:59:03Z</updated>
<author>
<name>Andy Yan</name>
</author>
<published>2017-07-24T09:45:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=f5868a5da119421a5274a15a049f799dd60ef49a'/>
<id>urn:sha1:f5868a5da119421a5274a15a049f799dd60ef49a</id>
<content type='text'>
Some platforms have very limited SRAM to run SPL code, so there may
not be the same amount space for a malloc pool before relocation in
the SPL stage as the normal U-Boot stage.

Make SPL and (the full) U-Boot stage use independent SYS_MALLOC_F_LEN,
so the size of pre-relocation malloc pool can be configured memory
space independently.

Signed-off-by: Andy Yan &lt;andy.yan@rock-chips.com&gt;
Acked-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
Acked-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
Reviewed-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
[fixed up commit-message:]
Signed-off-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
</content>
</entry>
</feed>
