awesome-anbernic icon indicating copy to clipboard operation
awesome-anbernic copied to clipboard

Track research / progress on Dual Booting

Open SocialDamage opened this issue 2 years ago • 1 comments
trafficstars

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.

SocialDamage avatar Oct 19 '23 09:10 SocialDamage

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 avatar Oct 21 '23 09:10 dag7dev