2018-01-01 18:20 GMT+03:00 Matwey V. Kornilov <matwey.kornilov@gmail.com>:
2017-09-02 13:25 GMT+03:00 Andreas Färber <afaerber@suse.de>:
Hi,
Am 02.09.2017 um 12:06 schrieb Matwey V. Kornilov:
1. Tools from https://github.com/rockchip-linux/rkbin are required to prepare u-boot binary to be deployed into sd-card. The tools are permitted to be redistributed, but they are x86_64-only binary blobs. I think we could package them in RPM package and wrap them using qemu-linux-x86_64 to execute them at JeOS building phase (at aarch64 architecture).
Negative. Same topic came up for Amlogic, and I had to develop the native Open Source meson-tools instead.
For creating a JeOS image we need to use U-Boot SPL, which as I already pointed out should avoid all those binary-only x86 tools.
If that is not working yet (you did not say), then we can just document the x86-only steps to keep them out of OBS.
2. bootloader are required to be placed at +16MB offset from the beginning of SD card. We have to find a way to specify KIWI to place EFI partition not at 2048sector as default.
Yousaf gave a presentation on how to accomplish that for RK3399.
If this reservation is implemented, then similar to my JeOS-nanopik2 image we could just leave out U-Boot and give users Wiki instructions on how to place U-Boot there themselves.
Why didn't we allocate separate GPT partition for each bootloader image? It seems to be generic way to denote that specific place at SD card is allocated and used by something.
And there is one thing which I can't understand. Currently, u-boot based TPL/SPL located at 0x40 sector for rk3328. Why SPL u-boot loader can't read u-boot.itb from the filesystem? As far as I understand there is no "return to bootrom" step after SPL. So there should be no reason to find u-boot.itb at specific place at SD card. Could somebody explain me how this is supposed to work?
You had forgotten to create an HCL Wiki page - I stubbed one out:
https://en.opensuse.org/HCL:Rock64
Regards, Andreas
-- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg)
-- With best regards, Matwey V. Kornilov
-- With best regards, Matwey V. Kornilov -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org