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

Track research / progress on Dual Booting #10

Open
SocialDamage opened this issue Oct 19, 2023 · 1 comment
Open

Track research / progress on Dual Booting #10

SocialDamage opened this issue Oct 19, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@SocialDamage
Copy link

Hey everyone! Thank you for the collection of information here!

Im currently highly interested in finding out more about the dual boot u-boot configurations of the stock os + garlic os Setup on the RG35XX.
But this will apply for the other ones with Android dual boot as well i guess.

The general goal is to dual boot different system combinations like Garlic Os + Koriki OS

on the Stock Configuration of the Dual boot RG35XX i found this:

misc/dmenu.bin

## Boot to stock OS if [ -f $FLAG_PATH/stock.flag ] then if [ -f $FLAG_PATH/fboot.flag ] then rm -f $FLAG_PATH/fboot.flag mount -o remount,rw /misc cp -rf $BOOT_PATH/stock/* /misc/ sync reboot while true do sleep 5 done fi /mnt/vendor/bin/dmenu.bin exit 0 fi

## Boot to GarlicOS if [ -f $FLAG_PATH/garlic.flag ] then if [ -f $FLAG_PATH/fboot.flag ] then rm -f $FLAG_PATH/fboot.flag mount -o remount,rw /misc cp -rf $BOOT_PATH/garlic/* /misc/ batt=cat $OS_PATH/batt.txt cp -f /misc/dtbs/${batt}mAh.dtb /misc/kernel.dtb sync reboot while true do sleep 5 done fi fi

misc/uenv.txt

uenvcmd=setenv os_type linux; bootargs=earlyprintk clk_ignore_unused selinux=0 loglevel=4

Are there any informations on this available ? My research is very limited because im a web engineer and dont really have much knowledge about the whole linux boot stuff.

PS: There is no Discussion Tab so i opened an Issue to get in touch, i hope this is alright.

@dag7dev
Copy link
Owner

dag7dev commented Oct 21, 2023

First of all thank you for giving a peek to this repo!

To be honest, I didn't know about Koriki OS: I am following the scene but not as I did before. I hope community will update this list as soon as they have information, materials and everything else.

Quoting this thread

I believe U-Boot will only boot primary partitions marked as bootable, so it is limited in how many OSes you can select.

The only way that I am aware of is to install both of them on two SD cards and swap them.

I also have some friends that do the same thing when using ArkOS/Android on other devices: they pops out their ArkOS card, let Android boots and pops back.

I highly suggest to get used to one of them and stick it! If you want both of them use a dual SD Card setup.

p.s. I opened the discussion tab, feel free to open something there!

🙂

@dag7dev dag7dev added the enhancement New feature or request label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants