SkiffOS icon indicating copy to clipboard operation
SkiffOS copied to clipboard

odroid/m1: testing latest version

Open symgryph opened this issue 1 year ago • 10 comments

I managed to get everything working at the compile step, but its on a remote machine without a sd card reader. What is the command to compile to an .img format I can then write on a different computer?

symgryph avatar Nov 24 '24 16:11 symgryph

Hi @symgryph it depends on which target you're using. For raspberry pi it's make cmd/pi/common/buildimage - you can run "make help" and check at the end of the output for the available commands. There's usually also a readme under configs/pi/common (or whatever target you're using) that has that reference too. Let me know if you found it!

paralin avatar Nov 24 '24 19:11 paralin

I did finally manage to make it compile the image. I just attached a virtual device to the virtual machine. One question though, the system wouldn't even recognize it when I tried to boost though, I tried using a default config for an m1. Keep in mind that I also have an nvme drive with an operating system on it and when I told it to boot from the MMC BLK0 it simply didn't do anything.

Sincerely,

THOMAS MUNN


From: Christian Stewart @.> Sent: Sunday, November 24, 2024 2:04:16 PM To: skiffos/SkiffOS @.> Cc: Thomas @.>; Mention @.> Subject: Re: [skiffos/SkiffOS] Writing an image to a file? (Issue #323)

Hi @symgryphhttps://github.com/symgryph it depends on which target you're using. For raspberry pi it's make cmd/pi/common/buildimage - you can run "make help" and check at the end of the output for the available commands. There's usually also a readme under configs/pi/common (or whatever target you're using) that has that reference too. Let me know if you found it!

— Reply to this email directly, view it on GitHubhttps://github.com/skiffos/SkiffOS/issues/323#issuecomment-2496174406, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABCSE3QQESM4Z7CT3FGXV5D2CIPLBAVCNFSM6AAAAABSMLW5ZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJWGE3TINBQGY. You are receiving this because you were mentioned.Message ID: @.***>

symgryph avatar Nov 24 '24 19:11 symgryph

Odroid m1? I assume you mean you attached a device to your virtual (build) machine and then used format and then install? I have a m1 here, will test.

paralin avatar Nov 24 '24 20:11 paralin

Yes, I have an odroid m1 with mvme drive on it. I did try pushing the recovery but the SD card never loaded. I was using pettiboot with a menu selection. I also tried the recovery button but that didn't seem to work either. There's an operating system on the nvme drive that does boot

Sincerely,

THOMAS MUNN


From: Christian Stewart @.> Sent: Sunday, November 24, 2024 3:17:58 PM To: skiffos/SkiffOS @.> Cc: Thomas @.>; Mention @.> Subject: Re: [skiffos/SkiffOS] Writing an image to a file? (Issue #323)

Odroid m1? I assume you mean you attached a device to your virtual (build) machine and then used format and then install? I have a m1 here, will test.

— Reply to this email directly, view it on GitHubhttps://github.com/skiffos/SkiffOS/issues/323#issuecomment-2496211683, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABCSE3RWLUHK5RWNU5ZLDYD2CIX7NAVCNFSM6AAAAABSMLW5ZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJWGIYTCNRYGM. You are receiving this because you were mentioned.Message ID: @.***>

symgryph avatar Nov 25 '24 02:11 symgryph

@symgryph Working on testing this when I have a moment. My current system, I built and did "format" then "install" directly to a sd card, then booted that. The system is somewhat old though, so I am working on building and testing the latest version.

paralin avatar Nov 27 '24 05:11 paralin

Thank you very much! I would love to run skiffos. Unfortunately, I don't have a serial console so I'm not sure if the output is going to the serial console. It's certainly not going to the HDMI port.

Sincerely,

THOMAS MUNN


From: Christian Stewart @.> Sent: Wednesday, November 27, 2024 12:24:13 AM To: skiffos/SkiffOS @.> Cc: Thomas @.>; Mention @.> Subject: Re: [skiffos/SkiffOS] Writing an image to a file? (Issue #323)

@symgryphhttps://github.com/symgryph Working on testing this when I have a moment. My current system, I built and did "format" then "install" directly to a sd card, then booted that. The system is somewhat old though, so I am working on building and testing the latest version.

— Reply to this email directly, view it on GitHubhttps://github.com/skiffos/SkiffOS/issues/323#issuecomment-2502851801, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABCSE3RAHSTL73BB3NPAASD2CVJP3AVCNFSM6AAAAABSMLW5ZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBSHA2TCOBQGE. You are receiving this because you were mentioned.Message ID: @.***>

symgryph avatar Nov 27 '24 14:11 symgryph

Built the image, will try to test w/ serial debug monitor today.

paralin avatar Dec 02 '24 00:12 paralin

I eagerly await your results

Sincerely,

THOMAS MUNN


From: Christian Stewart @.> Sent: Sunday, December 1, 2024 7:08:55 PM To: skiffos/SkiffOS @.> Cc: Thomas @.>; Mention @.> Subject: Re: [skiffos/SkiffOS] odroid/m1: testing latest version (Issue #323)

Built the image, will try to test w/ serial debug monitor today.

— Reply to this email directly, view it on GitHubhttps://github.com/skiffos/SkiffOS/issues/323#issuecomment-2510320218, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABCSE3XGGLRBV2QKIEBSC5L2DOQJPAVCNFSM6AAAAABSMLW5ZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJQGMZDAMRRHA. You are receiving this because you were mentioned.Message ID: @.***>

symgryph avatar Dec 02 '24 12:12 symgryph

It seems to work:

  1. export SKIFF_CONFIG=odroid/m1,core/debian
  2. make configure compile
  3. sudo bash
  4. export ODROID_SD=/dev/sde
  5. make cmd/odroid/common/format
  6. make cmd/odroid/common/install
image

I connected via SSH (not HDMI), so I am not sure if the HDMI output is working. Would it be possible for you to connect an ethernet connection and check your router to see if it appears & has an ip address? It is configured to use dhcp on default.

Or could you check the SD card under skiff/journal - check if there are any journal files there.

You can read those journal dirs with journalctl -D ./path/to/journal/dir

If you see those journal files there and/or if the ethernet connects but you still don't see anything on hdmi I will go ahead and test the hdmi as well.

Otherwise I could try sending you a prebuilt image if you would prefer, to see if the issue is something with how the image was built.

paralin avatar Dec 03 '24 01:12 paralin

I see you mentioned petitboot, we use u-boot with SkiffOS. So you would need to boot directly to the SD card, try without the other drive connected. I can have a look at what would be needed to make it work with petitboot as well, if you confirm that's the issue. But it probably needs some additional config files for petitboot to start it properly.

paralin avatar Dec 03 '24 06:12 paralin