Simon Glass wrote:
Chris Webb wrote:
My worry about using binman for cracking such a simple nut is the
dependencies it pulls in that wouldn't otherwise be needed: the
documentation suggests at least lzma-alone, liblz4, and pyelftools.
I should probably update this. Unless you use
Mark Kettenis wrote:
[Simon Glass wrote:]
Well, for producing an image that works. E.g. producing a full image
(TPL, SPL and U-Boot) for an SD card - it would be nice to have
u-boot-rockchip.sd.bin or something like that.
True. That'd be an image you write at certain offset I suppose
Matwey V. Kornilov wrote:
Here, we introduce generic u-boot-tpl-with-spl.img target which is the
TPL image followed by the SPL binary.
Having built U-Boot TPL + SPL images over and over again for testing on
various rk3399 hardware, something like this would certainly be a
convenience.
xieqin...@gmail.com wrote:
From: Nick Xie
Add devicetree support for Khadas Edge-Captain.
Khadas Captain is the carrier board for Khadas Edge.
Tested-by: Chris Webb
Here's the boot log of TPL -> SPL -> U-Boot proper -> Linux on a 4GB Edge
board in a Captain V12 carrier, boo
xieqin...@gmail.com wrote:
From: Nick Xie
Add devicetree support for Khadas Edge.
Khadas Edge is an expandable Rockchip RK3399 board with goldfinger.
Tested-by: Chris Webb
Here's the boot log of TPL -> SPL -> U-Boot proper -> Linux on a 4GB Edge
board booting from an SD ca
Nick Xie wrote:
That's great! I'll update the patches and send them soon.
I'll make sure I test your specific patch when you post it, but I can
already confirm that u-boot.git master happily boots a Khadas Edge board.
I just added the unmodified Edge device tree from mainline Linux into
Hi Nick. I think Kever has merged the LPDDR4 series, and it's already made
its way into the mainline u-boot master branch.
https://gitlab.denx.de/u-boot/u-boot/commit/852f6ddd76fad2d5adef3f7e3a75d0065c68db3b
and its ancestors are the v3 series Jagan posted to the list.
There have also
The generic code in common/spl/spl.c allows TPL/SPL banners to be
silenced by unsetting CONFIG_TPL_BANNER_PRINT or CONFIG_SPL_BANNER_PRINT
respectively. However, arch/arm/mach-rockchip/tpl.c prints this banner
unconditionally.
Fix the rockchip-specific tpl.c so that the TPL banner depends on
If CONFIG_DEBUG_UART is set but CONFIG_TPL_SERIAL_SUPPORT is not, the
serial output should be available in SPL and full U-Boot, but not built
in TPL. However, the rockchip tpl.c instead fails to compile with
undefined references to the debug UART.
Instead, initialise the debug UART and print the
These are two trivial patches which fix up the #ifdef conditionals in
mach-rockchip/tpl.c to do the right thing in two configuration scenarios:
1. Debug UART enabled (for SPL and main U-Boot) but serial support disabled
for the TPL stage.
2. TPL banner disabled by unsetting
make_fit_atf.py no longer requires pyelftools, and nothing else in the
rockchip build requires it either, so remove references to installing it
from the documentation.
Signed-off-by: Chris Webb
---
board/rockchip/evb_rk3399/README | 6 --
doc/README.rockchip | 4
2 files
the destructuring code is reasonably
self-documenting.
Signed-off-by: Chris Webb
---
arch/arm/mach-rockchip/make_fit_atf.py | 75 +++---
1 file changed, 32 insertions(+), 43 deletions(-)
diff --git a/arch/arm/mach-rockchip/make_fit_atf.py
b/arch/arm/mach-rockchip
Building for rockchip, make_fit_atf.py depends on pyelftools, a non-bundled
python module that is not used elsewhere in building u-boot or the kernel.
We only use pyelftools to pull out PT_LOAD segments. ELF is very simple, so
doing this manually is easy and spares users the extra dependency. In
Hi Andy and Kever
Andy Yan writes:
> One small coding style issue:
>
> offset = e_phoff + e_phentsize * index
Thanks, will fix this.
Kever Yang writes:
> Please fix the coding style comment by Andy, for other codes:
>
> Reviewed-by: Kever Yang
Newbie contributor so can I check: is it
make_fit_atf.py no longer requires pyelftools, and nothing else in the
rockchip build requires it either, so remove references to installing it
from the documentation.
Signed-off-by: Chris Webb
---
board/rockchip/evb_rk3399/README | 6 --
doc/README.rockchip | 4
2 files
the destructuring code is reasonably
self-documenting.
Signed-off-by: Chris Webb
---
arch/arm/mach-rockchip/make_fit_atf.py | 75 +++---
1 file changed, 32 insertions(+), 43 deletions(-)
diff --git a/arch/arm/mach-rockchip/make_fit_atf.py
b/arch/arm/mach-rockchip
[Sorry for a respin so soon, but this fixes the overzealous documentation
update and also ensures the script's behaviour is identical to the existing
implementation in the case of a completely empty bl31 ELF file.]
Building for Rockchip, make_fit_atf.py depends on pyelftools, a non-bundled
python
Oops, sorry; I'm an idiot. The synopsys board does indeed still use
pyelftools, and therefore while these are correct:
> board/rockchip/evb_rk3399/README | 6 --
> doc/README.rockchip | 4
these removals are incorrect:
> .travis.yml | 1 -
>
make_fit_atf.py no longer requires pyelftools, and nothing else in the
tree requires it either, so remove references to installing it from the
documentation and travis configuration.
Signed-off-by: Chris Webb
---
.travis.yml | 1 -
board/rockchip/evb_rk3399/README | 6
the destructuring code is reasonably
self-documenting.
Signed-off-by: Chris Webb
---
arch/arm/mach-rockchip/make_fit_atf.py | 74 +++---
1 file changed, 31 insertions(+), 43 deletions(-)
diff --git a/arch/arm/mach-rockchip/make_fit_atf.py
b/arch/arm/mach-rockchip
Building for rockchip, make_fit_atf.py depends on pyelftools, a non-bundled
python module that is not used elsewhere in building u-boot or the kernel.
We only use pyelftools to pull out PT_LOAD segments. ELF is very simple, so
doing this manually is easy and spares users the extra dependency. In
Jagan Teki writes:
> This is the v2 set for supporting LPDDR4 with associated features
Sorry for a late follow-up, but I've just tested this series (applied to
today's master branch) on Khadas Edge.
With these patches, a device tree copied from Linux -next, and a defconfig
essentially the same
22 matches
Mail list logo