<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/arch/mips/Kconfig, 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-07-05T15:12:27Z</updated>
<entry>
<title>mips: mt76xx: Implement new d-cache fix in last_stage_init()</title>
<updated>2019-07-05T15:12:27Z</updated>
<author>
<name>Stefan Roese</name>
</author>
<published>2019-05-28T06:11:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=9814fb272f59fc07c0856a6e034e34b361cade18'/>
<id>urn:sha1:9814fb272f59fc07c0856a6e034e34b361cade18</id>
<content type='text'>
With commit 06985289d452 ("watchdog: Implement generic watchdog_reset()
version") the init sequence has changed in arch_misc_init(), resulting
in a re-appearance of the d-cache issue on MT7688 boards (e.g. gardena).
When this happens, the first (or sometimes later ones as well) TFTP
command hangs and does not complete correctly. This leads to the
assumption that the d-cache is not in a clean state once the ethernet
driver is called (d-cache is used here for the buffers). The old work-
around with the cache flush somehow does not work any more now with
the new code change.

Unfortunately adding CONFIG_SYS_MALLOC_CLEAR_ON_INIT also did not fix
this issue. With v2019.07-rc3 it shows again. The time of accessing
the data seems to be very important here. It needs to be "very late"
in the boot process.

Testing has shown, that copying a 64KiB area in DDR at a very late
bootup time, directly before calling into the prompt, fixes this issue.
Flushing of the complete d-cache does not seem to necessary, as this
copy alone seems to fix this problem.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</content>
</entry>
<entry>
<title>mips: mt76xx: Remove cache workaround and select SYS_MALLOC_CLEAR_ON_INIT</title>
<updated>2019-05-24T13:55:17Z</updated>
<author>
<name>Stefan Roese</name>
</author>
<published>2019-05-23T05:55:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=f913eab9b95c01c96b9e17eba853a99eb8ddb41a'/>
<id>urn:sha1:f913eab9b95c01c96b9e17eba853a99eb8ddb41a</id>
<content type='text'>
With commit 06985289d452 ("watchdog: Implement generic watchdog_reset()
version") the init sequence has changed in arch_misc_init(), resulting
in a re-appearance of the d-cache issue on MT7688 boards (e.g. gardena).
When this happens, the first (or sometimes later ones as well) TFTP
command hangs and does not complete correctly. This leads to the
assumption that the d-cache is not in a clean state once the ethernet
driver is called (d-cache is used here for the buffers). The old work-
around with the cache flush somehow does not work any more now with
the new code change.

To fix this issue, this patch now removes the old workaround and selects
CONFIG_SYS_MALLOC_CLEAR_ON_INIT for ARCH_MTMIPS. With this option the
complete malloc area is initialized with zeros (cache lines are touched).
Testing has shown that this also fixes the issue on the MT7688 boards.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Suggested-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
Cc: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</content>
</entry>
<entry>
<title>mips: rename mach-mt7620 to mach-mtmips</title>
<updated>2019-05-03T14:43:11Z</updated>
<author>
<name>Weijie Gao</name>
</author>
<published>2019-04-30T03:13:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=16b94903e2462a8983322bbc865c0617b9e02b79'/>
<id>urn:sha1:16b94903e2462a8983322bbc865c0617b9e02b79</id>
<content type='text'>
Currently mach-mt7620 contains only support for mt7628. To avoid confusion,
rename mach-mt7620 to mach-mtmips, which means MediaTek MIPS platforms.
MT7620 and MT7628 should be distinguished by SOC_MT7620 and SOC_MT7628
because they do not share the same lowlevel codes.

Dependencies of four drivers are changed to SOC_MT7628 as these drivers
are only used by MT7628.

Cc: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
Signed-off-by: Weijie Gao &lt;weijie.gao@mediatek.com&gt;
</content>
</entry>
<entry>
<title>mips: jz47xx: Add JZ4780 SoC support</title>
<updated>2018-12-19T14:23:01Z</updated>
<author>
<name>Paul Burton</name>
</author>
<published>2018-12-16T22:25:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=cd71b1d5d26dfff15222f5df8a5a6df68fc41df7'/>
<id>urn:sha1:cd71b1d5d26dfff15222f5df8a5a6df68fc41df7</id>
<content type='text'>
Add initial support for the Ingenic JZ47xx MIPS SoC.

Cc: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Signed-off-by: Ezequiel Garcia &lt;ezequiel@collabora.com&gt;
Reviewed-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>MSCC: add support for Ocelot SoCs</title>
<updated>2018-12-19T14:23:01Z</updated>
<author>
<name>Gregory CLEMENT</name>
</author>
<published>2018-12-14T15:16:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=dd1033e4e0254bd2d19debe433921d9a71bdf674'/>
<id>urn:sha1:dd1033e4e0254bd2d19debe433921d9a71bdf674</id>
<content type='text'>
This family of SoCs are found in the Microsemi Switches solution and have
already a support in the linux kernel.

Signed-off-by: Gregory CLEMENT &lt;gregory.clement@bootlin.com&gt;
</content>
</entry>
<entry>
<title>mips: mt76xx: Flush d-cache in arch_misc_init() to solve d-cache issues</title>
<updated>2018-12-19T14:23:01Z</updated>
<author>
<name>Stefan Roese</name>
</author>
<published>2018-12-18T09:27:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=a5f50e0114f9fd39c16e416aad2aa292aaaaacd6'/>
<id>urn:sha1:a5f50e0114f9fd39c16e416aad2aa292aaaaacd6</id>
<content type='text'>
It has been noticed, that sometimes the d-cache is not in a
"clean-state" when U-Boot is running on MT7688. This was detected when
using the ethernet driver (which uses d-cache) and a TFTP command does
not complete. Flushing the complete d-cache (again?) here seems to fix
this issue.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</content>
</entry>
<entry>
<title>mips: mt76xx: Enable watchdog support</title>
<updated>2018-11-18T15:02:22Z</updated>
<author>
<name>Stefan Roese</name>
</author>
<published>2018-10-09T06:59:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=4ff942b059c66c943a3ae94b6f96b3de239e9eaa'/>
<id>urn:sha1:4ff942b059c66c943a3ae94b6f96b3de239e9eaa</id>
<content type='text'>
This patch enables and starts the watchdog on the MT7620 platform.
Currently the WD timeout is configured to 60 seconds.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
[fixed build error due to missing function prototype arch_misc_init]
Signed-off-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</content>
</entry>
<entry>
<title>mips: mt76xx: Kconfig: Add ethernet and GPIO support</title>
<updated>2018-11-18T15:02:22Z</updated>
<author>
<name>Stefan Roese</name>
</author>
<published>2018-10-09T06:59:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=b4a6a1bb3f6a3a52a1cfebe21cd6aa679bf10b1f'/>
<id>urn:sha1:b4a6a1bb3f6a3a52a1cfebe21cd6aa679bf10b1f</id>
<content type='text'>
Imply DM_ETH and DM_GPIO for ARCH_MT7620, as this platform now supports
ethernet and GPIO as well.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.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: mt76xx: Add sysreset support</title>
<updated>2018-09-23T12:27:51Z</updated>
<author>
<name>Stefan Roese</name>
</author>
<published>2018-08-16T13:27:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=41f6e6eb644751678fb3c0b92b74e7f058c7cb89'/>
<id>urn:sha1:41f6e6eb644751678fb3c0b92b74e7f058c7cb89</id>
<content type='text'>
This patch adds the necessary sysreset DT node and enables the required
drivers via Kconfig.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</content>
</entry>
</feed>
