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

RG35XXH can't boot GarlicOS. #7

Open
icemeowzhi opened this issue Feb 23, 2024 · 2 comments
Open

RG35XXH can't boot GarlicOS. #7

icemeowzhi opened this issue Feb 23, 2024 · 2 comments

Comments

@icemeowzhi
Copy link

Symptom: I was followed the instruction strictly. But when I press the power button, it just shows the Anbernic logo for a few seconds and turns off.

I tried to find some information on the Internet, but all of them are 35XX+, not 35XXH.

I tried to solve the problem by doing:

  • use another TF card ( Both of them are 32G, one is from OV and another is from Kingston. )
  • re-formatting my TF card to exfat ( It was already exfat before. )
  • change the boot mode to USB-ZIP
  • re-download the GarlicOS resources

Sadly, none of them work.

I also made several tests:

  • change the boot mode to USB-ZIP: can't boot
  • change the boot mode to HDD: can't boot
  • change the boot mode to USB-FDD: boot into stock os
  • delete bootloader: boot into stock os
  • delete init script: boot into stock os
  • delete rootfs file: can't boot
    I think it may be some script execution issue? I'm not good at Linux.

I would be grateful if someone can tell me how to fix it.
Sorry for my bad grammar, I'm not a native English speaker. :)

File status:
TF1: stock os and bootloader ( dmenu.bin, device-resources/deviceinfo )
TF2: init script and armhf rootfs ( boot/init, boot/rootfs.f2fs )

@marciniuk
Copy link

Don't copy the init file, just download it. Windows Notepad cannot create a working init. This is enough for the system to start.

Use e.g. Free Download Manager - paste the download link https://raw.githubusercontent.com/GarlicOS/init_template/main/init

Then you can say thank you ;P

@ndguardian
Copy link

Hey, so I was having some issues with these and I was following instructions to the letter. Eventually I added a couple additional steps, though I'm not quite sure what was the secret sauce to finally getting it to work. These steps seem to be Mac-reliant (maybe Linux works too), though maybe there are Windows options available to do this too.

First, I forcefully switched my TF2 to use MBR partition scheme instead of GUID. On Mac, I did this by opening disk utility > selecting my SD card > erase. Then I set the partition scheme from GUID to MBR, and partition type to ExFAT.

I also did the same on my TF1 SD card, but I don't think that's necessary since reflashing it with Garlic seems to switch it back to GUID anyway. Once I reflashed it on my Mac though, I saw two partitions instead of one that I saw on my Windows PC. One was named something like "NONAME" and it showed the typical folders I normally would see on my Windows machine...bios, saves, etc. There was another one though that seemed like it had some boot-specific and battery-specific files called "VOLUMEN". Just to be safe, I copied the bootloader files onto the root directory in both partitions.

I also created the boot folder on TF2, copied over the init file and rootfs file, and after doing all that, I was finally able to boot into Garlic.

Hopefully this helps someone out!

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

No branches or pull requests

3 participants