Am 18.04.2017 um 23:25 schrieb Andreas Färber:
Hi Sid,
Am 18.04.2017 um 21:35 schrieb Sid Boyce:
On 15/04/17 09:48, Andreas Färber wrote:
Amlogic S905 MMC support has just landed in U-Boot last night, allowing to finally migrate my two S905 devices over to our openSUSE kernel.
Am 11.04.2017 um 01:42 schrieb Andreas Färber:
== aarch64 == Odroid-C2 - boots OK (add fixed, gpio-regulator modules to dracut) [...] Which image boots on the ODROID-C2?
Short answer: None, I have not created a JeOS image yet.
Just today was U-Boot v2017.05-rc2 packaged, and it'll take a while for it to hit Factory. [...] Binary-only ARM Trusted Firmware blobs are needed for booting, that are unlikely to ever reach Factory. So they would need to live in a Contrib.
Packaged as odroidc2-firmware in Contrib:OdroidC2.
Next problem was that Hardkernel uses a binary-only x86 Amlogic tool for packing the ATF and U-Boot binaries into a bootable form. My solution for OBS/aarch64 was to piece together an Open Source tool: https://github.com/afaerber/meson-tools Currently that still requires the fip tool from downstream Hardkernel U-Boot (with its alignment magic), which didn't build with gcc5+.
Found a workaround: fip_create actually builds fine without U-Boot. Packaged as odroidc2-firmware-tools for Leap 42.2 and Tumbleweed. odroidc2-firmware now builds u-boot.odroidc2 - boots OK when written to SD card as documented in the Wiki below. :) Thanks to everyone who supported the development of meson-tools! In particular a hint on "sha2" functions being used, which lead me to discover the right SHA256 check-sum algorithm, was invaluable.
Cf. https://en.opensuse.org/HCL:OdroidC2
So... would it help to create a JeOS image without the bootloader?
Only this final part is still missing.
You could then dd the bootloader onto the SD card in a second step.
The Factory 4.10 kernel booted okay, so no dependency on Kernel:HEAD.
I've create a Contrib:OdroidC2, but it's still empty: https://build.opensuse.org/project/show/devel:ARM:Factory:Contrib:OdroidC2
Regards, Andreas
-- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org