On 16/07/2020 02:17, Matthias Brugger wrote:
Hi Mark,

On 16/07/2020 02:06, Mark Petersen wrote:
We are always happy to have new active members of the community.
So
if you are
interested to add the support yourself we can guide you what to
do.

Regards,
Matthias

Matthias,

I would be willing to try, but I would need quite a bit of
guidance/hand-holding as I am not any kind of a programmer.


Please have a look on the email I wrote a month ago, it will describe
the basic
steps. Then feel free to ask more questions here or on IRC
(#opensuse-arm):
https://lists.opensuse.org/opensuse-arm/2020-06/msg00019.html

Regards,
Matthias

Per your mailing list post from 05 June 2020, I checked if openSUSE U-
Boot builds a package for the Odroid XU4
   There is no defconfig for the XU4
   There is no odroid-xu4 entry in the _multibuild file
So to enable building u-boot for the odroid XU4 I think this is what I
need to do:
In OBS I branched the hardware:boot/u-boot package into my home:
home:chiefpete:odroid-xu4/u-boot - Is this the correct package to
branch?

In my branched package I'll need to:
   Create odroid-xu4_defconfig file. Can I just copy this from
   https://github.com/hardkernel/u-boot/tree/odroidn2-v2015.01/configs ?
   Create odroid-xu4_defconfig.patch file to add defconfig for XU4 to u-
   boot-2020.04.tar.bz2 - I've never written a patch file so I will need
   help with this.
   Edit the _mulitbuild file to add <flavor>odroid-xu3</flavor>
   Edit the u-boot.spec file to add odroid-xu4-defconfig.patch


Well I think odroid-xu3_config also works for XU4 boards:
https://github.com/u-boot/u-boot/blob/master/doc/README.odroid

Sorry I didn't checked that beforehand.
If I remember correctly from your last mail, odroid-xu3_config is already build in our U-Boot package, correct?

Please let me know if these items are correct and if there are other
things that I would have to do.

If you use the downstream config with the upstream project, that won't work in 99% of the cases.

From your last email I can see that you reached grub, which is half way through it already. But it somehow hangs, correct? Are you sure you are providing the correct console parameter via the grub boot menu? You could try to add earlycon to the kernel boot parameters (by editing it in the grub menu). That would help to see, where it actually fails.


Another thing you can do is to check if the device tree blob *.dtb is different from ux3 (I suppose so). As a first step, just build the upstream DTB and copy it on your SD card (in the EFI partition). Then in grub type 'e' to edit the grub menu entry and add
'devicetree /path/to/the/dtb'

This will pass the ux4 DTB to the kernel.

Regards,
Matthias
--
To unsubscribe, e-mail: opensuse-arm+unsubscr...@opensuse.org
To contact the owner, e-mail: opensuse-arm+ow...@opensuse.org

Reply via email to