<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/arch/arm/mach-sunxi, 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-05-20T17:53:51Z</updated>
<entry>
<title>Merge branch 'master' of git://git.denx.de/u-boot-sunxi</title>
<updated>2019-05-20T17:53:51Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2019-05-20T17:53:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=79764b5081d276596dc9294dece73354f81a6801'/>
<id>urn:sha1:79764b5081d276596dc9294dece73354f81a6801</id>
<content type='text'>
- H6 WDT reset fix (Clément)
- H6 SPL_TEXT_BASE fixes (Clément, Jonas)
- NPI-M1+ emac enablment (Emmanuel)
</content>
</entry>
<entry>
<title>arm: sunxi: h6: fix reset using r_wdog</title>
<updated>2019-05-20T16:54:47Z</updated>
<author>
<name>Clément Péron</name>
</author>
<published>2019-04-17T17:41:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=26f8e0d7f27e19102d6173d1e5831e7a82096779'/>
<id>urn:sha1:26f8e0d7f27e19102d6173d1e5831e7a82096779</id>
<content type='text'>
Some H6 boards have a watchdog which didn't make the SoC
reboot properly.

Reason is still unknown but several people have test it.
Chen-Yu Tsai :
Pine H64 = H6 V200-AWIN H6448BA 7782 =&gt; OK
OrangePi Lite 2 = H6 V200-AWIN H8068BA 61C2 =&gt; KO

Martin Ayotte :
Pine H64 = H8069BA 6892 =&gt; OK
OrangePi 3 = HA047BA 69W2 =&gt; KO
OrangePi One Plus = H7310BA 6842 =&gt; KO
OrangePi Lite2 = H6448BA 6662 =&gt; KO

Clément Péron:
Beelink GS1 = H6 V200-AWIN H7309BA 6842 =&gt; KO

After the series of result, Icenowy try to reach Allwinner about this
issue but they seems not interested to investigate it.

As we don't have the ARIS coproc to do power management and watchdogis
the only solution to reset the board.

So, Change from watchdog to R_watchdog to allow a reboot on all H6
boards.

Signed-off-by: Clément Péron &lt;peron.clem@gmail.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>CONFIG_SPL_SYS_[DI]CACHE_OFF: add</title>
<updated>2019-05-18T12:15:35Z</updated>
<author>
<name>Trevor Woerner</name>
</author>
<published>2019-05-03T13:41:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=1001502545ff0125c39232cf0e7f26d9213ab55f'/>
<id>urn:sha1:1001502545ff0125c39232cf0e7f26d9213ab55f</id>
<content type='text'>
While converting CONFIG_SYS_[DI]CACHE_OFF to Kconfig, there are instances
where these configuration items are conditional on SPL. This commit adds SPL
variants of these configuration items, uses CONFIG_IS_ENABLED(), and updates
the configurations as required.

Acked-by: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
Signed-off-by: Trevor Woerner &lt;trevor@toganlabs.com&gt;
[trini: Make the default depend on the setting for full U-Boot, update
more zynq hardware]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>arm: sunxi: Enable DM_MMC and DM_SCSI</title>
<updated>2019-04-17T09:04:45Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2019-04-12T11:18:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=bb3362b0ca0771a511d4a622d591b4dea5cb15e4'/>
<id>urn:sha1:bb3362b0ca0771a511d4a622d591b4dea5cb15e4</id>
<content type='text'>
- Enable DM_MMC if MMC defined
- Enable DM_SCSI if SCSI defined

globally through Allwinner platform, the effected SoC families
and boards will make use of MMC and SCSI subsystems in driver-model.

Tested DM_MMC in one board from A64, H6, H5, H3, R40, A83T, A20, A10
SoCs.

Tested-by: Pablo Sebastián Greco &lt;pgreco@centosproject.org&gt; # BPI-M2-Ultra
Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>sunxi: Allow booting from 128KB SD/eMMC offset</title>
<updated>2019-04-10T10:04:32Z</updated>
<author>
<name>Andre Przywara</name>
</author>
<published>2018-12-16T02:04:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=067e0b9684d4f195d92e0b1de260d69dc1e0f2c5'/>
<id>urn:sha1:067e0b9684d4f195d92e0b1de260d69dc1e0f2c5</id>
<content type='text'>
On modern Allwinner SoCs (tested: H2+, A64, H5, H6) the BootROM can
actually load the SPL also from sector 256 (128KB) of an SD card or eMMC
chip. For more details, see [1].
In this case the boot source indicator (written at offset 0x28 of SRAM A1)
has bit 4 set, so it's 0x10 for SD card and 0x12 for eMMC.

Add those new values to the existing boot source check to allow booting
the SPL from those "high" disk offsets as well. For this to work, the
value of CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR needs to be adjusted,
for instance to 0x140 (right after the high SPL). Doing this dynamically
sounds desirable, but looks nasty to implement.

[1] https://groups.google.com/forum/#!topic/linux-sunxi/MaiijyaAFjk

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
Acked-by: Maxime Ripard &lt;maxime.ripard@bootlin.com&gt;
</content>
</entry>
<entry>
<title>arm: sunxi: Enable DRAM ODT by default on H3/H5</title>
<updated>2019-04-10T10:04:32Z</updated>
<author>
<name>Paul Kocialkowski</name>
</author>
<published>2019-03-14T10:36:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=9d0f9e837421c3e6d1e99caed401511d886a1c36'/>
<id>urn:sha1:9d0f9e837421c3e6d1e99caed401511d886a1c36</id>
<content type='text'>
Most of the boards we support with H3/H5 enable DRAM on-die termination,
which is consistent with the high DRAM clocks that are used.

Make it the default (like it's done for other similar platforms) instead
of defining it in each defconfig.

Signed-off-by: Paul Kocialkowski &lt;paul.kocialkowski@bootlin.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>arm: sunxi: Set the default DRAM ZQ value to 3881979 on H3/H5</title>
<updated>2019-04-10T10:04:32Z</updated>
<author>
<name>Paul Kocialkowski</name>
</author>
<published>2019-03-14T10:36:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=882b71e47df2889c77105ddcfe34cbafa762a208'/>
<id>urn:sha1:882b71e47df2889c77105ddcfe34cbafa762a208</id>
<content type='text'>
Most H3/H5 boards we support have the DRAM ZQ value set to 3881979,
which is also consistent with the default set for the R40.

Make this value the default on H3/H5 instead of 123.

Signed-off-by: Paul Kocialkowski &lt;paul.kocialkowski@bootlin.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>arm: sunxi: Allow per-platform DRAM ZQ configuration on sun8i</title>
<updated>2019-04-10T10:04:32Z</updated>
<author>
<name>Paul Kocialkowski</name>
</author>
<published>2019-03-14T10:36:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=9c2b0ddc41423e446e3ece3b5183489a1f6c9ed4'/>
<id>urn:sha1:9c2b0ddc41423e446e3ece3b5183489a1f6c9ed4</id>
<content type='text'>
A few sun8i platforms define specific default DRAM ZQ values, but they
are not taken in account because of MACH_SUN8I being used for the 123
default first.

Replace MACH_SUN8I with the list of platforms that don't have specific
DRAM ZQ values, to avoid overwriting the default for those that do.

Signed-off-by: Paul Kocialkowski &lt;paul.kocialkowski@bootlin.com&gt;
Acked-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>sunxi: dram_sun8i: Fix A33 memory initialization</title>
<updated>2019-04-10T10:02:59Z</updated>
<author>
<name>Michael Trimarchi</name>
</author>
<published>2019-03-18T09:47:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=ddd693021535b2ebd434b712c90443d95728cc8f'/>
<id>urn:sha1:ddd693021535b2ebd434b712c90443d95728cc8f</id>
<content type='text'>
While the exact problem is not known, based on discussion between
Philipp Tomsich and André Przywara it is guessed that exit self-refresh
timing is not set with correct value. There may be implicit enter or
exit Self-Refresh anywhere as part of some training phase.

In ZynqMP register guide [1], which is close to the various
Allwinner DRAM controllers, tXSDLL is bits [14:8], while the non-DLL
tXS is bits [6:0]: Self refresh exit delay. So it could be safely
increased and it only affects the time after the self-refresh “exit”,
which happens only after (re-)initialisation.

There was no document for cpu in question so based on oscilloscope
readings [2][3] and observed result by comparing allwinner architecture.
So set it same as  Allwinner H5 silicon.

Before this patch, failure rate of was 7%.

This was tested on A33 allwinner cpu, dual rank connection connected
with two MT41K512M16HA-125:A memory model. Memory is configured as DDR3
1.5V

And also this is tested in A33-OLinuXino dev board.

[1] https://www.xilinx.com/html_docs/registers/ug1087/ddrc___dramtmg8.html
[2] https://ibb.co/R70zmyS
[3] https://ibb.co/HVVCGQ8

Signed-off-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
Signed-off-by: Shyam Saini &lt;shyam.saini@amarulasolutions.com&gt;
Acked-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>arm: sunxi: Enable DM_MMC on required SoCs</title>
<updated>2019-04-08T20:35:15Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2019-04-08T20:27:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=85c3d4632248ec2526ee76b1f046f0b47c125014'/>
<id>urn:sha1:85c3d4632248ec2526ee76b1f046f0b47c125014</id>
<content type='text'>
Enabling DM_MMC is forcing CONFIG_BLK=y so if any board which uses
SCSI must need to enable DM_SCSI otherwise SCSI reads on that particular
target making invalid reading to the disk drive.

Allwinner platform do support SCSI on A10, A20 and R40 SoC's out of
these only A10 have DM_SCSI enabled. So enabling DM_MMC on A20, R40
would eventually end-up with scsi disk read failures like [1]

So, enable DM_MMC in all places of respective SoC's instead of enabling
them globally to Allwinner platform.

Now, DM_MMC is enabled in Allwinner SoC's except A20 and R40.

[1] https://lists.denx.de/pipermail/u-boot/2019-April/364057.html

Reported-by: Pablo Sebastián Greco &lt;pgreco@centosproject.org&gt;
Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
</feed>
