On 01/25/18 09:27, Maxime Ripard wrote:
> On Wed, Jan 24, 2018 at 07:13:54AM -0600, Samuel Holland wrote:
>> On 01/24/18 02:38, Maxime Ripard wrote:
>>> Hi!
>>>
>>> On Tue, Jan 23, 2018 at 04:18:13PM -0600, Samuel Holland wrote:
>>>> If raw mode is d
. Fix this by using the correct function to start up the
PHY.
Signed-off-by: Samuel Holland <sam...@sholland.org>
---
drivers/net/sun8i_emac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c
index 3ccc6b0bb6..be43472b1a
On 02/08/18 19:30, Andre Przywara wrote:
> The U-Boot driver for the sun8i-emac was using some preliminary DT
> binding. Now since Linux got its own driver in v4.15 and our driver
> can now cope with both bindings, let's convert the DT nodes used for the
> Pine64+ board over to the new bindings
These nodes were previously in an unused file specific to the Pine64.
Move them to the base SoC device tree for use by other boards. Require
individual boards to enable the emac and provide a pin configuration.
Signed-off-by: Samuel Holland <sam...@sholland.org>
---
arch/arm/dts/sun5
Enable Ethernet support in the device tree and add the necessary MACPWR
configuration. Also fix spacing in USB device tree nodes and add the
relevant configuration options.
Signed-off-by: Samuel Holland <sam...@sholland.org>
---
arch/arm/dts/sun50i-a64-orangepi-win.dt
The OrangePi PC 2 has three USB type A ports, with one connected to each
EHCI/OHCI controller. Enable the controllers for the other two ports.
Signed-off-by: Samuel Holland <sam...@sholland.org>
---
arch/arm/dts/sun50i-h5-orangepi-pc2.dts | 16
1 file changed, 16 inse
If raw mode is disabled, CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR is not
defined, which breaks compiling the device trees. Only enable the size
check when it actually matters--that is, when MMC raw mode is enabled.
Signed-off-by: Samuel Holland <sam...@sholland.org>
---
arch/arm/dts/s
These patches fix one general build issue, improve support for two
existing boards, and add support for the Orange Pi Zero Plus.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Sort nodes alphabetically, and remove the ethernet alias duplicated from
the SoC device tree.
Signed-off-by: Samuel Holland <sam...@sholland.org>
---
arch/arm/dts/sun50i-h5-orangepi-pc2.dts | 41 -
1 file changed, 20 insertions(+), 21 deletions(-)
diff
The Orange Pi Zero Plus is a single board computer based on the
Allwinner H5 SoC. It has 512MiB RAM, gigabit Ethernet, and one USB 2.0
port, with headers for two additional ports.
Signed-off-by: Samuel Holland <sam...@sholland.org>
---
arch/arm/dts/Makefile | 1 +
Move the CLK_USB_OHCI0/1 clocks to the OHCI nodes where they belong, and
make the format consistent with the H3/H5 nodes. While here, also remove
leading zeros from the USB nodes' unit addresses.
Signed-off-by: Samuel Holland <sam...@sholland.org>
---
arch/arm/dts/sun50i-a64.dts
On 01/24/18 02:38, Maxime Ripard wrote:
> Hi!
>
> On Tue, Jan 23, 2018 at 04:18:13PM -0600, Samuel Holland wrote:
>> If raw mode is disabled, CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR is not
>> defined, which breaks compiling the device trees. Only enable the size
>> che
On 01/24/18 02:42, Maxime Ripard wrote:
> On Tue, Jan 23, 2018 at 04:18:14PM -0600, Samuel Holland wrote:
>> Move the CLK_USB_OHCI0/1 clocks to the OHCI nodes where they belong, and
>> make the format consistent with the H3/H5 nodes. While here, also remove
>> leading zer
On 01/24/18 02:45, Maxime Ripard wrote:
> On Tue, Jan 23, 2018 at 04:18:19PM -0600, Samuel Holland wrote:
>> diff --git a/arch/arm/dts/sun50i-h5-orangepi-zero-plus2.dts
>> b/arch/arm/dts/sun50i-h5-orangepi-zero-plus2.dts
>> index 3f4baba310..e44e75733e 100644
>> -
On 03/17/19 13:41, Oskari Lemmelä wrote:
> On 3/17/19 6:04 PM, Peter Robinson wrote:
>> On Sun, Mar 17, 2019 at 2:56 PM Oskari Lemmela wrote:
>>> Fixes spurious timeouts which have been seen during testing
>>> SPI_SUNXI driver. The false timeouts disappear when number of
>>> bits reduced to 10 in
use-case, so I like that one!
>
> Patrick
>
> On Thu, May 07, 2020 at 06:20:34PM -0500, Samuel Holland wrote:
>> Since commit d879616e9e64 ("spl: fit: simplify logic for FDT loading for
>> non-OS boots"), the SPL looks at the "os" properties of FIT
On 5/6/20 12:02 PM, trini at konsulko.com (Tom Rini) wrote:
> I'm not sure that it is. Can we easily/safely memmove the data to be
> aligned? Is that really a better option in this case than ensuring
> alignment within the file?
Can't we use the new mkimage -B option to
that did check for CONFIG_SPL_SERIAL before calling
preloader_console_init, remove the checks, since the function can now
be called unconditionally.
Signed-off-by: Samuel Holland
---
arch/arm/mach-omap2/boot-common.c | 3 +--
arch/arm/mach-uniphier/spl_board_init.c | 2 --
common/spl/spl.c
| debug("MBUS port %d cfg0 %08x cfg1 %08x\n", port, cfg0, cfg1);
| ^
Fix this by updating the function accordingly.
Signed-off-by: Samuel Holland
---
arch/arm/mach-sunxi/dram_sunxi_dw.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git
Now that the EMAC driver supports the H6 SoC, we can enable the Ethernet
hardware on the Pine H64 board.
Signed-off-by: Samuel Holland
---
configs/pine_h64_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/pine_h64_defconfig b/configs/pine_h64_defconfig
index 8937c51bd0
The H6 EMAC is very similar to the H3 variant, except that it uses the
same pinmux as R40. Add support for it.
Signed-off-by: Samuel Holland
---
drivers/net/sun8i_emac.c | 14 ++
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/drivers/net/sun8i_emac.c b/drivers/net
are not present.
Signed-off-by: Samuel Holland
---
drivers/net/sun8i_emac.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c
index 1ae776b446..dcd18833a2 100644
--- a/drivers/net/sun8i_emac.c
+++ b/drivers/net/sun8i_emac.c
U-Boot
loadables with CONFIG_SPL_FIT_IMAGE_TINY=y. This adds about 300 bytes,
much less than the 7400 bytes added by CONFIG_SPL_FIT_IMAGE_TINY=n.
Signed-off-by: Samuel Holland
---
common/spl/Kconfig | 4 +---
common/spl/spl_fit.c | 17 -
2 files changed, 17 insertions(+), 4 deleti
without it, but system suspend will be
unavailable.
Since all communication with the SCP is mediated by ATF, the only thing
U-Boot needs to do is load the firmware into SRAM. The SCP firmware
occupies the last 16KiB of SRAM A2, immediately following ATF.
Signed-off-by: Samuel Holland
---
board
ecute
the next stage of the boot process, as in 1d3790905d9c ("spl: atf:
introduce spl_invoke_atf and make bl31_entry private").
To support this additional functionality, and to properly model the boot
process, where ATF runs before U-Boot, add the "os" properties and swap
the firmware/load
On 9/1/20 6:13 AM, Simon Glass wrote:
> In some cases it is useful to generate a FIT which has a number of DTB
> images, selectable by configuration. Add support for this in binman,
> using a simple iterator and string substitution.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v3:
> -
On 9/5/20 6:10 PM, Samuel Holland wrote:
> On 9/1/20 6:14 AM, Simon Glass wrote:
>> At present 64-bit sunxi boards use the Makefile to create a FIT, using
>> USE_SPL_FIT_GENERATOR. This is deprecated.
>>
>> Update sunxi to use binman instead.
>&
On 9/1/20 6:13 AM, Simon Glass wrote:
> Add an entry for ARM Trusted Firmware's 'BL31' payload, which is the
> device's main firmware. Typically this is U-Boot.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v3:
> - Rebase on top of earlier binman series
>
> Changes in v2:
> - Add the URL
On 9/5/20 5:41 PM, Samuel Holland wrote:
> On 9/1/20 6:13 AM, Simon Glass wrote:
>> In some cases it is useful to generate a FIT which has a number of DTB
>> images, selectable by configuration. Add support for this in binman,
>> using a simple iterator and string substitut
On 9/1/20 6:14 AM, Simon Glass wrote:
> At present 64-bit sunxi boards use the Makefile to create a FIT, using
> USE_SPL_FIT_GENERATOR. This is deprecated.
>
> Update sunxi to use binman instead.
>
> Signed-off-by: Simon Glass
> ---
>
> (no changes since v2)
>
> Changes in v2:
> - Add a
.
- Patches 4-6 fix small issues in the new sunxi binman description.
- Patches 7-9 implement the same functionality as previous versions
of this series, but using binman instead of a shell script.
Samuel Holland (9):
Makefile: Only define u-boot.itb rule when applicable
binman: Only write FDT once
in case no entry
arg is provided, which will be the case if the environment variable is
unset.
Signed-off-by: Samuel Holland
---
I tested this and verified it to work. The key code is from
tools/binman/etype/blob_named_by_arg.py:
super().__init__(...)
filename, = self
U-Boot
loadables with CONFIG_SPL_FIT_IMAGE_TINY=y. This adds about 300 bytes,
much less than the 7400 bytes added by CONFIG_SPL_FIT_IMAGE_TINY=n.
Acked-by: Patrick Wildt
Signed-off-by: Samuel Holland
---
common/spl/Kconfig | 4 +---
common/spl/spl_fit.c | 17 -
2 files change
Simon,
On 9/5/20 7:18 PM, Simon Glass wrote:
> On Sat, 5 Sep 2020 at 17:10, Samuel Holland wrote:
>> On 9/1/20 6:14 AM, Simon Glass wrote:
>>> At present 64-bit sunxi boards use the Makefile to create a FIT, using
>>> USE_SPL_FIT_GENERATOR. This is deprecated.
>>
and run without it, but system suspend
will be unavailable.
Since all communication with the SCP is mediated by ATF, the only thing
U-Boot needs to do is load the firmware into SRAM. The SCP firmware
occupies the last 16KiB of SRAM A2, immediately following ATF.
Signed-off-by: Samuel Holland
This consolidates the SoC-specific part at the top of the file to avoid
cluttering it up with preprocessor conditions.
Signed-off-by: Samuel Holland
---
arch/arm/dts/sunxi-u-boot.dtsi | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/arm/dts/sunxi-u
Add an entry type for a firmware blob for a Sytem Control Processor,
given by an entry arg. This firmware is a raw binary blob.
Signed-off-by: Samuel Holland
---
Makefile | 2 +-
tools/binman/etype/scp.py | 19 +++
2 files changed, 20 insertions(+), 1 deletion
is
not something that can be made. This will reduce confusion as platforms
move away from CONFIG_USE_SPL_FIT_GENERATOR, as u-boot.itb was
previously a valid goal for those platforms.
Signed-off-by: Samuel Holland
---
Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Makefile b/Makefile
index
Nodes should have a blank line separating them from sibling nodes and
properties. Add the necessary lines.
Signed-off-by: Samuel Holland
---
arch/arm/dts/sunxi-u-boot.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts/sunxi-u-boot.dtsi
Due to an extra level of indentation, the "data" property containing the
FDT was being written repeatedly after every other property in the node.
Move the block up one level, so the property is added exactly once.
Signed-off-by: Samuel Holland
---
tools/binman/etype/fit.py | 8 --
he boot
process, where ATF runs before U-Boot, add the "os" properties and swap
the firmware/loadable images in the FIT image.
Since this description was copied as an example in commit 70248d6a2916
("binman: Support generating FITs with multiple dtbs"), update those
example
On 9/7/20 3:44 AM, Michal Simek wrote:
> Hi Simon,
>
> On 06. 09. 20 18:39, Simon Glass wrote:
>> This series adds support for help messages when binary blobs are missing,
>> as well as selecting the default FIT configuration.
>>
>> It includes the v3 patches from the earlier series that were not
he boot
process, where ATF runs before U-Boot, add the "os" properties and swap
the firmware/loadable images in the FIT image.
Since this description was copied as an example in commit 70248d6a2916
("binman: Support generating FITs with multiple dtbs"), update those
example
U-Boot
loadables with CONFIG_SPL_FIT_IMAGE_TINY=y. This adds about 300 bytes,
much less than the 7400 bytes added by CONFIG_SPL_FIT_IMAGE_TINY=n.
Acked-by: Patrick Wildt
Signed-off-by: Samuel Holland
---
common/spl/Kconfig | 4 +---
common/spl/spl_fit.c | 17 -
2 files change
Add an entry type for a firmware blob for a Sytem Control Processor,
given by an entry arg. This firmware is a raw binary blob.
Signed-off-by: Samuel Holland
---
Makefile | 2 +-
tools/binman/etype/scp.py | 19 +++
tools/binman/ftest.py | 7
Due to an extra level of indentation, the "data" property containing the
FDT was being written repeatedly after every other property in the node.
Move the block up one level, so the property is added exactly once.
Reviewed-by: Simon Glass
Signed-off-by: Samuel Holland
---
tools/bi
This consolidates the SoC-specific part at the top of the file to avoid
cluttering it up with preprocessor conditions.
Reviewed-by: Simon Glass
Signed-off-by: Samuel Holland
---
arch/arm/dts/sunxi-u-boot.dtsi | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git
-off-by: Samuel Holland
---
arch/arm/dts/sunxi-u-boot.dtsi | 16 -
board/sunxi/README.sunxi64 | 43 --
2 files changed, 51 insertions(+), 8 deletions(-)
diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts/sunxi-u-boot.dtsi
index ff3fff599f4
is
not something that can be made. This will reduce confusion as platforms
move away from CONFIG_USE_SPL_FIT_GENERATOR, as u-boot.itb was
previously a valid goal for those platforms.
Reviewed-by: Simon Glass
Signed-off-by: Samuel Holland
---
Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git
in case no entry
arg is provided, which will be the case if the environment variable is
unset.
Reviewed-by: Simon Glass
Signed-off-by: Samuel Holland
---
arch/arm/dts/sunxi-u-boot.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts/sunxi-u-boot.dt
previous versions.
- Patches 4-6 fix small issues in the new sunxi binman description.
- Patches 7-9 implement the same functionality as previous versions
of this series, but using binman instead of a shell script.
Changes v3->v4:
- Added a test for the SCP firmware entry type.
Samuel Holland
Nodes should have a blank line separating them from sibling nodes and
properties. Add the necessary lines.
Reviewed-by: Simon Glass
Signed-off-by: Samuel Holland
---
arch/arm/dts/sunxi-u-boot.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch
support.
Signed-off-by: Samuel Holland
---
arch/arm/dts/Makefile | 4 +
arch/arm/dts/axp803.dtsi | 82 +--
arch/arm/dts/sun50i-a64-amarula-relic.dts | 109 +++-
arch/arm/dts/sun50i-a64-bananapi-m64.dts | 118 ++--
arch/arm/dts/sun50i-a64-cpu
There are two different publicly-released revisions of the PinePhone
hardware, versions 1.1 and 1.2; and they need different device trees.
Since some GPIO pins were rerouted, we can use that to distinguish
between them.
Signed-off-by: Samuel Holland
---
arch/arm/mach-sunxi/Kconfig | 7
This moves the validity checking and typecasts all to one place away
from the string comparison logic, and it detangles the compile-time
and runtime control flow.
The new helper will also be used by U-Boot proper in a future commit.
Signed-off-by: Samuel Holland
---
board/sunxi/board.c | 26
otherwise the logic would trigger when "sun50i-a64-pine64-lts" was
written to the SPL header.
Signed-off-by: Samuel Holland
---
board/sunxi/board.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 5c9b
-by: Samuel Holland
---
board/sunxi/board.c | 27 ++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 3d64ed18664..eaa40a1ea96 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -331,6 +331,21
e/loadable images in the FIT image.
Acked-by: Patrick Wildt
Signed-off-by: Samuel Holland
---
Changes since v1:
- Collect tags
---
board/sunxi/mksunxi_fit_atf.sh | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/board/sunxi/mksunxi_fit_atf.sh b/board/sunxi/mksunxi_fit_at
without it, but system suspend will be
unavailable.
Since all communication with the SCP is mediated by ATF, the only thing
U-Boot needs to do is load the firmware into SRAM. The SCP firmware
occupies the last 16KiB of SRAM A2, immediately following ATF.
Signed-off-by: Samuel Holland
U-Boot
loadables with CONFIG_SPL_FIT_IMAGE_TINY=y. This adds about 300 bytes,
much less than the 7400 bytes added by CONFIG_SPL_FIT_IMAGE_TINY=n.
Acked-by: Patrick Wildt
Signed-off-by: Samuel Holland
---
Changes since v1:
- Collect tags
---
common/spl/Kconfig | 4 +---
common/spl/spl_fit.c
patches can be merged
independently, so I request that they be merged even if patches 7-8 are
not. I am mainly including the last two patches for ease of testing.
Samuel Holland (8):
sunxi: board: Use a more descriptive variable name
sunxi: board: Add a helper to get the SPL DT name
sunxi
of the previous
commit, always matches the DT used by U-Boot proper), Linux also sees
the same board as U-Boot/SPL, even if the boot script later loads a DT
from disk.
Signed-off-by: Samuel Holland
---
board/sunxi/board.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/board/sunxi
at boot, one config/image can support both boards.
Signed-off-by: Samuel Holland
---
configs/pinephone_defconfig | 12
1 file changed, 12 insertions(+)
create mode 100644 configs/pinephone_defconfig
diff --git a/configs/pinephone_defconfig b/configs/pinephone_defconfig
new file
r".
Signed-off-by: Samuel Holland
---
board/sunxi/board.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 71e2b758a3e..674e6816d2d 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -892,14 +892,14 @@ int
On 9/21/20 7:41 PM, André Przywara wrote:
> On 03/09/2020 06:07, Samuel Holland wrote:
>> This overwrites the name loaded from the SPL image. It will be different
>> if there was previously no name provided, or if a more accurate name was
>> determined by the board va
On 9/21/20 7:43 PM, André Przywara wrote:
> On 03/09/2020 06:07, Samuel Holland wrote:
>
> Hi,
>
>> Previously, fdtfile was always the value in CONFIG_DEFAULT_DEVICE_TREE.
>> This meant that, regardless of the DT chosen by SPL (either by changing
>> the header in
xes: 6dfb8a8052ee ("usb: dwc3: use the phy bulk API to get phys")
Signed-off-by: Samuel Holland
---
drivers/usb/host/xhci-dwc3.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/host/xhci-dwc3.c b/drivers/usb/host/xhci-dwc3.c
index 563db1a426..9b22f271a7 100644
On 10/21/20 1:49 PM, Jagan Teki wrote:
> Hi Samuel,
>
> On Sun, Sep 13, 2020 at 3:05 AM Samuel Holland wrote:
>>
>> Prior to commit 7f7f8aca8257 ("sunxi: Convert 64-bit boards to use
>> binman"), if the BL31 environment variable was not defined, the firmware
he boot
process, where ATF runs before U-Boot, add the "os" properties and swap
the firmware/loadable images in the FIT image.
Since this description was copied as an example in commit 70248d6a2916
("binman: Support generating FITs with multiple dtbs"), update those
example
is
not something that can be made. This will reduce confusion as platforms
move away from CONFIG_USE_SPL_FIT_GENERATOR, as u-boot.itb was
previously a valid goal for those platforms.
Reviewed-by: Simon Glass
Signed-off-by: Samuel Holland
---
Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git
imon Glass
Signed-off-by: Samuel Holland
---
tools/binman/etype/fit.py | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/binman/etype/fit.py b/tools/binman/etype/fit.py
index de4745c5521..8a24f12aa59 100644
--- a/tools/binman/etype/fit.py
+++ b/tools/binman/etype/fit.py
in case no entry
arg is provided, which will be the case if the environment variable is
unset.
Reviewed-by: Simon Glass
Signed-off-by: Samuel Holland
---
arch/arm/dts/sunxi-u-boot.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts/sunxi-u-boot.dt
This consolidates the SoC-specific part at the top of the file to avoid
cluttering it up with preprocessor conditions.
Reviewed-by: Simon Glass
Signed-off-by: Samuel Holland
---
arch/arm/dts/sunxi-u-boot.dtsi | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git
ter in the series to emphasize that the binman fixes
do not depend on it.
- Rebase on top of u-boot/master.
- Add a missing-msg for scp-sunxi.
- Explain in documentation how to silence the binman messages.
Changes v3->v4:
- Added a test for the SCP firmware entry type.
Samuel Holland (9):
Ma
Nodes should have a blank line separating them from sibling nodes and
properties. Add the necessary lines.
Reviewed-by: Simon Glass
Signed-off-by: Samuel Holland
---
arch/arm/dts/sunxi-u-boot.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch
On 10/21/20 1:56 PM, Jagan Teki wrote:
> On Thu, Sep 3, 2020 at 10:37 AM Samuel Holland wrote:
>>
>> There are two different publicly-released revisions of the PinePhone
>> hardware, versions 1.1 and 1.2; and they need different device trees.
>> Since some GPIO pin
Add an entry type for a firmware blob for a System Control Processor,
given by an entry arg. This firmware is a raw binary blob.
Reviewed-by: Simon Glass
Signed-off-by: Samuel Holland
---
Makefile | 1 +
tools/binman/etype/scp.py | 19 +++
tools/binman
-off-by: Samuel Holland
---
arch/arm/dts/sunxi-u-boot.dtsi | 17 +++-
board/sunxi/README.sunxi64 | 47 +-
tools/binman/missing-blob-help | 4 +++
3 files changed, 60 insertions(+), 8 deletions(-)
diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts
U-Boot
loadables with CONFIG_SPL_FIT_IMAGE_TINY=y. This adds about 300 bytes,
much less than the 7400 bytes added by CONFIG_SPL_FIT_IMAGE_TINY=n.
Acked-by: Patrick Wildt
Signed-off-by: Samuel Holland
---
common/spl/Kconfig | 4 +---
common/spl/spl_fit.c | 17 -
2 files change
:
- Removed unnecessary "else"s in DT selection logic
- Updated DT tag reference from v5.9-rc3 to v5.9 (no code change)
- Regenerated defconfig with `make savedefconfig`
- Added Acked-by and Reviewed-by tags
Samuel Holland (8):
sunxi: board: Use a more descriptive variable name
sunxi:
-by: Maxime Ripard
Reviewed-by: Andre Przywara
Signed-off-by: Samuel Holland
---
board/sunxi/board.c | 27 ++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index bff5135c1a1..9d0e29788b1 100644
--- a/board/sunxi
-off-by: Samuel Holland
---
board/sunxi/board.c | 26 +-
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index d7dfcc78eab..a8a05ec59c8 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -319,6 +319,17
;.
Acked-by: Maxime Ripard
Reviewed-by: Andre Przywara
Signed-off-by: Samuel Holland
---
board/sunxi/board.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index a5cf0b65c7b..d7dfcc78eab 100644
--- a/board/sunxi/board
at boot, one config/image can support both boards.
Acked-by: Maxime Ripard
Signed-off-by: Samuel Holland
---
configs/pinephone_defconfig | 12
1 file changed, 12 insertions(+)
create mode 100644 configs/pinephone_defconfig
diff --git a/configs/pinephone_defconfig b/configs
otherwise the logic would trigger when "sun50i-a64-pine64-lts" was
written to the SPL header.
Acked-by: Maxime Ripard
Reviewed-by: Andre Przywara
Signed-off-by: Samuel Holland
---
board/sunxi/board.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/b
There are two different publicly-released revisions of the PinePhone
hardware, versions 1.1 and 1.2; and they need different device trees.
Since some GPIO pins were rerouted, we can use that to distinguish
between them.
Acked-by: Maxime Ripard
Reviewed-by: Andre Przywara
Signed-off-by: Samuel
of the previous
commit, always matches the DT used by U-Boot proper), Linux also sees
the same board as U-Boot/SPL, even if the boot script later loads a DT
from disk.
Acked-by: Maxime Ripard
Reviewed-by: Andre Przywara
Signed-off-by: Samuel Holland
---
board/sunxi/board.c | 11 +++
1 file
.
Signed-off-by: Samuel Holland
---
tools/rkcommon.c | 29 +++--
1 file changed, 15 insertions(+), 14 deletions(-)
diff --git a/tools/rkcommon.c b/tools/rkcommon.c
index 61c392e27d5..d55cd2c2d5a 100644
--- a/tools/rkcommon.c
+++ b/tools/rkcommon.c
@@ -221,12 +221,13 @@ bool
support.
Acked-by: Maxime Ripard
Signed-off-by: Samuel Holland
---
arch/arm/dts/Makefile | 4 +
arch/arm/dts/axp803.dtsi | 82 +--
arch/arm/dts/sun50i-a64-amarula-relic.dts | 109 +++-
arch/arm/dts/sun50i-a64-bananapi-m64.dts | 118 ++--
arch
On 8/5/20 1:25 PM, Simon Glass wrote:
>>> The last build steps with your patch are:
>>>
>>> cat spl/sunxi-spl.bin u-boot.itb > u-boot-sunxi-with-spl.bin
>>> ./tools/binman/binman --toolpath ./tools build -u -d u-boot.dtb -O .
>>> -m --allow-missing -I . -I . -I ./board/sunxi
>>>
>>> The file
Heinrich,
On 7/25/20 2:49 AM, Heinrich Schuchardt wrote:
> On 6/8/20 2:59 PM, Jagan Teki wrote:
>> On Mon, Jun 8, 2020 at 8:25 AM Heinrich Schuchardt
>> wrote:
>>> On 08.06.20 13:50, Jagan Teki wrote:
On Mon, Jun 8, 2020 at 6:59 AM Heinrich Schuchardt
wrote:
>
> The current
ected in common prcm.h based on defined
> macros.
>
> This commit doesn't do any functional change.
>
> Signed-off-by: Jernej Skrabec
Reviewed-by: Samuel Holland
Cheers,
Samuel
lower ifdef clutter, introduce common symbol for
> them.
>
> Signed-off-by: Jernej Skrabec
Reviewed-by: Samuel Holland
Cheers,
Samuel
or() will now compare pre-configured size with
> that, reported in SPL header. If size in header is bigger, it will use
> that value instead.
>
> In the process of function rework, also add missing function argument.
Reviewed-by: Samuel Holland
Cheers,
Samuel
lude/sunxi_image.h | 82
> scripts/Makefile.spl | 8 +-
> tools/Makefile| 1 +
> tools/sunxi_egon.c| 136 ++++++++++
> 7 files changed, 226 insertions(+), 68 deletions(-)
> create mode 100644 include/sunxi_image.h
> create mode 100644 tools/sunxi_egon.c
For the series:
Reviewed-by: Samuel Holland
Tested-by: Samuel Holland
On 11/16/20 10:58 AM, Tom Rini wrote:
> On Mon, Nov 16, 2020 at 04:51:32PM +, André Przywara wrote:
>> On 16/11/2020 16:13, Tom Rini wrote:
>>> On Mon, Nov 16, 2020 at 04:09:42PM +, André Przywara wrote:
On 16/11/2020 15:50, Tom Rini wrote:
Hi Tom,
> On Mon, Nov 16,
On 11/18/20 11:32 AM, Andre Przywara wrote:
> So far we used the separate mksunxiboot tool for generating a bootable
> image for Allwinner SPLs, probably just for historical reasons.
>
> Use the mkimage framework to generate a so called eGON image the
> Allwinner BROM expects.
> The new image
unxi_egon.c| 136 ++
> 7 files changed, 226 insertions(+), 68 deletions(-)
> create mode 100644 include/sunxi_image.h
> create mode 100644 tools/sunxi_egon.c
>
For the series:
Reviewed-by: Samuel Holland
Tested-by: Samuel Holland
ro byte. */
> + ((char *)header->string_pool)[51] = 0;
> + } else
> + header->spl_signature[3] = SPL_ENV_HEADER_VERSION;
> +
> + /* Calculate the checksum. Yes, it's that simple. */
> + for (i = 0; i < sbuf->st_size / 4; i++)
> +
at boot, one config/image can support both boards.
Acked-by: Maxime Ripard
Signed-off-by: Samuel Holland
---
Changes v2->v3:
- All other patches merged
- Added entry to MAINTAINERS
Changes v1->v2:
- Regenerated defconfig with `make savedefconfig`
- Added Acked-by tag
board
1 - 100 of 614 matches
Mail list logo