9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] Help porting 9front to Odroid N2+
@ 2025-02-25 14:16 Marco Montevechi Filho
  2025-02-25 19:52 ` ori
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Montevechi Filho @ 2025-02-25 14:16 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]

Good afternoon, all.

I'm new to 9front and have a set of four Odroids N2+ connected to each
other via a switch. I wanted to experiment with a distributed operational
system and found 9front.

It seems the system is available for Raspberry systems but not for Odroids.
I want to port it to Odroid N2+ and am willing to spend some time with this
project (hopefully it's useful for someone else?). I have general working
experience with operational systems but never went deep into the boot
process and honestly have not much of an idea where to start. This is
supposed to be a learning experience I guess.

For now I found a tutorial for installing it into raspberry hardware:
https://fqa.9front.org/appendixj.html and intend to use it as a base to try
and adapt for odroids.

I am also shamelessly asking chatGPT how to do this.

Is there anyone who can help me in the process? Hopefully this is also
useful for the 9front community in experimenting with new hardware or
something similar.

Thanks in advance for any help.

Marco.

Current status: I'm buying a USB-TTL cable to conenct to the UART port and
see boot logs to try and understand how U-BOOT works and how to adapt
9front to it. I have no idea where this will lead me.

[-- Attachment #2: Type: text/html, Size: 1370 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9front] Help porting 9front to Odroid N2+
  2025-02-25 14:16 [9front] Help porting 9front to Odroid N2+ Marco Montevechi Filho
@ 2025-02-25 19:52 ` ori
  2025-02-25 22:03   ` Marco Montevechi Filho
  2025-02-25 23:19   ` adventures in9
  0 siblings, 2 replies; 4+ messages in thread
From: ori @ 2025-02-25 19:52 UTC (permalink / raw)
  To: 9front

you'll have to write code. A good example commit to look
at may be:

	8e03baff8bbba541f87a435e596017e0bd7e5265

or

	fff070f2cbb01b7c0879e9dcb13ee4e3ed2497f0

it looks like adventuresin9 has started some of the work,
for the odroid n1:

	https://github.com/adventuresin9/9front-rk3568

you'll have to read the data sheets and figure out how much
is applicable to the new peripherals and SoCs.


Quoth Marco Montevechi Filho <montevechi1618@gmail.com>:
> Good afternoon, all.
> 
> I'm new to 9front and have a set of four Odroids N2+ connected to each
> other via a switch. I wanted to experiment with a distributed operational
> system and found 9front.
> 
> It seems the system is available for Raspberry systems but not for Odroids.
> I want to port it to Odroid N2+ and am willing to spend some time with this
> project (hopefully it's useful for someone else?). I have general working
> experience with operational systems but never went deep into the boot
> process and honestly have not much of an idea where to start. This is
> supposed to be a learning experience I guess.
> 
> For now I found a tutorial for installing it into raspberry hardware:
> https://fqa.9front.org/appendixj.html and intend to use it as a base to try
> and adapt for odroids.
> 
> I am also shamelessly asking chatGPT how to do this.
> 
> Is there anyone who can help me in the process? Hopefully this is also
> useful for the 9front community in experimenting with new hardware or
> something similar.
> 
> Thanks in advance for any help.
> 
> Marco.
> 
> Current status: I'm buying a USB-TTL cable to conenct to the UART port and
> see boot logs to try and understand how U-BOOT works and how to adapt
> 9front to it. I have no idea where this will lead me.
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9front] Help porting 9front to Odroid N2+
  2025-02-25 19:52 ` ori
@ 2025-02-25 22:03   ` Marco Montevechi Filho
  2025-02-25 23:19   ` adventures in9
  1 sibling, 0 replies; 4+ messages in thread
From: Marco Montevechi Filho @ 2025-02-25 22:03 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 2201 bytes --]

Thanks for the reply. Writing code is not a problem, although I definitely
saw more code than I expected in the suggested commit.

Will explore and report back if any advance is made.

Cheers,

Marco

Em ter., 25 de fev. de 2025 às 20:55, <ori@eigenstate.org> escreveu:

> you'll have to write code. A good example commit to look
> at may be:
>
>         8e03baff8bbba541f87a435e596017e0bd7e5265
>
> or
>
>         fff070f2cbb01b7c0879e9dcb13ee4e3ed2497f0
>
> it looks like adventuresin9 has started some of the work,
> for the odroid n1:
>
>         https://github.com/adventuresin9/9front-rk3568
>
> you'll have to read the data sheets and figure out how much
> is applicable to the new peripherals and SoCs.
>
>
> Quoth Marco Montevechi Filho <montevechi1618@gmail.com>:
> > Good afternoon, all.
> >
> > I'm new to 9front and have a set of four Odroids N2+ connected to each
> > other via a switch. I wanted to experiment with a distributed operational
> > system and found 9front.
> >
> > It seems the system is available for Raspberry systems but not for
> Odroids.
> > I want to port it to Odroid N2+ and am willing to spend some time with
> this
> > project (hopefully it's useful for someone else?). I have general working
> > experience with operational systems but never went deep into the boot
> > process and honestly have not much of an idea where to start. This is
> > supposed to be a learning experience I guess.
> >
> > For now I found a tutorial for installing it into raspberry hardware:
> > https://fqa.9front.org/appendixj.html and intend to use it as a base to
> try
> > and adapt for odroids.
> >
> > I am also shamelessly asking chatGPT how to do this.
> >
> > Is there anyone who can help me in the process? Hopefully this is also
> > useful for the 9front community in experimenting with new hardware or
> > something similar.
> >
> > Thanks in advance for any help.
> >
> > Marco.
> >
> > Current status: I'm buying a USB-TTL cable to conenct to the UART port
> and
> > see boot logs to try and understand how U-BOOT works and how to adapt
> > 9front to it. I have no idea where this will lead me.
> >
>
>

[-- Attachment #2: Type: text/html, Size: 2985 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9front] Help porting 9front to Odroid N2+
  2025-02-25 19:52 ` ori
  2025-02-25 22:03   ` Marco Montevechi Filho
@ 2025-02-25 23:19   ` adventures in9
  1 sibling, 0 replies; 4+ messages in thread
From: adventures in9 @ 2025-02-25 23:19 UTC (permalink / raw)
  To: 9front

This Odroid board uses an Amlogic S922X.  Odroid has a datasheet available.

https://dn.odroid.com/S922X/ODROID-N2/Datasheet/S922X_Public_Datasheet_V0.2.pdf

Amlogic tends to run a proprietary uart.  Reading the uart for boot
messages is easy, you just need to read the uart TX register.  But for
an interactive console, you will need to write a uart driver, instead
of just borrowing the 8250 driver used in most other Arm SoC.

Looks like NetBSD has been keeping their kernel up to date for S922X.
So if you want some where to look for how to do drivers for it, I
would recommend them.

https://github.com/NetBSD/src/tree/trunk/sys/arch/arm/amlogic

The quad A73 and dual A53 is an interesting setup.  Need to keep an
eye on the boot messages to see what boots as cpu0.  If it a A73 core,
then bringing up the other 3 A73 cores would likely be straight
forward.  If it is one of the A53 cores, then booting he A73 cores
might be a little tricky.  I know there has been some changes in the
base 9front Arm code for bringing up other cores, so it might be
easier then when I last tried it.

On Tue, Feb 25, 2025 at 12:37 PM <ori@eigenstate.org> wrote:
>
> you'll have to write code. A good example commit to look
> at may be:
>
>         8e03baff8bbba541f87a435e596017e0bd7e5265
>
> or
>
>         fff070f2cbb01b7c0879e9dcb13ee4e3ed2497f0
>
> it looks like adventuresin9 has started some of the work,
> for the odroid n1:
>
>         https://github.com/adventuresin9/9front-rk3568
>
> you'll have to read the data sheets and figure out how much
> is applicable to the new peripherals and SoCs.
>
>
> Quoth Marco Montevechi Filho <montevechi1618@gmail.com>:
> > Good afternoon, all.
> >
> > I'm new to 9front and have a set of four Odroids N2+ connected to each
> > other via a switch. I wanted to experiment with a distributed operational
> > system and found 9front.
> >
> > It seems the system is available for Raspberry systems but not for Odroids.
> > I want to port it to Odroid N2+ and am willing to spend some time with this
> > project (hopefully it's useful for someone else?). I have general working
> > experience with operational systems but never went deep into the boot
> > process and honestly have not much of an idea where to start. This is
> > supposed to be a learning experience I guess.
> >
> > For now I found a tutorial for installing it into raspberry hardware:
> > https://fqa.9front.org/appendixj.html and intend to use it as a base to try
> > and adapt for odroids.
> >
> > I am also shamelessly asking chatGPT how to do this.
> >
> > Is there anyone who can help me in the process? Hopefully this is also
> > useful for the 9front community in experimenting with new hardware or
> > something similar.
> >
> > Thanks in advance for any help.
> >
> > Marco.
> >
> > Current status: I'm buying a USB-TTL cable to conenct to the UART port and
> > see boot logs to try and understand how U-BOOT works and how to adapt
> > 9front to it. I have no idea where this will lead me.
> >
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-02-25 23:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-25 14:16 [9front] Help porting 9front to Odroid N2+ Marco Montevechi Filho
2025-02-25 19:52 ` ori
2025-02-25 22:03   ` Marco Montevechi Filho
2025-02-25 23:19   ` adventures in9

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).