Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

odroid/m1: testing latest version #323

Open
symgryph opened this issue Nov 24, 2024 · 10 comments
Open

odroid/m1: testing latest version #323

symgryph opened this issue Nov 24, 2024 · 10 comments
Assignees

Comments

@symgryph
Copy link

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?

@paralin
Copy link
Member

paralin commented Nov 24, 2024

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!

@symgryph
Copy link
Author

symgryph commented Nov 24, 2024 via email

@paralin
Copy link
Member

paralin commented Nov 24, 2024

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.

@symgryph
Copy link
Author

symgryph commented Nov 25, 2024 via email

@paralin
Copy link
Member

paralin commented Nov 27, 2024

@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.

@symgryph
Copy link
Author

symgryph commented Nov 27, 2024 via email

@paralin paralin changed the title Writing an image to a file? odroid/m1: testing latest version Nov 27, 2024
@paralin
Copy link
Member

paralin commented Dec 2, 2024

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

@symgryph
Copy link
Author

symgryph commented Dec 2, 2024 via email

@paralin
Copy link
Member

paralin commented Dec 3, 2024

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
Copy link
Member

paralin commented Dec 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants