Build the system from a amd64 system (Cross compile)

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Build the system from a amd64 system (Cross compile)

Johannes Krottmayer
Hello,

Okay, this part is not maintained. But are there public
HowTo's availbable?

(I have a ROCK64 media board and i want to help, to
get the Gigabit network working.)

Best reagrds,
Johannes Krottmayer

Reply | Threaded
Open this post in threaded view
|

Re: Build the system from a amd64 system (Cross compile)

Johannes Krottmayer
Hello,

Sorry, for my bad spelling and the typos. It was a hard day for me.
And i'm not a native english speaker. But i think you can decipher
the content of my question.

The subject should be: Build the system "ON" a amd64 system

Best regards,
Johannes Krottmayer

On Thu, Jun 07, 2018 At 23:50:01 +0200, Johannes Krottmayer wrote:

> Hello,
>
> Okay, this part is not maintained. But are there public
> HowTo's availbable?
>
> (I have a ROCK64 media board and i want to help, to
> get the Gigabit network working.)
>
> Best reagrds,
> Johannes Krottmayer
>

Reply | Threaded
Open this post in threaded view
|

Re: Build the system from a amd64 system (Cross compile)

Stuart Henderson
On 2018/06/08 00:05, Johannes Krottmayer wrote:

> Hello,
>
> Sorry, for my bad spelling and the typos. It was a hard day for me.
> And i'm not a native english speaker. But i think you can decipher
> the content of my question.
>
> The subject should be: Build the system "ON" a amd64 system
>
> Best regards,
> Johannes Krottmayer
>
> On Thu, Jun 07, 2018 At 23:50:01 +0200, Johannes Krottmayer wrote:
> > Hello,
> >
> > Okay, this part is not maintained. But are there public
> > HowTo's availbable?
> >
> > (I have a ROCK64 media board and i want to help, to
> > get the Gigabit network working.)
> >
> > Best reagrds,
> > Johannes Krottmayer
> >
>

There aren't how-tos for this. Typically with OpenBSD, cross-compiling
is only done in initial bring-up of an architecture, from then on it's
self-hosting.

Reply | Threaded
Open this post in threaded view
|

Re: Build the system from a amd64 system (Cross compile)

Johannes Krottmayer
Hello,

Thanks for reply!

How can I do this (initial bring-up)?
I need it also for bare-metal programming of this board.
Want use the OpenBSD bootloader to boot my own real-time
operating system.

Best regards,
Johannes Krottmayer

On Thu, Jun 07, 2018 At 23:16:29 +0100, Stuart Henderson wrote:

> On 2018/06/08 00:05, Johannes Krottmayer wrote:
>> Hello,
>>
>> Sorry, for my bad spelling and the typos. It was a hard day for me.
>> And i'm not a native english speaker. But i think you can decipher
>> the content of my question.
>>
>> The subject should be: Build the system "ON" a amd64 system
>>
>> Best regards,
>> Johannes Krottmayer
>>
>> On Thu, Jun 07, 2018 At 23:50:01 +0200, Johannes Krottmayer wrote:
>>> Hello,
>>>
>>> Okay, this part is not maintained. But are there public
>>> HowTo's availbable?
>>>
>>> (I have a ROCK64 media board and i want to help, to
>>> get the Gigabit network working.)
>>>
>>> Best reagrds,
>>> Johannes Krottmayer
>>>
>>
>
> There aren't how-tos for this. Typically with OpenBSD, cross-compiling
> is only done in initial bring-up of an architecture, from then on it's
> self-hosting.
>

Reply | Threaded
Open this post in threaded view
|

Re: Build the system from a amd64 system (Cross compile)

Stuart Henderson
On 2018/06/08 00:24, Johannes Krottmayer wrote:
> Hello,
>
> Thanks for reply!
>
> How can I do this (initial bring-up)?

I mean initial bring-up of a port to a new architecture -
this is infrequent enough that the OS has usually changed quite a bit
between two new arches so anything written is likely out of date by
the time it's used again.

There are some hints in https://www.openbsd.org/papers/mips32-openbsd.pdf
but quite dated now.