On 01/10/2019 14:37, Linux Kamarada wrote:
> On Tue, Oct 1, 2019 at 5:56 AM Matthias Brugger <mbrug...@suse.com> wrote:
>>
>> On 01/10/2019 04:17, Linux Kamarada wrote:
>>>
>>> Hi, folks!
>>>
>>> I know how to use OBS and KIWI, but when it comes to compile kernels,
>>> I'm a complete noob... also, I'm getting started with Raspberry Pi.
>>>
>>> I thought that would be easier, as there are at least three Linux
>>> distributions now (Raspbian [1], LibreELEC and Manjaro) supporting
>>> Raspberry Pi 4.
>>>
>>> Isn't there a kind of copy/paste that could allow us to boot openSUSE
>>> reusing Raspbian configs, for instance?
>>
>> What do you mean by Rasbian configs? Do you mean the kernel config?
>> We are trying to support RPi4 with the mainline kernel. Raspbian uses a
>> downstream kernel which only works on RPis, so the kernel config won't work 
>> on
>> our mainline kernel.
>>
> 
> Yes, that's what I meant: kernel config :)
> 
> I thought about, using openSUSE tools, build a kernel close to the
> Raspbian's one. Maybe that's what Manjaro did.
> 

I didn't had a look into Manjaro, but I suppose what they do is, taking the
downstream kernel from the Raspberry Pi Foundation and put their userspace on
top of that. We don't do that. We are trying to get things upstream first and
use that in our images. That's why you have less functionality for now.

> Now I have 3 SD cards with Raspbian, Manjaro and openSUSE (your in
> development port).
> 
> Talking about kernel versions...
> 
> openSUSE Leap 15.1 for x86-64 - 4.12.14 (I use it on my laptop)
> Manjaro ARM 19.08 with XFCE - 4.19.65 *
> Raspbian Buster (10.0) - 4.19.66 * see they are close?
> Your latest build - 5.3.rc8 (according to openSUSE-Tumbleweed-JeOS ...
> .packages)

Yes, I'm in the phase to pass this to a v5.3 based kernel.

> openSUSE Tumbleweed for x86-64 - 5.3.1 (according to software.opensuse.org)
> 
> In kernel.org:
> 
> stable - 5.3.2
> longterm - 4.19.76
> 
> I think I'm going to follow your work, but in parallel I will try to
> port openSUSE Leap 15.1 to RPi4 using an older kernel (4.19.x). Or
> maybe I will work on 15.2, it seems people are already working on it.
> 

You will first need to learn how to add patches to the kernel, then you will
have to figure out what patches you need on to of v4.12.
Honestly if you just want a leap user-space, I'd advice you to go with the
kernel provided in my home directory (which might be broken right now, I have to
test).

> I've got a lot to study: how to build ARM packages with OBS, how to
> compile kernels, how to build OEM images with KIWI / OBS (I'm used to
> build live ISOs)...
> 

ARM packages are build as all the other packages in OBS. For the OEM image, just
copy openSUSE-Tumbleweed-JeOS from my home project as a starting point.

Regards,
Matthias

> Thank you for your efforts and explanations!
> 
> 
> Antonio
> The Linux Kamarada Project
> http://kamarada.github.io/
> 
-- 
To unsubscribe, e-mail: opensuse-arm+unsubscr...@opensuse.org
To contact the owner, e-mail: opensuse-arm+ow...@opensuse.org

Reply via email to