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

Track research / progress on Dual Booting

Open SocialDamage opened this issue 8 months ago • 1 comments

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